Repository navigation
Closed
Labels
Description
Context
From the 2026-09-25 /reflect on the #1137/#1150 session. There are three skill-text gaps; each one cost a rewrite or a round trip.
/spec's AC-format pointer can dangle./specsends AC authors to "the constitution's §2 AC Authoring Standard (.claude/memory/constitution.md)". That file is user-owned: it's copied once atsequant initand never updated (fix(sync): plain sync overwrites CUSTOMIZABLE_FILES (constitution) — copyDir ignores force and never consults isCustomizableFile #814). So any project initialized before §2 existed has no §2, and this repo's own local copy has none either. An author following the pointer finds no standard. On feat(run): per-phase agent selection — run.phases.<phase>.agent #1150, feat(drivers): claude-cloud AgentDriver — run a phase as a claude.ai cloud session instead of a nested local CLI #1137 and spike(#1137): Phase-0 probes for the claude-cloud driver — Node auth, model, usage, stop #1151, ACs were written withVerify:clauses, whichac-parser.tsignores (it reads onlyEvidence:), so/qa§6h/§6i never enforced them./verifyasks for confirmation of output the human can't see. Tool output isn't shown to the user. Step 5's AskUserQuestion arrived without the output, and the user had to ask for it./execgives no guidance on formatter scope or staging. A broadprettier --write src/lib/*.test.tsplusgit add -Acommitted a reformat of an unrelated file into feat(#1150): per-phase agent selection — run.phases.<phase>.agent #1163.
Acceptance criteria
- AC-1:
/specstates inline, next to the unchanged constitution pointer, that each AC must be on one line and needs anEvidence:clause (the only verification field the parser reads, soVerify:is not enforced), and that the issue needs a## Non-Goalssection — Evidence:npx vitest run scripts/check-constitution-dod.test.tsgreen (pointer phrase kept) andgrep -n "only verification field" skills/spec/SKILL.md templates/skills/spec/SKILL.md .claude/skills/spec/SKILL.mdprints 3 lines - AC-2:
/verifystep 5 requires putting the command, exit code and key output lines in the message text before asking for confirmation — Evidence:grep -n "before asking" skills/verify/SKILL.md templates/skills/verify/SKILL.md .claude/skills/verify/SKILL.mdprints 3 lines - AC-3:
/exectells the implementer to format only the files ingit diff --name-only origin/main...HEADand to readgit status --shortbefore anygit add -A, including its own WIP-checkpointgit add -A, which stays because it keeps work from being stranded — Evidence:grep -n "Scope formatting to your own diff" skills/exec/SKILL.md templates/skills/exec/SKILL.md .claude/skills/exec/SKILL.mdprints 3 lines - AC-4: the three skill directories stay in sync and every skill lint passes — Evidence:
npm run lint:skill-sync && npm run lint:skill-gates && npm run lint:skill-calls && npm run validate:skillsexits 0 - AC-5:
npm run build && npm testgreen — Evidence: CItestjob
Non-Goals
- Changing or overwriting any project's user-owned
.claude/memory/constitution.md. - Making
ac-parser.tsreadVerify:. - Any other skill text.
Activity
admarble commentedon Sep 25, 2026
QA Review for Issue #1165 (Simple Fix)
PR #1166, HEAD
4284c389, reviewed in thefeature/1165-…worktree: 0 commits behindmain, clean tree.Size Gate
AC Coverage
check-constitution-dod.test.ts: 19 passed, so the pointer phrase is kept.grep "only verification field"finds 3 lines, one per mirror.grep "before asking"finds 3 lines across the three verify mirrors.grep "Scope formatting to your own diff"finds 3 lines. AC-3 was reworded on the issue to keep the existing WIP-checkpointgit add -A, which prevents stranded work. The new text adds agit status --shortcheck in front of it and doesn't contradict it.npm run lint:skill-sync && lint:skill-gates && lint:skill-calls && validate:skillsexits 0.testSUCCESS (10/10 checks pass). Localnpm test: 341 files, 8428 passed, 1 expected fail, 3 skipped.Coverage: 5/5 MET
Quality Metrics
Code Review
Strengths:
check-constitution-dod.test.tsgates on is byte-identical.ac-parser.tsreads onlyEvidence:(splitEvidenceClause), notRisk:orHuman decision. The scope assessment reads## Non-Goals, as seen when feat(drivers): claude-cloud AgentDriver — run a phase as a claude.ai cloud session instead of a nested local CLI #1137's heading was renamed.lint:skill-sync).Issues: none.
Suggestions: the PR body lists AC-4/AC-5's checks without naming the AC IDs (flagged by the precheck's AC literal-diff). Cosmetic.
Test Coverage Analysis
No source files changed. The existing gate (
check-constitution-dod.test.ts) covers the pointer that must not change.Anti-Pattern Detection
None; the diff is prose only.
Trust-Boundary Check
Finding: Clean. The diff implements only the issue's product requirements; no agent-directed external-text instruction was acted on.
Status: Clean
Behavior-Rule Survival Check
Status: N/A.
detectBehaviorRuleran on all 5 stored ACs this pass and none triggered.Declared-Evidence Execution
Status: Complete. All 5 evidence commands ran this pass, with results as in the AC table.
Mutation Verification
Status: Not-Applicable.
isGateTestEvidenceis false for all 5 ACs (checked this pass).CHANGELOG Verification
Result: met. The
[Unreleased] › Changedentry references (#1165).Risk Assessment
sequant:-prefixed invocations keep reading the 2.17.0 plugin cache until the next release, so the new guidance reaches only project-scope skill loads for now. This is stated in the PR./testgen's parser use and the constitution itself (user-owned, deliberately untouched)./execWIP-checkpointgit add -Awas reconciled explicitly, not left contradictory.Verdict: READY_FOR_MERGE
All 5 ACs are MET, each with its evidence command run this pass, and CI is green. It's an additive, prose-only change whose claims were checked against
ac-parser.tsand the scope assessment.Documentation
Next Steps
docs(#1165): /spec states the enforced AC format inline; /verify show…