refactor(mcp): project wait family output schema from its owning module
Summary
Moves the single hand-authored MCP outputSchema entry for wait out of
src/mcp/command-output-schemas.ts into a frozen WAIT_COMMAND_OUTPUT_SCHEMAS
map exported from src/commands/capture/wait.ts, following the #2810
projection seam already used by the replay, system, interaction,
device-management, push-management, recording, and viewport families on this
stack. Registers the family in the PROJECTED_FAMILIES disjointness check and
adds command-tools-capture-wait-schemas.test.ts with a reference-equality
proof against the module object and an owner-file check, matching the pattern
from the other projected families. wait's descriptor declares no
post-action observation trait (#1652), so no settle-graft copy applies here.
The moved code is byte-identical to what command-output-schemas.ts held:
same objectSchema/numberSchema/stringSchema/constSchema call and field
order.
Part of #2819. Touches 4 files. Stacked on
refactor/mcp-output-schemas-2819-management-viewport-schema.
Validation
Tested commit: 2f27436607d175aef5ab4be40b2adc27c78bcc6f.
pnpm check:affected --run: 163 test files, 1367 tests, all passed.
Live device check: not applicable — this is an MCP-schema-only move with no
Swift or device-facing behavior change. Instead did the schema-identity
proof: from a detached worktree of origin/main, with node_modules
symlinked from this branch (workspace packages unchanged by this diff), ran
node --experimental-strip-types importing COMMAND_OUTPUT_SCHEMAS from
src/mcp/command-output-schemas.ts on both origin/main and this head, and
dumped COMMAND_OUTPUT_SCHEMAS.wait as JSON on each:
$ diff wait-head.json wait-main.json
(no output)
The published wait MCP outputSchema is byte-identical before and after
the move. No unresolved risk.