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

+95
View File
@@ -0,0 +1,95 @@
from __future__ import annotations
import json
import os
import shutil
import sys
import unittest
from pathlib import Path
HERE = Path(__file__).resolve().parent
sys.path[:0] = [str(HERE.parent), str(HERE)]
import hub_e2e_kit as base
from hub_case import HubCase
OUT = Path(os.environ.get("E2E_OUT", "/tmp/hub-037-shots"))
FRAME = """
const frame = () => {
const look = getComputedStyle(document.getElementById("main"));
return {background: look.backgroundColor, image: look.backgroundImage, border: look.borderLeftWidth, shadow: look.boxShadow};
};
"""
PINS = """(async () => {@HELPERS@@FRAME@
await ViewStore.update("home.pins", () => [{kind: "panel", id: "stream", w: 6, h: 4}, {kind: "panel", id: "radio-log", w: 6, h: 4}]);
location.hash = "home";
await screenShown(8000);
const tile = await until(() => document.querySelector("#main .home-tile"), 8000);
await sleep(600);
const nav = document.querySelector(".navbar");
const edge = nav.getBoundingClientRect().left + parseFloat(getComputedStyle(nav).paddingLeft);
return {frame: frame(), offset: Math.round((tile.getBoundingClientRect().left - edge) * 10) / 10, wide: document.documentElement.scrollWidth > innerWidth + 1};
})()"""
EMPTY = """(async () => {@HELPERS@@FRAME@
await ViewStore.update("home.pins", () => []);
location.hash = "home";
await screenShown(8000);
const empty = await until(() => document.querySelector("#main .home > .empty:not([hidden])"), 8000);
await sleep(300);
const look = empty ? getComputedStyle(empty) : null;
return {frame: frame(), card: look ? [look.backgroundColor !== "rgba(0, 0, 0, 0)", look.borderTopStyle, text(empty.querySelector("h2"))] : null};
})()"""
STREAM = """(async () => {@HELPERS@@FRAME@
location.hash = "stream";
await screenShown(8000);
await sleep(300);
return {frame: frame()};
})()"""
CLEAR = "rgba(0, 0, 0, 0)"
def probe(template: str) -> str:
return template.replace("@HELPERS@", base.HELPERS).replace("@FRAME@", FRAME)
@unittest.skipUnless(shutil.which(os.environ.get("CHROMIUM", "chromium")), "no Chromium")
class TestHomeFrame(HubCase):
drive = base.OrchestratorE2ECase.drive
def setUp(self):
super().setUp()
OUT.mkdir(parents=True, exist_ok=True)
self.claim("s1", "Skills")
self.snapshot()
self.page_url = f"http://localhost:{self.port}/"
def test_chromium_draws_home_without_a_box_and_keeps_the_box_on_the_stream(self):
steps = []
for width, height in base.WIDTHS:
shot = OUT / f"chromium-{width}"
steps += [
{"width": width, "height": height, "url": f"{self.page_url}?{width}-pins#home", "wait": 1200, "probe": probe(PINS), "shot": f"{shot}-home-pins.png"},
{"width": width, "height": height, "url": f"{self.page_url}?{width}-empty#home", "wait": 1200, "probe": probe(EMPTY), "shot": f"{shot}-home-empty.png"},
{"width": width, "height": height, "url": f"{self.page_url}?{width}-stream#stream", "wait": 1200, "probe": probe(STREAM), "shot": None},
]
data = self.drive(steps, None)
(OUT / "chromium-home-frame.json").write_text(json.dumps(data, indent=1), encoding="utf-8")
self.assertEqual(data["errors"], [])
results = iter(data["results"])
for width, _ in base.WIDTHS:
pins, empty, stream = next(results), next(results), next(results)
with self.subTest(width=width):
for found in (pins, empty, stream):
self.assertNotIn("error", found, found)
for bare in (pins["frame"], empty["frame"]):
self.assertEqual(bare, {"background": CLEAR, "image": "none", "border": "0px", "shadow": "none"}, bare)
self.assertLessEqual(abs(pins["offset"]), 2, pins)
self.assertFalse(pins["wide"])
self.assertEqual(empty["card"], [True, "dashed", "Nothing pinned yet"], empty)
self.assertNotEqual(stream["frame"]["background"], CLEAR, stream)
self.assertEqual(stream["frame"]["border"], "1px", stream)
self.assertNotEqual(stream["frame"]["shadow"], "none", stream)
if __name__ == "__main__":
unittest.main()