feat(hub): an answered decision row shows greyed with its answer until its agent closes it
🧪 Test / 🧪 Lock + lint (push) Waiting to run

The stream kept an operator decision row the operator had already answered as waiting with live options and actions; a second pick ended in 409 answered. The stream event now carries ref.answered, and the row stays visible (also under For you) but greyed like a blocked row, with the pills decided and the answer, without options and without actions. The agent still closes the row; the hub offers no remove.

🎯 Fix: 95 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 92
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

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-25 10:30:15 +00:00
1 parent 724042aa5b
commit e5fd70e183
5 files changed
+68 -6

No files matched your search

+3 -2
View File
@@ -3,7 +3,7 @@ from __future__ import annotations
import time
from .asking import ask_state
from .choosing import decision_status
from .choosing import answered, decision_status
from .council import MAYDAY_ACTIVE, NEWS, message_rows, read_claims, sessions
from .crons import cron_event
from .errors import Missing, ToolError
@@ -86,7 +86,8 @@ class Timeline:
for row in operator_rows(tasks):
first = self.watch.first(row["task"], now)
if first <= end:
ref = {**{key: row[key] for key in ("task", "directory", "check", "status")}, "blocked": row_blocked(row, reasons)}
answer = self.answers.get(row["task"])
ref = {**{key: row[key] for key in ("task", "directory", "check", "status")}, "blocked": row_blocked(row, reasons), "answered": answer["label"] if answered(answer, row) else ""}
rows.append(event({"id": f"operator:{row['task']}", "ts": first, "kind": "operator", "title": row["command"], "text": row["why"], "waiting": True, "ref": ref}))
rows += [change for change in self.watch.listed() if begin <= change["ts"] <= end]
rows += [cron_event(cron, directory) for cron in self.schedules(claims, now) if cron["created"] <= end and (cron["active"] or cron["created"] >= begin)]