Repository navigation
Description
Problem
The MCP server explicitly has no received/status/wait tool. Existing experimental handoff CLI state could support narrowly authorized inspection and bounded waiting, but a shared MCP process cannot authenticate the calling native session and must not reveal another caller's receipt authority or results.
Proposed scope
Investigate and, after a reviewed contract, expose status and bounded observation for an existing operator-authorized handoff intent. Prefer existing read-only watch semantics. Existing handoff wait writes wait history and uses a non-read-only collector query; exposing actual wait would require a separate write-capable policy/annotation decision. No new send/prepare/ACK capability, task journal, native observation, receipt transport or generic reply matching is included.
Acceptance criteria
- Define how an operator authorizes the caller's access to particular existing intents. A model-provided intent/task ID or the MCP launcher's session identity is insufficient authority.
- Resolve the shared-launching-user ledger boundary before exposure; without operator-scoped access that isolates callers, keep the tool unsupported. Authorize before any ledger read. Accept no model-supplied ledger path.
- Deny cross-caller enumeration and disclosure; never return receipt capability material, private ledger paths, message contents or unapproved results.
- Preserve published CLI platform/transport and history/restore restrictions. Unsupported native Codex observation/ACK, Windows, remote/device/fanout combinations must not become supported merely through MCP.
- Report existing state/evidence without upgrading submitted/queued, queue IDs, turn completion or a plain-text reply into consumption or ACK.
- Status inspection and waiting never prepare a new intent, native-send, mint receipt authority or automatically resend. Explicitly document any permitted existing-runtime maintenance/housekeeping effects rather than claiming metadata-only behavior without verification.
- Read-only status/watch is local POSIX only and never initializes/repairs history, creates wait records, starts collectors or changes ledger bytes. Only an already-running collector's existing read-only clock query is permitted. Watch completion is not wait satisfaction, receipt, task completion or ACK.
- Waiting has hard input limits, bounded deadlines/output and cancellation cleanup. Cancellation ends observation; it does not retract a possible earlier submission.
- Preserve unknown/history-unavailable/quarantine distinctions, late-ACK assurance, no-retry semantics and immutable existing handoff contract/fixture behavior.
- Add isolated temp-ledger/collector and stdio tests for authorized/foreign IDs, cancellation/timeout, missing/corrupt/restored history, duplicate/late ACK and zero native effects.
- Keep any MCP Tasks/progress integration optional and separately capability-negotiated; no assumption that SDK/client support exists and no conflation of task completion with agent ACK.
Related work
Depends on a reviewed MCP authorization model. Coordinates with #181 and #296; it does not close their broader incomplete acceptance. This issue is a scoped MCP adapter follow-up, not a replacement for the existing native/upstream research.
Source: MCP limitations, handoff contract.
Planning
Long-term investigation, priority P3; no release/date commitment. No implementation, live/native experiment, new caller authentication, merge, publication or operational approval is implied.
Tracking dependencies
Depends on #356 and a separately reviewed caller/ledger isolation model; unsupported isolation is a blocker. Coordinates with #181/#296. This is outside the v1.4.0 candidate milestone and does not broaden native ACK support.
Activity
abruption commentedon Nov 14, 2026
Sequential MCP feasibility validation — 2026-11-14
Reviewed this after bounded listing and evidence-qualified target metadata. Keep #360 OPEN / Long-term / priority:P3; no new observation issue or production tool is warranted yet.
Results
trusted_context_unavailablebefore the instrumented reader. Arbitrary caller/launcher claims and another intent ID supplied no authority. An intentionally insecure toy gate demonstrated the spoofing counterexample.Remaining design gates
Independent review
Claude Code 2.1.325 /
claude-opus-5-5and Antigravity 1.5.9 /gemini-4-argon-medium(medium) independently completed the same frozen technical review (SHA-256c50725c6f96b16874694d740a79a80792d687eb077f78b215ca6816bd14ef8a4), actual models confirmed, both exit 0. Both recommended retaining the blocker and updating this issue instead of introducing a stable observation tool. Linux follow-up used the same gate logic; path/wire-alias harness adaptations, transplant-runner quoting/import setup errors and their first failures are retained separately. No native/TUI/SSH delivery, real ledger isolation, model turn or operational change was tested.Focused follow-up: the same two reviewers checked the final triage drafts, startup-path evidence and Linux test outcomes using input SHA-256
bf52afa15c1cf7da87b72a80defd8787c4e7e20416c57be63728f9c5753226d5(64.277s / 67.307s; both successful). Codex retained the distinction between hypothetical context injection and actual authentication.Tracking:
MCP-FEASIBILITY-20261114.