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:
1 parent
e5fd70e183
commit
0fad1bfae3
265 files changed
+10434
-2242
No files matched your search
@@ -137,7 +137,7 @@
|
||||
const tasks = node ? node.tasks : [];
|
||||
const claims = node ? node.claims : [];
|
||||
return h("div", {class: "home-agent"},
|
||||
h("div", {class: "who"}, face(key, true), person(nameOf(key)), presenceMark(key, true)),
|
||||
h("div", {class: "who"}, agentLink(key, true), presenceMark(key, true)),
|
||||
h("p", {class: "muted"}, claims.length ? `Offices: ${claims.map((claim) => claim.office).join(", ")}` : "No office"),
|
||||
tasks.length ? h("ul", {class: "mini"}, tasks.map((task) => h("li", {}, h("div", {class: "row"}, h("code", {}, task.task), status(task.status)), h("span", {}, dash(task.title)))))
|
||||
: h("p", {class: "muted"}, "No open tasks."));
|
||||
@@ -190,6 +190,7 @@
|
||||
Panels.panel("tasks/operator", "Tasks: Waits on Operator", homeInbox);
|
||||
Panels.panel("tasks/match", "Tasks: Match", () => homeMatch(), "", [6, 8]);
|
||||
Panels.panel("resources-accounts", "Resources: accounts", () => homeAccounts(), "", [12, 5]);
|
||||
Panels.panel("stream/schedules", "Controls: schedules", () => schedulesContent(), "", [12, 6]);
|
||||
Panels.item("metric", (id, view) => metricTitle(view), (size, id, view) => homeMetric(id, view));
|
||||
Panels.capture("resources-hardware", () => resourcePin("hardware"));
|
||||
Panels.capture("resources-tokens", () => resourcePin("tokens"));
|
||||
@@ -202,14 +203,14 @@
|
||||
|
||||
function homeOrder() {
|
||||
const order = state.agent_order;
|
||||
return order.length ? h("ol", {class: "order-list home-order"}, order.map((name, index) => h("li", {"data-name": name}, h("span", {class: "rank"}, `${index + 1}.`), face(name, false), person(name))))
|
||||
return order.length ? h("ol", {class: "order-list home-order"}, order.map((name, index) => h("li", {"data-name": name}, h("span", {class: "rank"}, `${index + 1}.`), agentLink(name))))
|
||||
: h("p", {class: "muted"}, "No agent with an office or an open task.");
|
||||
}
|
||||
|
||||
function homeInbox() {
|
||||
const items = visibleInbox();
|
||||
return items.length ? h("ol", {class: "home-inbox"}, items.map((item) => h("li", {class: `k-${item.kind}`, "data-wait": keyOf(item)},
|
||||
h("div", {class: "msg-meta"}, when(item.ts), pill(ITEM_LABELS[item.kind], KIND_TONES[item.kind]), item.agent ? [face(item.agent, false), person(item.agent)] : null),
|
||||
h("div", {class: "msg-meta"}, when(item.ts), pill(ITEM_LABELS[item.kind], KIND_TONES[item.kind]), item.agent ? agentLink(item.agent) : null),
|
||||
inboxHeadline(item),
|
||||
h("div", {class: "item-actions line-actions"}, actionsFor(item))))) : emptyState("All done", "Nothing is waiting for you right now.");
|
||||
}
|
||||
@@ -573,6 +574,36 @@
|
||||
}
|
||||
}
|
||||
|
||||
const HOME_DOMINANT = 0.75;
|
||||
const boxed = (look) => parseFloat(look.borderTopWidth) > 0 || look.backgroundColor !== "rgba(0, 0, 0, 0)" || look.backgroundImage !== "none";
|
||||
const areaOf = (node) => node.offsetWidth * node.offsetHeight;
|
||||
|
||||
/**
|
||||
* @param {Element} body a tile's .home-body.
|
||||
* Walks down from the body's content through the child that covers at least HOME_DOMINANT of its parent's area, or
|
||||
* into the one box of a wrapper that holds only it and .legend rows (Gantt, RASCI); the first box on that path
|
||||
* (border, background) becomes .home-flat and fills the body, the wrappers above it .home-chain.
|
||||
*/
|
||||
function homeFlatten(body) {
|
||||
if (!body.isConnected) {
|
||||
return;
|
||||
}
|
||||
body.querySelectorAll(".home-flat, .home-chain").forEach((node) => node.classList.remove("home-flat", "home-chain"));
|
||||
const chain = [];
|
||||
for (let node = body.firstElementChild; node;) {
|
||||
if (boxed(getComputedStyle(node))) {
|
||||
chain.forEach((wrapper) => wrapper.classList.add("home-chain"));
|
||||
node.classList.add("home-flat");
|
||||
return;
|
||||
}
|
||||
chain.push(node);
|
||||
const biggest = [...node.children].reduce((best, child) => (!best || areaOf(child) > areaOf(best) ? child : best), null);
|
||||
const boxes = [...node.children].filter((child) => boxed(getComputedStyle(child)));
|
||||
const legended = boxes.length === 1 && [...node.children].every((child) => child === boxes[0] || child.matches(".legend"));
|
||||
node = legended ? boxes[0] : biggest && areaOf(biggest) >= HOME_DOMINANT * areaOf(node) ? biggest : null;
|
||||
}
|
||||
}
|
||||
|
||||
function homeContent(entry, pin) {
|
||||
try {
|
||||
return entry.render({w: pin.w, h: pin.h});
|
||||
@@ -598,6 +629,7 @@
|
||||
const shown = content || homeGone(pin, key);
|
||||
if (body.childNodes.length !== 1 || body.firstChild !== shown) {
|
||||
body.replaceChildren(shown);
|
||||
window.requestAnimationFrame(() => homeFlatten(body));
|
||||
}
|
||||
paintZoom(tile);
|
||||
}
|
||||
@@ -655,7 +687,7 @@
|
||||
homeView.mark();
|
||||
});
|
||||
ViewStore.on(ZOOM_PATH, () => drawHome());
|
||||
homeView.mark = Panels.decorate(document.body, {pinned: (kind, id) => Panels.has(homePins(), kind, id), press: homePress, marks: HOME_MARKS});
|
||||
homeView.mark = Panels.decorate(document.body, HOME_MARKS);
|
||||
window.addEventListener("pointermove", homeDragMove);
|
||||
window.addEventListener("pointerup", homeDragEnd);
|
||||
window.addEventListener("pointercancel", homeDragEnd);
|
||||
|
||||
Reference in new issue
Block a user