feat: hub and skills requirements 032 to 063

Hub: send in the field (032), coherent speak box (033), stream head band (034), Match at full width with its pile (035, 036), Home without the outer box (037), badge to Match (038), rejects that survive a changed or withdrawn card (039), the release card (040), code marks in the review diff (041), why Deny is off (042), the undo window clock (043), widgets without inner boxes (044), the Artifacts head on one line (045), accepting a red gate's risk (046), one code box (047), done rows greyed and folded (048), one control height (049), menus that stay open (050), radio settings in the Device card (051), bubbles beside the modes (052), agent settings on every face and name (053), pin only by menu (054), WASD in Match (055), the flowing card edge (056), Schedules in Controls (057) and the hub poll cost (059).

Skills: the coach leaves for its own repository kevinveenbirkenbach/coach (058; test_install pins its four skills in skills-lock.json and stays red until that repository is published and pinned), hooks and timers start fewer processes (060), council files on hot paths stay bounded and mirror by marker instead of mtime (061), scripts and hooks hand agents less output (062), and block.py builds the commit table and message block in one run (063). Requirement documents 032 to 063 with their implementation amendments.

MEDUSA false positives accepted after kvb-think-criticize (36 lines): MM-SCAN-058 (pla inside replace or plan), JB-SCAN-616/641 (the local clip helper), CODEGEN-SCAN-001 (drop-in paths), CGS-SCAN-029 (systemctl argv from constants), CGS-SCAN-040 (runner poll loop), FLA-SCAN-055 (feedback), WM-SCAN-354, AI-BACKDOOR-006, GENAI-SCAN-1270, B604 (runner shell path for passkey-verified commands), TC004, EXA002, EXA006, EXA010 and WEB-SSRF.

🎯 Fix: 92 %
💥 Break: 8 %
💸 Tokens: 89 %
⏱️ Velocity: –
🛡️ Security: ~100 %
🏆 Score: 95
🚦 Gate: ⛔ break 8 % > 5

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-26 08:44:15 +00:00
1 parent e5fd70e183
commit 0fad1bfae3
265 files changed
+10434 -2242

No files matched your search

+44 -1
View File
@@ -27,6 +27,7 @@ HOME_TOOLS = ("bash", "cp", "dirname", "find", "install", "ln", "mkdir", "python
COUNCIL_PARTS = (
"scripts/orchestrator.sh", "scripts/tokeneconomizer.sh", "plugins-lock.json",
"skills/kvb-org-organize/scripts/councilroot.py", "skills/kvb-org-organize/scripts/nofollow.py",
"skills/kvb-org-organize/scripts/schedules.py",
)
AGENT_ROOTS = {"sandbox": {"filesystem": {"allowWrite": ["~/.local/state/agents-shared", "~/.local/state/agents-release/**"]}}}
CGROUP_KILL = """
@@ -40,6 +41,9 @@ HOME_UNITS = (
"kvb-org-queue-cleanup/systemd/kvb-org-queue-cleanup.service",
"kvb-org-queue-cleanup/systemd/kvb-org-queue-cleanup.timer",
"kvb-org-queue-cleanup/systemd/kvb-org-queue-cleanup.path",
"kvb-org-organize/systemd/kvb-schedules.service",
"kvb-org-organize/systemd/kvb-schedules.timer",
"kvb-org-organize/systemd/kvb-schedules.path",
)
@@ -118,7 +122,7 @@ class TestInstall(unittest.TestCase):
self.assertEqual(json.loads(config.read_text(encoding="utf-8")), {"mine": True})
self.assertIn(str(config), done.stderr)
def home_install(self, root: Path, binary: bool, config: bool = True, fail_now: bool = False) -> tuple[subprocess.CompletedProcess, list[str], list[str]]:
def home_install(self, root: Path, binary: bool, config: bool = True, fail_now: bool = False, schedules: dict | None = None) -> tuple[subprocess.CompletedProcess, list[str], list[str]]:
repo, stubs, home = root / "repo", root / "bin", root / "home"
(repo / "scripts").mkdir(parents=True)
shutil.copy(INSTALL, repo / "scripts" / "install.sh")
@@ -154,6 +158,10 @@ class TestInstall(unittest.TestCase):
(home / ".config" / "kvb-code-graph" / "config.json").write_text(
'{"queue_file_threshold": 2000, "queue_task": "work/code-graph-index"}\n', encoding="utf-8"
)
if schedules is not None:
council = home / ".local" / "state" / "agents-shared"
council.mkdir(parents=True, mode=0o700)
(council / "schedules.json").write_text(json.dumps(schedules), encoding="utf-8")
env = {"PATH": str(stubs), "TARGET": str(home), "HOME": str(home), "AGENTS_COUNCIL_LEGACY": str(root / "legacy")}
done = subprocess.run(["/bin/bash", str(repo / "scripts" / "install.sh")], env=env, capture_output=True, text=True, check=False)
return done, read_lines(log), read_lines(cbm)
@@ -168,6 +176,25 @@ class TestInstall(unittest.TestCase):
self.assertEqual(installed.read_text(encoding="utf-8"), UNIT.read_text(encoding="utf-8"))
self.assertNotIn("kvb-code-graph: no config", done.stderr)
def test_the_home_install_starts_the_schedules_reconciler_and_leaves_the_dream_timer_to_it(self):
with tempfile.TemporaryDirectory() as tmp:
root = Path(tmp)
done, calls, _ = self.home_install(root, binary=True)
self.assertEqual(done.returncode, 0, done.stderr)
self.assertIn("--user enable --now kvb-org-queue-cleanup.timer kvb-org-queue-cleanup.path kvb-schedules.path kvb-schedules.timer", calls)
self.assertIn("--user start kvb-schedules.service", calls)
self.assertFalse([call for call in calls if "enable" in call and "kvb-dream-notify" in call])
units = root / "home" / ".config" / "systemd" / "user"
for name in ("kvb-schedules.service", "kvb-schedules.timer", "kvb-schedules.path", "kvb-dream-notify.timer"):
self.assertTrue((units / name).is_file(), name)
def test_a_code_graph_row_switched_off_keeps_the_service_off_on_a_reinstall(self):
with tempfile.TemporaryDirectory() as tmp:
done, calls, _ = self.home_install(Path(tmp), binary=True, schedules={"code-graph": {"on": False}})
self.assertEqual(done.returncode, 0, done.stderr)
self.assertFalse([call for call in calls if "kvb-code-graph" in call])
self.assertIn("kvb-code-graph.service stays off", done.stdout + done.stderr)
def test_the_home_install_turns_the_daemon_auto_index_off(self):
with tempfile.TemporaryDirectory() as tmp:
done, _, cbm = self.home_install(Path(tmp), binary=True)
@@ -267,5 +294,21 @@ class TestInstall(unittest.TestCase):
self.assertTrue((installed / "locked" / "SKILL.md").is_file())
class TestCoachLock(unittest.TestCase):
COACH = ("kvb-coach", "kvb-coach-meditation", "kvb-coach-off", "kvb-coach-on")
def test_the_lock_pins_the_four_coach_skills_at_one_commit_of_the_coach_repository(self):
lock = json.loads((REPO_ROOT / "skills-lock.json").read_text(encoding="utf-8"))["skills"]
coach = {name: entry for name, entry in lock.items() if entry["source"] == "kevinveenbirkenbach/coach"}
self.assertEqual(sorted(coach), list(self.COACH))
self.assertEqual(len({entry["commit"] for entry in coach.values()}), 1)
self.assertEqual({name: (entry["sourceType"], entry["skillPath"]) for name, entry in coach.items()}, {name: ("github", f"skills/{name}/SKILL.md") for name in self.COACH})
self.assertFalse([name for name in self.COACH if (REPO_ROOT / "skills" / name).exists()])
def test_the_installer_registers_the_coach_reminder_it_does_not_ship(self):
text = (REPO_ROOT / "scripts" / "enable-plugins.js").read_text(encoding="utf-8")
self.assertIn('const REMINDERS = ["kvb-dream", "kvb-coach"];', text)
if __name__ == "__main__":
unittest.main()