swarph-cli 0.86.0__tar.gz → 0.88.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.
- {swarph_cli-0.86.0/src/swarph_cli.egg-info → swarph_cli-0.88.0}/PKG-INFO +2 -1
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/README.md +1 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/pyproject.toml +3 -2
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/__init__.py +1 -1
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/board.py +57 -14
- swarph_cli-0.88.0/src/swarph_cli/commands/dev_bibliography.py +256 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/dev_extract.py +42 -11
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/join.py +24 -3
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/monitor.py +88 -2
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/onboard.py +2 -1
- swarph_cli-0.88.0/src/swarph_cli/commands/usage.py +176 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/guide/GUIDE.md +12 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/main.py +2 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/redact.py +147 -15
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scripts/wake_watchdog.py +691 -103
- swarph_cli-0.88.0/src/swarph_cli/usage/__init__.py +542 -0
- swarph_cli-0.88.0/src/swarph_cli/usage/codex.py +256 -0
- swarph_cli-0.88.0/src/swarph_cli/usage/opencode.py +210 -0
- swarph_cli-0.88.0/src/swarph_cli/usage/pools.json +43 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0/src/swarph_cli.egg-info}/PKG-INFO +2 -1
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli.egg-info/SOURCES.txt +17 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1256_commander_wake.py +5 -2
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1262_wake_followups.py +1 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1396_dev_extract.py +302 -0
- swarph_cli-0.88.0/tests/test_1445_opencode_usage.py +461 -0
- swarph_cli-0.88.0/tests/test_1445_usage_pools.py +851 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1582_join.py +90 -4
- swarph_cli-0.88.0/tests/test_1686_install_unit_darwin.py +192 -0
- swarph_cli-0.88.0/tests/test_1702_join_alias_and_handshake.py +184 -0
- swarph_cli-0.88.0/tests/test_1703_install_muse_mcp.py +151 -0
- swarph_cli-0.88.0/tests/test_1709_standalone_join.py +40 -0
- swarph_cli-0.88.0/tests/test_1711_linear_uri.py +583 -0
- swarph_cli-0.88.0/tests/test_1713_standalone_pins.py +123 -0
- swarph_cli-0.88.0/tests/test_1714_linear_jwt.py +568 -0
- swarph_cli-0.88.0/tests/test_1732_pass3_watchdog.py +217 -0
- swarph_cli-0.88.0/tests/test_1732_watchdog_idempotent.py +1353 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_648_install_unit.py +8 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_729_wake_watchdog.py +4 -1
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/LICENSE +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/setup.cfg +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/__main__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/backends.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/claude_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/codex_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/pack.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/prices.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/providers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/quality.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/refresh_prices.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/rules.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/runner.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/signal_score.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/bench/validate.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/caller.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/harden.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/lineage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/liveness.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/manifest.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/paths.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/capture/verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/cell.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/cell_wake.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/chain_token.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/channel.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/_content.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/_display.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/_gateway_client.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/add.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/bench.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/board_cost.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/board_merge_check.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/board_usage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/brain.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/brain_ask.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/cell.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/cell_probe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/cell_selfcheck.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/channel.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/chat.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/codegraph.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/codegraph_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/codex_hook_output.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/codex_waker.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/commander.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/committee.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/compress.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/daemon.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/dreaming.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/event.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/gateway.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/gh_route.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/group.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/guide.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/highlight.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/hook_interpreter.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/hook_output.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/hooks.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/import_session.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/init.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/install_codex_hooks.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/install_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/install_multiplexer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/install_opencode_plugin.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/install_postcompact_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/install_wake_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/lane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/mcp_server.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/memory.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/memory_emit_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/memory_sync.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/mesh.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/okf_links.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/peer_reply_drain.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/postcompact_hook_output.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/protocol_handler.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/proxy.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/ratify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/roster.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/rowclear_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/schedule.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/secret_guard.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/security.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/service.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/skunkworks.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/spawn.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/subscribe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/sweep.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/timeline.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/triage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/version.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/wake_hook_output.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commands/watchdog.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/commit_trailers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/compress/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/compress/levers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/compress/marker.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/compress/verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/console_safe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/delivery_queue.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dm_frame.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/candidates.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/clone.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/consolidate.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/enrich.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/index_check.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/measure.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/notify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/organize.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/probes.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/report.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/run.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/slm.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/store.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/transcripts.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/dreaming/verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/duplicate_session.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/escalation.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/commander_queue.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/feature_registry.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/lanes_control.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/schema.sql +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/server.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway/services_control.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gateway_default.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/gh_identity.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/identity.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-codex-outbox.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-codex-outbox.timer.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-monitor.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-proxy-monitor.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-proxy.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-watchdog.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd/swarph-watchdog.timer.plist +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/launchd_render.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/local_proxy.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/multiplexer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/operator/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/operator/__main__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/operator/api.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/operator/cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/operator/config.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/operator/fmt.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/orphan_daemons.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/pane_probe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/parsers/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/parsers/claude.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/opencode/plugin.js +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/_shim.cmd +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/postcompact-recall-grok.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/postcompact-recall.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit-antigravity.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit-claude.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit-grok.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/posttooluse-emit.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/posttooluse-recall.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/precompact-flag.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/preinvocation-recall-antigravity.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/payloads/postcompact/sessionstart-recall.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_executor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_executor_windows.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_reconciliation.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_reply_outbox.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_service_host.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_service_payload.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_service_reply.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/peer_staging.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/proxy_monitor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/proxy_routes.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/query_filters.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/quota_sync.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/rowclear.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scripts/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scripts/dm_notify_filter.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scripts/ensure_monitor.sh +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scripts/install_codex_waker_windows.ps1 +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scripts/install_monitor_task_windows.ps1 +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/scrub.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/service/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/service/app.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/service/providers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/session_bridge.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/shim_ledger.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/skills/i-have-adhd/LICENSE +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/skills/i-have-adhd/SKILL.md +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/source_text.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/stall_alert.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/codex-waker.default +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/peer-reply-drain.default +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-cell-wake@.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-codex-outbox@.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-codex-outbox@.timer +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-codex-waker@.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-codex-waker@.timer +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-monitor-reexec.path +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-monitor-reexec.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-monitor@.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-monitor@.service.d/zzzz-proxy20.conf +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-peer-reply-drain@.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-peer-reply-drain@.timer +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-proxy@.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-proxy@.socket +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-stuck-sweep.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-stuck-sweep.timer +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-triage.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-triage.timer +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-watchdog.default +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-watchdog.service +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/systemd/swarph-watchdog.timer +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/the_ten.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/timeline_paths.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/tokens.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/__init__.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/backend.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/job.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/owners.json +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/router.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/rows.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli/triage/sensor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli.egg-info/dependency_links.txt +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli.egg-info/entry_points.txt +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli.egg-info/requires.txt +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/src/swarph_cli.egg-info/top_level.txt +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1006_board_publisher.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1006_session_board.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1010_strand_only.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1013_spawn_channel.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1017_muse_tui.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1034_copy_mode.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1050_surrogate_wake.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1052_opencode_deaf.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1059_watchdog_unread_env.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1061_roster_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1064_stuck_sweep.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1065_release.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1066_quiet_wakes.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1068_structured_accept_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1071_quota_sync.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1073_triage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1073_triage_board.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1073_wheel_install.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1075_task_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1083_openai_decisions.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1144_cell_yaml_github.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1197_commander_taps.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1203_swarph_me_refusal.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1206_offer_question.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1214_egress.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1219_egress_probe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1221_quota_windows.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1222_maybe_start_cap.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1228_quota_reach.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1243_the_ten.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1248_ship_price_table.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_124_register_merge.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1250_price_cache.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1261_mcp_install.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1265_wake_note.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1269_triage_label.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_126_pending_from_complete.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1277_close_usage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1278_dreaming_reach.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1286_dm_unread_cursor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1297_commander.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1300_authorization_check.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1301_restart_skew.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1320_commit_trailers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1321_layered_redaction.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_132_ensure_monitor_state_dir.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1340_router_rollout.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1346_shell_string_gh.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1347_shell_depth_cap.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1353_obligation_release_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1385_duplicate_session_argv.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_138_memory_navigate.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_139_tool_probe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1405_skunkworks_basic.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1405_skunkworks_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1413_gemini_allowlist.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1427_membrane_workflow.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1436_dev_extract_freshness.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1452_rework1_engine.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1452_rework2_engine.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1452_rework3_engine.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1452_standing_wake_expiry.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1470_gh_router_fail_closed.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1472_redact_boundaries.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1476_gh_token_explicit_position.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1478_triage_dm.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1481_mcp_ask_commander.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1505_bench_no_redirect.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1513_json_allowlists.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1517_expected_state_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1517_stage_version_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1519_board_usage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1521_shim_ledger.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1522_board_schedules.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1523_subscribe_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1539_proxy_read_only.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1546_sensitive_content_workflow.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1547_sensitive_content_fail_closed.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1555_gh_identity_shell_tokenizer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1556_watchdog_ledger_outcome.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1557_gateway_socket.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1570_dreaming_consolidation.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1577_mesh_mint.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1577_mesh_mint_windows.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1588_multiline_heredoc.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1588_routing_work_budget.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1588_shell_contexts.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1609_price_isolation.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1611_mcp_proxy.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1612_cell_wake_hardening.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1613_cell_wake_pins.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1614_proxy_inbox.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1615_proxy_reply_size.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1618_proxy_bound_pin.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1642_r1_r2_chunk_pins.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1642_secret_guard_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1645_cockpit_credential_verb.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1645_commander_digest.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1645_commander_queue.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1678_secret_guard_r1_r4.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1684_ci_matrix_matches_classifiers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_1685_no_lab_defaults.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_183_card_anchor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_184_notify_honesty.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_201_win32_bash_refusal.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_cell_wake.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_cell_wake_unit.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_local_proxy.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_proxy_block_clear.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_proxy_block_deferred_ledger.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_proxy_monitor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_proxy_monitor_shrink.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_proxy_routes.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_20_proxy_templates.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_243_onboard_per_peer_token.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_307_task4_ask_reply.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_312_codegraph_fuzzy_verb.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_3130_sender.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_3150_identity_router_install.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_319_refusal_exit_codes.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_323_mistral_backend.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_332_report_organize_findings.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_356_query_filters.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_397_gh_identity_router.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_397_router_preflight.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_402_one_identity_resolver.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_432_rowclear.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_467b_onboard_operator_credential.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_472_register_caller_binding.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_484_codex_queue_sink.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_513_duplicate_session.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_5190_dreaming_consent.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_523_guide.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_524_conftest_hermeticity.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_532_accept_flag.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_535_version_capability.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_538_signal_bench.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_546_default_gateway.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_547_verbs_from_registry.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_548_gateway_remainder.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_552_codegraph_gateway.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_555_relay_row_shape.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_556_relay_freshness.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_559_edges_truncated.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_564_bootstrap_first_peer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_578_no_machine_specific_host_defaults.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_579_register_bootstrap_message.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_591_cli_step_graph.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_644_monitor_supervision.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_654_reexec.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_656_owned_slm.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_684_dreaming_verb.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_689_pkg_version_order.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_715_grok_wake.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_716_timeline_one_path.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_723_grok_0251.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_724_ps1_ascii_or_bom.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_725_stdio_reconfigure.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_726_grok_limit_screen.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_729_arm_check_delivery_gap.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_729_dm_once.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_734_dreaming_enrich_degrade.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_735_dm_mcp_tools.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_739_wake_writer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_740_edit_project.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_762_cards_edit_priority.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_764_enrich_collapse.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_801_confirm_flow_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_802_stage_history.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_825_codegraph_hook_noise.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_825_install_posttooluse_only.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_825_remaining_cap_shred_bind.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_829_counterfactual_column.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_830_hook_binding_version.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_84_cli_labels.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_866_doctrine_guide.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_872_identity_refuses_not_warns.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_874_source_text.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_888_opencode_data_dir_can_fail.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_931_board_search.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_935_deadline_clock.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_937_dreaming_notify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_938_organize_line_limit.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_941_bench_backends.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_941_harness_342.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_945_same_line_pairing.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_955_prompt_audit.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_957_auth_http.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_959_venv_interpreter.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_960_channel.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_960_ensure_monitor_heartbeat.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_961_cursor_grok_footer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_961_loud_stop.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_963_plugin_manifest.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_964_channel_cell.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_965_mesh_wait.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_975_channel_hop.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_add_security_gate.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_add.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_hash.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_lib.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_mcp.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_skill.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_tool.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_artifact_uri.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_backends.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_claude_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_codex_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_pack.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_prices.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_quality.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_runner.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_bench_validate.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_board_card_thread.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_board_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_board_merge_check.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_board_obligation_close.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_brain_ask_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_brain_ask_env_diagnosis.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_brain_ask_identity_explicitness.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_brain_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_caller_meta_guard.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_capture_lineage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_capture_liveness.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_capture_manifest.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_capture_paths.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_capture_security.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_card_1540_tmp_cleanup.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cell_command_dispatch.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cell_harden.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cell_loader.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cell_selfcheck.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cell_selfcheck_env_guard.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cell_verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_chain_token.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_channel_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_channel_poll_never_breaks_dms.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_channel_post.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_channel_wake_policy_filter.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_chat_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_claude_parser.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_claude_tmux_template.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_codegraph_caller_scope.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_codegraph_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_codegraph_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_codegraph_mcp.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_codex_waker.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_committee_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_compress_caller_convention.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_compress_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_compress_levers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_compress_marker.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_compress_verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_console_encoding_e2e.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_content_composition.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_copilot_membrane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_copilot_pane_reader.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cursor_mcp_plugin.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_cursor_membrane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_daemon_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_daemon_console_encoding.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_daemon_delivery.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_delivery_queue.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_display_sanitize.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_ensure_monitor_no_peer_default.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_event_emit.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_feature_to_uri.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_gateway_brain.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_gateway_client.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_gateway_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_gateway_message_idempotency.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_gh_route_doctor_mesh_name.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_group_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_guide_commands_parse.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_guide_selfcheck.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_heartbeat_check.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_highlight_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hook_output.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_activity_marker.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_add.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_bundle.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_init.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_legacy_generation_removal.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_lifecycle.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_merge.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_win32_bash_wrapper.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_hooks_win32_command_path.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_import_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_inbox_identity_provenance.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_init_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_init_provider_menu.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_install_codex_hooks.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_install_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_install_multiplexer_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_install_postcompact_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_install_wake_hook.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_lane_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_launchd_units.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_main.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_main_unknown_verb_guard.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mcp_dm_identity.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mcp_missing_hint.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mcp_server.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_memory_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_memory_emit_snippet.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_memory_gateway.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_memory_sync.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_memory_sync_membrane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_inbox_mark_read.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_inbox_sanitize.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_originate_thread_623.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_send_unknown_peer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_sidecar.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_sidecar_cursor_decoupled.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_sidecar_muse_sink.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_mesh_sidecar_wake_survives_read.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_meta_edge_identity.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_monitor_channel_poll.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_monitor_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_monitor_daemon_collision.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_monitor_self_name_verification.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_monitor_state_split.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_multiplexer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_muse_membrane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_muse_own_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_obligation_close_is_surfaced.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_okf_links.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_onboard_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_opencode_membrane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_opencode_plugin.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_operator_me.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_orphan_daemons.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_packaged_artifacts_exist.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_packaged_skills.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_executor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_executor_windows.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_reply_drain_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_reply_drain_supervisor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_reply_outbox.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_reply_transport.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_service_e2e.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_service_host.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_service_payload.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_peer_service_reply.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_postcompact_recall.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_process_liveness.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_protocol_handler.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_providers_isolation.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_ratify_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_readme_claims_no_gateway_default.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_repl_caller_convention.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_schedule_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_schedule_create_contract.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_scrub.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_security.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_service_app.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_service_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_service_providers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_session_bridge_inject.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_session_bridge_probe.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_session_bridge_resolve.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_session_path_role_gate.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_shipped_units_match_the_cli.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_smoke_chat.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_smoke_one_shot.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_smoke_phase_5_5.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_base_hoist.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_identity_stamp.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_live_pin.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_mitosis_lineage.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_os_user.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_tmux_session.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_spawn_windows_relaunch.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_stall_alert.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_subprocess_decode_encoding.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_timeline_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_tmux_wake_runstate_defer.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_tmux_wake_session_reanchor.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_tmux_wake_stale.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_tmux_wake_submit_verify.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_token_file_one_parser.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_token_precedence_explicit_first.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_unified_token_resolver.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_version_command.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_version_consistency.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_vibe_membrane.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_dm_wake.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_dm_wake_cooldown.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_dm_wake_wiring.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_emit_health.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_install_flags.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_model_rung.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.0}/tests/test_watchdog_stale_peers.py +0 -0
- {swarph_cli-0.86.0 → swarph_cli-0.88.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.
|
|
3
|
+
Version: 0.88.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
|
|
@@ -92,6 +92,7 @@ pre-commit install
|
|
|
92
92
|
It scans staged text for blocked organization/customer identifiers and uses
|
|
93
93
|
Gitleaks to detect hardcoded secrets. GitHub Actions repeats both checks for every
|
|
94
94
|
pull request and merge, so a skipped local hook cannot publish sensitive content.
|
|
95
|
+
macOS and Windows Actions legs, including the launchd smoke, run daily on main and on pull requests labeled `full-ci`, not on every push.
|
|
95
96
|
Run `pre-commit run --all-files` to check the complete working tree.
|
|
96
97
|
|
|
97
98
|
> **System requirement — a terminal multiplexer.** The session verbs (`spawn`, `cell`, `watchdog`) drive a `tmux`-compatible multiplexer. On **Linux/macOS** install `tmux` (`apt install tmux` / `brew install tmux`). On **Windows** there is no native tmux — install [**psmux**](https://github.com/psmux/psmux) (a Rust tmux-for-Windows, MIT) with `swarph install-multiplexer` (fetches the pinned, checksum-verified binary into `~/.swarph/bin`) or `winget install marlocarlo.psmux`.
|
|
@@ -38,6 +38,7 @@ pre-commit install
|
|
|
38
38
|
It scans staged text for blocked organization/customer identifiers and uses
|
|
39
39
|
Gitleaks to detect hardcoded secrets. GitHub Actions repeats both checks for every
|
|
40
40
|
pull request and merge, so a skipped local hook cannot publish sensitive content.
|
|
41
|
+
macOS and Windows Actions legs, including the launchd smoke, run daily on main and on pull requests labeled `full-ci`, not on every push.
|
|
41
42
|
Run `pre-commit run --all-files` to check the complete working tree.
|
|
42
43
|
|
|
43
44
|
> **System requirement — a terminal multiplexer.** The session verbs (`spawn`, `cell`, `watchdog`) drive a `tmux`-compatible multiplexer. On **Linux/macOS** install `tmux` (`apt install tmux` / `brew install tmux`). On **Windows** there is no native tmux — install [**psmux**](https://github.com/psmux/psmux) (a Rust tmux-for-Windows, MIT) with `swarph install-multiplexer` (fetches the pinned, checksum-verified binary into `~/.swarph/bin`) or `winget install marlocarlo.psmux`.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "swarph-cli"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.88.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" }
|
|
@@ -164,7 +164,8 @@ swarph_cli = ["systemd/*.service", "systemd/*.timer", "systemd/*.default",
|
|
|
164
164
|
"payloads/postcompact/*.sh", "payloads/postcompact/*.cmd",
|
|
165
165
|
"payloads/opencode/*.js",
|
|
166
166
|
"skills/*/SKILL.md", "skills/*/LICENSE",
|
|
167
|
-
"triage/*.json"
|
|
167
|
+
"triage/*.json",
|
|
168
|
+
"usage/*.json"]
|
|
168
169
|
# v0.15: ship the bundled mesh-gateway schema so `swarph gateway serve`
|
|
169
170
|
# can apply it at startup via MESH_SCHEMA_PATH (defaults next to server.py).
|
|
170
171
|
"swarph_cli.gateway" = ["*.sql"]
|
|
@@ -20,7 +20,7 @@ import urllib.parse
|
|
|
20
20
|
import urllib.request
|
|
21
21
|
from datetime import datetime, timezone
|
|
22
22
|
from pathlib import Path
|
|
23
|
-
from typing import Optional
|
|
23
|
+
from typing import Callable, Optional
|
|
24
24
|
|
|
25
25
|
# #532 — negative-branch marker detection. THREE COPIES exist and no single
|
|
26
26
|
# suite pins all three: here, mesh-gateway server.py (_accept_state), and
|
|
@@ -687,7 +687,8 @@ def _card_say_payload(from_node: str, to_node: str, kind: str, content: str,
|
|
|
687
687
|
|
|
688
688
|
def _run_cards_say(gw: str, token: str, self_name: str, card_id: int,
|
|
689
689
|
content: str, kind: str, to_node: Optional[str], aj: bool, *,
|
|
690
|
-
opt_out: bool = False, verb: str = "say"
|
|
690
|
+
opt_out: bool = False, verb: str = "say",
|
|
691
|
+
pre_post_check: Callable[[], str | None] | None = None) -> int:
|
|
691
692
|
"""Post `content` onto a card's thread (shared by `say` + `dev-extract`).
|
|
692
693
|
|
|
693
694
|
Factored out of the `say` block without behavior change: fetch the card,
|
|
@@ -695,6 +696,7 @@ def _run_cards_say(gw: str, token: str, self_name: str, card_id: int,
|
|
|
695
696
|
(--to > assignee > project owner_orchestrator), POST /messages, render the
|
|
696
697
|
confirmation (including any discharged obligation, #562). `dev-extract`
|
|
697
698
|
posts through this so both verbs keep ONE recipient/redaction path.
|
|
699
|
+
Its pre-post check runs only after the recipient is resolved.
|
|
698
700
|
"""
|
|
699
701
|
st, card = _http_get_json(f"{gw}/board/cards/{card_id}", token)
|
|
700
702
|
if st != 200:
|
|
@@ -720,12 +722,15 @@ def _run_cards_say(gw: str, token: str, self_name: str, card_id: int,
|
|
|
720
722
|
except RuntimeError as exc:
|
|
721
723
|
print(f"swarph board cards {verb}: {exc}", file=sys.stderr)
|
|
722
724
|
return 1
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
725
|
+
payload = _card_say_payload(self_name, to_node, kind, content, thread_uuid,
|
|
726
|
+
opt_out=opt_out)
|
|
727
|
+
if pre_post_check is not None:
|
|
728
|
+
refusal = pre_post_check()
|
|
729
|
+
if refusal is not None:
|
|
730
|
+
print(f"swarph board cards {verb}: {refusal}; nothing posted",
|
|
731
|
+
file=sys.stderr)
|
|
732
|
+
return 1
|
|
733
|
+
st, d = _post_json(f"{gw}/messages", payload, token)
|
|
729
734
|
# A 403 here carries the gateway's explanation that attaching PUBLISHES
|
|
730
735
|
# to everyone who can read the card, now and in future, so it needs an
|
|
731
736
|
# explicit `propose` grant. `_out` passes `detail` through whole; it does
|
|
@@ -1389,8 +1394,7 @@ def _build_parser() -> argparse.ArgumentParser:
|
|
|
1389
1394
|
from swarph_cli.commands.dev_extract import build_parser as _de_build_parser
|
|
1390
1395
|
_de = _de_build_parser()
|
|
1391
1396
|
de = cards.add_parser(
|
|
1392
|
-
"dev-extract", help="build (+ post) a
|
|
1393
|
-
"dev extract for a card (#1396)",
|
|
1397
|
+
"dev-extract", help="build (+ post) a versioned bibliography for a card (#1726)",
|
|
1394
1398
|
parents=[_de], add_help=False,
|
|
1395
1399
|
description=_de.description)
|
|
1396
1400
|
de.add_argument("--to", dest="to_node", default=None,
|
|
@@ -2113,6 +2117,23 @@ def run_board(argv: list[str]) -> int:
|
|
|
2113
2117
|
fed_report=args.fed_report, structurizr_ws=args.structurizr_ws,
|
|
2114
2118
|
card=card, paths=paths, project_slug=proj_slug,
|
|
2115
2119
|
entitled=(entitled and not post_safe))
|
|
2120
|
+
bibliography = None
|
|
2121
|
+
if card is not None:
|
|
2122
|
+
from swarph_cli.commands import dev_bibliography as bib
|
|
2123
|
+
|
|
2124
|
+
def read_source(path):
|
|
2125
|
+
try:
|
|
2126
|
+
status, data = _http_get_json(f"{gw.rstrip('/')}{path}", token)
|
|
2127
|
+
except (OSError, ValueError):
|
|
2128
|
+
raise bib.Unavailable("gateway reply unreadable") from None
|
|
2129
|
+
if status != 200:
|
|
2130
|
+
raise bib.Unavailable(f"gateway HTTP {status}" if status
|
|
2131
|
+
else "gateway unreachable")
|
|
2132
|
+
return data
|
|
2133
|
+
|
|
2134
|
+
thread_url = _thread_url("", args.card, limit=bib.HISTORY_LIMIT)
|
|
2135
|
+
bibliography = bib.collect(card, read_source, thread_url, post_safe=post_safe)
|
|
2136
|
+
ex["bibliography"] = bibliography
|
|
2116
2137
|
if getattr(args, "json", False):
|
|
2117
2138
|
# card #1396: redact WITHHELD registry entries (no private
|
|
2118
2139
|
# paths/index times in machine-readable output). The
|
|
@@ -2123,22 +2144,44 @@ def run_board(argv: list[str]) -> int:
|
|
|
2123
2144
|
if no_tokens_note:
|
|
2124
2145
|
print(no_tokens_note, file=sys.stderr)
|
|
2125
2146
|
print(privacy_line, file=sys.stderr)
|
|
2126
|
-
|
|
2127
|
-
|
|
2147
|
+
payload = _de_mod.redact_for_json(ex, post_safe=post_safe)
|
|
2148
|
+
if bibliography is not None:
|
|
2149
|
+
payload = bib.redact_json(payload)
|
|
2150
|
+
print(json.dumps(payload, indent=2, default=str))
|
|
2128
2151
|
return 0
|
|
2152
|
+
if posting and not (bibliography and bibliography["version"] is not None):
|
|
2153
|
+
reason = (bibliography["version_unavailable"] if bibliography
|
|
2154
|
+
else "card unavailable")
|
|
2155
|
+
print(f"dev-extract: cannot verify bibliography version: {reason}; "
|
|
2156
|
+
"nothing posted", file=sys.stderr)
|
|
2157
|
+
return 1
|
|
2129
2158
|
body = _de_mod.render(ex, max_lines=args.max_lines,
|
|
2130
|
-
post_safe=post_safe
|
|
2159
|
+
post_safe=post_safe, citations=bibliography is not None,
|
|
2160
|
+
as_of=bibliography["as_of"] if bibliography else None)
|
|
2161
|
+
if bibliography is not None:
|
|
2162
|
+
body = bib.render(body, bibliography)
|
|
2131
2163
|
if args.print_only or args.card is None:
|
|
2132
2164
|
if no_tokens_note:
|
|
2133
2165
|
print(no_tokens_note)
|
|
2134
2166
|
print(privacy_line)
|
|
2135
2167
|
print(body, end="")
|
|
2136
2168
|
return 0
|
|
2169
|
+
|
|
2170
|
+
def check_version():
|
|
2171
|
+
# shortcut: if both final reads finish before either POST, both
|
|
2172
|
+
# can insert: POST has no expected-version check. Upgrade when
|
|
2173
|
+
# the gateway can enforce that precondition atomically.
|
|
2174
|
+
try:
|
|
2175
|
+
bib.next_version(read_source, thread_url, expected=bibliography["version"])
|
|
2176
|
+
except bib.Unavailable as exc:
|
|
2177
|
+
return f"cannot verify bibliography version: {exc}"
|
|
2178
|
+
return None
|
|
2179
|
+
|
|
2137
2180
|
print(privacy_line)
|
|
2138
2181
|
return _run_cards_say(
|
|
2139
2182
|
gw, token, self_name, args.card, body, "fyi",
|
|
2140
2183
|
args.to_node, aj, opt_out=getattr(args, "no_redact", False),
|
|
2141
|
-
verb="dev-extract")
|
|
2184
|
+
verb="dev-extract", pre_post_check=check_version)
|
|
2142
2185
|
if args.command == "ready":
|
|
2143
2186
|
st, d = _patch_json(f"{gw}/board/cards/{args.id}", {"actor": self_name, "move_ready": not args.clear, **expected}, token)
|
|
2144
2187
|
return _out(st, d, lambda x: f"card #{x.get('id')} move_ready -> {x.get('move_ready')}", aj)
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"""Local bibliography sources for the card-scoped dev-extract (#1726)."""
|
|
2
|
+
|
|
3
|
+
import json
|
|
4
|
+
import re
|
|
5
|
+
from datetime import datetime, timezone
|
|
6
|
+
from pathlib import Path
|
|
7
|
+
|
|
8
|
+
from swarph_cli.commands import timeline
|
|
9
|
+
from swarph_cli.commands.dev_extract import ROW_LIMIT, _one_line, _parse_instant
|
|
10
|
+
from swarph_cli.redact import redact_text
|
|
11
|
+
|
|
12
|
+
DESKS = None # Resolve HOME at invocation time, as timeline does.
|
|
13
|
+
HISTORY_LIMIT = 1000
|
|
14
|
+
_HEADING = re.compile(r"(?:# )?bibliography v[1-9][0-9]*")
|
|
15
|
+
_CARD_LINK = re.compile(r"(?:^|\s)(?:card:)?#([0-9]+)\b|/board/cards/([0-9]+)\b")
|
|
16
|
+
_CTRL = re.compile(r"[\x00-\x08\x0b\x0c\x0e-\x1f\x7f-\x9f]")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class Unavailable(Exception):
|
|
20
|
+
pass
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _clean(text, limit=240):
|
|
24
|
+
return _one_line(redact_text(_CTRL.sub("", str(text)), caller="dev-extract") or "", limit)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def _rows(payload, key):
|
|
28
|
+
if not isinstance(payload, dict) or not isinstance(payload.get(key), list):
|
|
29
|
+
raise Unavailable(f"gateway did not return {key}")
|
|
30
|
+
if any(not isinstance(row, dict) for row in payload[key]):
|
|
31
|
+
raise Unavailable(f"gateway returned invalid {key} rows")
|
|
32
|
+
return payload[key]
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def next_version(read, thread_url, *, expected=None):
|
|
36
|
+
posts = _rows(read(thread_url), "messages")
|
|
37
|
+
if len(posts) >= HISTORY_LIMIT:
|
|
38
|
+
raise Unavailable("card thread reached the gateway history limit")
|
|
39
|
+
if any(not isinstance(post.get("content"), str) for post in posts):
|
|
40
|
+
raise Unavailable("card thread has unreadable message content")
|
|
41
|
+
headings = [post["content"].partition("\n")[0].strip() for post in posts]
|
|
42
|
+
version = 1 + sum(bool(_HEADING.fullmatch(line)) for line in headings)
|
|
43
|
+
if expected is not None:
|
|
44
|
+
heading = f"bibliography v{expected}"
|
|
45
|
+
if heading in headings or f"# {heading}" in headings:
|
|
46
|
+
raise Unavailable(f"{heading} is already posted")
|
|
47
|
+
if version != expected:
|
|
48
|
+
raise Unavailable(f"bibliography version changed from v{expected} to v{version}")
|
|
49
|
+
return version
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def _lifetime(card, now):
|
|
53
|
+
start = _parse_instant(card.get("created_at"))
|
|
54
|
+
end = now
|
|
55
|
+
if card.get("stage") == "done":
|
|
56
|
+
done = [_parse_instant(step.get("at")) for step in (card.get("stage_history") or [])
|
|
57
|
+
if isinstance(step, dict) and step.get("stage") == "done"]
|
|
58
|
+
end = next((when for when in reversed(done) if when is not None), None)
|
|
59
|
+
if start is None or end is None or end < start:
|
|
60
|
+
return None
|
|
61
|
+
return start, end
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def _links(card):
|
|
65
|
+
return {int(left or right) for value in (card.get("links") or {}).values()
|
|
66
|
+
if isinstance(value, str) for left, right in _CARD_LINK.findall(value)}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def _board_section(card, read, as_of, post_safe):
|
|
70
|
+
withheld = set()
|
|
71
|
+
|
|
72
|
+
def entries():
|
|
73
|
+
links = _links(card)
|
|
74
|
+
for row in _rows(read("/board/cards"), "cards"):
|
|
75
|
+
ident = row.get("id")
|
|
76
|
+
if type(ident) is not int or ident == card["id"]:
|
|
77
|
+
continue
|
|
78
|
+
if ident not in links and card["id"] not in _links(row):
|
|
79
|
+
continue
|
|
80
|
+
other_project = row.get("project_id") != card.get("project_id")
|
|
81
|
+
# Count before the entry cap; the audience lacks the runner's other grants.
|
|
82
|
+
if post_safe and other_project:
|
|
83
|
+
withheld.add(ident)
|
|
84
|
+
continue
|
|
85
|
+
obligations = row.get("open_obligations")
|
|
86
|
+
if obligations is None:
|
|
87
|
+
opened = "unavailable"
|
|
88
|
+
elif not obligations:
|
|
89
|
+
opened = "floor 0"
|
|
90
|
+
else:
|
|
91
|
+
opened = ", ".join(f"#{r['id']}" for r in obligations[:ROW_LIMIT])
|
|
92
|
+
if len(obligations) > ROW_LIMIT:
|
|
93
|
+
opened += f" (+{len(obligations) - ROW_LIMIT} more)"
|
|
94
|
+
access = " (other project; visible under runner grants)" if other_project else ""
|
|
95
|
+
yield (f"card:#{ident}", f"{_clean(row.get('title') or '(untitled)')} "
|
|
96
|
+
f"· stage={_clean(row.get('stage') or 'unknown', 24)} · open rows: {opened}{access}")
|
|
97
|
+
|
|
98
|
+
section = _section("board", as_of, entries)
|
|
99
|
+
if withheld and "unavailable" not in section:
|
|
100
|
+
section["withheld_count"] = len(withheld)
|
|
101
|
+
return section
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def _timeline_entries(lifetime):
|
|
105
|
+
try:
|
|
106
|
+
entries = timeline.load_entries(timeline._timeline_path())
|
|
107
|
+
except FileNotFoundError:
|
|
108
|
+
raise Unavailable("timeline file is missing") from None
|
|
109
|
+
start, end = lifetime
|
|
110
|
+
for entry in reversed(entries):
|
|
111
|
+
if start <= entry.ts <= end:
|
|
112
|
+
when = entry.ts.astimezone(timezone.utc)
|
|
113
|
+
if entry.links:
|
|
114
|
+
key = f"tl:{when.date()}/{entry.links[0]}"
|
|
115
|
+
else:
|
|
116
|
+
key = f"tl:{when.strftime('%Y-%m-%dT%H:%MZ')}/{entry.cell}"
|
|
117
|
+
yield key, _clean(entry.text)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
def _matches_card(row, card):
|
|
121
|
+
thread = card.get("thread_uuid")
|
|
122
|
+
coordinate = f"#{card['id']}"
|
|
123
|
+
return (bool(thread and row.get("thread_id") == thread)
|
|
124
|
+
or any(annot.get("status") == "resolved"
|
|
125
|
+
and annot.get("token") == coordinate
|
|
126
|
+
for annot in (row.get("annotations") or {}).get("cards", [])))
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def _thread_entries(card, lifetime):
|
|
130
|
+
start, end = lifetime
|
|
131
|
+
root = DESKS or Path.home() / "secretary-consumer" / "runs" / "daily"
|
|
132
|
+
runs = sorted(root.glob("*/annotated.jsonl"), reverse=True)
|
|
133
|
+
if not runs:
|
|
134
|
+
raise Unavailable("no annotated secretary desks")
|
|
135
|
+
for run in runs:
|
|
136
|
+
with run.open(encoding="utf-8") as stream:
|
|
137
|
+
for line in stream:
|
|
138
|
+
if not line.strip():
|
|
139
|
+
continue
|
|
140
|
+
row = json.loads(line)
|
|
141
|
+
if row.get("record") == "manifest":
|
|
142
|
+
generated = _parse_instant(row.get("generated_at"))
|
|
143
|
+
if generated:
|
|
144
|
+
# An end-of-day desk can include messages from earlier days.
|
|
145
|
+
if generated < start:
|
|
146
|
+
break
|
|
147
|
+
continue
|
|
148
|
+
when = _parse_instant(row.get("created_at"))
|
|
149
|
+
ident = row.get("id")
|
|
150
|
+
if (when is not None and start <= when <= end and type(ident) is int
|
|
151
|
+
and _matches_card(row, card)):
|
|
152
|
+
yield (f"dm:{ident}", f"{_clean(row.get('from') or '?', 64)} "
|
|
153
|
+
f"{_clean(row.get('kind') or '?', 24)} {_clean(row['created_at'], 40)}")
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
def _memory_results(query):
|
|
157
|
+
# search can embed and rerank just like query (lab ruling #1726 / 102196).
|
|
158
|
+
# shortcut: no verified keyword-only route, use the pinned Phase B route once shipped.
|
|
159
|
+
raise Unavailable("keyword-only not assured on the deployed gbrain (card #1726 phase B)")
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def _semantic_entries(card):
|
|
163
|
+
query = "\n".join(_clean(card.get(field) or "", 2048) for field in ("title", "body")).strip()
|
|
164
|
+
if not query:
|
|
165
|
+
return
|
|
166
|
+
for row in _memory_results(query):
|
|
167
|
+
if row.get("slug"):
|
|
168
|
+
yield f"mem:{row['slug']}", _clean(row.get("description") or row.get("title") or "")
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
def _section(name, as_of, find):
|
|
172
|
+
entries = []
|
|
173
|
+
seen = set()
|
|
174
|
+
merged = 0
|
|
175
|
+
try:
|
|
176
|
+
for key, description in find():
|
|
177
|
+
key = _clean(key)
|
|
178
|
+
if key in seen:
|
|
179
|
+
merged += 1
|
|
180
|
+
continue
|
|
181
|
+
seen.add(key)
|
|
182
|
+
if len(entries) < ROW_LIMIT:
|
|
183
|
+
entries.append({"key": key, "description": description})
|
|
184
|
+
except Unavailable as exc:
|
|
185
|
+
return {"name": name, "as_of": as_of, "unavailable": _clean(exc), "entries": []}
|
|
186
|
+
except (OSError, ValueError, TypeError, AttributeError, KeyError):
|
|
187
|
+
return {"name": name, "as_of": as_of, "unavailable": "source unreadable or invalid", "entries": []}
|
|
188
|
+
return {"name": name, "as_of": as_of, "entries": entries,
|
|
189
|
+
"merged_count": merged, "omitted_count": len(seen) - len(entries)}
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
def collect(card, read, thread_url, *, post_safe=False):
|
|
193
|
+
now = datetime.now(timezone.utc)
|
|
194
|
+
as_of = now.isoformat(timespec="seconds")
|
|
195
|
+
lifetime = _lifetime(card, now)
|
|
196
|
+
|
|
197
|
+
def dated(find):
|
|
198
|
+
if lifetime is None:
|
|
199
|
+
raise Unavailable("card lifetime unavailable")
|
|
200
|
+
return find()
|
|
201
|
+
|
|
202
|
+
try:
|
|
203
|
+
version, reason = next_version(read, thread_url), None
|
|
204
|
+
except Unavailable as exc:
|
|
205
|
+
version, reason = None, str(exc)
|
|
206
|
+
return {"version": version, "version_unavailable": reason, "as_of": as_of, "sections": [
|
|
207
|
+
_section("semantic", as_of, lambda: _semantic_entries(card)),
|
|
208
|
+
_section("timeline", as_of, lambda: dated(lambda: _timeline_entries(lifetime))),
|
|
209
|
+
_board_section(card, read, as_of, post_safe),
|
|
210
|
+
_section("thread", as_of, lambda: dated(lambda: _thread_entries(card, lifetime))),
|
|
211
|
+
]}
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
def redact_json(value):
|
|
215
|
+
if isinstance(value, dict):
|
|
216
|
+
return {redact_json(k): redact_json(v) for k, v in value.items()}
|
|
217
|
+
if isinstance(value, list):
|
|
218
|
+
return [redact_json(v) for v in value]
|
|
219
|
+
return redact_text(value, caller="dev-extract") if isinstance(value, str) else value
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
def render(extract, bibliography):
|
|
223
|
+
version = bibliography["version"]
|
|
224
|
+
header = (f"bibliography v{version}" if version is not None else
|
|
225
|
+
f"bibliography (version unavailable: {bibliography['version_unavailable']})")
|
|
226
|
+
extract = redact_text(_CTRL.sub("", extract), caller="dev-extract") or ""
|
|
227
|
+
# Keep whole redacted lines; leave ample room below both gateway size limits.
|
|
228
|
+
if len(json.dumps(extract).encode("utf-8")) > 96_000:
|
|
229
|
+
out, used = [], 0
|
|
230
|
+
for line in extract.splitlines():
|
|
231
|
+
used += len(json.dumps(line))
|
|
232
|
+
if used > 96_000:
|
|
233
|
+
break
|
|
234
|
+
out.append(line)
|
|
235
|
+
extract = "\n".join(out) + "\ncut: legacy extract exceeded the post budget\n"
|
|
236
|
+
lines = [header, "", extract.rstrip()]
|
|
237
|
+
for section in bibliography["sections"]:
|
|
238
|
+
lines += ["", f"## {section['name']} (as of {section['as_of']})"]
|
|
239
|
+
if section.get("unavailable"):
|
|
240
|
+
lines.append(f"unavailable: {section['unavailable']}")
|
|
241
|
+
elif not section["entries"]:
|
|
242
|
+
lines.append("floor: 0 entries in the available source")
|
|
243
|
+
else:
|
|
244
|
+
for entry in section["entries"]:
|
|
245
|
+
lines.append(f"- {entry['key']} — {entry['description']}")
|
|
246
|
+
if merged := section.get("merged_count"):
|
|
247
|
+
records, keys = ("record", "key") if merged == 1 else ("records", "keys")
|
|
248
|
+
lines.append(f"merged {merged} additional {records} with the same citation {keys}")
|
|
249
|
+
if omitted := section.get("omitted_count"):
|
|
250
|
+
keys = "key" if omitted == 1 else "keys"
|
|
251
|
+
lines.append(f"entry cap: {omitted} additional unique {keys} omitted")
|
|
252
|
+
if count := section.get("withheld_count"):
|
|
253
|
+
noun = "card" if count == 1 else "cards"
|
|
254
|
+
lines.append(f"board: {count} linked {noun} in other projects withheld "
|
|
255
|
+
"(post visibility is the subject project)")
|
|
256
|
+
return "\n".join(lines) + "\n"
|
|
@@ -897,7 +897,7 @@ def build_extract(*, tokens: list, index_path: str = DEFAULT_INDEX,
|
|
|
897
897
|
for parg in (paths or [])[:MAX_AUTO_TOKENS]:
|
|
898
898
|
for s in find_symbols_by_path(con, parg, visible):
|
|
899
899
|
_add_sym(s)
|
|
900
|
-
repos_hit = sorted({
|
|
900
|
+
repos_hit = sorted({row["repo"] for row in [*syms, *routes]})
|
|
901
901
|
finally:
|
|
902
902
|
try:
|
|
903
903
|
con.close()
|
|
@@ -983,9 +983,19 @@ def _ref_names(pin: dict) -> str:
|
|
|
983
983
|
|
|
984
984
|
|
|
985
985
|
def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
986
|
-
post_safe: bool = False
|
|
986
|
+
post_safe: bool = False, citations: bool = False,
|
|
987
|
+
as_of: str | None = None) -> str:
|
|
987
988
|
"""Render the extract text; post-safe mode names no withheld/missing repo."""
|
|
988
989
|
cut_notes: list = []
|
|
990
|
+
pins = ex.get("pins", {})
|
|
991
|
+
|
|
992
|
+
def location(row):
|
|
993
|
+
loc = f"{row['file_path']}:{row['start_line']}"
|
|
994
|
+
if not citations:
|
|
995
|
+
return loc
|
|
996
|
+
sha = (pins.get(row["repo"]) or {}).get("sha")
|
|
997
|
+
return f"code:{row['repo']}/{loc}@{sha or 'unpinned'}"
|
|
998
|
+
|
|
989
999
|
head = ["# dev extract (card #1410, #559 phase 2) — pinned, small, dry-run-safe"]
|
|
990
1000
|
if ex.get("card"):
|
|
991
1001
|
head.append(f"subject: card #{ex['card'].get('id')}: "
|
|
@@ -998,8 +1008,12 @@ def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
|
998
1008
|
_detail = (idx.get("status") or "unavailable").partition(
|
|
999
1009
|
"unavailable:")[2].strip() or idx.get("status", "unavailable")
|
|
1000
1010
|
head.append(f"index unavailable: {_detail}")
|
|
1011
|
+
if as_of:
|
|
1012
|
+
head.append(f"codegraph as of {as_of} (check time)")
|
|
1001
1013
|
else:
|
|
1002
1014
|
head.append("## codegraph half (index.db, READ-ONLY)")
|
|
1015
|
+
if as_of:
|
|
1016
|
+
head.append(f"as of {as_of}; indexed times below")
|
|
1003
1017
|
# One coverage line always (index ok); post-safe uses the generic
|
|
1004
1018
|
# wording (no withheld names in posts).
|
|
1005
1019
|
_cov_names = (", ".join(ex.get("withheld", []) or [])
|
|
@@ -1019,8 +1033,19 @@ def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
|
1019
1033
|
# repo (no existence oracle).
|
|
1020
1034
|
for repo in ([] if post_safe else ex.get("missing_repos", [])):
|
|
1021
1035
|
head.append(f"repo {repo} is not in the index")
|
|
1022
|
-
|
|
1023
|
-
|
|
1036
|
+
routes = ex.get("routes", [])
|
|
1037
|
+
symbols = ex.get("symbols", [])
|
|
1038
|
+
shown_symbols = symbols[:ROW_LIMIT - int(bool(citations and routes))]
|
|
1039
|
+
route_room = ROW_LIMIT - len(shown_symbols) if citations else ROW_LIMIT
|
|
1040
|
+
shown_routes = routes[:route_room]
|
|
1041
|
+
if citations:
|
|
1042
|
+
unpinned = sum(not (pins.get(row["repo"]) or {}).get("sha")
|
|
1043
|
+
for row in [*shown_symbols, *shown_routes])
|
|
1044
|
+
if unpinned:
|
|
1045
|
+
head.append(f"unpinned code entries: {unpinned} "
|
|
1046
|
+
"(no indexed SHA; before output clipping)")
|
|
1047
|
+
for s in shown_symbols:
|
|
1048
|
+
loc = location(s)
|
|
1024
1049
|
n = s.get("callers")
|
|
1025
1050
|
callers = (FLOOR_CALLERS if n == 0 else
|
|
1026
1051
|
f"{n} callers" if isinstance(n, int) else
|
|
@@ -1036,9 +1061,9 @@ def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
|
1036
1061
|
head.append(" swarph-cli gateway copy; "
|
|
1037
1062
|
"the deployed gateway is a withheld repo")
|
|
1038
1063
|
if not ex.get("symbols"):
|
|
1039
|
-
head.append("no symbol resolved")
|
|
1040
|
-
if len(
|
|
1041
|
-
cut_notes.append(f"symbols cut after {
|
|
1064
|
+
head.append("no symbol resolved" + (" (floor: 0 index matches)" if citations else ""))
|
|
1065
|
+
if len(symbols) > len(shown_symbols):
|
|
1066
|
+
cut_notes.append(f"symbols cut after {len(shown_symbols)}")
|
|
1042
1067
|
for tok in ex.get("tokens", []):
|
|
1043
1068
|
# Post-safe: dropped entirely (each names a withheld repo).
|
|
1044
1069
|
_hits = {} if post_safe else (ex.get("withheld_hits") or {}).get(tok, {})
|
|
@@ -1051,13 +1076,14 @@ def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
|
1051
1076
|
head.append(f"- {tok}: also defined in withheld {repo}; "
|
|
1052
1077
|
"the deployed copy may differ")
|
|
1053
1078
|
head.append("")
|
|
1054
|
-
routes = ex.get("routes", [])
|
|
1055
1079
|
if routes:
|
|
1056
1080
|
head.append("routes + params:")
|
|
1057
|
-
for r in
|
|
1081
|
+
for r in shown_routes:
|
|
1058
1082
|
head.append(f"- {r['name']} {r['repo']} "
|
|
1059
|
-
f"{r
|
|
1083
|
+
f"{location(r)}"
|
|
1060
1084
|
+ (f" params: {r['signature'][:100]}" if r.get("signature") else ""))
|
|
1085
|
+
if citations and len(routes) > route_room:
|
|
1086
|
+
cut_notes.append(f"routes cut after {route_room}")
|
|
1061
1087
|
else:
|
|
1062
1088
|
head.append(f"routes: {FLOOR_ROUTES}")
|
|
1063
1089
|
head.append("")
|
|
@@ -1067,6 +1093,8 @@ def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
|
1067
1093
|
head.append(f"- {repo}: {sha} @ {p.get('indexed_at') or 'index time unavailable'}")
|
|
1068
1094
|
head.append("")
|
|
1069
1095
|
head.append("## federation half (READ-ONLY)")
|
|
1096
|
+
if as_of:
|
|
1097
|
+
head.append(f"as of {as_of}; federation build time below")
|
|
1070
1098
|
fed = ex.get("federation_report", {})
|
|
1071
1099
|
st = ex.get("structurizr", {})
|
|
1072
1100
|
# The federation half prints the report stamp + `Layer N:` lines, or
|
|
@@ -1076,8 +1104,11 @@ def render(ex: dict, max_lines: int = DEFAULT_MAX_LINES,
|
|
|
1076
1104
|
else:
|
|
1077
1105
|
head.append(f"build: {ex.get('fed_build') or 'unavailable: no header stamp'} "
|
|
1078
1106
|
"(federation-report.txt header stamp = nightly 04:45 build)")
|
|
1079
|
-
|
|
1107
|
+
layers = fed.get("layers", [])
|
|
1108
|
+
for layer in (layers[:ROW_LIMIT] if citations else layers):
|
|
1080
1109
|
head.append(layer)
|
|
1110
|
+
if citations and len(layers) > ROW_LIMIT:
|
|
1111
|
+
cut_notes.append(f"federation layers cut after {ROW_LIMIT}")
|
|
1081
1112
|
if not fed.get("layers"):
|
|
1082
1113
|
head.append("federation layers: unavailable "
|
|
1083
1114
|
"(floor: report has no Layer lines)")
|
|
@@ -112,8 +112,15 @@ def _remove_ours(path, info):
|
|
|
112
112
|
pass
|
|
113
113
|
|
|
114
114
|
|
|
115
|
+
def _print_onboard_next(name, gateway, token_path):
|
|
116
|
+
print("Next, on this machine:")
|
|
117
|
+
print(f"swarph onboard {shlex.quote(name)} --gateway {shlex.quote(gateway.rstrip('/'))} --token-file {shlex.quote(str(token_path))}")
|
|
118
|
+
|
|
119
|
+
|
|
115
120
|
def run_join(argv):
|
|
116
|
-
parser = argparse.ArgumentParser(
|
|
121
|
+
parser = argparse.ArgumentParser(
|
|
122
|
+
prog="swarph join",
|
|
123
|
+
description=(__doc__ or "").rstrip() + " On a new machine, run swarph join first, then swarph onboard.")
|
|
117
124
|
parser.add_argument("gateway")
|
|
118
125
|
parser.add_argument("--name", required=True)
|
|
119
126
|
parser.add_argument("--allow-unsafe-http", action="store_true", help="UNSAFE: permit non-tailnet cleartext HTTP")
|
|
@@ -125,6 +132,13 @@ def run_join(argv):
|
|
|
125
132
|
raise JoinError("native Windows credential storage is unsupported; use Linux or WSL")
|
|
126
133
|
if not _NEW_PEER.fullmatch(args.name):
|
|
127
134
|
raise JoinError("invalid peer name")
|
|
135
|
+
# Onboard maps these names onto another peer. Read the live table so a
|
|
136
|
+
# key added after import is refused, with no hand-kept list.
|
|
137
|
+
import swarph_shared.peer_registry as peer_registry
|
|
138
|
+
mapped = peer_registry.KNOWN_ALIASES.get(args.name)
|
|
139
|
+
if isinstance(mapped, str) and mapped != args.name:
|
|
140
|
+
raise JoinError(args.name + " is an onboard alias for " + mapped
|
|
141
|
+
+ "; choose another name")
|
|
128
142
|
url, tailnet = _gateway(args.gateway, args.allow_unsafe_http)
|
|
129
143
|
if tailnet:
|
|
130
144
|
print("Transport: the tailnet's encrypted tunnel, not TLS.")
|
|
@@ -195,14 +209,21 @@ def run_join(argv):
|
|
|
195
209
|
content = "Handshake for " + args.name + "\n" + "\n".join(
|
|
196
210
|
question + "\n" + answer for question, answer in zip(_QUESTIONS, answers))
|
|
197
211
|
content = redact_text(content.replace(token, "<REDACTED>").replace(device, "<REDACTED>"))
|
|
198
|
-
|
|
199
|
-
|
|
212
|
+
try:
|
|
213
|
+
status, _, _ = _request(url, "POST", "/messages", {
|
|
214
|
+
"from_node": args.name, "to_node": witness, "kind": "status", "content": content}, token)
|
|
215
|
+
except JoinError:
|
|
216
|
+
_print_onboard_next(args.name, args.gateway, token_path)
|
|
217
|
+
raise
|
|
200
218
|
if not 200 <= status < 300:
|
|
219
|
+
_print_onboard_next(args.name, args.gateway, token_path)
|
|
201
220
|
raise JoinError("handshake send failed; credential remains saved, ratification pending")
|
|
202
221
|
print("Own-words handshake sent to " + witness + "; the witness must ratify separately.")
|
|
203
222
|
else:
|
|
204
223
|
print("No interactive answers were supplied; no handshake was sent. Send your own answers to " + witness + ".")
|
|
205
224
|
print(f"Use explicit identity: swarph mesh peers --as {args.name} --gateway {shlex.quote(args.gateway.rstrip('/'))} --token-file {shlex.quote(str(token_path))}")
|
|
225
|
+
# Card #1700: name the gateway and token file, so the copied line ignores ambient MESH_GATEWAY_URL/TOKEN.
|
|
226
|
+
_print_onboard_next(args.name, args.gateway, token_path)
|
|
206
227
|
return 0
|
|
207
228
|
except (JoinError, OSError, ValueError, KeyboardInterrupt) as exc:
|
|
208
229
|
print("swarph join: " + (str(exc) if isinstance(exc, JoinError) else "local storage failure or cancellation; do not retry blindly; ask the operator to check any in-flight pickup"), file=sys.stderr)
|