fix(hub): let the operator pick who hears a denial and require the agent on review requests
A review_request without agent reached nobody when denied: the hub found no requester and dropped the reason. The MCP schema now requires agent, the deny sheet preselects Call, offers a recipient picker defaulting to the card's creator and stays disabled for a direct channel without one, and the hub accepts a picked name only for a direct channel and an agent with a unique claimed radio address. 🎯 Fix: 93 % 💥 Break: 4 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 89 🚦 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:
1 parent
7505fcb55d
commit
dbc10536a4
8 files changed
+100
-22
No files matched your search
@@ -102,8 +102,9 @@ class TestHubInbox(base.OrchestratorE2ECase):
|
||||
self.layout(probe)
|
||||
self.assertTrue(probe["console"].startswith("doneExit code 0"), probe)
|
||||
self.assertEqual(sheet["title"], "Deny")
|
||||
self.assertEqual(sheet["channels"], [["post", True], ["call", False], ["newsletter", False], ["broadcast", False], ["pan-pan", False], ["security", False]])
|
||||
self.assertEqual(sheet["channels"], [["post", False], ["call", True], ["newsletter", False], ["broadcast", False], ["pan-pan", False], ["security", False]])
|
||||
self.assertEqual(sheet["hints"][:3], ["to Skills, when its turn ends", "to Skills, at once, wakes it", "to all, when their turn ends"])
|
||||
self.assertEqual((sheet["recipient"], sheet["gate"]), ("Skills", [True, True, True, True]))
|
||||
self.assertEqual((sheet["reason"], sheet["unlabelled"], sheet["wide"]), (True, [], False))
|
||||
denied, gone, accepted = rest[6:]
|
||||
self.assertNotIn("error", denied, denied)
|
||||
|
||||
Reference in new issue
Block a user