feat(orchestrator): hub page for requirements 085 to 099

085 calm Match deck: no header hourglass, centred bare empty state, the
release card as a deck card (Cancel, Skip, Release), fixed card height.
086 motion: vanish() fade everywhere with a lint test, view transitions,
a lub-dub heartbeat for working objects, confetti that lands and fades.
087 time readout under the pivot of every analog clock.
088 prune dialog grouped by prefix with tri-state boxes, search, stepper
and sticky footer.
089 one-row task toolbar with Filter and Actions menus and a filter chip.
090 card border by state colour with a soft glow and owner avatars.
091 draggable limit lines with staged changes and one Save, a Limits menu
with the matrix, View toggles, the GPU cause in its tooltip.
093 request chips Open, Expired, Stale, Failed, All and a signed Delete.
094 closed cards leave the deck within 5 s; open in Claude stamps.
095 compact agent message box with Post/Call, attach, mic and Send in
the field.
096 Reject on an expired card drops it silently as Drop (expired).
097 Show filter in Match's right-click menu.
098 docked speech bubbles carry the speaker's avatar and a skip button.
099 Match card headlines cut to 120 characters with the full title in
the tooltip; the code box keeps the whole command.
tests/test_hub_path_links.py: a unicode fixture without German.

Full make test green through the queue (2605 tests, ruff, shellcheck,
markdownlint). Gate missed on the operator's word: break 7 %, the E2E
specs (13 new, 15 updated) run next.

🎯 Fix: 92 %
💥 Break: 7 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 86
🚦 Gate: ⛔ break 7 % > 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-28 01:47:41 +00:00
1 parent 8ee52644c8
commit 6323f087bc
95 files changed
+5807 -704

No files matched your search

+30 -9
View File
@@ -1,5 +1,7 @@
const ctxMenu = {node: null, back: null};
const ctxMenu = {node: null, back: null, checks: []};
const CTX_FIELDS = ["INPUT", "TEXTAREA", "SELECT"];
const CTX_ITEMS = '[role="menuitem"], [role="menuitemcheckbox"]';
const CTX_MATCH = ".graph.match, .match-hidden";
const CTX_GAP = 8;
const CTX_MODIFIERS = ["Shift", "Control", "Alt", "Meta"];
const CTX_OPENS = {task: "Open task", message: "Open message", artifact: "Open artifact"};
@@ -118,8 +120,8 @@
/**
* @param target - the element the menu is for.
* @returns [{scope, title, items}]: the element's own items, then the current tab's, then the general ones; empty
* sections left out.
* @returns [{scope, title, items}]: the element's own items, inside Match its Show filter, then the current tab's,
* then the general ones; empty sections left out.
*/
function ctxSections(target) {
const found = ctxFound(target);
@@ -129,6 +131,7 @@
const tab = Nav.TABS.find(([id]) => id === Nav.tabOf(ui.screen));
return [
{scope: "element", title: own.title, items: own.items},
{scope: "match-show", title: "Show", items: target.closest(CTX_MATCH) ? matchShowItems() : []},
...(tab ? [{scope: tab[0], title: tab[1], items: items.filter((item) => item.scope === tab[0])}] : []),
{scope: "general", title: "General", items: items.filter((item) => item.scope === "general")},
].filter((section) => section.items.length);
@@ -151,9 +154,19 @@
return ctxMenu.node;
}
/**
* @param item - {label, hint, run, face}; with checked, a function telling whether it is ticked now, it is a
* checkbox whose click keeps the menu open.
* @returns the menu entry.
*/
function ctxItem(item) {
return h("button", {type: "button", role: "menuitem", tabindex: -1, class: "ctx-item", title: revealed(item.hint), on: {click: () => ctxRun(item)}},
const check = typeof item.checked === "function";
const node = h("button", {type: "button", role: check ? "menuitemcheckbox" : "menuitem", tabindex: -1, class: "ctx-item", title: revealed(item.hint), ...(check ? {"aria-checked": String(item.checked())} : {}), on: {click: () => ctxRun(item)}}, check ? h("span", {class: "ctx-check", "aria-hidden": "true"}, icon("bi-check-lg")) : null,
item.face ? face(item.face, false) : null, h("span", {class: "ctx-label"}, revealed(item.label)), h("span", {class: "muted"}, revealed(item.hint)));
if (check) {
ctxMenu.checks.push([node, item]);
}
return node;
}
function ctxGroup(section, index) {
@@ -176,10 +189,11 @@
*/
function ctxShow(sections, at) {
const node = ctxNode();
ctxMenu.checks = [];
node.replaceChildren(...sections.flatMap(ctxGroup).filter(Boolean));
node.hidden = false;
ctxPlace(node, at);
const first = node.querySelector('[role="menuitem"]');
const first = node.querySelector(CTX_ITEMS);
if (first) {
first.focus({preventScroll: true});
}
@@ -197,15 +211,22 @@
return;
}
const back = ctxMenu.back;
ctxMenu.back = null;
ctxMenu.node.hidden = true;
ctxMenu.node.replaceChildren();
const node = ctxMenu.node;
Object.assign(ctxMenu, {back: null, node: null, checks: []});
node.classList.add("closing");
node.hidden = true;
vanish(node);
if (restore && back && back.isConnected && typeof back.focus === "function") {
back.focus({preventScroll: true});
}
}
function ctxRun(item) {
if (typeof item.checked === "function") {
item.run();
ctxMenu.checks.forEach(([node, check]) => node.setAttribute("aria-checked", String(check.checked())));
return;
}
ctxClose(true);
item.run();
}
@@ -220,7 +241,7 @@
}
function ctxKeys(event) {
const items = [...ctxMenu.node.querySelectorAll('[role="menuitem"]')];
const items = [...ctxMenu.node.querySelectorAll(CTX_ITEMS)];
const at = items.indexOf(document.activeElement);
const moves = {ArrowDown: at + 1, ArrowUp: Math.max(at, 0) - 1, Home: 0, End: items.length - 1};
if (Object.hasOwn(moves, event.key)) {