# Proof audit pass 1 — issue 16184

Scope: [issue #16184](https://git.cafe/pingdotgg/t3code/issues/16184), branch `fix/issue-16184`, base `044f07257c`, head `a781b07cf1`. Read-only source/proof audit; only this task-owned artifact was written. No tests, servers, browser, edits to the checkout, pushes, or comments were performed.

## Visual fixture matrix

Empty (zero rows). Exemption applies. The complete diff contains only `apps/server/src/mcp/McpSessionRegistry.ts`, its regression coverage in `OrchestratorMcpService.test.ts`, and MCP documentation. No render paths, client components, styles, navigation, or client contracts change. The observable result is durable protocol identity and absence of duplicate work. No UI capture or further independent real-client verification is required by this audit.

## Protocol proof checklist

- [x] Base regression: `red-test.txt` records the new test on test-only revision `aff137501261811bd384dcb65a50afd770d0d45c` over base. Reissued credentials produce different command IDs, failing the expected replay assertion. This is a supplied report, not a test rerun by this reviewer.
- [x] Base runtime: `runtime-transcript.md` records same-key replay before restart, then a different task and two persisted subagent rows after restart.
- [x] Fixed runtime: transcript records a fresh key first accepted with the fix, restart using unchanged isolated state, identical returned task ID, and exactly one persisted subagent node/child thread. Implementation revision `204dcdf681` has identical server source to head (verified with git diff).
- [x] Same-credential replay: regression assertions compare task IDs; base runtime also exercises this control.
- [x] Credential rotation is real in the regression: two separately constructed registries issue scopes with unequal providerSessionIds; final assertions require equal command, task, and child-thread IDs for the original key.
- [x] Thread isolation: regression uses the same key in another parent thread and requires different task and child-thread IDs. Red report says this control passed before the failing restart assertion.
- [x] Key isolation: regression uses a new key after credential reissue and requires independent task identity. Red report says this control passed before the failing restart assertion.
- [x] Scope of identity change reviewed: registry now supplies `thread:${request.threadId}` to existing shared stable command/thread/message ID helpers. Credential generation and authorization lookup remain unchanged. This intentionally affects thread-scoped stable IDs across MCP mutations, not only delegation; OAuth client scope construction is outside the diff.
- [ ] Fixed-head green regression output is not among the supplied artifacts. The checked-in assertions and fixed real-runtime transcript support the fix, but neither substitutes for a recorded successful targeted test run. Lead should retain that result if a red/green test record is required.

## Limits and gaps

The requested minimum proof (red test plus base/fixed runtime transcript) is present. No implementation defect identified in this proof audit. The focused test mocks command-receipt persistence, while the supplied real-server transcript supplies the persistence/restart proof. Transcript claims were inspected as existing evidence, not independently reenacted.

The transcript explicitly limits the result to requests first accepted with the fix. Previously accepted credential-namespaced IDs are not migrated. Interrupted waits and automatic provider continuation were not exercised and must not be claimed. No additional UI evidence is appropriate. Other mutation families receive the same namespace change; they are supported by shared-helper source inspection, not an exhaustive runtime matrix. Those are coverage boundaries, not newly discovered defects.

## FRICTION categories

- Classification: sensitive protocol/durable-idempotency change; server-only visual exemption confirmed.
- Evidence provenance: supplied red report and runtime transcript; no independent rerun requested or needed here.
- Test evidence: fixed-head green log absent from the supplied artifact set (recordkeeping gap).
- Compatibility: pre-upgrade receipt IDs do not replay under the new namespace; disclosed in transcript.
- Scenario boundary: explicit retry verified; interrupted wait/automatic continuation unverified.
- Tooling/access: none encountered; upload authorized; artifact contains no credentials or raw seeded customer/thread content.

Prior three review rounds reportedly found no defects; that history is user-supplied context, not an independently repeated code review finding.
