Repository navigation
Description
Problem
The guidance now names the roles and the correction ladder (#76), but the "skills" rung has nothing concrete behind it in this repository: there is no tool-neutral skill an agent can load that routes a change to its proof, runs the gate sequence the same way every session, and leaves receipts. Conary has one (.agents/skills/conary-proof/SKILL.md, backed by scripts/agent-context.sh and scripts/agent-proof.py); here each session re-derives the sequence from CONTRIBUTING.md and writes its own gate chain, which is the "ad-hoc script per session" the verification-skill idea exists to remove.
Outcome
A consolebook-proof skill under the tool-neutral .agents/skills/ path (the ignored .claude/ is machine-local and cannot carry it) that: (1) names the smallest proof for a change by area — web, server crate, migrations, docs — using docs/development.md's index; (2) runs the documented gate sequence from CONTRIBUTING.md with one command, fail-fast, printing each step, the system-browser variable for the e2e suite, and per-step exit status and duration; (3) writes a receipt (candidate SHA and tree, dirty state, command, exit status, duration, log path and SHA-256) under an ignored directory; (4) states the browser used and distinguishes local from hosted results. CONTRIBUTING.md stays the owner of the sequence; the skill and script only execute it.
Scope
.agents/skills/consolebook-proof/SKILL.mdand one script underscripts/(bash or Python, no new dependencies).- A negative control: a deliberately failing step must stop the chain and produce a failed receipt that is kept.
docs/workflow.md's receipt rules name the script as the canonical way to produce a local receipt.
Out of scope: a feature-map router like Conary's (file separately if ever wanted), CI changes (#78 owns the guard), and any model-specific content.
Acceptance
- One command runs the full
CONTRIBUTING.mdsequence and leaves a receipt; its output names the browser. (scripts/proof.py) - The failing-step negative control is demonstrated with its receipt preserved. (fmt break on
b2b42e8, stopped at step 3; also--self-test) -
CONTRIBUTING.mdand the skill agree on the commands. The script parses the block, so drift is unrepresentable rather than caught by review. - Full required gates pass on the candidate; hosted
pr-gateobserved. (local receipt on6a26e38; hosted run 38591786509 green)
Refs #76, #77 (the intake stage would consume these receipts), #78.
Closure record
- Merged by chore(proof): run the documented gates and leave a receipt #82 as
e9921014on 2026-10-14. Its first parent is2679b66, the PR's base, unchanged at merge time, so the merged content equals the verified head6a26e38. That is inferred from the parents; tree hashes were not compared directly. - Authorization: the maintainer's request in the working session, including standing permission to merge and clean up.
- Follow-up found during verification: test(e2e): intermittent failure in "a failed ordinary save cannot silently leave by SPA navigation" #83, an intermittent browser-test failure that this change does not touch.
Activity
fix(proof): never record a pass for a run that did not finish
fix(proof): judge privilege by the capabilities that bypass permissions
fix(proof): refuse a gate block without exactly one browser suite
TusanHomichi commentedon Oct 14, 2026
Merged-main verification:
e992101^{tree}=6a26e38^{tree}=2d40028684aa6dde303c35bcedfe671860011199. The merged revision is byte-identical to the candidate that passed the local gates and hostedpr-gate, which replaces the "inferred" note in the closure record.Generated by Claude Code
fix(proof): lex gate lines like a shell before finding the suite
fix(proof): stop a step's whole process group and read worktree renames
fix(proof): require the browser suite's own report, not just an exit 0
fix(proof): always SIGKILL the step group, and state the threat model
fix(proof): hold Ctrl-C and SIGTERM until the receipt is written
fix(proof): let only the first interrupt raise during a run