Files
skills/orchestrator/templates/page-running.js
T
Kevin Veen-BirkenbachandClaude Opus 5.5 f356083a24 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>
2026-11-27 19:05:38 +00:00

31 lines
1.6 KiB
JavaScript

const RUNNING_WORDS = {queue: "Queue job running", agent: "Agent working", hub: "Hub job running"};
const markSources = () => ({now: state.now, tasks: state.tasks, beats: state.beats, runner: state.runner});
/**
* @param row - a card's task row.
* @param found - Kanban.marks of the row.
* @returns {HTMLElement|null} one labelled chip per mark, null without any.
*/
function markChips(row, found) {
if (!found.length) {
return null;
}
const hint = (mark) => (mark.at === null ? mark.hint : `${mark.hint}, since ${absolute.format(stampOf(mark.at))}`);
return h("div", {class: "kanban-marks", role: "group", "aria-label": `Running now: ${row.task}`}, found.map((mark) =>
h("span", {class: "pill kanban-mark", "data-mark": mark.key, "data-tone": mark.tone, role: "img", ...named(`${RUNNING_WORDS[mark.key]}: ${mark.text}`, hint(mark))}, icon(mark.icon), mark.text)));
}
/**
* @param count - the shown cards with at least one mark.
* @returns {HTMLElement} the board's Running toggle: pressed, it shows only marked cards.
*/
function runningToggle(count) {
const words = `Running: ${count} cards a queue job, an agent or the hub works on now`;
return h("button", {type: "button", class: "btn small", id: "kanban-running", "aria-pressed": String(kanban.running), ...named("Running", `${words}, ${kanban.running ? "only these shown" : "every card shown"}`), on: {click: () => {
kanban.running = !kanban.running;
taskView.sig = "";
drawTasks();
}}}, icon("bi-activity"), "Running", counter(count));
}