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

+88
View File
@@ -0,0 +1,88 @@
const SCHEDULE_ROWS = {
coach: ["Coach reminder", "bi-heart-pulse", "A one-line health tip at the top of an agent's answer, once across all agents."],
dream: ["Dream reminder", "bi-moon-stars", "A /kvb-dream hint, once per agent session."],
"dream-popup": ["Dream popup", "bi-bell", "A GNOME notification to run /kvb-dream."],
"queue-cleanup": ["Queue cleanup", "bi-trash3", "Deletes the queue jobs no living process holds."],
"code-graph": ["Code graph", "bi-diagram-3", "Keeps the codebase-memory-mcp daemon watching every graph."],
};
const SCHEDULE_UNITS = {"dream-popup": "kvb-dream-notify.timer", "queue-cleanup": "kvb-org-queue-cleanup.timer", "code-graph": "kvb-code-graph.service"};
const SCHEDULE_HOURS = [1, 24];
const SCHEDULE_START = "systemctl --user start kvb-schedules.service";
async function saveSchedule(name, value) {
const result = await sendJson("/api/schedules", {row: name, value});
if (result.ok && result.data) {
state.schedules = result.data;
} else {
toast("Schedule not changed", fail(result), false);
}
await load();
}
const scheduleHost = (unit) => state.schedules.host.rows.find((row) => row.unit === unit) || null;
const scheduleTimes = (text) => text.split(",").map((part) => part.trim()).filter(Boolean);
/**
* @param {Object} host a row of the host view, or null.
* @returns {HTMLElement} its next and last run, or why there is none yet.
*/
function scheduleRuns(host) {
if (!host || (host.next === null && host.last === null)) {
return h("span", {class: "muted"}, "no run known");
}
return h("span", {class: "muted sched-runs"}, host.next === null ? null : ["next ", when(host.next)], host.next !== null && host.last !== null ? " · " : null, host.last === null ? null : ["last ", when(host.last)]);
}
/**
* @param {string} name a key of SCHEDULE_ROWS.
* @param {Object} row its stored row: on, plus every or at.
* @returns {HTMLElement} the row: switch, its timing field and its runs.
*/
function scheduleRow(name, row) {
const [label, glyph, hint] = SCHEDULE_ROWS[name];
const change = (key, value) => saveSchedule(name, {...state.schedules.rows[name], [key]: value});
const toggle = h("input", {type: "checkbox", role: "switch", checked: row.on, "aria-label": `${label}: on`, on: {change: (event) => change("on", event.target.checked)}});
const timing = [];
if (Object.hasOwn(row, "every")) {
timing.push(h("label", {class: "sched-field"}, "every", h("input", {class: "field sched-hours", type: "number", min: SCHEDULE_HOURS[0], max: SCHEDULE_HOURS[1], step: 1, value: row.every, "aria-label": `${label}: every hours`,
on: {change: (event) => change("every", Number(event.target.value))}}), "h"));
}
if (Object.hasOwn(row, "at")) {
timing.push(h("label", {class: "sched-field"}, "at", h("input", {class: "field sched-times", type: "text", value: row.at.join(", "), placeholder: "17:00, 21:30", "aria-label": `${label}: at times`,
on: {change: (event) => change("at", scheduleTimes(event.target.value))}})));
}
const unit = SCHEDULE_UNITS[name];
return h("li", {class: `sched-row${row.on ? "" : " off"}`, "data-schedule": name},
h("label", {class: "sched-switch"}, toggle, icon(glyph), h("span", {class: "sched-name"}, label)),
h("span", {class: "sched-hint muted"}, hint), ...timing, unit ? scheduleRuns(scheduleHost(unit)) : null);
}
/**
* @param {Object} host a host view row the hub must not switch: a hub unit or a foreign timer or hook.
* @returns {HTMLElement} its schedule, runs and, for a foreign row, its off command to copy.
*/
function scheduleForeign(host) {
return h("li", {class: "sched-row foreign", "data-schedule-foreign": host.name},
h("span", {class: "sched-name"}, host.name), h("span", {class: `chip ${host.owner === "hub" ? "ok" : ""}`}, host.owner),
h("code", {class: "sched-hint"}, host.kind === "hook" ? host.command : dash(host.schedule)), host.kind === "hook" ? null : scheduleRuns(host),
host.off ? h("span", {class: "sched-off"}, h("code", {}, host.off), host.kind === "hook" ? null : copyButton(host.off)) : null);
}
/**
* @returns {HTMLElement} the Schedules panel: the first-party rows, then every other timer and hook the host
* reconciler last saw; a hint with its start command before its first run.
*/
function schedulesContent() {
const {rows, host} = state.schedules;
const others = host.rows.filter((row) => row.owner !== "skills");
return h("div", {class: "stack sched"},
h("ul", {class: "sched-list", "aria-label": "Switchable"}, Object.keys(SCHEDULE_ROWS).map((name) => scheduleRow(name, rows[name]))),
host.at === null
? h("p", {class: "muted"}, "The host has not listed its timers and hooks yet: ", h("code", {}, SCHEDULE_START), copyButton(SCHEDULE_START))
: h("div", {}, h("h3", {}, "Other timers and hooks"), h("p", {class: "muted"}, "Seen ", when(host.at), "; the hub never switches these."),
h("ul", {class: "sched-list", "aria-label": "Read only"}, others.map(scheduleForeign))));
}
function schedulesPanel() {
return h("section", {class: "card", "data-panel": "stream/schedules", "aria-label": "Schedules"}, schedulesContent());
}