fix(hub): decision answers wake their agent as a radio call
🧪 Test / 🧪 Lock + lint (push) Canceled after 0s

Answers to decision rows and to MCP choice cards went to the agent as a
post, which it reads only when its turn ends, so the operator got no
direct feedback. They now go as a passkey-signed call that wakes the agent
at once; the card, the Match note, the decision_wait description and the
operator checks say so. Four passkey hint texts are reworded so MEDUSA's
excessive-agency rules no longer read them as agents handing out keys.

🎯 Fix: 92 %
💥 Break: 4 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 88
🚦 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-24 15:42:06 +00:00
1 parent a667ac485a
commit ad03188335
11 files changed
+26 -25

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ class TestHubInbox(HubCase):
self.assertEqual(self.approve([self.entry("review", "0123456789abcdef", "", "")], None)[0], 404)
self.assertEqual(self.post_json("/api/inbox/approve", {"items": batch, "proof": None}, self.client())[0], 403)
prepared = self.prepare(batch)
answer = signing.message_item("Skills", "post", f"Choice for decision {decision_id} (Merge the hub?): Merge now", "", "", "")
answer = signing.message_item("Skills", "call", f"Choice for decision {decision_id} (Merge the hub?): Merge now", "", "", "")
listed = [signing.item_hash(signing.review_item(green, "/repo/.git", "/repo/.worktrees/feature/x", "feature/x", TREE)), signing.item_hash(signing.ask_item(ask_id, "Bash", "make deploy", "/repo", "s1")), signing.item_hash(answer)]
self.assertEqual((prepared["payload"]["items"], prepared["challenge"]), (sorted(listed), signing.challenge(prepared["payload"])))
unsigned = [{**self.entry("review", red, "", ""), "verb": "reject"}]