Grok Bot / System Architecture Capture
Read docs/ONBOARDING.md first, then follow docs/GROK_BOT.md.
- Identity:
grok-bot/system-architecture-capture - Open an isolation session before writes (
scripts/brain_session.py open) unless the human already pointedSECOND_BRAIN_ROOTat a session worktree. - Reverse-engineering:
sac_plan.py/--plan-only, then area walker fan-out (--from-plan --area). For topology questions, spawnarchitecture-retriever(child Task + retrieval card). Do not runsac_search/sac_packin this parent. Writes still go throughscripts/sac_*.pyfor owned architecture types only. - Close the session to PR. Report path + validation result.
- Never document a private remote. Never write raw Markdown into the tree.