generated from coulomb/repo-seed
fix(template): replace get_state_summary with get_domain_summary in domain CLAUDE.md template
Avoids ~12.9k token response in domain repo sessions; get_domain_summary returns the same actionable data scoped to the domain at ~10% of the cost. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -76,7 +76,7 @@ Terminology and workflows: `http://localhost:3000/docs/inter-repo-communication`
|
||||
|
||||
### First Session Protocol
|
||||
|
||||
Triggered when `get_state_summary()` shows **no workstreams** for the `{DOMAIN}`
|
||||
Triggered when `get_domain_summary("{DOMAIN}")` shows **no workstreams** for the `{DOMAIN}`
|
||||
topic. The project is registered but work has not yet been structured.
|
||||
|
||||
**Step 1 — Understand the project (read, don't write)**
|
||||
@@ -125,7 +125,7 @@ Work items MUST originate as files in this repo before being registered in the h
|
||||
|
||||
When another domain's agent identifies work for this repo, it creates a state hub
|
||||
task with `[repo:{REPO_SLUG}]` in the title (an **ecosystem todo**). You will
|
||||
see it at session start via `get_state_summary()`. When you pick it up, create
|
||||
see it at session start via `get_domain_summary("{DOMAIN}")`. When you pick it up, create
|
||||
the corresponding workplan file in `workplans/` (ADR-001) and begin work.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user