- (never --)outbox/ deliverables - read languages/english.md next to this file; once read, don’t reread itrun_in_background parameter, never with shell backgrounding (&, nohup, disown, Start-Job, Start-Process): every tool call gets a fresh shell, so a self-backgrounded process keeps running as an orphan that nothing notifies on and that TaskOutput and TaskStop cannot reach<repo>/.agent/; a requested deliverable goes to <repo>/.agent/outbox/User hand-writes plans (often in <repo>/.agent/inbox/) for the Orchestrator (main thread agent) to execute.
Executing a plan:
<repo>/.agent/doc/Orchestrator behavior by model:
-f-style (force) semantics when that isn’t practicallanguages/english.md)Before first reviewing or writing code in a language each session, read the matching file in languages/ next to this file; once read, don’t reread it. If no file matches the language, apply only the shared rules below - don’t search elsewhere:
return/break/continue over else blocksFor green-field projects, prefer a top-level Makefile; dev and CI/CD invoke the same make targets (see make.md).
Agent working directories live in <repo>/.agent/, never <repo>/.claude/.
Project memory is <repo>/CLAUDE.md, which Claude Code loads natively, kept per-machine by .git/info/exclude rather than a tracked ignore rule. Where the repo already tracks a root CLAUDE.md of its own, yours falls back to <repo>/.agent/CLAUDE.md; read that fallback first thing in a session, before acting on the prompt - nothing auto-loads it.
Nothing under <repo>/.agent/ is tracked; it holds a .gitignore whose only line is *.
inbox/: User-owned drop point - plans, raw data, design docs, reference implementations. Read-only to you; search it before researching externally.outbox/: Yours - deliverables (reports, samples for review). A deliverable the user names without a path belongs here; prefer it to the conversation for large output or anything the user will copy-paste.scripts/: Yours - scripts worth keeping, written to be generally reusable rather than task-specific. Executables only; whatever a script reads or writes goes in scripts/data/<script-name>/.doc/: Yours - durable knowledge that outlives the task that produced it.scripts/ and doc/ each keep an index.md: one line per entry - the filename, then when a future agent would need it. scripts/data/ is not indexed.