fix(hub): answered decision cards close, typed answers survive redraws, clicked cards show what they wait for
🧪 Test / 🧪 Lock + lint (push) Canceled after 0s
🧪 Test / 🧪 Lock + lint (push) Canceled after 0s
A decision answer now goes through the signed approve batch like every other grant, so the hub stores it and the card leaves the inbox and its counts once the answer is recorded. The Other text field keeps focus, caret and draft across the inbox and Match redraws. A clicked card greys out, shows a spinner and names on hover what it waits for: the passkey, the undo window or the Grant of a Select pick. 🎯 Fix: 86 % 💥 Break: 5 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 82 🚦 Gate: ⛔ fix 86 % < 90 Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8332631b7e
commit
edf53982c8
10 files changed
+125
-43
No files matched your search
@@ -473,6 +473,10 @@ class TestWaitingCards(MatchCase):
|
||||
self.assertEqual(self.post_json("/api/sign", {"items": [{**entry, "label": label}]}, self.guard(self.host))[0], 400)
|
||||
answer = signing.message_item("Skills", "post", "Decision operator/pick\nAnswer: Ask Main first", "", "", "")
|
||||
self.assertIn(signing.item_hash(answer), self.prepare([entry])["payload"]["items"])
|
||||
with mock.patch.object(batches, "UNDO", 0.4):
|
||||
self.assertEqual(self.approve([entry], self.signed([entry], self.pin()))[0], 202)
|
||||
self.settle(lambda: self.answered("operator/pick") == "Ask Main first")
|
||||
self.settle(lambda: any(sent[-1].endswith("Decision operator/pick Answer: Ask Main first") for sent in self.radio()))
|
||||
|
||||
def test_a_rejected_decision_row_stops_and_its_agent_hears_the_question_and_the_feedback(self):
|
||||
self.waiting()
|
||||
|
||||
Reference in new issue
Block a user