Item 3: an agent cannot approve its own proposals: the before-tool hook refuses sisi approve in any wrapping; a decision needs the typed word read from the controlling terminal; refused attempts are recorded with the session. done / next: items 4 and 9 (backlog and pending-approval statuses, main-repo origin)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-23 14:09:11 -07:00
1 parent 4418136d01
commit 11554b759a
7 files changed
+405 -28

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ class PersonalCase(SisiCase):
r = self.ok(*a, **kw)
self.assertTrue(L.load_pending(), "the change should be waiting for the owner")
for item in L.load_pending():
with unittest.mock.patch("sisi.cycle._stdin_is_tty", return_value=True):
with terminal():
self.ok("approve", item["id"], "--yes")
return r