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

+49 -13
View File
@@ -9,11 +9,15 @@
stream.events = [];
stream.entries = [];
stream.last = 0;
stream.tag = "";
}
stream.busy = true;
try {
const response = await fetch(`/api/events?${windowQuery()}&${filterQuery()}&after=${stream.last}`, {cache: "no-store"});
if (response.ok) {
const response = await fetch(`/api/events?${windowQuery()}&${filterQuery()}&after=${stream.last}`, {cache: "no-store", headers: stream.tag ? {"If-None-Match": stream.tag} : {}});
if (response.status === 304) {
stream.error = "";
} else if (response.ok) {
const tag = response.headers.get("ETag") || "";
const data = await response.json();
if (stream.key === key) {
const seen = new Set(stream.entries.map((entry) => entry.id));
@@ -21,6 +25,7 @@
stream.entries = [...stream.entries, ...data.entries.filter((entry) => !seen.has(entry.id))].sort((a, b) => a.ts - b.ts).slice(-STREAM_KEEP);
stream.last = data.last;
stream.sessions = data.sessions;
stream.tag = tag;
stream.error = "";
}
} else {
@@ -30,7 +35,7 @@
ui.offline = true;
}
stream.busy = false;
drawStream();
drawStream(true);
if (stream.again) {
stream.again = false;
fetchEvents();
@@ -120,11 +125,10 @@
return [h("p", {class: "text question"}, revealed(entry.title)), entry.text !== "-" ? h("p", {class: "text reason"}, revealed(entry.text)) : null];
}
if (entry.kind === "ask" || entry.kind === "operator") {
const where = entry.kind === "ask" ? entry.ref.cwd : entry.ref.directory;
return [h("div", {class: "command", "data-path": where || "-"}, h("code", {}, entry.kind === "ask" ? entry.text : entry.title), copyButton(entry.kind === "ask" ? entry.text : entry.title)), h("span", {class: "muted"}, `in ${dash(where)}`), entry.kind === "operator" && entry.text !== "-" ? h("p", {class: "text"}, entry.text) : null];
return [entry.kind === "operator" && entry.text !== "-" ? h("p", {class: "text"}, entry.text) : null];
}
if (entry.kind === "review") {
return [entry.text ? h("pre", {class: "notes"}, entry.text) : null, h("div", {class: "line-actions"}, iconBtn("bi-eye", "View diff", "btn small soft", () => reviewSheet(entry.ref.id)))];
return [entry.text ? h("pre", {class: "notes"}, entry.text) : null];
}
if (entry.kind === "cron") {
const ref = entry.ref;
@@ -137,30 +141,57 @@
return [entry.text ? h("p", {class: "text"}, entry.text) : null];
}
/**
* @param {Object} entry a stream entry.
* @param {Object|null} item its waiting inbox item, or null.
* @returns {HTMLElement|null} one code box with the entry's command and diff and the item's actions in its foot; a
* review entry without a waiting item loads its diff on the eye's first click; null for an entry with neither.
*/
function streamCode(entry, item) {
const commanded = entry.kind === "ask" || (entry.kind === "operator" && entry.ref.check !== "decision");
const late = entry.kind === "review" && !item;
const key = `message:${entry.ts}/${entry.id}`;
const opened = late && codeOpened(key, "preview");
const diff = item ? diffBlocks(item) : opened ? diffBlocks({kind: "review", id: entry.ref.id, diff: 0}) : null;
if (!commanded && !diff && !late) {
return null;
}
const text = entry.kind === "ask" ? entry.text : entry.title;
const where = entry.kind === "ask" ? entry.ref.cwd : entry.ref.directory;
const missing = late ? h("p", {class: "muted"}, opened ? "No diff stored for this review." : "The eye loads the diff of this review.") : null;
return codeBox(key, "preview", [commanded ? h("div", {class: "command", "data-path": where || "-"}, h("code", {}, text)) : null, commanded ? h("span", {class: "muted code-where"}, `in ${dash(where)}`) : null, diff || missing],
commanded ? text : "", item ? actionsFor(item) : [], late ? drawStream : null);
}
function eventRow(entry) {
const answered = entry.kind === "operator" && entry.ref.answered;
const item = entry.waiting && !answered ? inboxOf(entry) : null;
const code = streamCode(entry, item);
const choice = item ? choiceOf(item, () => {}) : null;
const alarm = entry.kind === "radio" && (entry.part === "mayday" || entry.part === "pan-pan");
const renamed = entry.now && entry.now !== entry.agent ? h("span", {title: `now: ${entry.now}`}, person(entry.agent)) : person(entry.agent);
const who = entry.agent ? [face(entry.agent, false), renamed] : entry.session ? h("strong", {title: entry.session}, entry.session.slice(0, 8)) : null;
const renamed = entry.now && entry.now !== entry.agent ? h("span", {title: `now: ${entry.now}`}, agentLink(entry.agent)) : agentLink(entry.agent);
const who = entry.agent ? renamed : entry.session ? h("strong", {title: entry.session}, entry.session.slice(0, 8)) : null;
const headline = entry.kind === "transcript" || entry.kind === "ask" || entry.kind === "operator" ? null : h("span", {class: "headline"}, Receipts.headline(entry));
const blocked = (item && item.blocked) || (entry.kind === "operator" && entry.ref.blocked) || "";
return h("li", {class: `entry k-${entry.kind}${entry.waiting && !answered ? " waiting" : ""}${alarm ? " alarm" : ""}`, "data-ref": item ? keyOf(item) : null, "data-item": `message:${entry.ts}/${entry.id}`, "data-to": item && item.to ? item.to : null,
"data-blocked": blocked ? "" : null, "data-answered": answered ? "" : null, title: blocked || null},
h("div", {class: "msg-meta"}, when(entry.ts), kindPill(entry), extras(entry)),
h("div", {},
h("div", {class: "route", "data-star-slot": ""}, who, entry.sub ? h("button", {type: "button", class: "linkish muted", on: {click: () => focusSub(entry.session, entry.sub)}}, `› Subagent ${entry.sub.slice(0, 12)}`) : null, entry.kind === "ask" ? h("strong", {}, entry.title) : null, headline),
h("div", {class: "route"}, who, entry.sub ? h("button", {type: "button", class: "linkish muted", on: {click: () => focusSub(entry.session, entry.sub)}}, `› Subagent ${entry.sub.slice(0, 12)}`) : null, entry.kind === "ask" ? h("strong", {}, entry.title) : null, headline),
entry.kind === "decision" && choice ? choice : [body(entry), choice],
entry.kind === "radio" ? readerRow(entry.ref) : null,
blocked ? h("p", {class: "item-blocked"}, icon("bi-slash-circle"), blocked) : null,
code,
item && item.job ? consoleOf(item.job) : null,
item ? diffBlocks(item) : null,
item ? feedbackList(keyOf(item)) : null,
item ? h("div", {class: "line-actions"}, actionsFor(item)) : null));
item && !code ? h("div", {class: "line-actions"}, actionsFor(item)) : null));
}
function drawStream() {
/**
* @param {boolean} [polled] true from a poll: the rows stay when the shown entries, their inbox items and the error
* are unchanged; any other call redraws them.
*/
function drawStream(polled) {
if (!stream.dom || ui.screen !== "stream") {
return;
}
@@ -168,6 +199,11 @@
const rows = [...stream.events, ...stream.entries.filter((entry) => entry.ts >= floor)].sort((a, b) => b.ts - a.ts || (a.id < b.id ? 1 : -1));
const shown = rows.slice(0, FEED_LIMIT);
stream.dom.count.textContent = `${rows.length} entries${live() ? " · following live" : ""}`;
const drawn = JSON.stringify([shown, shown.map((entry) => entry.waiting ? inboxOf(entry) : null), rows.length, stream.error, rows.length ? null : [stream.busy, activeWaiting()]]);
if (polled === true && drawn === stream.dom.drawn) {
return;
}
stream.dom.drawn = drawn;
if (stream.error) {
stream.dom.list.replaceChildren(emptyState("Stream not readable", stream.error));
return;
@@ -200,5 +236,5 @@
drawStream();
fetchEvents();
}, 0);
return h("div", {}, h("div", {class: "filters"}, categories, search, more, count), focus, list);
return h("div", {}, boxHead("Stream", "filters stream-head", categories, search, more, count), focus, list);
}