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

+124
View File
@@ -0,0 +1,124 @@
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
import test_box_heads_e2e as heads
import test_home_bookmarks_e2e as bm
import test_home_dashboard_e2e as dash
import test_match_review_e2e as matched
import test_workbench_w4_e2e as w4
from hub_case import HubCase
OUT = Path(os.environ.get("E2E_OUT", "/tmp/pin-by-menu-shots"))
OLD = {"kind": "panel", "id": "tasks/list", "w": 6, "h": 4}
SEED = f"""(async () => {{
await ViewStore.update("home.pins", () => [{json.dumps(OLD)}]);
return true;
}})()"""
VIEW = """(async () => {@HELPERS@
await screenShown(8000);
await sleep(600);
return {owners: all("#main [data-panel], #main [data-item]").length, stars: all(".star, .star-row").length, slots: all("[data-star-slot]").length};
})()"""
MENU = """(async () => {@HELPERS@@HOME@
const read = async (hash, selector) => {
await go(hash);
const owner = await until(() => document.querySelector(selector), 8000);
if (!owner) {
return {error: hash};
}
const spotOf = (node) => [...node.children].find((child) => child.closest("[data-panel], [data-item]") === node) || node;
const label = async () => {
const live = document.querySelector(selector);
const item = live ? await pinItem(spotOf(live)) : null;
return [item ? menuLabel(item) : null, item];
};
const [before, item] = await label();
if (item) {
item.click();
await sleep(800);
}
const target = Panels.targetOf(owner);
const added = stored().includes(`${target.kind}:${target.id}`);
const [after] = await label();
await closeMenu();
return {before, added, after};
};
return {gantt: await read("tasks/gantt", '#main [data-panel="tasks/gantt"]'), stream: await read("stream", '#main [data-panel="stream"]')};
})()"""
TILES = """(async () => {@HELPERS@@HOME@
await go("home");
await until(() => tile("panel:tasks/list") && tile("panel:tasks/gantt") && tile("panel:stream"), 8000);
await sleep(400);
return {tiles: tiles(), stars: all(".star, .star-row").length, slots: all("[data-star-slot]").length};
})()"""
def probe(template: str) -> str:
return template.replace("@HELPERS@", base.HELPERS).replace("@HOME@", dash.HOME)
@unittest.skipUnless(shutil.which(os.environ.get("CHROMIUM", "chromium")), "no Chromium")
class TestPinByMenu(HubCase):
seed = base.OrchestratorE2ECase.seed
subagents = base.OrchestratorE2ECase.subagents
drive = base.OrchestratorE2ECase.drive
cards = matched.TestMatchReview.cards
review = matched.TestMatchReview.review
payload = matched.TestMatchReview.payload
def setUp(self):
super().setUp()
OUT.mkdir(parents=True, exist_ok=True)
self.seed()
self.cards()
def steps(self) -> list[dict]:
steps = []
for width, height in base.WIDTHS:
at = {"width": width, "height": height}
shot = OUT / f"chromium-{width}"
steps += [
{**at, "url": f"{self.base}?{width}-clear#stream", "wait": 600, "probe": bm.CLEAR, "shot": None},
{**at, "url": f"{self.base}?{width}-seed#stream", "wait": 800, "probe": SEED, "shot": None},
]
steps += [{**at, "url": f"{self.base}?{width}-{view.replace('/', '-')}#{view}", "wait": 1500, "probe": probe(VIEW), "shot": f"{shot}-{view.replace('/', '-')}.png"} for view in heads.VIEWS]
steps += [
{**at, "url": None, "wait": 0, "probe": probe(MENU), "shot": f"{shot}-menu.png"},
{**at, "url": None, "wait": 0, "probe": probe(TILES), "shot": f"{shot}-home.png"},
]
return steps
def test_chromium_shows_no_star_and_pins_and_unpins_through_the_context_menu_keeping_an_old_pin(self):
data = self.drive(self.steps(), None, init=w4.GUARD)
(OUT / "chromium-pin-by-menu.json").write_text(json.dumps(data, indent=1), encoding="utf-8")
self.assertEqual([error for error in data["errors"] if "/favicon.ico" not in error], [])
results = iter(data["results"])
for width, _ in base.WIDTHS:
next(results)
next(results)
views = {view: next(results) for view in heads.VIEWS}
menu = next(results)
home = next(results)
with self.subTest(width=width, step="views"):
self.assertEqual({view: (row["stars"], row["slots"]) for view, row in views.items()}, dict.fromkeys(heads.VIEWS, (0, 0)), views)
self.assertGreater(sum(row["owners"] for row in views.values()), 0, views)
with self.subTest(width=width, step="menu"):
pinned = {"before": "Pin to Home", "added": True, "after": "Unpin from Home"}
self.assertEqual((menu["gantt"], menu["stream"]), (pinned, pinned), menu)
with self.subTest(width=width, step="home"):
self.assertEqual(home["tiles"], ["panel:tasks/list", "panel:tasks/gantt", "panel:stream"], home)
self.assertEqual((home["stars"], home["slots"]), (0, 0), home)
if __name__ == "__main__":
unittest.main()