Skip to content

skills: a tool-neutral consolebook-proof skill that runs the gates and leaves receipts #80

Closed

Description

@TusanHomichi

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.md and one script under scripts/ (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.md sequence 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.md and 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-gate observed. (local receipt on 6a26e38; hosted run 38591786509 green)

Refs #76, #77 (the intake stage would consume these receipts), #78.

Closure record

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions