Getting Started with the AI Assistant Workspace
1. Open the right dev container
Each environment has its own dev container under .devcontainer/<name>/. A container clones the workspace repository, then only the project repositories named in its start command. Every container is built the same way and runs Claude Code. There is no production container: production is applied only by the pipeline. See Dev Container and 1Password References.
When the container is built, post-create.sh installs Claude Code and the pinned graphify CLI. It then installs the managed assistant policy, and finally removes administrator rights from the vscode user. From then on the assistant runs as vscode and cannot change its own policy. After the first start, build the knowledge graph once with /graphify (see Graphify in the Workspace).
2. Start Claude Code at the workspace root
cd /workspaces/<workspace>
claude
Or open the Claude Code panel in VS Code, which opens at the workspace root. In the dev container you can type claude from any folder: a shell function starts it at the root, and your terminal stays where it was. If a session does start somewhere else (for example the binary is run by its full path inside a project folder), the start-guard refuses every prompt and tells you to restart. A session never runs without the shared rules and skills.
3. Check what loaded
| Run | You should see |
|---|---|
/memory |
The workspace CLAUDE.md and .claude/CLAUDE.md, plus your user memory |
/hooks |
PreToolUse hooks for env-guard, scope-guard and graphify hook-guard |
/permissions |
The deny list (environment files, key material, op subcommands other than run, docker exec, …) |
/context |
How much of the window the always-on instructions use |
/ then type a skill name |
The workspace skills: ecommerce-shoppee, dev-container-tofu, infra-docs, drawio-diagrams, publish-review, github-repo-hardening, graphify |
4. Give the assistant a scoped task
Name the project and, where you can, the module: “In <site-repo>, add …”. The assistant then reads that project’s CLAUDE.md and the module’s CLAUDE.md before writing code, and the matching path-scoped rules load on their own. For infrastructure or dev container work, the matching skill loads when the task fits, or type it yourself, for example /dev-container-tofu.
5. What it will refuse, and what it will ask
The env-guard blocks anything that would show the assistant a secret: secret files and key material, environment dumps, reads of sensitive variables, and any op command other than the one runner around tofu or wrangler. The scope-guard asks you before anything reaches outside the workspace, such as git clone, git push, ssh, curl or a GitHub CLI write; git fetch and pull inside the workspace just run. The full lists, with examples, are in Hooks, Permissions and the Locked Policy.
A block is not an error to work around. If a task really needs a secret, run that step yourself in your own terminal. If a block is a false positive (for example a doc file with token in its name), rename the file or handle it by hand.
6. Where the assistant’s memory lives
Claude Code keeps per-user memory under ~/.claude/projects/<workspace-path>/memory/, outside every repository. It holds your preferences and project notes for later sessions, and it is not shared with other people. Ask it to “remember” a preference you want to keep. Never ask it to remember a secret. Shared rules belong in .claude/rules/ through a reviewed change, not in personal memory.
7. Before you commit
- Use
git -C <project> ..., because each project is its own repository. Nevergit adda project’s files from the workspace root. - Every commit in the dev container is scanned for secrets by gitleaks. This covers the workspace and every project repository, and it’s set up when the container is built. If it finds something, the commit stops: remove the value, use an
op://reference instead, and commit again. If a real secret was ever committed, treat it as leaked and rotate it. - If the change is a feature, its docs go in
<site-repo>. See Adding a Project and Documenting Features. - Run
graphify update .after code changes.