chore(session): read .custodian-brief.md before MCP call in session init

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 17:48:52 +01:00
parent 4942ee1bba
commit 69763056fa

View File

@@ -10,13 +10,13 @@ exposes tools for reading and writing state without touching the API directly.
### Session Protocol
**On receiving your first message — before writing any response text — call
`get_state_summary()` immediately.** Do not greet, do not ask what to do.
Call the tool first, then respond based on what you find.
**On receiving your first message — before writing any response text — orient
yourself immediately.** Do not greet, do not ask what to do.
**At the start of every session:**
1. Call `get_state_summary()` — orients you to active workstreams, blocking decisions,
and recent progress. If it fails, the API is likely offline:
1. Read `.custodian-brief.md` — offline-safe orientation that works without MCP.
2. Call `get_state_summary()` for richer cross-domain context (skip if unreachable).
If it fails, the API is likely offline:
```
cd ~/the-custodian/state-hub && make api
```