Local development setup
Build Gameplane on a host or devcontainer, then run the full stack against kind or a selected remote cluster.
Desired state belongs in CRD spec; observed state and conditions belong to controllers.
Workspace map
The workspace joins runtime components, shared libraries, optional services, packaging, e2e infrastructure, and submodules.
After cloning, run git submodule update --init modules. The split components (mcp-server/, audit-syslog-bridge/, tunnel/ and capture-sidecar/) are initialised separately with hack/submodules.sh init. make images and make dev-up also initialise them on demand.
Cluster development loop
The Make targets create local infrastructure, build and load images, push modules, install the chart, and run the web UI.
Dev containers
The repository ships one dev container profile per area, so a container installs only what your change needs. Pick it in VS Code with “Dev Containers: Reopen in Container”, or under “Dev container configuration” in Codespaces; the full profile is the default.
The profile table in docs/contributing.md lists what each profile installs, its setup time, and when to use it. A Make target that needs a missing tool stops with a need: message naming the profile to reopen in.
Debug the environment
Keep host and cluster registry addresses, kube context, namespaces, image tags, and Helm values aligned.