Repository navigation
Description
Packet: .../evidence/c7ff503b-19e2-40d2-b99e-38c747f7fc0f/planning-plan/20260919T205610Z/audit-notes.md, findings F3 and F6 (IMPORTANT) and F5 (SUGGESTION). F1 and F2 are filed separately as the outcome-gate issue.
F6, no unattended branch on the terminal gate. SKILL.md:109 presupposes unattended runs, logging an unnamed boundary as a deviation to DEVIATIONS.md "rather than silently taken", while :312 says "Never start executing without user approval. The approval gate is the point." Step 5 at :226-242 defines only the attended path, so with no human in the loop the gate degrades to self-approval with nothing recorded. That happened here: approval was self-granted under a standing mandate, with the PR as the review surface, while the deviation log ran normally.
Fix: one Step 5 sentence saying the gate does not vanish when no human is present, and that the approval basis (standing mandate, who granted it, the PR as review surface) goes in PLAN.md; then an Approval: line in templates/plan-md-anatomy.md so the outcome-gate script can assert it.
F3, the Step 3 reviewer brief has no evidence mandate. context/plan-reviewer.md's prompt template says only "Do not edit files. Attack the plan for gaps. Return a findings table only." Every axis is read-and-reason, with no clause forbidding training-data recall and no instruction to probe the tool the plan depends on, unlike its sibling. devils-advocate/SKILL.md:165 has both, "never training-data recall", with step 1 "Explore the incumbent first-hand". Here the devil's advocate ran real chezmoi v2.72.2 and caught real defects; the reviewer missed the include list omitting directory members, which broke chezmoi apply in Phase 4, the class a read-only --dry-run probe surfaces. One run, not a controlled comparison.
Fix: two lines on the template, the devils-advocate evidence mandate verbatim, plus an instruction to run a read-only probe (--dry-run, --help, list, --version) and cite its output wherever the plan depends on a tool's behavior.
F5, no merge floor on phases. SKILL.md:132 bounds phases from above (more than 5 work items, more than 300 LOC, 2 or more sub-phases) and :195 sets a parallelism floor at roughly 100 LOC, but nothing bounds a phase from below. From git: Phase 2 (345b228) and Phase 5 (5ee6cb9) were each 1 file, 1 insertion, 1 deletion, each carrying a full dispatch, sanity check, commit and plan-mark cycle, in a plan of 7 phases for 24 files. Fix: one bullet beside the promotion trigger merging a one-file, few-line phase with no independent verification need into an adjacent phase. The threshold is judgment; nearest anchor :195.
Verification: the outcome-gate script from the companion issue asserts the Approval: line; the reviewer change shows up as a review citing probe output.
🤖 Generated with Claude Code
Activity
fix(planning): unattended Approval line; reviewer evidence; small-pha…
Merge origin/main into cursor/4657-planning-descriptions-f6c4
perf(planning): trim skill descriptions; keep extractor triggers (par…
perf(planning): trim skill descriptions; keep extractor triggers (par…
fix(planning): outcome gate path boundary, nested fences, and --appro…
fix(planning): audit remediation (interview scope, outcome gate, plan…