feat(orchestrator): hub requirements 066 to 082 and 084

Radio footer, rules page, schedules editor (System timers and Claude
tasks through signed runner jobs), account usage bar, usage explorer
with a streamed usage.jsonl, queue Controls tab and override, running
tasks on the board, stale task prune with the generic dial, greyed card
stamps, commit-tree diffs from the runner preview, VS Code path links,
expired asks and decisions that stay as EXPIRED cards (asks keyed by a
call digest; an async PostToolUse hook closes those answered in the
terminal), the Match refresh hourglass, attachments by paste, drop and
paperclip in every text field (page CSP gains img-src blob: for the
thumbnails) and the limits board with profiles and a passkey to loosen.
Fixes: one red accept on a red-gate commit and no release while a risk
is open, the send bar footer segments share one height, the mic button
survives a redraw, new Match cards queue before the release card.

E2E specs were still running at commit time (operator order); their
failures follow as separate fixes.

🎯 Fix: 88 %
💥 Break: 8 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 81
🚦 Gate: ⛔ fix 88 % < 90, break 8 % > 5 (committed on the operator's word)

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-27 19:05:38 +00:00
1 parent dc0d578eca
commit f356083a24
149 files changed
+10646 -963

No files matched your search

+2 -19
View File
@@ -1,12 +1,12 @@
const Kanban = (() => {
"use strict";
const {BEAT_S, MARKS, span, head, marks} = typeof KanbanMarks === "object" ? KanbanMarks : require("./kanban-marks.js");
const COLUMNS = [["queued", "Waiting"], ["running", "Running"], ["done", "Done"]];
const LANES = [["p1", "P1"], ["p2", "P2"], ["p3", "P3"], ["p4", "P4+"], ["unpinned", "Unpinned"]];
const PINS = {p1: 1, p2: 2, p3: 3};
const FREE_FROM = 4;
const OFF = ["command"];
const DAY = 86400;
const HOUR = 3600;
const MINUTE = 60;
const REFUSED = ["failed", "refused"];
const QUEUE = "queue/";
@@ -170,23 +170,6 @@ const Kanban = (() => {
return failed.length ? {failed, applied: batch.filter((job) => job.status === "done").length, total: batch.length} : null;
}
/**
* @param seconds - a span in seconds.
* @returns the span in words, cut to its two largest units: "45 s", "12 min", "2 h 5 min", "3 d 4 h".
*/
function span(seconds) {
const whole = Math.max(0, Math.floor(seconds));
if (whole < MINUTE) {
return `${whole} s`;
}
if (whole < HOUR) {
return `${Math.floor(whole / MINUTE)} min`;
}
const [big, unit, small, rest] = whole < DAY ? [HOUR, "h", MINUTE, "min"] : [DAY, "d", HOUR, "h"];
const part = Math.floor((whole % big) / small);
return part ? `${Math.floor(whole / big)} ${unit} ${part} ${rest}` : `${Math.floor(whole / big)} ${unit}`;
}
/**
* @param rows - the shown cards' rows.
* @param line - the hub's queue_line: tasks holding a live queue entry, in grant order.
@@ -265,7 +248,7 @@ const Kanban = (() => {
return jobs === null ? null : jobs.map((job) => ({...job, waited_s: minutes(job.waited_s), eta_s: minutes(job.eta_s)}));
}
return {COLUMNS, LANES, FREE_FROM, QUEUE_LAYERS, onBoard, columnOf, laneOf, labelOf, board, freePin, move, stage, pending, lines, why, span, queued, jobChips, whyHere, layers, queueSig};
return {COLUMNS, LANES, FREE_FROM, QUEUE_LAYERS, BEAT_S, MARKS, onBoard, columnOf, laneOf, labelOf, board, freePin, move, stage, pending, lines, why, span, queued, jobChips, whyHere, layers, queueSig, head, marks};
})();
if (typeof module === "object" && module.exports) {
module.exports = Kanban;