Hub: send in the field (032), coherent speak box (033), stream head band (034), Match at full width with its pile (035, 036), Home without the outer box (037), badge to Match (038), rejects that survive a changed or withdrawn card (039), the release card (040), code marks in the review diff (041), why Deny is off (042), the undo window clock (043), widgets without inner boxes (044), the Artifacts head on one line (045), accepting a red gate's risk (046), one code box (047), done rows greyed and folded (048), one control height (049), menus that stay open (050), radio settings in the Device card (051), bubbles beside the modes (052), agent settings on every face and name (053), pin only by menu (054), WASD in Match (055), the flowing card edge (056), Schedules in Controls (057) and the hub poll cost (059). Skills: the coach leaves for its own repository kevinveenbirkenbach/coach (058; test_install pins its four skills in skills-lock.json and stays red until that repository is published and pinned), hooks and timers start fewer processes (060), council files on hot paths stay bounded and mirror by marker instead of mtime (061), scripts and hooks hand agents less output (062), and block.py builds the commit table and message block in one run (063). Requirement documents 032 to 063 with their implementation amendments. MEDUSA false positives accepted after kvb-think-criticize (36 lines): MM-SCAN-058 (pla inside replace or plan), JB-SCAN-616/641 (the local clip helper), CODEGEN-SCAN-001 (drop-in paths), CGS-SCAN-029 (systemctl argv from constants), CGS-SCAN-040 (runner poll loop), FLA-SCAN-055 (feedback), WM-SCAN-354, AI-BACKDOOR-006, GENAI-SCAN-1270, B604 (runner shell path for passkey-verified commands), TC004, EXA002, EXA006, EXA010 and WEB-SSRF. 🎯 Fix: 92 % 💥 Break: 8 % 💸 Tokens: 89 % ⏱️ Velocity: – 🛡️ Security: ~100 % 🏆 Score: 95 🚦 Gate: ⛔ break 8 % > 5 Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.9 KiB
3.9 KiB
063 - One Commit Block
User Story
As the operator, I want one script to build a commit's score table and message block, so that a commit loads three skills instead of eleven.
Decisions (operator-confirmed 2026-11-25; do not re-litigate)
- One script (operator):
kvb-check-score/scripts/block.py --repo <tree> --fix <n> --break <n>runstokens.py,measure.py, the speed check,security.py(the critical count) andgate.py status, then prints the commit table and the--message-blockparagraph; its exit codes arescore.py's (4 critical, 1 below 90/5, 3 ask again, 0 pass). Amended 2026-11-25 in the implementation:--base <ref>is required as for every script it runs;tokens.pyruns on--transcripts <dir>(skill text changed, with--savesand--evidencepassed on as its--value),measure.pyon-- <command...>(runnable code changed), the higher tokens figure counting when both ran; without either, tokens and velocity are-. The speed check ismeasure.py's velocity since 062 foldedkvb-check-speedintokvb-check-efficiency.- Figures are read by their shape (
<n> %,new,<n> % critical <c>,value <n:n>), never by a label, solabels.jsonstays the one place for labels. - The output adds the
gate.py statusverdict between table and block, and anafter the commit:line with thescore.py --commit-table --commit <hash>call, so the table after the commit reuses the measured figures instead of measuring again. - A script that exits outside its result codes or prints no figure
stops the run with exit 2 and
block: <script> exited <code>: <last line>before anything is printed.
- Shorter chain:
kvb-git-commit-no-verifycallsblock.py;kvb-check-confidencekeeps the calibration rules; the score, efficiency and security skills keep their scripts for direct use. Amended 2026-11-25 in the implementation:kvb-git-commit-nextandkvb-check-confidencepoint to step 2 ofkvb-git-commit-no-verifyinstead of restating the chain, andkvb-check-scorenamesblock.pyin one sentence. The three skills count the scoring chain; the clean, legal and hub-approval passes of step 1 and 3 stay their own concerns. - Judgement stays: fix confidence and break risk stay the agent's
inputs (
kvb-check-break-risk);block.pynever estimates them.
Approach
flowchart TD
subgraph P["🧭 0 · Preparation"]
P1["📋 Write requirement"] --> P2{"✅ Operator approves?"}
P2 -- "✏️ corrections" --> P1
end
P2 -- "🤖 yes" --> A1
subgraph A["🧾 A · Commit block"]
A1["🧪 Golden output of today's chain"] --> A2["🧩 block.py"]
A2 --> A3["🔗 commit-no-verify calls it"] --> A4["✂️ confidence keeps calibration"]
A4 --> A5["✍️ Tests written, not run"]
end
A5 --> C1
subgraph C["🧪 C · Verification"]
C1["🧪 Unit and integration"] --> C2{"🟢 Green?"}
C2 -- "🔴 no: fix" --> C1
C2 -- "🟢 yes" --> CF{"💬 Operator feedback?"}
CF -- "✏️ changes" --> A1
end
CF -- "👍 fits" --> D1["🏁 Review, commit with operator OK, hand-over"]
Acceptance Criteria
block.pyon a fixture repository prints the same table and block as today's chain of single scripts (golden test).- Its exit codes match
score.py's for a critical finding, a 90/5 miss, an over-budget ask and a pass. - The commit path names
block.pyand loads at most three SKILL.md files: commit-no-verify, confidence and break-risk.
Tests
- Unit: the golden output, the exit codes, a failing sub-script named
(
tests/test_block.py). - Integration:
block.pywith fake tokens, measure, security and gate scripts beside the realscore.py. - E2E: n/a: no page change.