{ "name": "code-crime", "build": { "dockerfile": "../Dockerfile", "context": ".." }, // The Dockerfile's WORKDIR is /workspace — mount the repo there so // HERDR_CONFIG_PATH=/workspace/.config/herdr/config.toml lands correctly. "workspaceFolder": "/workspace", "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached", // Persist Mistral Vibe config/auth across container rebuilds, matching the // -v vibe_data:/root/.vibe/ mount used in the manual setup. "mounts": [ "source=vibe_data,target=/root/.vibe,type=volume" ], // The Dockerfile sets an ENTRYPOINT; the dev container runner overrides it, // but keep the container alive-friendly anyway. "overrideCommand": true, "runArgs": ["--init"], "remoteUser": "root", "containerEnv": { "DEVCONTAINER": "true" }, // The image uses a minimal Rust profile; dev needs the components VS Code drives. "postCreateCommand": "rustup component add rust-analyzer clippy rustfmt", "customizations": { "vscode": { "extensions": [ "rust-lang.rust-analyzer", "vadimcn.vscode-lldb", "tamasfe.even-better-toml" ] } } }