docs: add inbox check to project CLAUDE.md template (CUST-WP-0015)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 02:56:16 +01:00
parent 4b3cb1b039
commit b8da3e6ae4

View File

@@ -21,6 +21,14 @@ get_domain_summary("{DOMAIN}") # workstreams, blocking decisions, recent progr
```
If the call fails, the API is offline: `cd ~/the-custodian/state-hub && make api`
**Step 1b — Check the agent inbox**
```
get_messages(to_agent="{REPO_SLUG}", unread_only=True)
```
Mark messages read with `mark_message_read(message_id)`. Reply or act on any coordination
requests before proceeding. The hub agent uses `to_agent="hub"`; domain agents use their
repo slug as their agent name (e.g. `"{REPO_SLUG}"`).
**Step 2 — Scan local workplans**
Read every `.md` file under `workplans/`. Use `Glob(pattern="**/*.md", path="workplans/")`