Repository navigation
Description
Packet: .../evidence/c7ff503b-19e2-40d2-b99e-38c747f7fc0f/planning-plan/20260919T205610Z/audit-notes.md, F4 (IMPORTANT), with evidence-2.md section C applied. Supersedes perf/issues/01-planning-plan-nested-spawns.md.
SKILL.md:197 (Step 4.5 item 7) makes a plan's proposed implementation agents disclose cost: "Surface the cost. Parallel agents multiply token usage; state 'N agents parallel vs sequential' so the user picks consciously." The skill's own two mandatory spawns carry no such line. Step 3 is non-negotiable (templates/checklist.md: "Step 3 NEVER skipped") at SKILL.md:146-153; SKILL.md:170-183 adds a second serial spawn at MEDIUM or higher blast radius. Neither brief carries a cost line, a brevity instruction, or a model or effort hint; SKILL.md:153 only shortens the brief for trivial single-file plans.
Measured (tier E1, session transcripts): the planner ran 31.6 min (1,895 s), 88 tool uses, 277k tokens, and blocked the orchestrator for a single 1,864 s gap, 21% of its session. Its split was 63% model latency and 31% generation against 6% tool execution, so the cost is turn count and reasoning volume. Both nested reviews ran serially at session effort.
Revised remediation order, from evidence-2.md C, correcting the audit's claim that the spawn prompt is the only lever:
- One brevity line in
context/plan-reviewer.md's prompt template and the Step 4 dispatch instruction: keep reasoning brief, return the findings table, not a narrative. Zero new files, partial effect. - Ship
agents/plan-reviewer.mdwith boundedeffort(and optionallymaxTurns) frontmatter and have Step 3 dispatch it instead of the generic read-only sub-agent atSKILL.md:149. The real knob: per https://code.claude.com/docs/en/sub-agents.md (fetched 2026-09-19, line 307)effortin an agent definition overrides session effort, and there is no per-invocation effort parameter, so a generic agent inherits session effort with no way to lower it. - Extend Step 4.5's cost-disclosure duty to Steps 3 and 4: before spawning, tell the user a fresh-context review runs now and roughly what it costs.
- Dispatch Step 3 and Step 4 against the same draft in one message at MEDIUM or higher, since Step 3b's criteria are read off the plan draft, not off Step 3's findings. Audit-labelled judgment, untested.
Verification: nested subagent spawns below the orchestrator, 4 in-window against a target of 0 below phase workers (perf/snapshot-baseline.md section 2, E1; 2 of the 4 are the planner's). That counter survives host drift; the wall-clock minutes do not.
🤖 Generated with Claude Code
Activity
fix(planning): nested plan reviews disclose cost; use plan-reviewer (#…
docs(planning): date the plan-reviewer records, make the review cost …
docs(philosophy): reconcile the hooks row, record the plan-reviewer e…
kyle-sexton commentedon Sep 29, 2026
From the 2026-09-29 audit of the Cursor run. Reopened until draft PR #5330 merges.
Finding: item 1 of the remediation was only half delivered by #4821. The Step 4 devils-advocate dispatch got no brevity line. The verification record, README row and dated basis were stranded in the closed #4849.
PR #5330 delivers:
model: opusis unchanged (the owner closed #4849 over the sonnet flip). The PR uses Refs, not Closes, because not every remediation item's volatile-behavior record was re-verified on the branch. It becomes Closes only if that check completes.docs: fix factual and wording defects in top-level docs and the nativ…
fix(planning): audit remediation (interview scope, outcome gate, plan…
fix(planning): record plan-reviewer maxTurns basis and handle partial…
kyle-sexton commentedon Oct 1, 2026
Owner decision (2026-10-01): approved the recommendation ("go with recommended", the owner's reply to the batch decision page that listed this question and its recommendation).
Question: all four remediation items are merged, and only the paid nested-spawn counter measurement was never run. Close, run it first, or close and file a follow-up?
Chosen option A: close as completed. Remediation items 1-4 landed through #5330 and #5384, the records were re-verified as of 2026-09-29, and the nested-spawn counter measurement is dropped (its baseline file perf/snapshot-baseline.md is not on main).
Next: closing this issue as completed. A new perf issue can reopen the measurement if needed.