feat(kvb-code-review): review every push and refuse unreviewed push rows

Requirement 064. New skill kvb-code-review: review.py target, plan, run,
brief, record, judge, verdict, stamp, status, question, waive and hook.
It reviews a change against the repository's standards and lenses
(MEDUSA, principles, efficiency, legal, quality), remembers reviewed
blobs and stamps a clean verdict for HEAD^{tree} in kvb-review.json.

The pre-bash hook of hooks.py refuses every push row (--check pushed:
or a --command running git push, gipsn or git-sign-push, also nested
in sh -c) while the tree has neither a clean stamp nor an operator
waiver that operator_message of the installed hub verifies. The hub
port comes only from the hub's .env, never from argv or the stamp.
kvb-git-push gains the review step.

🎯 Fix: 92 %
💥 Break: 3 %
💸 Tokens: 113 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 79
🚦 Gate: ⚠️ tokens 113 % > 100: operator approved the commit

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-27 10:42:15 +00:00
1 parent db3dee02cd
commit 0f8cb32198
15 files changed
+1924 -6

No files matched your search

+10
View File
@@ -43,6 +43,7 @@ flowchart LR
code --> code_test[kvb-code-test]
code --> code_tune[kvb-code-tune]
code --> code_transcend[kvb-code-transcend]
code --> code_review[kvb-code-review]
ci --> ci_triage[kvb-ci-triage]
ci --> ci_artifacts[kvb-ci-artifacts]
ci --> ci_observe[kvb-ci-observe]
@@ -151,6 +152,7 @@ flowchart LR
test[kvb-code-test]
tune[kvb-code-tune]
code_transcend[kvb-code-transcend]
code_review[kvb-code-review]
end
subgraph cat_ci [ci]
triage[kvb-ci-triage]
@@ -279,6 +281,14 @@ flowchart LR
score --> break_risk
score --> efficiency
efficiency -. heavy commands .-> queue
git_push --> code_review
code_review --> medusa
code_review --> sceptic
code_review --> advocate
code_review --> efficiency
code_review --> score
code_review -. heavy lenses .-> queue
democracy -. push row without a clean stamp .-> code_review
gate --> democracy
gate --> hotfix
triage --> hotfix