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

+16 -4
View File
@@ -3,6 +3,7 @@ from __future__ import annotations
import time
from .asking import ASK_LIFETIME, ask_state
from .choosing import decision_status
from .council import read_claims
from .errors import ToolError
from .messaging import DIRECT, EVERYONE, TO_ALL
@@ -12,6 +13,8 @@ from .skill_scripts import RASCI
DENIABLE = ("ask", "operator", "rule")
NOTED = ("review",)
LAPSING = ("ask", "decision")
LAPSED = "expired before the operator decided"
DENY_KEYS = ("channel", "reason", "to")
DENY_CHANNELS = {**DIRECT, **{name: words for name, words in TO_ALL.items() if name != "mayday"}}
REASON_LIMIT = 2000
@@ -85,7 +88,9 @@ def request_status(record: dict, now: float) -> str:
class Denying:
def deny(self, item: dict, proof: dict | None) -> str:
"""Args:
item: a checked inbox item with verb reject and its note.
item: a checked inbox item with verb reject and its note; an
expired ask or decision is denied too, its agent told it
expired before the operator decided.
proof: the relayed signature over the denial item.
Returns:
@@ -114,19 +119,26 @@ class Denying:
return f"already {record['status']}"
title, branch = record["title"][:200], record["branch"]
return f"rejected · {self.tell(item, proof, record.get('agent', ''), f'commit {title} on {branch}')}"
ledger = self.asks if item["kind"] == "ask" else self.rule_requests
ledger = {"ask": self.asks, "decision": self.decisions}.get(item["kind"], self.rule_requests)
record = ledger.get(item["id"])
if record is None:
return "unknown"
now = time.time()
if (ask_state(record, now)["status"] if item["kind"] == "ask" else request_status(record, now)) == "expired":
status = ask_state(record, now)["status"] if item["kind"] == "ask" else decision_status(record, now) if item["kind"] == "decision" else request_status(record, now)
if status == "expired" and item["kind"] not in LAPSING:
return "expired"
if status == "pending" and item["kind"] == "decision":
return "refused: only an expired decision is denied"
record, changed = ledger.decide(item["id"], {"status": "denied", "proof": proof, **note})
if not changed:
return f"already {record['status']}"
late = f", {LAPSED}" if status == "expired" else ""
if item["kind"] == "ask":
tool, command = record["tool"], record["command"][:200]
return f"denied · {self.tell(item, proof, record['session'], f'ask {tool}: {command}')}"
return f"denied · {self.tell(item, proof, record['session'], f'ask {tool}: {command}{late}')}"
if item["kind"] == "decision":
question = " ".join(record["question"].split())[:200]
return f"denied · {self.tell(item, proof, record['agent'], f'decision {question}{late}')}"
return f"denied · {self.tell(item, proof, record['agent'], f'rule request {request_words(record)}')}"
def addressee(self, who: str) -> tuple[str, str]: