Process: session wrap-up protocol — doc-update, then clean-context review subagents

This commit is contained in:
2026-06-12 21:48:29 +03:00
parent d1ba921141
commit 5fe5aed50f
4 changed files with 48 additions and 0 deletions
+7
View File
@@ -55,6 +55,13 @@ unavailable, the seat still sits — grep is the fallback evidence.
Pick the mode from what's in front of you; say which mode is running.
The two review modes are also executed by a **clean-context subagent** at session
wrap-up, after `/doc-update` and the alignment pass (see CLAUDE.md → Session wrap-up
protocol). When running as that subagent: you deliberately have no session context —
judge the diff against the codebase's own population of shapes, and return the report as
your final message so the session agent can relay and arbitrate it. A deliberate-looking
divergence whose rationale is recorded nowhere is itself a finding.
### Sweep — whole codebase
For: milestone boundaries, the one-off backfill, "how healthy are we?" on demand.