swarph-cli 0.85.0__tar.gz → 0.86.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (650) hide show
  1. {swarph_cli-0.85.0/src/swarph_cli.egg-info → swarph_cli-0.86.0}/PKG-INFO +29 -2
  2. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/README.md +25 -1
  3. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/pyproject.toml +6 -1
  4. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/__init__.py +1 -1
  5. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/commander.py +109 -10
  6. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/gateway.py +118 -1
  7. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/mcp_server.py +59 -4
  8. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/onboard.py +18 -17
  9. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/secret_guard.py +165 -38
  10. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/triage.py +7 -2
  11. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/duplicate_session.py +13 -6
  12. swarph_cli-0.86.0/src/swarph_cli/escalation.py +77 -0
  13. swarph_cli-0.86.0/src/swarph_cli/gateway/commander_queue.py +53 -0
  14. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway/schema.sql +40 -0
  15. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway/server.py +513 -1
  16. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/main.py +1 -1
  17. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/operator/config.py +10 -2
  18. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/rowclear.py +12 -8
  19. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scripts/wake_watchdog.py +11 -4
  20. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/stall_alert.py +30 -25
  21. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/triage/job.py +19 -9
  22. swarph_cli-0.86.0/src/swarph_cli/triage/owners.json +16 -0
  23. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/triage/router.py +14 -5
  24. {swarph_cli-0.85.0 → swarph_cli-0.86.0/src/swarph_cli.egg-info}/PKG-INFO +29 -2
  25. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli.egg-info/SOURCES.txt +9 -0
  26. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli.egg-info/requires.txt +1 -0
  27. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1065_release.py +33 -0
  28. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1073_triage.py +2 -0
  29. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1073_triage_board.py +2 -0
  30. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1476_gh_token_explicit_position.py +21 -15
  31. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1478_triage_dm.py +3 -0
  32. swarph_cli-0.86.0/tests/test_1481_mcp_ask_commander.py +783 -0
  33. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1588_routing_work_budget.py +2 -1
  34. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1611_mcp_proxy.py +1 -1
  35. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1642_r1_r2_chunk_pins.py +285 -11
  36. swarph_cli-0.86.0/tests/test_1645_cockpit_credential_verb.py +115 -0
  37. swarph_cli-0.86.0/tests/test_1645_commander_digest.py +44 -0
  38. swarph_cli-0.86.0/tests/test_1645_commander_queue.py +744 -0
  39. swarph_cli-0.86.0/tests/test_1678_secret_guard_r1_r4.py +722 -0
  40. swarph_cli-0.86.0/tests/test_1684_ci_matrix_matches_classifiers.py +167 -0
  41. swarph_cli-0.86.0/tests/test_1685_no_lab_defaults.py +432 -0
  42. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_432_rowclear.py +3 -0
  43. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_513_duplicate_session.py +3 -0
  44. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_caller_meta_guard.py +1 -1
  45. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_gateway_command.py +23 -3
  46. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_schedule_create_contract.py +14 -0
  47. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_stall_alert.py +11 -7
  48. swarph_cli-0.85.0/src/swarph_cli/triage/owners.json +0 -28
  49. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/LICENSE +0 -0
  50. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/setup.cfg +0 -0
  51. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/__main__.py +0 -0
  52. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/__init__.py +0 -0
  53. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/backends.py +0 -0
  54. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/claude_cli.py +0 -0
  55. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/codex_cli.py +0 -0
  56. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/pack.py +0 -0
  57. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/prices.py +0 -0
  58. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/providers.py +0 -0
  59. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/quality.py +0 -0
  60. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/refresh_prices.py +0 -0
  61. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/rules.py +0 -0
  62. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/runner.py +0 -0
  63. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/signal_score.py +0 -0
  64. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/bench/validate.py +0 -0
  65. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/caller.py +0 -0
  66. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/__init__.py +0 -0
  67. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/harden.py +0 -0
  68. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/lineage.py +0 -0
  69. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/liveness.py +0 -0
  70. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/manifest.py +0 -0
  71. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/paths.py +0 -0
  72. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/capture/verify.py +0 -0
  73. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/cell.py +0 -0
  74. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/cell_wake.py +0 -0
  75. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/chain_token.py +0 -0
  76. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/channel.py +0 -0
  77. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/__init__.py +0 -0
  78. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/_content.py +0 -0
  79. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/_display.py +0 -0
  80. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/_gateway_client.py +0 -0
  81. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/add.py +0 -0
  82. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/bench.py +0 -0
  83. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/board.py +0 -0
  84. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/board_cost.py +0 -0
  85. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/board_merge_check.py +0 -0
  86. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/board_usage.py +0 -0
  87. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/brain.py +0 -0
  88. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/brain_ask.py +0 -0
  89. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/cell.py +0 -0
  90. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/cell_probe.py +0 -0
  91. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/cell_selfcheck.py +0 -0
  92. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/channel.py +0 -0
  93. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/chat.py +0 -0
  94. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/codegraph.py +0 -0
  95. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/codegraph_hook.py +0 -0
  96. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/codex_hook_output.py +0 -0
  97. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/codex_waker.py +0 -0
  98. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/committee.py +0 -0
  99. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/compress.py +0 -0
  100. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/daemon.py +0 -0
  101. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/dev_extract.py +0 -0
  102. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/dreaming.py +0 -0
  103. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/event.py +0 -0
  104. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/gh_route.py +0 -0
  105. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/group.py +0 -0
  106. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/guide.py +0 -0
  107. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/highlight.py +0 -0
  108. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/hook_interpreter.py +0 -0
  109. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/hook_output.py +0 -0
  110. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/hooks.py +0 -0
  111. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/import_session.py +0 -0
  112. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/init.py +0 -0
  113. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/install_codex_hooks.py +0 -0
  114. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/install_hook.py +0 -0
  115. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/install_multiplexer.py +0 -0
  116. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/install_opencode_plugin.py +0 -0
  117. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/install_postcompact_hook.py +0 -0
  118. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/install_wake_hook.py +0 -0
  119. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/join.py +0 -0
  120. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/lane.py +0 -0
  121. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/memory.py +0 -0
  122. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/memory_emit_hook.py +0 -0
  123. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/memory_sync.py +0 -0
  124. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/mesh.py +0 -0
  125. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/monitor.py +0 -0
  126. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/okf_links.py +0 -0
  127. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/peer_reply_drain.py +0 -0
  128. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/postcompact_hook_output.py +0 -0
  129. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/protocol_handler.py +0 -0
  130. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/proxy.py +0 -0
  131. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/ratify.py +0 -0
  132. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/roster.py +0 -0
  133. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/rowclear_hook.py +0 -0
  134. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/schedule.py +0 -0
  135. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/security.py +0 -0
  136. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/service.py +0 -0
  137. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/skunkworks.py +0 -0
  138. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/spawn.py +0 -0
  139. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/subscribe.py +0 -0
  140. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/sweep.py +0 -0
  141. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/timeline.py +0 -0
  142. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/version.py +0 -0
  143. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/wake_hook_output.py +0 -0
  144. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commands/watchdog.py +0 -0
  145. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/commit_trailers.py +0 -0
  146. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/compress/__init__.py +0 -0
  147. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/compress/levers.py +0 -0
  148. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/compress/marker.py +0 -0
  149. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/compress/verify.py +0 -0
  150. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/console_safe.py +0 -0
  151. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/delivery_queue.py +0 -0
  152. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dm_frame.py +0 -0
  153. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/__init__.py +0 -0
  154. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/candidates.py +0 -0
  155. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/clone.py +0 -0
  156. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/consolidate.py +0 -0
  157. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/enrich.py +0 -0
  158. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/index_check.py +0 -0
  159. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/measure.py +0 -0
  160. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/notify.py +0 -0
  161. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/organize.py +0 -0
  162. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/probes.py +0 -0
  163. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/report.py +0 -0
  164. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/run.py +0 -0
  165. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/slm.py +0 -0
  166. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/store.py +0 -0
  167. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/transcripts.py +0 -0
  168. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/dreaming/verify.py +0 -0
  169. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway/__init__.py +0 -0
  170. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway/feature_registry.py +0 -0
  171. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway/lanes_control.py +0 -0
  172. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway/services_control.py +0 -0
  173. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gateway_default.py +0 -0
  174. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/gh_identity.py +0 -0
  175. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/guide/GUIDE.md +0 -0
  176. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/identity.py +0 -0
  177. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-codex-outbox.plist +0 -0
  178. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-codex-outbox.timer.plist +0 -0
  179. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-monitor.plist +0 -0
  180. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-proxy-monitor.plist +0 -0
  181. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-proxy.plist +0 -0
  182. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-watchdog.plist +0 -0
  183. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd/swarph-watchdog.timer.plist +0 -0
  184. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/launchd_render.py +0 -0
  185. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/local_proxy.py +0 -0
  186. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/multiplexer.py +0 -0
  187. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/operator/__init__.py +0 -0
  188. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/operator/__main__.py +0 -0
  189. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/operator/api.py +0 -0
  190. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/operator/cli.py +0 -0
  191. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/operator/fmt.py +0 -0
  192. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/orphan_daemons.py +0 -0
  193. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/pane_probe.py +0 -0
  194. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/parsers/__init__.py +0 -0
  195. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/parsers/claude.py +0 -0
  196. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/opencode/plugin.js +0 -0
  197. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/_shim.cmd +0 -0
  198. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/postcompact-recall-grok.sh +0 -0
  199. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/postcompact-recall.sh +0 -0
  200. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit-antigravity.sh +0 -0
  201. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit-claude.sh +0 -0
  202. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit-grok.sh +0 -0
  203. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit.sh +0 -0
  204. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/posttooluse-recall.sh +0 -0
  205. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/precompact-flag.sh +0 -0
  206. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/preinvocation-recall-antigravity.sh +0 -0
  207. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/payloads/postcompact/sessionstart-recall.sh +0 -0
  208. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_executor.py +0 -0
  209. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_executor_windows.py +0 -0
  210. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_reconciliation.py +0 -0
  211. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_reply_outbox.py +0 -0
  212. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_service_host.py +0 -0
  213. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_service_payload.py +0 -0
  214. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_service_reply.py +0 -0
  215. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/peer_staging.py +0 -0
  216. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/proxy_monitor.py +0 -0
  217. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/proxy_routes.py +0 -0
  218. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/query_filters.py +0 -0
  219. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/quota_sync.py +0 -0
  220. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/redact.py +0 -0
  221. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scripts/__init__.py +0 -0
  222. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scripts/dm_notify_filter.py +0 -0
  223. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scripts/ensure_monitor.sh +0 -0
  224. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scripts/install_codex_waker_windows.ps1 +0 -0
  225. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scripts/install_monitor_task_windows.ps1 +0 -0
  226. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/scrub.py +0 -0
  227. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/service/__init__.py +0 -0
  228. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/service/app.py +0 -0
  229. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/service/providers.py +0 -0
  230. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/session_bridge.py +0 -0
  231. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/shim_ledger.py +0 -0
  232. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/skills/i-have-adhd/LICENSE +0 -0
  233. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/skills/i-have-adhd/SKILL.md +0 -0
  234. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/source_text.py +0 -0
  235. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/codex-waker.default +0 -0
  236. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/peer-reply-drain.default +0 -0
  237. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-cell-wake@.service +0 -0
  238. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-codex-outbox@.service +0 -0
  239. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-codex-outbox@.timer +0 -0
  240. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-codex-waker@.service +0 -0
  241. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-codex-waker@.timer +0 -0
  242. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-monitor-reexec.path +0 -0
  243. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-monitor-reexec.service +0 -0
  244. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-monitor@.service +0 -0
  245. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-monitor@.service.d/zzzz-proxy20.conf +0 -0
  246. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-peer-reply-drain@.service +0 -0
  247. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-peer-reply-drain@.timer +0 -0
  248. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-proxy@.service +0 -0
  249. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-proxy@.socket +0 -0
  250. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-stuck-sweep.service +0 -0
  251. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-stuck-sweep.timer +0 -0
  252. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-triage.service +0 -0
  253. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-triage.timer +0 -0
  254. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-watchdog.default +0 -0
  255. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-watchdog.service +0 -0
  256. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/systemd/swarph-watchdog.timer +0 -0
  257. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/the_ten.py +0 -0
  258. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/timeline_paths.py +0 -0
  259. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/tokens.py +0 -0
  260. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/triage/__init__.py +0 -0
  261. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/triage/backend.py +0 -0
  262. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/triage/rows.py +0 -0
  263. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli/triage/sensor.py +0 -0
  264. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli.egg-info/dependency_links.txt +0 -0
  265. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli.egg-info/entry_points.txt +0 -0
  266. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/src/swarph_cli.egg-info/top_level.txt +0 -0
  267. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1006_board_publisher.py +0 -0
  268. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1006_session_board.py +0 -0
  269. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1010_strand_only.py +0 -0
  270. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1013_spawn_channel.py +0 -0
  271. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1017_muse_tui.py +0 -0
  272. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1034_copy_mode.py +0 -0
  273. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1050_surrogate_wake.py +0 -0
  274. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1052_opencode_deaf.py +0 -0
  275. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1059_watchdog_unread_env.py +0 -0
  276. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1061_roster_cli.py +0 -0
  277. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1064_stuck_sweep.py +0 -0
  278. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1066_quiet_wakes.py +0 -0
  279. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1068_structured_accept_cli.py +0 -0
  280. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1071_quota_sync.py +0 -0
  281. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1073_wheel_install.py +0 -0
  282. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1075_task_cli.py +0 -0
  283. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1083_openai_decisions.py +0 -0
  284. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1144_cell_yaml_github.py +0 -0
  285. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1197_commander_taps.py +0 -0
  286. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1203_swarph_me_refusal.py +0 -0
  287. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1206_offer_question.py +0 -0
  288. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1214_egress.py +0 -0
  289. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1219_egress_probe.py +0 -0
  290. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1221_quota_windows.py +0 -0
  291. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1222_maybe_start_cap.py +0 -0
  292. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1228_quota_reach.py +0 -0
  293. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1243_the_ten.py +0 -0
  294. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1248_ship_price_table.py +0 -0
  295. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_124_register_merge.py +0 -0
  296. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1250_price_cache.py +0 -0
  297. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1256_commander_wake.py +0 -0
  298. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1261_mcp_install.py +0 -0
  299. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1262_wake_followups.py +0 -0
  300. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1265_wake_note.py +0 -0
  301. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1269_triage_label.py +0 -0
  302. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_126_pending_from_complete.py +0 -0
  303. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1277_close_usage.py +0 -0
  304. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1278_dreaming_reach.py +0 -0
  305. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1286_dm_unread_cursor.py +0 -0
  306. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1297_commander.py +0 -0
  307. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1300_authorization_check.py +0 -0
  308. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1301_restart_skew.py +0 -0
  309. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1320_commit_trailers.py +0 -0
  310. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1321_layered_redaction.py +0 -0
  311. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_132_ensure_monitor_state_dir.py +0 -0
  312. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1340_router_rollout.py +0 -0
  313. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1346_shell_string_gh.py +0 -0
  314. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1347_shell_depth_cap.py +0 -0
  315. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1353_obligation_release_cli.py +0 -0
  316. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1385_duplicate_session_argv.py +0 -0
  317. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_138_memory_navigate.py +0 -0
  318. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1396_dev_extract.py +0 -0
  319. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_139_tool_probe.py +0 -0
  320. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1405_skunkworks_basic.py +0 -0
  321. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1405_skunkworks_cli.py +0 -0
  322. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1413_gemini_allowlist.py +0 -0
  323. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1427_membrane_workflow.py +0 -0
  324. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1436_dev_extract_freshness.py +0 -0
  325. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1452_rework1_engine.py +0 -0
  326. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1452_rework2_engine.py +0 -0
  327. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1452_rework3_engine.py +0 -0
  328. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1452_standing_wake_expiry.py +0 -0
  329. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1470_gh_router_fail_closed.py +0 -0
  330. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1472_redact_boundaries.py +0 -0
  331. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1505_bench_no_redirect.py +0 -0
  332. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1513_json_allowlists.py +0 -0
  333. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1517_expected_state_cli.py +0 -0
  334. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1517_stage_version_cli.py +0 -0
  335. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1519_board_usage.py +0 -0
  336. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1521_shim_ledger.py +0 -0
  337. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1522_board_schedules.py +0 -0
  338. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1523_subscribe_cli.py +0 -0
  339. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1539_proxy_read_only.py +0 -0
  340. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1546_sensitive_content_workflow.py +0 -0
  341. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1547_sensitive_content_fail_closed.py +0 -0
  342. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1555_gh_identity_shell_tokenizer.py +0 -0
  343. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1556_watchdog_ledger_outcome.py +0 -0
  344. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1557_gateway_socket.py +0 -0
  345. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1570_dreaming_consolidation.py +0 -0
  346. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1577_mesh_mint.py +0 -0
  347. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1577_mesh_mint_windows.py +0 -0
  348. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1582_join.py +0 -0
  349. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1588_multiline_heredoc.py +0 -0
  350. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1588_shell_contexts.py +0 -0
  351. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1609_price_isolation.py +0 -0
  352. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1612_cell_wake_hardening.py +0 -0
  353. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1613_cell_wake_pins.py +0 -0
  354. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1614_proxy_inbox.py +0 -0
  355. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1615_proxy_reply_size.py +0 -0
  356. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1618_proxy_bound_pin.py +0 -0
  357. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_1642_secret_guard_hook.py +0 -0
  358. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_183_card_anchor.py +0 -0
  359. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_184_notify_honesty.py +0 -0
  360. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_201_win32_bash_refusal.py +0 -0
  361. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_cell_wake.py +0 -0
  362. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_cell_wake_unit.py +0 -0
  363. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_local_proxy.py +0 -0
  364. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_proxy_block_clear.py +0 -0
  365. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_proxy_block_deferred_ledger.py +0 -0
  366. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_proxy_monitor.py +0 -0
  367. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_proxy_monitor_shrink.py +0 -0
  368. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_proxy_routes.py +0 -0
  369. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_20_proxy_templates.py +0 -0
  370. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_243_onboard_per_peer_token.py +0 -0
  371. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_307_task4_ask_reply.py +0 -0
  372. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_312_codegraph_fuzzy_verb.py +0 -0
  373. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_3130_sender.py +0 -0
  374. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_3150_identity_router_install.py +0 -0
  375. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_319_refusal_exit_codes.py +0 -0
  376. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_323_mistral_backend.py +0 -0
  377. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_332_report_organize_findings.py +0 -0
  378. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_356_query_filters.py +0 -0
  379. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_397_gh_identity_router.py +0 -0
  380. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_397_router_preflight.py +0 -0
  381. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_402_one_identity_resolver.py +0 -0
  382. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_467b_onboard_operator_credential.py +0 -0
  383. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_472_register_caller_binding.py +0 -0
  384. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_484_codex_queue_sink.py +0 -0
  385. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_5190_dreaming_consent.py +0 -0
  386. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_523_guide.py +0 -0
  387. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_524_conftest_hermeticity.py +0 -0
  388. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_532_accept_flag.py +0 -0
  389. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_535_version_capability.py +0 -0
  390. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_538_signal_bench.py +0 -0
  391. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_546_default_gateway.py +0 -0
  392. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_547_verbs_from_registry.py +0 -0
  393. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_548_gateway_remainder.py +0 -0
  394. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_552_codegraph_gateway.py +0 -0
  395. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_555_relay_row_shape.py +0 -0
  396. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_556_relay_freshness.py +0 -0
  397. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_559_edges_truncated.py +0 -0
  398. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_564_bootstrap_first_peer.py +0 -0
  399. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_578_no_machine_specific_host_defaults.py +0 -0
  400. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_579_register_bootstrap_message.py +0 -0
  401. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_591_cli_step_graph.py +0 -0
  402. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_644_monitor_supervision.py +0 -0
  403. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_648_install_unit.py +0 -0
  404. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_654_reexec.py +0 -0
  405. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_656_owned_slm.py +0 -0
  406. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_684_dreaming_verb.py +0 -0
  407. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_689_pkg_version_order.py +0 -0
  408. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_715_grok_wake.py +0 -0
  409. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_716_timeline_one_path.py +0 -0
  410. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_723_grok_0251.py +0 -0
  411. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_724_ps1_ascii_or_bom.py +0 -0
  412. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_725_stdio_reconfigure.py +0 -0
  413. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_726_grok_limit_screen.py +0 -0
  414. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_729_arm_check_delivery_gap.py +0 -0
  415. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_729_dm_once.py +0 -0
  416. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_729_wake_watchdog.py +0 -0
  417. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_734_dreaming_enrich_degrade.py +0 -0
  418. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_735_dm_mcp_tools.py +0 -0
  419. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_739_wake_writer.py +0 -0
  420. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_740_edit_project.py +0 -0
  421. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_762_cards_edit_priority.py +0 -0
  422. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_764_enrich_collapse.py +0 -0
  423. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_801_confirm_flow_cli.py +0 -0
  424. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_802_stage_history.py +0 -0
  425. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_825_codegraph_hook_noise.py +0 -0
  426. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_825_install_posttooluse_only.py +0 -0
  427. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_825_remaining_cap_shred_bind.py +0 -0
  428. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_829_counterfactual_column.py +0 -0
  429. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_830_hook_binding_version.py +0 -0
  430. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_84_cli_labels.py +0 -0
  431. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_866_doctrine_guide.py +0 -0
  432. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_872_identity_refuses_not_warns.py +0 -0
  433. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_874_source_text.py +0 -0
  434. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_888_opencode_data_dir_can_fail.py +0 -0
  435. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_931_board_search.py +0 -0
  436. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_935_deadline_clock.py +0 -0
  437. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_937_dreaming_notify.py +0 -0
  438. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_938_organize_line_limit.py +0 -0
  439. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_941_bench_backends.py +0 -0
  440. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_941_harness_342.py +0 -0
  441. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_945_same_line_pairing.py +0 -0
  442. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_955_prompt_audit.py +0 -0
  443. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_957_auth_http.py +0 -0
  444. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_959_venv_interpreter.py +0 -0
  445. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_960_channel.py +0 -0
  446. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_960_ensure_monitor_heartbeat.py +0 -0
  447. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_961_cursor_grok_footer.py +0 -0
  448. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_961_loud_stop.py +0 -0
  449. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_963_plugin_manifest.py +0 -0
  450. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_964_channel_cell.py +0 -0
  451. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_965_mesh_wait.py +0 -0
  452. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_975_channel_hop.py +0 -0
  453. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_add_security_gate.py +0 -0
  454. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_add.py +0 -0
  455. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_hash.py +0 -0
  456. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_lib.py +0 -0
  457. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_mcp.py +0 -0
  458. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_skill.py +0 -0
  459. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_tool.py +0 -0
  460. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_artifact_uri.py +0 -0
  461. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_backends.py +0 -0
  462. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_claude_cli.py +0 -0
  463. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_codex_cli.py +0 -0
  464. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_command.py +0 -0
  465. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_pack.py +0 -0
  466. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_prices.py +0 -0
  467. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_quality.py +0 -0
  468. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_runner.py +0 -0
  469. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_bench_validate.py +0 -0
  470. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_board_card_thread.py +0 -0
  471. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_board_command.py +0 -0
  472. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_board_merge_check.py +0 -0
  473. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_board_obligation_close.py +0 -0
  474. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_brain_ask_command.py +0 -0
  475. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_brain_ask_env_diagnosis.py +0 -0
  476. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_brain_ask_identity_explicitness.py +0 -0
  477. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_brain_command.py +0 -0
  478. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_capture_lineage.py +0 -0
  479. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_capture_liveness.py +0 -0
  480. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_capture_manifest.py +0 -0
  481. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_capture_paths.py +0 -0
  482. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_capture_security.py +0 -0
  483. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_card_1540_tmp_cleanup.py +0 -0
  484. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cell_command_dispatch.py +0 -0
  485. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cell_harden.py +0 -0
  486. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cell_loader.py +0 -0
  487. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cell_selfcheck.py +0 -0
  488. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cell_selfcheck_env_guard.py +0 -0
  489. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cell_verify.py +0 -0
  490. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_chain_token.py +0 -0
  491. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_channel_command.py +0 -0
  492. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_channel_poll_never_breaks_dms.py +0 -0
  493. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_channel_post.py +0 -0
  494. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_channel_wake_policy_filter.py +0 -0
  495. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_chat_command.py +0 -0
  496. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_claude_parser.py +0 -0
  497. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_claude_tmux_template.py +0 -0
  498. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_codegraph_caller_scope.py +0 -0
  499. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_codegraph_command.py +0 -0
  500. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_codegraph_hook.py +0 -0
  501. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_codegraph_mcp.py +0 -0
  502. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_codex_waker.py +0 -0
  503. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_committee_command.py +0 -0
  504. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_compress_caller_convention.py +0 -0
  505. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_compress_command.py +0 -0
  506. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_compress_levers.py +0 -0
  507. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_compress_marker.py +0 -0
  508. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_compress_verify.py +0 -0
  509. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_console_encoding_e2e.py +0 -0
  510. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_content_composition.py +0 -0
  511. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_copilot_membrane.py +0 -0
  512. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_copilot_pane_reader.py +0 -0
  513. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cursor_mcp_plugin.py +0 -0
  514. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_cursor_membrane.py +0 -0
  515. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_daemon_command.py +0 -0
  516. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_daemon_console_encoding.py +0 -0
  517. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_daemon_delivery.py +0 -0
  518. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_delivery_queue.py +0 -0
  519. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_display_sanitize.py +0 -0
  520. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_ensure_monitor_no_peer_default.py +0 -0
  521. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_event_emit.py +0 -0
  522. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_feature_to_uri.py +0 -0
  523. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_gateway_brain.py +0 -0
  524. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_gateway_client.py +0 -0
  525. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_gateway_message_idempotency.py +0 -0
  526. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_gh_route_doctor_mesh_name.py +0 -0
  527. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_group_command.py +0 -0
  528. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_guide_commands_parse.py +0 -0
  529. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_guide_selfcheck.py +0 -0
  530. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_heartbeat_check.py +0 -0
  531. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_highlight_command.py +0 -0
  532. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hook_output.py +0 -0
  533. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_activity_marker.py +0 -0
  534. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_add.py +0 -0
  535. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_bundle.py +0 -0
  536. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_init.py +0 -0
  537. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_legacy_generation_removal.py +0 -0
  538. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_lifecycle.py +0 -0
  539. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_merge.py +0 -0
  540. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_verify.py +0 -0
  541. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_win32_bash_wrapper.py +0 -0
  542. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_hooks_win32_command_path.py +0 -0
  543. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_import_command.py +0 -0
  544. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_inbox_identity_provenance.py +0 -0
  545. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_init_command.py +0 -0
  546. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_init_provider_menu.py +0 -0
  547. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_install_codex_hooks.py +0 -0
  548. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_install_hook.py +0 -0
  549. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_install_multiplexer_command.py +0 -0
  550. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_install_postcompact_hook.py +0 -0
  551. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_install_wake_hook.py +0 -0
  552. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_lane_command.py +0 -0
  553. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_launchd_units.py +0 -0
  554. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_main.py +0 -0
  555. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_main_unknown_verb_guard.py +0 -0
  556. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mcp_dm_identity.py +0 -0
  557. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mcp_missing_hint.py +0 -0
  558. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mcp_server.py +0 -0
  559. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_memory_command.py +0 -0
  560. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_memory_emit_snippet.py +0 -0
  561. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_memory_gateway.py +0 -0
  562. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_memory_sync.py +0 -0
  563. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_memory_sync_membrane.py +0 -0
  564. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_command.py +0 -0
  565. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_inbox_mark_read.py +0 -0
  566. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_inbox_sanitize.py +0 -0
  567. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_originate_thread_623.py +0 -0
  568. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_send_unknown_peer.py +0 -0
  569. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_sidecar.py +0 -0
  570. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_sidecar_cursor_decoupled.py +0 -0
  571. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_sidecar_muse_sink.py +0 -0
  572. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_mesh_sidecar_wake_survives_read.py +0 -0
  573. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_meta_edge_identity.py +0 -0
  574. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_monitor_channel_poll.py +0 -0
  575. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_monitor_cli.py +0 -0
  576. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_monitor_daemon_collision.py +0 -0
  577. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_monitor_self_name_verification.py +0 -0
  578. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_monitor_state_split.py +0 -0
  579. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_multiplexer.py +0 -0
  580. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_muse_membrane.py +0 -0
  581. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_muse_own_cli.py +0 -0
  582. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_obligation_close_is_surfaced.py +0 -0
  583. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_okf_links.py +0 -0
  584. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_onboard_command.py +0 -0
  585. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_opencode_membrane.py +0 -0
  586. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_opencode_plugin.py +0 -0
  587. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_operator_me.py +0 -0
  588. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_orphan_daemons.py +0 -0
  589. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_packaged_artifacts_exist.py +0 -0
  590. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_packaged_skills.py +0 -0
  591. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_executor.py +0 -0
  592. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_executor_windows.py +0 -0
  593. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_reply_drain_command.py +0 -0
  594. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_reply_drain_supervisor.py +0 -0
  595. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_reply_outbox.py +0 -0
  596. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_reply_transport.py +0 -0
  597. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_service_e2e.py +0 -0
  598. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_service_host.py +0 -0
  599. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_service_payload.py +0 -0
  600. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_peer_service_reply.py +0 -0
  601. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_postcompact_recall.py +0 -0
  602. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_process_liveness.py +0 -0
  603. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_protocol_handler.py +0 -0
  604. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_providers_isolation.py +0 -0
  605. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_ratify_command.py +0 -0
  606. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_readme_claims_no_gateway_default.py +0 -0
  607. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_repl_caller_convention.py +0 -0
  608. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_schedule_command.py +0 -0
  609. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_scrub.py +0 -0
  610. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_security.py +0 -0
  611. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_service_app.py +0 -0
  612. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_service_command.py +0 -0
  613. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_service_providers.py +0 -0
  614. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_session_bridge_inject.py +0 -0
  615. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_session_bridge_probe.py +0 -0
  616. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_session_bridge_resolve.py +0 -0
  617. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_session_path_role_gate.py +0 -0
  618. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_shipped_units_match_the_cli.py +0 -0
  619. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_smoke_chat.py +0 -0
  620. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_smoke_one_shot.py +0 -0
  621. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_smoke_phase_5_5.py +0 -0
  622. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_base_hoist.py +0 -0
  623. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_command.py +0 -0
  624. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_identity_stamp.py +0 -0
  625. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_live_pin.py +0 -0
  626. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_mitosis_lineage.py +0 -0
  627. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_os_user.py +0 -0
  628. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_tmux_session.py +0 -0
  629. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_spawn_windows_relaunch.py +0 -0
  630. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_subprocess_decode_encoding.py +0 -0
  631. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_timeline_command.py +0 -0
  632. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_tmux_wake_runstate_defer.py +0 -0
  633. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_tmux_wake_session_reanchor.py +0 -0
  634. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_tmux_wake_stale.py +0 -0
  635. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_tmux_wake_submit_verify.py +0 -0
  636. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_token_file_one_parser.py +0 -0
  637. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_token_precedence_explicit_first.py +0 -0
  638. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_unified_token_resolver.py +0 -0
  639. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_version_command.py +0 -0
  640. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_version_consistency.py +0 -0
  641. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_vibe_membrane.py +0 -0
  642. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog.py +0 -0
  643. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_dm_wake.py +0 -0
  644. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_dm_wake_cooldown.py +0 -0
  645. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_dm_wake_wiring.py +0 -0
  646. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_emit_health.py +0 -0
  647. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_install_flags.py +0 -0
  648. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_model_rung.py +0 -0
  649. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_watchdog_stale_peers.py +0 -0
  650. {swarph_cli-0.85.0 → swarph_cli-0.86.0}/tests/test_windows_waker_installer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: swarph-cli
3
- Version: 0.85.0
3
+ Version: 0.86.0
4
4
  Summary: The `swarph` binary — a multi-LLM CLI and mesh-gateway client + bundled server (`swarph gateway`): one-shot prompts across providers, interactive `chat`, multi-provider `spawn` (claude/codex/antigravity via a ProviderMembrane with subprocess billing-scrub), `mesh` send/inbox/register, `brain-ask` over the swarph-brain (gbrain) semantic memory, git-backed `assisted_memory`, per-invocation `gh` identity routing, a silent DM-wake hook, session `import`, and a stranded-session `watchdog`.
5
5
  Author: Pierre Samson, Claude Opus
6
6
  License: MIT
@@ -12,12 +12,14 @@ Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: MacOS
15
16
  Classifier: Operating System :: POSIX :: Linux
16
17
  Classifier: Programming Language :: Python :: 3
17
18
  Classifier: Programming Language :: Python :: 3.10
18
19
  Classifier: Programming Language :: Python :: 3.11
19
20
  Classifier: Programming Language :: Python :: 3.12
20
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
21
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
24
  Classifier: Topic :: Utilities
23
25
  Requires-Python: >=3.10
@@ -43,6 +45,7 @@ Requires-Dist: uvicorn[standard]>=0.32; extra == "gateway"
43
45
  Requires-Dist: pydantic>=2.9; extra == "gateway"
44
46
  Requires-Dist: croniter>=6.2; extra == "gateway"
45
47
  Requires-Dist: PyJWT[crypto]>=2.8; extra == "gateway"
48
+ Requires-Dist: rfc8785==0.1.4; extra == "gateway"
46
49
  Provides-Extra: service
47
50
  Requires-Dist: fastapi>=0.115; extra == "service"
48
51
  Requires-Dist: uvicorn[standard]>=0.32; extra == "service"
@@ -380,7 +383,7 @@ $ swarph codegraph "cron expression validator" --json --limit 5
380
383
 
381
384
  It queries a locally-built index at `~/.swarph/codegraph/index.db` (override with `--index` or `SWARPH_CODEGRAPH_INDEX`); the index is built out-of-band from your repos (tree-sitter → SQLite FTS5, BM25-ranked). If no index is present the verb simply returns no matches — it never touches the network and never reads code it wasn't pointed at. Results are scoped by an owner-allowlist gate (`--caller-cell` / `SWARPH_CELL`, default: your cell): public repos are always visible; private repos are visible to the owning cell.
382
385
 
383
- The same capability is exposed as an **MCP tool** — running `swarph mcp-server` publishes `swarph_codegraph_query` alongside `swarph_search`/`swarph_add`/`swarph_describe` (and the mesh DM tools `swarph_dm_unread`, which returns every unread DM with full bodies in one call without marking them read; `swarph_dm_reply`, which replies by message id and marks that message read; and `swarph_dm_thread`, which returns a DM's whole conversation), so any MCP host's agent auto-discovers it and can reach for code-structure lookups while reading, writing, or debugging code. (Why a tool and not an always-on retrieval lane? Because *intent* to consult code structure lives with the calling agent — which already knows it's working on code — not in a similarity score.)
386
+ The same capability is exposed as an **MCP tool** — running `swarph mcp-server` publishes `swarph_codegraph_query` alongside `swarph_search`/`swarph_add`/`swarph_describe` (and the mesh DM tools `swarph_dm_unread`, which returns every unread DM with full bodies in one call without marking them read; `swarph_dm_reply`, which replies by message id and marks that message read; and `swarph_dm_thread`, which returns a DM's whole conversation), and `swarph_ask_commander`, which proposes a decision with options to the commander as this cell and can neither decide, withdraw nor read requests, so any MCP host's agent auto-discovers it and can reach for code-structure lookups while reading, writing, or debugging code. (Why a tool and not an always-on retrieval lane? Because *intent* to consult code structure lives with the calling agent — which already knows it's working on code — not in a similarity score.)
384
387
 
385
388
  ### MCP tools through a cell proxy
386
389
 
@@ -451,6 +454,30 @@ $ swarph gateway serve --host 100.x.y.z --port 8788 # expose on a tailnet IP
451
454
 
452
455
  `--token` sets the bearer (`MESH_GATEWAY_TOKEN`) for the served process; omit it and an existing env token is used, or a fresh one is minted and printed once so you can hand it to the mesh cells. `--db PATH` points the gateway at a specific SQLite file (`MESH_DB_PATH`). Run without the extra and the verb prints a `pip install "swarph-cli[gateway]"` hint and exits.
453
456
 
457
+ #### Commander queue and cockpit (card #1645)
458
+
459
+ The gateway hosts the **commander request queue** (`/commander/requests`, card #1297) and the **cockpit** (card #1630): cells propose a `decision` (a question with up to 6 options) from their per-peer token, the commander answers it, and a scoped `swck_` **cockpit credential** lets a small client (for example a desktop or mobile cockpit) read the queue and answer the questions that do not need the SSO session. The wire contract is card #1630 Appendix A with A.1-A.4 (list, detail and decide are byte-identical to the deployed mesh-gateway). The **request row is the record** of a decision; the DM the proposer receives (`from_node=commander`, kind `answer`) is a doorbell, not the record. Peer names and every `from_node` must be kebab-case (`^[a-z][a-z0-9-]{0,62}[a-z0-9]$`, 422 otherwise; new in this release for `swarph gateway serve`), and the name `commander` can neither register nor post a message: only the gateway writes it.
460
+
461
+ **The queue is off until you name a commander.** With `META_EDGE_COMMANDER_SUB` unset, all eight `/commander/*` routes answer `503 {"error":"commander_not_configured"}`. The commander is the holder of a verified RS256 identity JWT whose `sub` equals that value: a peer token, the shared token and a `cell-join` JWT are never the commander. **Decisions only:** `merge_pr` and `release_finish` are refused with `400 {"error":"action_not_supported","type":...}`; this gateway has no merger and no release executor. A `card_id` is refused with 404 (no board here).
462
+
463
+ **Run your own gateway as commander with your own RS256 key** (the only supported way for a third party; the swarph meta-edge issuer is not offered as a root for someone else's commander):
464
+
465
+ ```bash
466
+ $ openssl genrsa -out commander.pem 2048 && openssl rsa -in commander.pem -pubout -out commander.pub # private key stays OFF the gateway box
467
+ $ export META_EDGE_PUBLIC_KEY_FILE=$PWD/commander.pub META_EDGE_ISSUER=my-gateway META_EDGE_AUDIENCE=swarph-gateway
468
+ $ export META_EDGE_COMMANDER_SUB=julien # the sub you will sign
469
+ $ swarph gateway serve --host 100.x.y.z
470
+ # on your own machine, sign a short-lived identity JWT (any RS256 signer; PyJWT shown)
471
+ $ python -c 'import jwt,time; print(jwt.encode({"iss":"my-gateway","aud":"swarph-gateway","sub":"julien","iat":int(time.time()),"exp":int(time.time())+900}, open("commander.pem").read(), algorithm="RS256"))'
472
+ $ curl -s -X POST http://100.x.y.z:8788/commander/cockpit-credential -H "Authorization: Bearer $JWT" -H 'Content-Type: application/json' -d '{}' # 201 {credential, credential_id, expires_at}, shown once
473
+ ```
474
+
475
+ Cap `exp` (minutes, not days: the gateway requires `exp`, `iss`, `aud` and `sub` and pins RS256). **Revocation is replacing the key file**: a new `commander.pub` invalidates every JWT signed with the old private key at the next request (the key is read per request; no restart). A cell gets the per-peer token that `POST /commander/requests` needs from `POST /peers/register` on a fresh gateway (zero ratified peers) or by `swarph onboard`. The optional static `MESH_GATEWAY_COMMANDER_TOKEN` can read all rows, post a result and revoke the cockpit credential; it can never decide or mint, and when it equals `MESH_GATEWAY_TOKEN` it counts as unset.
476
+
477
+ **Mint without an issuer:** `swarph gateway cockpit-credential mint|revoke [--db PATH]` writes the same row as the HTTP mint (SHA-256 only, one active credential, 30-day expiry) by a local database write on the gateway box. Like `bootstrap-ratify` it refuses without a tty and a typed `yes`, and it refuses a database whose schema version is above 12 (another gateway's database). The credential is printed once to stdout and logged nowhere.
478
+
479
+ Cockpit limits worth knowing: a `swck_` bearer on any route other than `GET /commander/requests`, `GET /commander/requests/{id}` and `POST /commander/requests/{id}/decide` gets `403 {"error":"cockpit_not_allowed"}` before any lookup; `decide` requires the row's `digest` (SHA-256 over the RFC 8785 bytes of `{"id","type","params"}`, pinned to `rfc8785==0.1.4`) and refuses a stale one with `409 {"error":"digest_mismatch"}`. Two limits on byte-identity with the deployed gateway: a body with no `decision` field gets FastAPI's 422, whose body follows the installed pydantic; and on Python 3.10 the mint's `expires_at` fraction must have 0, 3 or 6 digits (`datetime.fromisoformat` before 3.11), otherwise `400 bad_expires_at`.
480
+
454
481
  ### `swarph service`
455
482
 
456
483
  Turn a *subscription* LLM CLI into a **$0 HTTP lane** the mesh can call — `swarph service serve --provider <claude|codex|gemini>` runs a small FastAPI app exposing `POST /delegate` (bearer-authed) + `GET /health`:
@@ -329,7 +329,7 @@ $ swarph codegraph "cron expression validator" --json --limit 5
329
329
 
330
330
  It queries a locally-built index at `~/.swarph/codegraph/index.db` (override with `--index` or `SWARPH_CODEGRAPH_INDEX`); the index is built out-of-band from your repos (tree-sitter → SQLite FTS5, BM25-ranked). If no index is present the verb simply returns no matches — it never touches the network and never reads code it wasn't pointed at. Results are scoped by an owner-allowlist gate (`--caller-cell` / `SWARPH_CELL`, default: your cell): public repos are always visible; private repos are visible to the owning cell.
331
331
 
332
- The same capability is exposed as an **MCP tool** — running `swarph mcp-server` publishes `swarph_codegraph_query` alongside `swarph_search`/`swarph_add`/`swarph_describe` (and the mesh DM tools `swarph_dm_unread`, which returns every unread DM with full bodies in one call without marking them read; `swarph_dm_reply`, which replies by message id and marks that message read; and `swarph_dm_thread`, which returns a DM's whole conversation), so any MCP host's agent auto-discovers it and can reach for code-structure lookups while reading, writing, or debugging code. (Why a tool and not an always-on retrieval lane? Because *intent* to consult code structure lives with the calling agent — which already knows it's working on code — not in a similarity score.)
332
+ The same capability is exposed as an **MCP tool** — running `swarph mcp-server` publishes `swarph_codegraph_query` alongside `swarph_search`/`swarph_add`/`swarph_describe` (and the mesh DM tools `swarph_dm_unread`, which returns every unread DM with full bodies in one call without marking them read; `swarph_dm_reply`, which replies by message id and marks that message read; and `swarph_dm_thread`, which returns a DM's whole conversation), and `swarph_ask_commander`, which proposes a decision with options to the commander as this cell and can neither decide, withdraw nor read requests, so any MCP host's agent auto-discovers it and can reach for code-structure lookups while reading, writing, or debugging code. (Why a tool and not an always-on retrieval lane? Because *intent* to consult code structure lives with the calling agent — which already knows it's working on code — not in a similarity score.)
333
333
 
334
334
  ### MCP tools through a cell proxy
335
335
 
@@ -400,6 +400,30 @@ $ swarph gateway serve --host 100.x.y.z --port 8788 # expose on a tailnet IP
400
400
 
401
401
  `--token` sets the bearer (`MESH_GATEWAY_TOKEN`) for the served process; omit it and an existing env token is used, or a fresh one is minted and printed once so you can hand it to the mesh cells. `--db PATH` points the gateway at a specific SQLite file (`MESH_DB_PATH`). Run without the extra and the verb prints a `pip install "swarph-cli[gateway]"` hint and exits.
402
402
 
403
+ #### Commander queue and cockpit (card #1645)
404
+
405
+ The gateway hosts the **commander request queue** (`/commander/requests`, card #1297) and the **cockpit** (card #1630): cells propose a `decision` (a question with up to 6 options) from their per-peer token, the commander answers it, and a scoped `swck_` **cockpit credential** lets a small client (for example a desktop or mobile cockpit) read the queue and answer the questions that do not need the SSO session. The wire contract is card #1630 Appendix A with A.1-A.4 (list, detail and decide are byte-identical to the deployed mesh-gateway). The **request row is the record** of a decision; the DM the proposer receives (`from_node=commander`, kind `answer`) is a doorbell, not the record. Peer names and every `from_node` must be kebab-case (`^[a-z][a-z0-9-]{0,62}[a-z0-9]$`, 422 otherwise; new in this release for `swarph gateway serve`), and the name `commander` can neither register nor post a message: only the gateway writes it.
406
+
407
+ **The queue is off until you name a commander.** With `META_EDGE_COMMANDER_SUB` unset, all eight `/commander/*` routes answer `503 {"error":"commander_not_configured"}`. The commander is the holder of a verified RS256 identity JWT whose `sub` equals that value: a peer token, the shared token and a `cell-join` JWT are never the commander. **Decisions only:** `merge_pr` and `release_finish` are refused with `400 {"error":"action_not_supported","type":...}`; this gateway has no merger and no release executor. A `card_id` is refused with 404 (no board here).
408
+
409
+ **Run your own gateway as commander with your own RS256 key** (the only supported way for a third party; the swarph meta-edge issuer is not offered as a root for someone else's commander):
410
+
411
+ ```bash
412
+ $ openssl genrsa -out commander.pem 2048 && openssl rsa -in commander.pem -pubout -out commander.pub # private key stays OFF the gateway box
413
+ $ export META_EDGE_PUBLIC_KEY_FILE=$PWD/commander.pub META_EDGE_ISSUER=my-gateway META_EDGE_AUDIENCE=swarph-gateway
414
+ $ export META_EDGE_COMMANDER_SUB=julien # the sub you will sign
415
+ $ swarph gateway serve --host 100.x.y.z
416
+ # on your own machine, sign a short-lived identity JWT (any RS256 signer; PyJWT shown)
417
+ $ python -c 'import jwt,time; print(jwt.encode({"iss":"my-gateway","aud":"swarph-gateway","sub":"julien","iat":int(time.time()),"exp":int(time.time())+900}, open("commander.pem").read(), algorithm="RS256"))'
418
+ $ curl -s -X POST http://100.x.y.z:8788/commander/cockpit-credential -H "Authorization: Bearer $JWT" -H 'Content-Type: application/json' -d '{}' # 201 {credential, credential_id, expires_at}, shown once
419
+ ```
420
+
421
+ Cap `exp` (minutes, not days: the gateway requires `exp`, `iss`, `aud` and `sub` and pins RS256). **Revocation is replacing the key file**: a new `commander.pub` invalidates every JWT signed with the old private key at the next request (the key is read per request; no restart). A cell gets the per-peer token that `POST /commander/requests` needs from `POST /peers/register` on a fresh gateway (zero ratified peers) or by `swarph onboard`. The optional static `MESH_GATEWAY_COMMANDER_TOKEN` can read all rows, post a result and revoke the cockpit credential; it can never decide or mint, and when it equals `MESH_GATEWAY_TOKEN` it counts as unset.
422
+
423
+ **Mint without an issuer:** `swarph gateway cockpit-credential mint|revoke [--db PATH]` writes the same row as the HTTP mint (SHA-256 only, one active credential, 30-day expiry) by a local database write on the gateway box. Like `bootstrap-ratify` it refuses without a tty and a typed `yes`, and it refuses a database whose schema version is above 12 (another gateway's database). The credential is printed once to stdout and logged nowhere.
424
+
425
+ Cockpit limits worth knowing: a `swck_` bearer on any route other than `GET /commander/requests`, `GET /commander/requests/{id}` and `POST /commander/requests/{id}/decide` gets `403 {"error":"cockpit_not_allowed"}` before any lookup; `decide` requires the row's `digest` (SHA-256 over the RFC 8785 bytes of `{"id","type","params"}`, pinned to `rfc8785==0.1.4`) and refuses a stale one with `409 {"error":"digest_mismatch"}`. Two limits on byte-identity with the deployed gateway: a body with no `decision` field gets FastAPI's 422, whose body follows the installed pydantic; and on Python 3.10 the mint's `expires_at` fraction must have 0, 3 or 6 digits (`datetime.fromisoformat` before 3.11), otherwise `400 bad_expires_at`.
426
+
403
427
  ### `swarph service`
404
428
 
405
429
  Turn a *subscription* LLM CLI into a **$0 HTTP lane** the mesh can call — `swarph service serve --provider <claude|codex|gemini>` runs a small FastAPI app exposing `POST /delegate` (bearer-authed) + `GET /health`:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "swarph-cli"
7
- version = "0.85.0"
7
+ version = "0.86.0"
8
8
  description = "The `swarph` binary — a multi-LLM CLI and mesh-gateway client + bundled server (`swarph gateway`): one-shot prompts across providers, interactive `chat`, multi-provider `spawn` (claude/codex/antigravity via a ProviderMembrane with subprocess billing-scrub), `mesh` send/inbox/register, `brain-ask` over the swarph-brain (gbrain) semantic memory, git-backed `assisted_memory`, per-invocation `gh` identity routing, a silent DM-wake hook, session `import`, and a stranded-session `watchdog`."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
@@ -19,12 +19,14 @@ classifiers = [
19
19
  "Environment :: Console",
20
20
  "Intended Audience :: Developers",
21
21
  "License :: OSI Approved :: MIT License",
22
+ "Operating System :: MacOS",
22
23
  "Operating System :: POSIX :: Linux",
23
24
  "Programming Language :: Python :: 3",
24
25
  "Programming Language :: Python :: 3.10",
25
26
  "Programming Language :: Python :: 3.11",
26
27
  "Programming Language :: Python :: 3.12",
27
28
  "Programming Language :: Python :: 3.13",
29
+ "Programming Language :: Python :: 3.14",
28
30
  "Topic :: Software Development :: Libraries :: Python Modules",
29
31
  "Topic :: Utilities",
30
32
  ]
@@ -117,6 +119,9 @@ gateway = [
117
119
  # B1 Meta-Edge identity: verify RS256 SSO JWTs (the gateway TRUSTS, never
118
120
  # signs). [crypto] pulls in `cryptography` for RSA signature verification.
119
121
  "PyJWT[crypto]>=2.8",
122
+ # card #1645: JCS (RFC 8785) bytes are the commander queue's digest contract;
123
+ # the exact pin matches mesh-gateway and swarph-desktop.
124
+ "rfc8785==0.1.4",
120
125
  ]
121
126
  # `swarph service serve` stands up a $0 subscription-LLM HTTP lane. Same
122
127
  # FastAPI/uvicorn stack as the gateway, behind its own extra so the core
@@ -16,6 +16,6 @@ The architecture splits CLI from substrate so:
16
16
 
17
17
  from __future__ import annotations
18
18
 
19
- __version__ = "0.85.0"
19
+ __version__ = "0.86.0"
20
20
 
21
21
  __all__ = ["__version__"]
@@ -12,12 +12,14 @@ from __future__ import annotations
12
12
 
13
13
  import argparse
14
14
  import json
15
+ import re
15
16
  import sys
16
17
  import urllib.error
17
18
  import urllib.parse
18
19
  import urllib.request
19
20
 
20
21
  from swarph_cli.commands import mesh as mesh_cmd
22
+ from swarph_cli.redact import redact_text
21
23
 
22
24
 
23
25
  def ask_body(question: str, options: list[str], card: int | None) -> dict:
@@ -39,6 +41,84 @@ def request_body(kind: str, *, repo: str | None, pr: int | None,
39
41
  return body
40
42
 
41
43
 
44
+ def post_request(gateway: str, token: str, body: dict) -> tuple[int, dict]:
45
+ """The one POST that proposes to the commander queue, shared by the CLI and MCP."""
46
+ return mesh_cmd._post_json(f"{gateway.rstrip('/')}/commander/requests", body, token)
47
+
48
+
49
+ def confirmed_id(payload) -> int | None:
50
+ """The queue id of an accepted proposal, or None when a 2xx reply carries no
51
+ integer id (200 with an empty object, a list, a null or string id). That is
52
+ not a confirmation. bool is an int subclass, so it is refused by type."""
53
+ rid = payload.get("id") if isinstance(payload, dict) else None
54
+ return rid if type(rid) is int else None
55
+
56
+
57
+ def unconfirmed(status: int) -> str:
58
+ return f"gateway {status} returned no request id; the proposal is not confirmed"
59
+
60
+
61
+ # The gateway's request statuses (mesh-gateway 4989daa, server.py): pending 4040,
62
+ # answered 4133, approved 4135, rejected 4137, executed/failed/stale 4165,
63
+ # withdrawn 4212. All are short lowercase words, so one pattern admits them and
64
+ # a future status; anything else in a reply is never echoed.
65
+ _STATUS_WORD = re.compile(r"[a-z][a-z_]{0,23}")
66
+
67
+
68
+ def scrub_token(text: str, token, k: int = 8) -> str:
69
+ """Replace every run of k or more characters that is a substring of the caller's
70
+ token (raw or url-quoted). A fragment of a credential is still a credential, and
71
+ redact_text only knows whole-token shapes, so it cannot be left to that."""
72
+ if not isinstance(token, str) or len(token) < k:
73
+ return text
74
+ forms = (token, urllib.parse.quote(token, safe=""))
75
+ hit = [False] * len(text)
76
+ for i in range(len(text) - k + 1):
77
+ if any(text[i:i + k] in form for form in forms):
78
+ hit[i:i + k] = [True] * k # any longer match is covered by its k-windows
79
+ out, prev = [], False
80
+ for ch, h in zip(text, hit):
81
+ if not h:
82
+ out.append(ch)
83
+ elif not prev:
84
+ out.append("[REDACTED]")
85
+ prev = h
86
+ return "".join(out)
87
+
88
+
89
+ def safe_status(value, token=""):
90
+ """A reply's status as it may be shown: a short lowercase word that carries no
91
+ fragment of the caller's token. A missing or null status is "None", which is what
92
+ `swarph commander ask` printed before; any other value is "unknown", never echoed."""
93
+ if value is None:
94
+ return "None"
95
+ ok = isinstance(value, str) and _STATUS_WORD.fullmatch(value) and scrub_token(value, token) == value
96
+ return value if ok else "unknown"
97
+
98
+
99
+ # token_urlsafe(32) is 43 characters of upper, lower and digits. Gateway text has no
100
+ # such run of 24 or more, so one is treated as a credential even when it is not ours.
101
+ # shortcut: a foreign token cut shorter than 24, or all-lowercase hex, is not recognised;
102
+ # redact_text still covers the Bearer and key=value shapes.
103
+ _TOKEN_RUN = re.compile(r"[A-Za-z0-9_-]{24,}")
104
+
105
+
106
+ def _mask_credential_like(m: re.Match) -> str:
107
+ run = m.group(0)
108
+ kinds = (any(c.isupper() for c in run), any(c.islower() for c in run), any(c.isdigit() for c in run))
109
+ return "[REDACTED]" if all(kinds) else run
110
+
111
+
112
+ def safe_text(text: str, token) -> str:
113
+ """Gateway-supplied text as it may be shown on one line: non-printable characters
114
+ removed (an escape or a line break could forge a line), no fragment of the caller's
115
+ own token (scrub_token), no credential-like run, then the secret shapes redact_text
116
+ knows. Ordinary text passes through unchanged."""
117
+ text = "".join(ch for ch in text if ch.isprintable())
118
+ text = _TOKEN_RUN.sub(_mask_credential_like, scrub_token(text, token))
119
+ return redact_text(text, caller="commander") or ""
120
+
121
+
42
122
  def _build_parser() -> argparse.ArgumentParser:
43
123
  p = argparse.ArgumentParser(prog="swarph commander")
44
124
  sub = p.add_subparsers(dest="command", required=True)
@@ -94,15 +174,30 @@ def fetch_scope(scope: str, token: str, gateway: str) -> tuple[int, dict]:
94
174
  return 0, {"detail": str(exc)}
95
175
 
96
176
 
97
- def render_check(rows: list) -> tuple[int, str, str]:
98
- """Exit code, stdout, stderr. Active prints id, text and granted_at."""
177
+ _TIMESTAMP = re.compile(r"\d{4}-\d{2}-\d{2}[T ]\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?(Z|[+-]\d{2}:?\d{2})?")
178
+
179
+
180
+ def _row_id(row) -> int | None:
181
+ rid = row.get("id")
182
+ return rid if type(rid) is int else None
183
+
184
+
185
+ def render_check(rows: list, token="") -> tuple[int, str, str]:
186
+ """Exit code, stdout, stderr. Active prints id, text and granted_at. The output is
187
+ key=value lines that scripts read, so every value is one safe line: an integer id,
188
+ text through safe_text, a timestamp-shaped granted_at (a missing value as before)."""
99
189
  active = [row for row in rows if row.get("status") == "active"]
100
190
  if active:
101
- row = max(active, key=lambda item: item.get("id") or 0)
191
+ row = max(active, key=lambda item: _row_id(item) or 0)
192
+ rid, granted = row.get("id"), row.get("granted_at") or ""
193
+ if rid is not None and _row_id(row) is None:
194
+ rid = "unknown"
195
+ if granted and not (isinstance(granted, str) and _TIMESTAMP.fullmatch(granted)):
196
+ granted = "unknown"
102
197
  stdout = (
103
- f"id={row.get('id')}\n"
104
- f"text={row.get('text') or ''}\n"
105
- f"granted_at={row.get('granted_at') or ''}\n"
198
+ f"id={rid}\n"
199
+ f"text={safe_text(str(row.get('text') or ''), token)}\n"
200
+ f"granted_at={granted}\n"
106
201
  )
107
202
  return 0, stdout, ""
108
203
  if any(row.get("status") == "revoked" for row in rows):
@@ -127,7 +222,7 @@ def _check(args) -> int:
127
222
  if status != 200 or not isinstance(body, dict):
128
223
  print("swarph commander: authorization check failed", file=sys.stderr)
129
224
  return 1
130
- code, stdout, stderr = render_check(body.get("authorizations") or [])
225
+ code, stdout, stderr = render_check(body.get("authorizations") or [], token)
131
226
  if stdout:
132
227
  sys.stdout.write(stdout)
133
228
  if stderr:
@@ -163,10 +258,14 @@ def run_commander(argv: list[str]) -> int:
163
258
  return 2
164
259
  body = request_body(args.type, repo=args.repo, pr=args.pr, head=args.head,
165
260
  version=args.version, card=args.card)
166
- status, payload = mesh_cmd._post_json(f"{gw}/commander/requests", body, token)
261
+ status, payload = post_request(gw, token, body)
167
262
  if status in (200, 201):
168
- print(f"commander request #{payload.get('id')} {payload.get('status')}")
263
+ rid = confirmed_id(payload)
264
+ if rid is None:
265
+ print(f"swarph commander: {unconfirmed(status)}", file=sys.stderr)
266
+ return 1
267
+ print(f"commander request #{rid} {safe_status(payload.get('status'), token)}")
169
268
  return 0
170
269
  detail = payload.get("detail") if isinstance(payload, dict) else payload
171
- print(f"swarph commander: {detail}", file=sys.stderr)
270
+ print(safe_text(f"swarph commander: {detail}", token), file=sys.stderr)
172
271
  return 1
@@ -25,6 +25,11 @@ an explicit, audited act by the human commander on the gateway box, not a
25
25
  migration accident. It self-destroys: it refuses when any ratified peer
26
26
  already exists.
27
27
 
28
+ ``cockpit-credential mint|revoke`` (card #1645) is the same shape: a local,
29
+ audited, human-only write to the ``cockpit_credentials`` table, for a
30
+ commander who runs no RS256 issuer. It refuses a database whose schema
31
+ version is above 12, so it can never mint on a mesh-gateway database.
32
+
28
33
  Bare ``swarph gateway`` prints help.
29
34
  """
30
35
 
@@ -32,12 +37,17 @@ from __future__ import annotations
32
37
 
33
38
  import argparse
34
39
  import getpass
40
+ import hashlib
35
41
  import os
36
42
  import secrets
37
43
  import socket
38
44
  import sqlite3
39
45
  import sys
40
- from datetime import datetime, timezone
46
+ from datetime import datetime, timedelta, timezone
47
+
48
+ # The fork's own schema numbers end at 12; a higher number is another gateway's
49
+ # database (mesh-gateway stamps 13 and up), where this verb must never write.
50
+ _FORK_SCHEMA_MAX = 12
41
51
 
42
52
 
43
53
  def _build_parser() -> argparse.ArgumentParser:
@@ -91,6 +101,19 @@ def _build_parser() -> argparse.ArgumentParser:
91
101
  default=None,
92
102
  help="extra audit text appended to the bootstrap reason",
93
103
  )
104
+
105
+ cockpit = sub.add_parser(
106
+ "cockpit-credential",
107
+ help="mint or revoke the cockpit credential by a local DB write "
108
+ "(human commander on the gateway box, audited; card #1645)",
109
+ )
110
+ cockpit.add_argument("action", choices=("mint", "revoke"))
111
+ cockpit.add_argument(
112
+ "--db",
113
+ default=None,
114
+ help="path to the gateway SQLite DB (default: $MESH_DB_PATH or "
115
+ "~/.swarph/mesh.db)",
116
+ )
94
117
  return p
95
118
 
96
119
 
@@ -100,6 +123,7 @@ def _serve(args: argparse.Namespace) -> int:
100
123
  # install hint instead of a traceback.
101
124
  try:
102
125
  import fastapi # noqa: F401
126
+ import rfc8785 # noqa: F401 # card #1645: the queue's digest bytes
103
127
  import uvicorn # noqa: F401
104
128
  except ImportError:
105
129
  sys.stderr.write(
@@ -263,6 +287,97 @@ def _bootstrap_ratify(args: argparse.Namespace) -> int:
263
287
  return 0
264
288
 
265
289
 
290
+ def _cockpit_credential(args: argparse.Namespace) -> int:
291
+ """card #1645 (Q1, fold F3): mint or revoke the cockpit credential locally.
292
+
293
+ Same row as the HTTP mint (hash only, one active credential, 30-day
294
+ expiry), same gates as bootstrap-ratify (a tty and a typed 'yes'), and
295
+ one more: the database must be this fork's (schema version at most 12).
296
+ The raw value is printed ONCE to stdout and written nowhere else.
297
+ """
298
+ db_path = (
299
+ args.db
300
+ or os.environ.get("MESH_DB_PATH")
301
+ or os.path.expanduser("~/.swarph/mesh.db")
302
+ )
303
+ verb = f"swarph gateway cockpit-credential {args.action}"
304
+ if not os.path.exists(db_path):
305
+ sys.stderr.write(
306
+ f"{verb}: no gateway DB at {db_path}\n"
307
+ " Run this on the gateway box, or pass --db / set MESH_DB_PATH.\n"
308
+ )
309
+ return 2
310
+ conn = sqlite3.connect(db_path, isolation_level=None)
311
+ conn.row_factory = sqlite3.Row
312
+ try:
313
+ try:
314
+ version = conn.execute("SELECT MAX(version) FROM schema_version").fetchone()[0]
315
+ conn.execute("SELECT 1 FROM cockpit_credentials LIMIT 1")
316
+ except sqlite3.OperationalError as e:
317
+ sys.stderr.write(
318
+ f"{verb}: refusing — {db_path} has no cockpit table ({e}).\n"
319
+ " Start `swarph gateway serve` once at this version to apply the schema.\n"
320
+ )
321
+ return 2
322
+ if version is None or version > _FORK_SCHEMA_MAX:
323
+ sys.stderr.write(
324
+ f"{verb}: refusing — {db_path} is at schema v{version}, above "
325
+ f"v{_FORK_SCHEMA_MAX}: it belongs to another gateway, not to "
326
+ "`swarph gateway serve`.\n"
327
+ )
328
+ return 2
329
+ if not sys.stdin.isatty():
330
+ sys.stderr.write(
331
+ f"{verb}: refusing — this is the human commander's act.\n"
332
+ " Run it interactively on the gateway box (no pipes, no "
333
+ "scripts, no cells).\n"
334
+ )
335
+ return 2
336
+ operator = f"{getpass.getuser()}@{socket.gethostname()}"
337
+ active = conn.execute(
338
+ "SELECT credential_id FROM cockpit_credentials WHERE revoked_at IS NULL"
339
+ ).fetchone()
340
+ if args.action == "revoke" and active is None:
341
+ sys.stderr.write(f"{verb}: no active cockpit credential in {db_path}.\n")
342
+ return 2
343
+ print(f"Cockpit credential {args.action} on {db_path}:")
344
+ if active is not None:
345
+ print(f" - revokes the active credential {active['credential_id']}")
346
+ if args.action == "mint":
347
+ print(" - mints a new credential (30-day expiry), stores its SHA-256 only,"
348
+ " prints the value once")
349
+ print(f" - performed by {operator}")
350
+ if input("Type 'yes' to confirm: ").strip().lower() != "yes":
351
+ print("aborted — nothing written.")
352
+ return 1
353
+ now = datetime.now(timezone.utc)
354
+ stamp = now.isoformat(timespec="microseconds")
355
+ conn.execute("BEGIN IMMEDIATE")
356
+ try:
357
+ conn.execute(
358
+ "UPDATE cockpit_credentials SET revoked_at=? WHERE revoked_at IS NULL", (stamp,))
359
+ if args.action == "mint":
360
+ raw = "swck_" + secrets.token_urlsafe(32)
361
+ credential_id = "ck_" + secrets.token_hex(4)
362
+ expiry = (now + timedelta(days=30)).isoformat(timespec="microseconds")
363
+ conn.execute(
364
+ "INSERT INTO cockpit_credentials VALUES(?,?,?,?,NULL,?)",
365
+ (credential_id, hashlib.sha256(raw.encode()).hexdigest(), stamp, expiry,
366
+ f"local:{operator}"))
367
+ conn.execute("COMMIT")
368
+ except Exception:
369
+ conn.execute("ROLLBACK")
370
+ raise
371
+ finally:
372
+ conn.close()
373
+ if args.action == "mint":
374
+ print(f"{credential_id} expires {expiry}. The credential, shown once:")
375
+ print(raw)
376
+ else:
377
+ print(f"{active['credential_id']} revoked at {stamp}.")
378
+ return 0
379
+
380
+
266
381
  def run_gateway(argv: list) -> int:
267
382
  """Entry point invoked by ``swarph_cli.main`` verb dispatch."""
268
383
  parser = _build_parser()
@@ -272,6 +387,8 @@ def run_gateway(argv: list) -> int:
272
387
  return _serve(args)
273
388
  if args.command == "bootstrap-ratify":
274
389
  return _bootstrap_ratify(args)
390
+ if args.command == "cockpit-credential":
391
+ return _cockpit_credential(args)
275
392
 
276
393
  # bare `swarph gateway` (no subcommand) — print help.
277
394
  parser.print_help()
@@ -16,7 +16,7 @@ A host mounts it with a stdio server entry, e.g. in ``.mcp.json`` /
16
16
  Alternatively, ``SWARPH_PROXY_SOCKET`` selects credential-free local proxy
17
17
  mode: no gateway URL is needed and the proxy supplies the peer identity.
18
18
 
19
- Nine tools are exposed, each backed by a plain, unit-testable helper so the
19
+ Ten tools are exposed, each backed by a plain, unit-testable helper so the
20
20
  tool LOGIC is tested without spinning up the stdio transport:
21
21
 
22
22
  * ``swarph_search(query)`` → :func:`_search` — metaedge.surf semantic search.
@@ -29,6 +29,8 @@ tool LOGIC is tested without spinning up the stdio transport:
29
29
  * ``swarph_timeline_navigate(op, ...)`` → :func:`_timeline_navigate` — deterministic
30
30
  OKF temporal navigation (range/around/since) over the git-backed timeline.
31
31
  * ``swarph_dm_unread/reply/thread`` — scoped DM reads, reply and acknowledgement.
32
+ * ``swarph_ask_commander(question, options, card)`` → :func:`_ask_commander` — propose
33
+ a decision (type=decision only) to the commander queue (card #1481, phase 1).
32
34
 
33
35
  The MCP Python SDK (``mcp``) is an OPTIONAL extra. :func:`run_mcp_server`
34
36
  fails gracefully with a ``pip install swarph-cli[mcp]`` hint when it's absent;
@@ -50,7 +52,7 @@ import urllib.request
50
52
  from swarph_cli import identity
51
53
  from swarph_cli.commands import add
52
54
  from swarph_cli.commands import codegraph
53
- from swarph_cli.commands import brain_ask, memory, timeline
55
+ from swarph_cli.commands import brain_ask, commander, memory, timeline
54
56
  from swarph_cli.commands import mesh as _mesh
55
57
  from swarph_cli import gateway_default
56
58
  from swarph_cli.gateway_default import env_gateway
@@ -637,6 +639,41 @@ def _dm_thread(message_id: int, self_name: str | None = None) -> dict:
637
639
  return _dm_error(f"{type(exc).__name__}: {exc}")
638
640
 
639
641
 
642
+ # --------------------------------------------------------------------------- #
643
+ # Commander ask — card #1481 phase 1: a cell PROPOSES a decision, nothing more.
644
+ # --------------------------------------------------------------------------- #
645
+ #
646
+ # One POST to /commander/requests with type=decision, built and sent by the same
647
+ # code as `swarph commander ask`. Deliberately absent, by spec (F2, item 7): any
648
+ # verb that decides, answers, withdraws, lists or reads results, and the typed
649
+ # merge_pr / release_finish requests the desktop executor acts on. The identity
650
+ # is the declared SWARPH_SELF, never an argument, so a cell proposes as itself.
651
+
652
+
653
+ def _ask_commander(question: str, options: list[str] | None = None, card: int | None = None) -> dict:
654
+ """Propose a decision to the commander. Success is {id, status}, the two fields
655
+ `swarph commander ask` prints. Any refusal (401, 403, 409, 503
656
+ commander_not_configured, 429, 422), a transport failure, or a 2xx reply with
657
+ no integer id is {"error": "...", "status": <int>}, never a success shape.
658
+ Never raises. The result never carries a gateway string beyond a short lowercase
659
+ status; error text has the caller's bearer and secret shapes removed."""
660
+ tok = ""
661
+ try:
662
+ _who, gw, tok = _dm_session()
663
+ # `swarph commander ask` strips and drops blank labels; keep labels whole.
664
+ body = commander.ask_body(question, [o.strip() for o in options or [] if o.strip()], card)
665
+ status, payload = commander.post_request(gw, tok, body)
666
+ if status in (200, 201):
667
+ rid = commander.confirmed_id(payload)
668
+ if rid is None: # a 2xx with no id proposed nothing
669
+ return {"error": commander.unconfirmed(status), "status": status}
670
+ return {"id": rid, "status": commander.safe_status(payload.get("status"), tok)}
671
+ detail = payload.get("detail", payload) if isinstance(payload, dict) else payload
672
+ return {"error": commander.safe_text(f"gateway {status}: {detail}", tok), "status": status}
673
+ except Exception as exc:
674
+ return {"error": commander.safe_text(f"{type(exc).__name__}: {exc}", tok)}
675
+
676
+
640
677
  # --------------------------------------------------------------------------- #
641
678
  # FastMCP server — thin @tool wrappers over the helpers above
642
679
  # --------------------------------------------------------------------------- #
@@ -765,6 +802,24 @@ try:
765
802
  """
766
803
  return _dm_thread(message_id)
767
804
 
805
+ @mcp.tool()
806
+ def swarph_ask_commander(question: str, options: list[str] | None = None,
807
+ card: int | None = None) -> dict:
808
+ """Ask the commander to decide, with options. This only PROPOSES: the
809
+ commander answers on the phone or the cockpit, and no tool here reads the
810
+ answer, decides, withdraws or lists requests.
811
+
812
+ question: the decision needed, at most 360 characters. options: the
813
+ choices to pick from, optional like the CLI's --options: 0 to 6 options of
814
+ at most 40 characters each (the deployed gateway's limits, mesh-gateway
815
+ commander_queue.py). card: the board card it concerns, optional. Posts as
816
+ this cell (SWARPH_SELF), type=decision.
817
+ Success is {id, status}. A refusal or failure is {"error": ..., "status":
818
+ N}: 401 bad token, 403 not allowed, 409 conflict, 429 too many open
819
+ questions, 503 commander_not_configured; so is a 2xx reply with no integer
820
+ id. An error is never a proposal."""
821
+ return _ask_commander(question, options, card)
822
+
768
823
  except ImportError as exc: # pragma: no cover - exercised only when SDK absent
769
824
  mcp = None
770
825
  _MCP_IMPORT_ERROR = exc
@@ -829,8 +884,8 @@ def run_mcp_server(argv) -> int:
829
884
  "Run an MCP (stdio) server exposing swarph_search / swarph_add / "
830
885
  "swarph_describe / swarph_codegraph_query / swarph_memory_navigate / "
831
886
  "swarph_timeline_navigate and the DM tools swarph_dm_unread / "
832
- "swarph_dm_reply / swarph_dm_thread (#735) so any MCP host's AI "
833
- "gets the swarph toolbelt."
887
+ "swarph_dm_reply / swarph_dm_thread (#735) and swarph_ask_commander "
888
+ "(#1481) so any MCP host's AI gets the swarph toolbelt."
834
889
  ),
835
890
  )
836
891
  parser.add_argument(