M7: complete headless MCP runtime cutover - #677
Merged
Conversation
provencher
force-pushed
the
feature/headless-runtime-m6-direct-backend
branch
from
July 29, 2026 12:13
8adb5fe to
c063a80
Compare
provencher
force-pushed
the
feature/headless-runtime-m7-cutover
branch
from
July 29, 2026 12:14
809f529 to
ad9a68e
Compare
baron
changed the base branch from
feature/headless-runtime-m6-direct-backend
to
main
August 3, 2026 00:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Completes Milestone 7 / PR 8 of 8 for the headless MCP domain runtime stack.
--backend app;autoandheadlessremain explicit opt-insautoprobe and choose the app or direct backend before MCP initialize, with immutable session selectionautoorheadlessis requestedwindow_idand_windowIDone-shot presentation identity into an explicit authoritative app context at admission, without active-tab fallback--backend appRollout
This PR intentionally does not change the default from
app. Direct headless remains available through explicit--backend headless; app-first probing is available only through explicit--backend auto. A future default cutover requires separate live/release evidence.Validation
apppreserved app CLI behaviorautoselected app before initialize in 8.38 ms and remained app-bound after the app was stoppedwindow_idbind and_windowIDone-shot representative reads succeededM7_APP_CHILD_PIN_OKautoselected headless and initialized in 34.93 msheadlessmatched representative root/read semanticsauto/headlessinteractive and exec requests failed fast with exit 2 rather than falling into direct modeMCPDomainHostTests, product package/build, provider suite, lint, guardrails, and the 3,770-entry test contract ledger passedKnown blocker
make dev-codex-schema-checkremains blocked by the local installed Codex CLI version (0.144.1) being below the repository-required0.145.0. This is a known toolchain availability blocker, not an observed M7 schema divergence; no default cutover is claimed here.Stack
Base:
feature/headless-runtime-m6-direct-backend(d3677c3e82d171affe08d35587e0bd9bd4561b0f)