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:
1 parent
db3dee02cd
commit
0f8cb32198
15 files changed
+1924
-6
No files matched your search
@@ -208,6 +208,9 @@ flowchart TD
|
||||
- [ ] The hook refuses `operator.py add ... --check pushed:<dir>` with
|
||||
exit 2 and the reason `no clean review for tree <hash>`; with a clean
|
||||
stamp it allows; other `operator.py add` rows pass untouched.
|
||||
- [ ] A row whose `--command` runs `git push`, `gipsn` or `git-sign-push`
|
||||
is a push row for its `--dir` whatever its check (operator
|
||||
2026-11-26: `--check manual` push rows are reviewed too).
|
||||
- [ ] A waiver whose signed answer `operator_message` does not match, or an
|
||||
unreachable hub, keeps the row refused.
|
||||
|
||||
|
||||
Reference in new issue
Block a user