feat(kvb-check-score): score journal, backfill and per-metric burndown overlays (006)

score.py names the Cost and Time metrics Tokens and Velocity from one label file and appends every scored block to a score journal in the council root. backfill.py rebuilds that journal from commit messages with its own label mapping, deterministic and idempotent, so another host can import its history. The hub serves the journal, and the Gantt burndown draws each metric as its own overlay on a right 0-100 % axis, every overlay off by default and switched by legend chips whose state the view store keeps.

🎯 Fix: 90 %
💥 Break: 5 %
💸 Cost: 100 %
⏱️ Time: 100 %
🛡️ Security: 100 %
🏆 Score: 86
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-13 12:32:54 +00:00
1 parent 3418738993
commit 5b55c39b64
30 files changed
+1806 -142

No files matched your search

+3 -3
View File
@@ -4,7 +4,7 @@ description: >
Wall-clock speed of changed code versus its base commit.
---
Its ⏱️ time is the share of its base's wall-clock time a change needs:
Its ⏱️ velocity is the share of its base's wall-clock time a change needs:
under 100 % it is faster, over 100 % slower. It has no script of its own: one run
of the `kvb-check-efficiency` measurement yields both values.
@@ -12,7 +12,7 @@ of the `kvb-check-efficiency` measurement yields both values.
python3 ${CLAUDE_SKILL_DIR}/../kvb-check-efficiency/scripts/measure.py --base <ref> -- <command...>
```
Its `⏱️ time <p> % (wall <b>→<a> s)` compares wall seconds at `<ref>` and
Its `⏱️ velocity <p> % (wall <b>→<a> s)` compares wall seconds at `<ref>` and
in the working tree: one run each, or the mean of 5 each when a value
exceeds 100. The command, the runs, the `queue.py hold` wrapper for heavy
commands and the exit codes are those of the `kvb-check-efficiency` skill;
@@ -24,6 +24,6 @@ pasting its whole line reports both values at once.
renders) has no speed either: `--speed -`, and say why.
- **Other load**: wall time follows host load. Above 30 % other load the
script falls back to the CPU-time ratio and marks the estimate:
`⏱️ time ~<p> % (cpu <b>→<a> s)`, ending in
`⏱️ velocity ~<p> % (cpu <b>→<a> s)`, ending in
`(estimated: other load <x> %)`. Report the run you
made; never rerun to pick the best result.