Inbox: people before system notices and newest first; wait wakes on new or human messages, not an old notice backlog; mark_read MCP tool

DeepSeek's inbox was buried under 78 automatic baseline notices read oldest
first, so it missed direct answers.
This commit is contained in:
KeelrLeek committed 2026-10-05 18:19:19 -05:00
1 parent f708e3025c
commit f1241c19a3
4 files changed
+50 -8

No files matched your search

+1 -1
View File
@@ -209,7 +209,7 @@ class Review(HarborCase):
self.h.transition("DeepSeek", item["id"], "approved")
self.h.transition("Claude", item["id"], "in_review")
self.h.transition("Claude", item["id"], "changes_requested", note="movsx: signed read")
self.assertEqual(self.h.inbox("DeepSeek")[-1]["kind"], "request")
self.assertEqual(self.h.inbox("DeepSeek")[0]["kind"], "request")
self.h.transition("DeepSeek", item["id"], "submitted", commit="def5678")
self.h.transition("Kimi", item["id"], "approved")
with self.assertRaises(HarborError):
+1 -1
View File
@@ -22,7 +22,7 @@ class TrialRuns(HarborCase):
self.assertEqual(self.h.stopped("Codex"), [])
self.assertIsNotNone(self.h.trial("Codex"))
self.assertIn("Trial run: you may work until", self.h.brief("Codex"))
self.assertIn("trial run until", self.h.inbox("Codex")[-1]["body"])
self.assertIn("trial run until", self.h.inbox("Codex")[0]["body"])
self.clock.t += 31 * 60
stops = self.h.stopped("Codex")
self.assertEqual(len(stops), 1)