Skip to content

Workspaces

Created by bonsai init. The Tech Lead lives here alongside the project scaffolding:

FilePurposeUsed by
station/CLAUDE.mdTech Lead agent navigationTech Lead
station/agent/Tech Lead instruction layer (Core, Protocols, Workflows, etc.)Tech Lead
station/INDEX.mdProject snapshot — tech stack, phase, document registryEvery agent at session start
station/Playbook/Status.mdLive task tracker — in progress, pending, doneAgents check before starting work
station/Playbook/Roadmap.mdLong-term milestones and phasesContext for where tasks fit
station/Playbook/Plans/Active/Numbered implementation plansTech Lead writes, code agents execute
station/Playbook/Standards/SecurityStandards.mdHard security rules across all agentsSecurity protocol references this
station/Logs/FieldNotes.mdYour notes to the agentsRead every session start
station/Logs/KeyDecisionLog.mdSettled architectural decisionsChecked before proposing alternatives
station/Logs/RoutineLog.mdRoutine execution historyUpdated after each routine run
station/Reports/Pending/Unreviewed completion reportsTech Lead reviews during code review

Code Agent Workspaces — The Private Layer

Section titled “Code Agent Workspaces — The Private Layer”

Each code agent gets its own directory. This is what it owns and is allowed to modify:

  • Directorybackend/
    • CLAUDE.md — agent-specific navigation
    • Directoryagent/
      • DirectoryCore/ — identity.md, memory.md, self-awareness.md
      • DirectoryProtocols/ — hard rules
      • DirectoryWorkflows/ — task procedures
      • DirectorySkills/ — domain knowledge
      • DirectorySensors/ — rendered hook scripts (.sh)
FileWhat it doesManaged by
.bonsai.yamlSingle source of truth — all agents, components, pathsbonsai init / bonsai add / bonsai remove
.bonsai-lock.yamlContent hashes for conflict detection on re-runAuto-generated by Bonsai
.claude/settings.jsonHook entries for every sensorAuto-generated by Bonsai

The agent’s memory resets each conversation. Three things bridge the gap:

BridgeWho writes itWhat it does
Core/memory.mdThe agentWorking memory — current state, flags, notes
station/Logs/FieldNotes.mdYouYour notes — changes outside sessions, new requirements
station/Playbook/Status.mdThe agentTask tracker — done, in progress, pending