feat(model-routing): doc/status dispatch their agent (sonnet/haiku pins take effect)
This commit is contained in:
+9
-5
@@ -15,12 +15,16 @@ allowed-tools:
|
||||
- Bash
|
||||
- Grep
|
||||
- Glob
|
||||
- Agent
|
||||
---
|
||||
|
||||
Load and follow strictly:
|
||||
- $HOME/.claude/agents/doc-syncer.md
|
||||
Dispatch the doc-syncer as a subagent so its `model: sonnet` pin takes
|
||||
effect (doc-sync = execution, not the session's big model):
|
||||
|
||||
Execute the DOC SYNCER on this project.
|
||||
Agent(subagent_type="doc-syncer")
|
||||
prompt: "Audit + sync public docs for this project. Context from the user:
|
||||
$ARGUMENTS. Report PATCHED_FILES and a summary — do NOT commit."
|
||||
|
||||
Context from the user (if any):
|
||||
$ARGUMENTS
|
||||
Then commit the patched docs from THIS loop per `$HOME/.claude/lib/doc-commit.md`
|
||||
(surgical: only doc-syncer's PATCHED_FILES, never `.claude/`/`CLAUDE.md`,
|
||||
no-op if nothing patched).
|
||||
|
||||
@@ -2,13 +2,15 @@
|
||||
name: status
|
||||
description: 'Consolidated project snapshot — plugins, token cost, git state, recent commits, GSD v2 milestone progress. Read-only. Run at session start or after a break. Open-work reconciliation (stale TODO vs real git) → /reconcile. Triggers: "status", "sitrep", "where are we", "project state", "after break".'
|
||||
argument-hint: (no arguments needed)
|
||||
allowed-tools: Read, Bash, Glob, Grep
|
||||
allowed-tools: Read, Bash, Glob, Grep, Agent
|
||||
---
|
||||
|
||||
Load and follow strictly:
|
||||
- `$HOME/.claude/agents/status-reporter.md`
|
||||
Dispatch the status-reporter as a subagent so its `model: haiku` pin takes
|
||||
effect (read-only collection = cheapest tier, off the big session model):
|
||||
|
||||
Produce the full PROJECT STATUS report for the current working directory.
|
||||
Agent(subagent_type="status-reporter")
|
||||
prompt: "Produce the full PROJECT STATUS report for the current working
|
||||
directory. $ARGUMENTS"
|
||||
|
||||
## Fallback when agent file missing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user