feat(supervision): add choice watcher daemon, HTTPS spec docs, and test suites

- bin/muse_choice_watcher.py + systemd/muse-choices-reconcile.*: automatic choice answering and timer reconciliation
- bin/digest.py: fleet log and health summarization
- docs/BOX-*-HTTPS.md: comprehensive HTTPS execution contracts and API documentation
- docs/MUSE-CHOICES-POLICY.md & docs/SUPERVISION-SPEC.md: autonomous execution specs
- tests/test_*.py: unit test suites for HTTPS API, choice watcher, fleet heal, and swarm pruning
This commit is contained in:
operator
2026-10-07 00:25:46 +00:00
parent 04339bad14
commit 0065d11e97
29 changed files with 6419 additions and 7 deletions
+2 -2
View File
@@ -272,8 +272,8 @@ class TestPromptTUIIntegration(unittest.TestCase):
target_text = sends[0]["text"]
h, w = self.tui.stdscr.getmaxyx()
modal_w = min(74, w - 6)
modal_h = min(20, h - 4)
modal_w = min(84 if self.tui.modal in ("prompts", "history_search") else 74, w - 6)
modal_h = min(22 if self.tui.modal in ("prompts", "history_search") else 20, h - 4)
top_y = (h - modal_h) // 2
left_x = (w - modal_w) // 2