Files
editor/packages/mcp/test-reports/t5-resources-prompts/dev.log
T
Adrian PerezandClaude Opus 4.7 b37e88cb83 fix(mcp): apply_patch preserves schema-defaulted ids in multi-op batches
SceneBridge.applyPatch now threads the Zod-parsed node through to the
apply phase instead of the raw input. Previously, when a caller sent a
create patch without an `id` field, the schema's objectId default ran
during dry-run parsing but only in `res.data`; the apply phase pushed
the unparsed `p.node` (no id) to the store, so subsequent tools that
walked `level.children` crashed on undefined entries (e.g.
duplicate_level -> cloneLevelSubtree -> extractIdPrefix(undefined)).

Also adds test-reports/ artefacts from live end-to-end testing:
- t1-stdio: 21/21 tools pass via stdio (~106ms)
- t2-http: connect/single-session behaviour (HTTP transport quirk
  documented)
- t3-scenario: 2-bedroom apartment built end-to-end — 12/12 steps
  after this fix (24 final nodes, validate=true, apartment.json
  exported)
- t4-errors: 24/24 invalid-input cases rejected with proper MCP errors
- t5-resources-prompts: 4/4 resources, 3/3 prompts, dev server
  /api/health 200 OK

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 18:21:00 +02:00

34 lines
1.1 KiB
Plaintext

## Probe: http://localhost:3002/
ROOT_STATUS=200
ROOT_BYTES=53138
ROOT_HAS_PASCAL=0
ROOT_HAS_PASCAL_APP=0
SCRIPT_COUNT=52
NEXT_CHUNK_COUNT=52
EDITOR_VIEWER_CORE_CHUNK_COUNT=31
ERR_APP_ERROR=0
ERR_FAILED_TO=0
ERR_CANNOT=0
## First script src= matches (max 10)
/_next/static/chunks/10-e_next_dist_compiled_next-devtools_index_0c.hc5b.js
/_next/static/chunks/10-e_next_dist_compiled_react-dom_0_a2p7j._.js
/_next/static/chunks/10-e_next_dist_compiled_react-server-dom-turbopack_0~q-o27._.js
/_next/static/chunks/10-e_next_dist_compiled_0z_hko_._.js
/_next/static/chunks/10-e_next_dist_client_0.-jx~k._.js
/_next/static/chunks/10-e_next_dist_04-q5rb._.js
/_next/static/chunks/0xsp_%40swc_helpers_cjs_05abggq._.js
/_next/static/chunks/_worktrees_mcp-server_apps_editor_0rqeker._.js
/_next/static/chunks/turbopack-_worktrees_mcp-server_apps_editor_0mhsrfr._.js
/_next/static/chunks/02ss__bun_02a3.wx._.js
## Probe: http://localhost:3002/api/health
HEALTH_STATUS=200
HEALTH_BYTES=69
HEALTH_BODY_PREVIEW={"status":"ok","app":"editor","timestamp":"2026-04-18T16:17:41.398Z"}
ROOT_TITLE=
## Summary
DEV_VERDICT=FAIL