Commit Graph
305 Commits
Author SHA1 Message Date
Kevin Veen-BirkenbachandClaude Opus 5.5 ded7c9a7b6 feat(hub): scoped right-click context menu from the palette commands
Every palette item carries a scope (general, a tab, or an element kind); right-click and the Menu key or Shift+F10 open one menu with the element's items, then the tab's, then the general ones. Shift+right-click and text fields keep the browser menu; the diff feedback becomes one provider; any other key closes the menu instead of reaching the global shortcuts.

🎯 Fix: 85 %
💥 Break: 6 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 85 % < 90, break 6 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 08:16:42 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 d8b1c95402 refactor(tests): split the e2e files over 500 lines into topic modules
Operator pick 2026-11-14: every tests/e2e file at most 500 lines, so Quality's line limit and
medusa's per-file scanner timeout hold. test_orchestrator_e2e.py (3032 lines),
test_radio_layout_e2e.py (1258) and test_radio_set_e2e.py (504) become shared helper modules
(hub_e2e_kit, hub_e2e_views, hub_e2e_radio, hub_e2e_board, hub_e2e_inbox, hub_e2e_plan,
radio_layout_kit, radio_layout_probes, radio_layout_focus_probes, radio_set_kit) and topic test
modules (test_hub_radio_e2e, test_hub_board_e2e, test_hub_inbox_e2e, test_hub_plan_e2e,
test_radio_focus_e2e); the longest file is now 485 lines. All 98 e2e test methods keep their
names and bodies (AST multiset compared before and after); 40 of the 55 moved tests change
module or class, so their ids change. The 21 importers and requirement 004 follow.

Security acceptances (kvb-think-criticize with an independent skeptic, moved unchanged code):
MEDUSA-INF-SCAN-1475, -1616, -2330, -2844, -2970, -3199 radio_layout_kit.py 19 (fixture agent
name Beacon); 19 MEDUSA-INF-SCAN rules hub_e2e_kit.py 208 (mkstemp-backed NamedTemporaryFile);
B603 hub_e2e_kit.py 211 (list argv, no shell, the repo's own node drivers).

🎯 Fix: 88 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 84
🚦 Gate: ⛔ fix 88 % < 90

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:54:36 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 e1445cb88b feat(kvb-org-queue): cap the booked RAM share per kind with ram_cap_percent
Operator order relayed by Main on 2026-11-14 22:25: book at most 30 % RAM for test jobs.
learn() folds ram_cap_percent {kind: percent} into each kind the way it folds light_kinds;
footprint() and ceiling() book min(share, cap), while the learned shares and the history
rows stay raw. A cap map that is not {kind: percent above 0 up to 100} makes hold exit 2,
keeps fresh() on the last good config and makes admit refuse. learning.md documents the
key and the re-hold after an install.

Security acceptances (kvb-think-criticize with an independent skeptic; false positives or
by design, all in unchanged lines of the touched files): MEDUSA-MM-SCAN-058 queue.py 375
377 621 623 624 629 630 633 634; MEDUSA-ACP-SCAN-028 queue.py 297; MEDUSA-RT-SCAN-054
queue.py 731; MEDUSA-AI-BACKDOOR-006 queue.py 746 806 1140 1166 1189 1190 1243 and
history.py 353; MEDUSA-WM-SCAN-780 queue.py 1215.

🎯 Fix: 88 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 85
🚦 Gate: ⛔ fix 88 % < 90

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 22:58:07 +00:00
Kevin Veen-Birkenbach b95e305db0 Merge branch 'feature/hub-voice-input' into unify/skills-20261114
# Conflicts:
#	README.md
#	docs/requirements/README.md
2026-11-14 22:03:42 +00:00
Kevin Veen-Birkenbach 7241e53a98 Merge branch 'feature/hub-match-review' into unify/skills-20261114
# Conflicts:
#	docs/requirements/README.md
2026-11-14 22:02:51 +00:00
Kevin Veen-Birkenbach f824ea27cf Merge branch 'feature/hub-header-rates' into unify/skills-20261114
# Conflicts:
#	docs/requirements/README.md
#	orchestrator/templates/page-resources.js
#	orchestrator/templates/page-settings.js
#	skills/kvb-check-score/scripts/score.py
#	tests/test_resources_sample.py
2026-11-14 22:02:20 +00:00
Kevin Veen-Birkenbach 15c262a216 Merge branch 'feature/hub-queue-priority-overlay' into unify/skills-20261114 2026-11-14 22:00:30 +00:00
Kevin Veen-Birkenbach 7de26c9075 Merge branch 'feature/hub-organigram' into unify/skills-20261114 2026-11-14 22:00:25 +00:00
Kevin Veen-Birkenbach 4496479e86 Merge branch 'feature/hub-gate-chips-glossary' into unify/skills-20261114 2026-11-14 22:00:15 +00:00
Kevin Veen-Birkenbach 1ab9cf02de Merge branch 'feature/hub-firewall-rule-table' into unify/skills-20261114 2026-11-14 22:00:10 +00:00
Kevin Veen-Birkenbach f437c26b05 Merge branch 'feature/hub-notification-channels' into unify/skills-20261114
# Conflicts:
#	orchestrator/templates/page-alerts.js
#	orchestrator/templates/page-screens.js
#	orchestrator/templates/page-speech.js
2026-11-14 22:00:05 +00:00
Kevin Veen-Birkenbach ad3685ef03 Merge branch 'feature/hub-home-tile-open' into unify/skills-20261114 2026-11-14 21:57:47 +00:00
Kevin Veen-Birkenbach 1c8e5845ac Merge branch 'feature/hub-radio-redesign' into unify/skills-20261114
# Conflicts:
#	orchestrator/templates/panels.js
#	tests/test_hub_home.py
2026-11-14 21:57:43 +00:00
Kevin Veen-Birkenbach ccde693567 Merge branch 'feature/hub-bookmarks-everywhere' into unify/skills-20261114
# Conflicts:
#	orchestrator/templates/page-inbox.js
2026-11-14 21:56:35 +00:00
Kevin Veen-Birkenbach 2f25443a9f Merge branch 'feature/code-graph-by-default' into unify/skills-20261114
# Conflicts:
#	docs/requirements/009-code-graph-by-default.md
#	tests/test_install.py
2026-11-14 21:56:06 +00:00
Kevin Veen-Birkenbach 50bfed6751 Merge branch 'fix/hub-speech-bubbles-hidden' into unify/skills-20261114
# Conflicts:
#	orchestrator/templates/page-bubbles.js
#	orchestrator/templates/page-speech.js
#	tests/test_hub_bubbles.py
2026-11-14 21:53:37 +00:00
Kevin Veen-Birkenbach cfdd83dd2e Merge branch 'fix/unify-e2e-bubble-bar-overlap' into unify/skills-20261114 2026-11-14 21:52:15 +00:00
Kevin Veen-Birkenbach 568747651b Merge branch 'fix/hub-cleanup-pkgmgr-local' into unify/skills-20261114 2026-11-14 21:52:08 +00:00
Kevin Veen-Birkenbach 6d1c28241b Merge branch 'fix/hub-operator-rows-close-stale' into unify/skills-20261114 2026-11-14 21:52:07 +00:00
Kevin Veen-Birkenbach 064e540464 Merge branch 'fix/kvb-check-security-medusa-timeout' into unify/skills-20261114 2026-11-14 21:51:11 +00:00
Kevin Veen-Birkenbach 80ab621c53 Merge branch 'fix/kvb-org-operator-utf8-input' into unify/skills-20261114 2026-11-14 21:51:11 +00:00
Kevin Veen-Birkenbach 9d653aa9ce Merge branch 'fix/kvb-org-rasci-artifact-filters' into unify/skills-20261114 2026-11-14 21:51:10 +00:00
Kevin Veen-Birkenbach faded2ed54 Merge branch 'fix/kvb-git-hotfix-adopt-and-sync' into unify/skills-20261114 2026-11-14 21:51:10 +00:00
Kevin Veen-Birkenbach f315cf37e7 Merge branch 'fix/kvb-check-score-isolated-import' into unify/skills-20261114 2026-11-14 21:51:10 +00:00
Kevin Veen-Birkenbach 041851d296 Merge branch 'fix/kvb-org-queue-backfill' into unify/skills-20261114
# Conflicts:
#	skills/kvb-org-queue/SKILL.md
#	skills/kvb-org-queue/scripts/queue.py
2026-11-14 21:49:10 +00:00
Kevin Veen-Birkenbach 0046ab3a0a Merge branch 'fix/queue-pressure-gate' into unify/skills-20261114
# Conflicts:
#	scripts/install.sh
#	skills/kvb-org-organize/scripts/watch.py
2026-11-14 21:46:47 +00:00
Kevin Veen-Birkenbach ccb7373725 Merge branch 'fix/hook-exec-hardening' into unify/skills-20261114 2026-11-14 21:44:46 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 4ec1a43238 fix(orchestrator): approve only a plain commit of the exact staged index
The approval hook binds a hub approval to a plain git commit of the staged index only; commits that add files from the working tree, amend, take a pathspec, run in a chain or inside a shell wrapper fall back to the normal dialog. Every git call of the hook runs with an environment allowlist. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 93 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 90
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:43:06 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 a438a2f54e feat(orchestrator): speak into every text field of the hub (requirement 013)
Requirement 013 and its implementation: page-mic.js puts a microphone on every textarea and text input, records with MediaRecorder and inserts the transcript at the cursor; Escape cancels. /api/stt transcribes with the local whisper.cpp model ggml-small-q8_0 (pinned to commit 5359861c and its sha256) in a per-request temp dir, capped at 60 s and 5 MiB, and returns German or English only, retranscribing a clip detected as another language in both and keeping the surer one. Without a model the button is disabled and names the install row. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 72 %
💥 Break: 12 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 63
🚦 Gate: ⛔ fix 72 % < 90, break 12 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:37:26 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 8bc7209ed1 feat(orchestrator): review staged work as match cards (requirement 012, phases A and B)
Requirement 012 plus its first two phases: the kvb-match skill (match.py add, list, show) feeds the existing review queue, /api/match serves the cards and local-only stale and snapshot posts, and payload files are read only as regular files under /tmp within the sandbox view and 64 KiB. The card at #tasks/match shows face, name, age in days, repository, branch, worktree and files that open while scrolling; right-click or long press marks a line, stale cards cannot be accepted. Accept, reject and the passkey release follow in phase C after the screenshot feedback. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 75 %
💥 Break: 8 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 95 %
🏆 Score: 66
🚦 Gate: ⛔ fix 75 % < 90, break 8 % > 5; security 95 % < 100: ask the operator before the commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:36:40 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 652bc817c1 feat(orchestrator): show token and commit rates in the header
rates.py folds the token, commit and score journals into per-hour and per-day rates for the header chips and the rates page; /api/rates drops from about 1950 ms to 380-830 ms on a year of data. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 75 %
💥 Break: 10 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 95 %
🏆 Score: 64
🚦 Gate: ⛔ fix 75 % < 90, break 10 % > 5; security 95 % < 100: ask the operator before the commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:33:22 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 e1de1ee0e6 feat(orchestrator): overlay the queue order on the Tasks board
queue_order.py parses queue.py list --json into positions and reasons; the Tasks board overlays each card with its queue position, wait and reason, and falls back to Order only when the queue cannot be read. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 80 %
💥 Break: 10 %
💸 Tokens: 20 %
⏱️ Velocity: 20 %
🛡️ Security: 100 %
🏆 Score: 100
🚦 Gate: ⛔ fix 80 % < 90, break 10 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:32:48 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 9d8431049e feat(orchestrator): explain gate chips through one glossary
glossary.js is the single source of the gate, branch and rule terms; ancestry, tree, artifacts, offices and rules render text chips from it with the explanation on hover, focus and Enter. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 80 %
💥 Break: 8 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 74
🚦 Gate: ⛔ fix 80 % < 90, break 8 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:32:03 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 2b4c3baaa0 feat(orchestrator): draw agents and chairs as a matrix organigram
The agents hierarchy gains a matrix org chart: agents as columns, chairs as rows, so one agent with several chairs shows every one of them; a Home tile can pin it. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 82 %
💥 Break: 8 %
💸 Tokens: 90 %
⏱️ Velocity: 90 %
🛡️ Security: 100 %
🏆 Score: 93
🚦 Gate: ⛔ fix 82 % < 90, break 8 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:31:47 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 23a7d2dc1d feat(orchestrator): show firewall and hub rules in one table with hits
One rule table replaces the two lists: each allow, ask and deny rule shows its hits from the extracted dry-run matcher, ask patterns the matcher never grants read never granted instead of unused, and the table scrolls in its own container below 600 px. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 85 %
💥 Break: 10 %
💸 Tokens: 100 %
⏱️ Velocity: 103 %
🛡️ Security: 100 %
🏆 Score: 74
🚦 Gate: ⛔ fix 85 % < 90, break 10 % > 5; velocity 103 % > 100: ask the operator before the commit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:29:42 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 41e262407c feat(orchestrator): choose notification channels in the settings
Settings store the notification channels (browser, sound, speech) instead of one notify flag, migrating the old flag to the browser channel; alerts and speech follow the chosen channels. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 85 %
💥 Break: 8 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 78
🚦 Gate: ⛔ fix 85 % < 90, break 8 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:29:22 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 7adb6d63a3 feat(orchestrator): redesign the radio set into device, speak and history cards
The radio shows the device card on the left and the speak and history cards on the right from 45 to 61 rem of height, stacking below that; only the history scrolls. History rows get stable keys (sent-row id, else time, sender and occurrence), and focus moves to the nearest row when the focused one disappears. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 85 %
💥 Break: 12 %
💸 Tokens: 60 %
⏱️ Velocity: 45 %
🛡️ Security: 100 %
🏆 Score: 100
🚦 Gate: ⛔ fix 85 % < 90, break 12 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:28:25 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 dae4d7b38d feat(orchestrator): open the source view from every Home tile
Each Home tile header gets an open button that jumps to the screen, panel or item the tile shows, restoring its scroll and selection. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 85 %
💥 Break: 10 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 77
🚦 Gate: ⛔ fix 85 % < 90, break 10 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:27:09 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 911eb521b9 feat(kvb-agent-optimize): initialise the code graph by default
graph.py indexes a repository into codebase-memory-mcp on first use and keeps auto_index on, so every session starts with a graph; agents.py reports its state. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 88 %
💥 Break: 5 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ fix 88 % < 90

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:25:12 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 d882e501c1 fix(orchestrator): queue every speech row of a poll before one redraw
speakRows queues all speech rows of a poll before the single redraw, so a MAYDAY behind other rows is never lost, and a draw that throws shows a toast instead of stopping the pump. Late and stale rows both bubble. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 80 %
💥 Break: 5 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 76
🚦 Gate: ⛔ fix 80 % < 90

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:23:12 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 23b6d8579c fix(orchestrator): mark a branch done only when pkgmgr deleted it
The cleanup runs pkgmgr branch cleanup --local and offers deletion only for ancestry-merged branches; squash or PR merges stay a dry-run preview. A signed branch whose ref vanished without a pkgmgr delete becomes gone (deleted outside this run, or after an interrupted apply) and is shown apart from deleted and failed; an Unknown --branch answer for a vanished ref repeats the run once without it. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 88 %
💥 Break: 6 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 83
🚦 Gate: ⛔ fix 88 % < 90, break 6 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:22:28 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 ec30d8c94e fix(orchestrator): close operator rows the server no longer has
A 404 on Run, Close, a passkey signature or a rule accept closes the card with the notice "already done or removed elsewhere" instead of a lasting error; a selection reloads /api/state once and closes only the cards that are gone, other failures keep the old error. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 90 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 87
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:21:07 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 8726ed37a7 fix(kvb-org-organize): move the council root out of /tmp with a lossless migration
councilroot.py resolves one durable council root for every script and migrates the old /tmp root under the held locks: a preflight conflict moves nothing, each legacy file is renamed to a staging name before it is copied so a late writer is merged by the catch-up, id-less journals merge by line multiset, a differing whole file is kept beside its namesake, and a crash marker makes install copy the skills and report. One settings-file list, managed drop-ins included, serves councilroot.py and queue.py. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 88 %
💥 Break: 7 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 82
🚦 Gate: ⛔ fix 88 % < 90, break 7 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:18:41 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 9fc1383e97 feat(kvb-org-queue): let jobs pass holders that can never start and help a disk-blocked head
A waiting job passes a same-line holder that cannot start under the current caps and takes its place; the decision is recomputed every pass, so a holder that recovers regains its place. A hotfix holds others back and heads the line only while it could start. A holder blocked by disk alone gets the cleanup and the Main notice even while smaller jobs backfill. Main-first reservations stay; the replay pins the lines bounds and caps its mean. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 80 %
💥 Break: 12 %
💸 Tokens: 100 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 70
🚦 Gate: ⛔ fix 80 % < 90, break 12 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:17:30 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 8e2db852e5 feat(kvb-org-organize): hold heavy jobs back on memory pressure with one shipped default config
watch.py admits heavy work only while PSI, swap-out rate and RAM forecast stay under the configured limits; config.default.json is the single default the install writes once (mode 600, no clobber) and every hook, admit and queue command falls back to. Browser runners and package-manager script forms count as heavy, preflight derives its probes from the light and heavy tool lists, and the shipped default carries no prune command, buildx path or host-specific key. Tests run once on unify/skills-20261114 after the merge (operator order 2026-11-14).

🎯 Fix: 85 %
💥 Break: 8 %
💸 Tokens: 99 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 79
🚦 Gate: ⛔ fix 85 % < 90, break 8 % > 5

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 21:17:28 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 699f3227c9 fix(tests): keep the holder escape test free of non-English characters
The non-ASCII printable case of the holder escape test wrote a literal umlaut into tests/test_gate.py, which the repository-wide English check rejects. It now uses an escaped character, so the case still proves that printable non-ASCII text reaches the message unchanged.

🎯 Fix: 98 %
💥 Break: 1 %
💸 Tokens: 100 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 97
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:52:41 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 3632086ea0 fix(kvb-check-gate): escape control characters in the recorded lock holder
A busy message printed the holder line of a lock file raw, so a recorded command carrying terminal escapes or newlines could forge stderr lines or move the cursor in another agent's terminal. holder() now shows every non-printable character as its escape sequence and names no holder when the recorded pid is not a number.

🎯 Fix: 95 %
💥 Break: 2 %
💸 Tokens: 100 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 93
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:25:49 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 51c04da936 fix(kvb-check-gate): hold gate locks that a symlink or a read-only git dir cannot break
gate.py took its run lock inside the git common dir only, so a linked worktree on a read-only git dir could not gate, and a planted symlink or hard link could steer the lock file. Each run now holds a per-worktree lock under /tmp/agents-locks/<sha16 of the toplevel> and a permanent kvb-gate-run.lock in the git dir, created 0600 with a read-only fallback. Every lock opens through an O_NOFOLLOW openat chain and is checked with fstat for owner and a single link. The state lock fails before any target runs, and hold passes only the two lock descriptors to its child. hotfix.py takes the same lock for its sync.

🎯 Fix: 93 %
💥 Break: 4 %
💸 Tokens: 100 %
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 89
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:40:46 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 f145a600fe fix(kvb-check-security): give medusa a configurable scanner timeout and fail closed
medusa-security caps every scanner at a fixed 60 s per file, so long files
lost scanner results while the run still scored 100 %. security.py now
passes --timeout (MEDUSA_SCANNER_TIMEOUT) and an overall --deadline to the
medusa run (1 to 86400 s), runs medusa in its own process group that dies
with security.py (stop signals, exceptions, PR_SET_PDEATHSIG), keeps
signals the caller ignores ignored, and ends an incomplete or killed scan
with exit 4, nothing cached and nothing scored. The fault text names only
causes medusa can tell apart, and the cache key holds the timeout medusa
actually got.

🎯 Fix: 92 %
💥 Break: 4 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 88
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:45:17 +00:00
Kevin Veen-BirkenbachandClaude Opus 5.5 2ed3628d9b fix(kvb-org-operator): keep UTF-8 input whole at every prompt
operator.py run crashed with UnicodeDecodeError when the operator erased
an umlaut on a terminal without IUTF8: the erase key removed only the
second byte of the character and left a lone 0xc3 for input() to decode
strictly. typed() and timed() now set IUTF8 on a terminal stdin while
they wait for a line and restore the previous mode afterwards, and run
replaces undecodable bytes instead of crashing.

🎯 Fix: 95 %
💥 Break: 2 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: ~100 %
🏆 Score: 93
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 17:31:05 +00:00