# 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) 1. **One script** (operator): `kvb-check-score/scripts/block.py --repo --fix --break ` runs `tokens.py`, `measure.py`, the speed check, `security.py` (the critical count) and `gate.py status`, then prints the commit table and the `--message-block` paragraph; its exit codes are `score.py`'s (4 critical, 1 below 90/5, 3 ask again, 0 pass). Amended 2026-11-25 in the implementation: - `--base ` is required as for every script it runs; `tokens.py` runs on `--transcripts ` (skill text changed, with `--saves` and `--evidence` passed on as its `--value`), `measure.py` on `-- ` (runnable code changed), the higher tokens figure counting when both ran; without either, tokens and velocity are `-`. The speed check is `measure.py`'s velocity since 062 folded `kvb-check-speed` into `kvb-check-efficiency`. - Figures are read by their shape (` %`, `new`, ` % critical `, `value `), never by a label, so `labels.json` stays the one place for labels. - The output adds the `gate.py status` verdict between table and block, and an `after the commit:` line with the `score.py --commit-table --commit ` 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: