Commit Graph
4 Commits
Author SHA1 Message Date
Joseph Magly 73b8b7233f fix(cli): emit clean JSON from runs commands and drop the PyPI MCP install hint
Add `runs` to the CLI machine-JSON command set so every durable-run
subcommand writes only its JSON document to stdout.

Replace the missing-`mcp`-extra hint with the source-checkout installs from
docs/MCP_LOCAL_SETUP.md. The PyPI project named `obliteratus` is quarantined
and has no installable files, so the hint no longer points there.

Fixes #611
Fixes #603
2026-11-24 14:43:55 -05:00
Joseph Magly 002e6e56e1 feat: complete local readiness across UI, MCP and memory admission
Integrate bounded admission, UI ownership and controls, opt-in durable MCP execution, rank-local TP2 groundwork, regression hardening and operator guides. Physical larger-memory and two-host qualification remain separate.
2026-10-20 17:58:20 -04:00
Joseph MaglyandClaude Opus 5.5 e8a5eb84a4 test(mcp): skip the raw stdio protocol test without the mcp extra
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 16:12:29 -04:00
Joseph Magly 11a7d1fb61 feat(mcp): local stdio server + fail-closed policy boundary (#209)
Implements the foundation slice of #209: an MCP SDK v2 stdio server
gated by an immutable, stdlib-only startup policy.

- obliteratus/mcp_policy.py: frozen McpPolicy (archive root required and
  never auto-created, allowed-root shape validation, I/O limits,
  network/execution flags defaulting off). Fail-closed McpPolicyError on
  invalid input; CLI-flags-only construction, no env/config inheritance.
- obliteratus/mcp_server.py: thin SDK v2 registration + stdio startup,
  lazy mcp import, exactly one tool (server_status, allowlisted payload),
  stdout carries protocol bytes only.
- Packaging: optional obliteratus[mcp] extra (mcp>=2.2,<2.3); entry points
  python -m obliteratus.mcp_server and obliteratus mcp serve (graceful
  missing-extra guard, exit 3).
- Tests: 47 new tests, 100% line+branch on new modules; changed-line
  coverage gate passes (99.37% vs 50% floor).

Follow-up required in an env with uv: regenerate uv.lock for the new
extra (uv lock --check is a merge gate; uv is unavailable here).
2026-09-23 16:39:31 -04:00