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

+55 -1
View File
@@ -7,6 +7,7 @@ import threading
from pathlib import Path
from urllib.parse import urlsplit
from .batches import UNDO
from .errors import ToolError
from .fields import FIELDS, NAME_LIMIT, expect
from .rates import METRICS, PERIOD_NAMES
@@ -19,7 +20,13 @@ TRENDS = ("off", "regression", "velocity")
TREND_DAYS = (1, 365)
THRESHOLDS = tuple(range(0, ALWAYS + 1, 10))
WPM = (5, 40)
LATE = ("rates", "morse")
LATE = ("rates", "morse", "undo", "popups", "agents")
AGENT_SWITCHES = ("sound", "aloud", "bubbles")
AGENTS_LIMIT = 200
UNDO_RANGE = (0, 60)
POPUP_SOURCES = ("resources", "mayday", "dream")
POPUP_UNTIL = 4102444800
NOTIFY = "notify.json"
RADIO_MOVED = ("sounds", "squelch")
SPEECH_MOVED = ("on", "classes", "muted")
COLOR = re.compile(r"#[0-9a-f]{6}")
@@ -49,6 +56,9 @@ SETTINGS = {
"trend": {"mode": "off", "days": 7},
"bubbles": False,
"rates": {"period": "hour", "metrics": ["tasks", "tokens", "cpu"]},
"undo": UNDO,
"popups": {source: {"on": True, "until": 0} for source in POPUP_SOURCES},
"agents": {},
}
RATE_CHIP = (2, 9)
SPACE_AXES = ("none", "time", "spawn")
@@ -188,6 +198,43 @@ def trend_setting(raw: object) -> dict:
return {"mode": entry["mode"], "days": entry["days"]}
def undo_setting(raw: object) -> int:
low, high = UNDO_RANGE
if isinstance(raw, bool) or not isinstance(raw, int) or not low <= raw <= high:
raise ToolError(f"undo must be whole seconds from {low} to {high}")
return raw
def popups_setting(raw: object) -> dict:
data = section(raw, "popups", POPUP_SOURCES)
popups = {}
for source in POPUP_SOURCES:
entry = section(data[source], f"popups.{source}", ("on", "until"))
until = entry["until"]
if isinstance(until, bool) or not isinstance(until, int) or not 0 <= until <= POPUP_UNTIL:
raise ToolError(f"popups.{source}.until must be whole epoch seconds from 0 to {POPUP_UNTIL}")
popups[source] = {"on": flag(entry["on"], f"popups.{source}.on"), "until": until}
return popups
def agents_setting(raw: object) -> dict:
"""Returns:
Each agent key with its sound, aloud and bubbles switches; an entry
with all three on is dropped, since on is what an absent agent gets.
"""
if not isinstance(raw, dict) or len(raw) > AGENTS_LIMIT:
raise ToolError(f"agents must be an object of at most {AGENTS_LIMIT} agents")
agents = {}
for key, entry in raw.items():
if not 0 < len(key) <= NAME_LIMIT:
raise ToolError(f"agents keys must be 1 to {NAME_LIMIT} characters")
switches = section(entry, f"agents.{key}", AGENT_SWITCHES)
kept = {name: flag(switches[name], f"agents.{key}.{name}") for name in AGENT_SWITCHES}
if not all(kept.values()):
agents[key] = kept
return agents
def rates_setting(raw: object) -> dict:
entry = section(raw, "rates", tuple(SETTINGS["rates"]))
low, high = RATE_CHIP
@@ -224,6 +271,9 @@ def valid_settings(raw: object) -> dict:
"trend": trend_setting(data["trend"]),
"bubbles": flag(data["bubbles"], "bubbles"),
"rates": rates_setting(data["rates"]),
"undo": undo_setting(data["undo"]),
"popups": popups_setting(data["popups"]),
"agents": agents_setting(data["agents"]),
}
@@ -306,6 +356,10 @@ class Settings:
with self.lock:
return copy.deepcopy(self.current)
def undo(self) -> float:
with self.lock:
return float(self.current["undo"])
def put(self, raw: object, expected: dict) -> dict:
"""Args:
raw: the settings to save.