rea/tests/support
Kaoru0822 f993d33028 perf(artifacts): add opt-in Interface Builder summary delivery and pages
decode_interface_builder returns the complete object, hierarchy and
connection graph inline. XLD.app's graph is 6.7 MB (about 1.98M o200k
tokens) and Transmission.app's 6.3 MB; over MCP the doubled text and
structured content exceed the default response budget, so an agent got
a resource_constraint error instead of any answer.

Add the established opt-in delivery: omitted or complete detail keeps the
complete result and its Evidence ID, while summary retains the complete
Evidence and returns every decoded document with node-kind,
edge-relation and coverage-status tallies (10k tokens for XLD).
inspect_analysis_view kind interface-builder pages documents, nodes,
edges or coverage; nodes and edges accept an exact decoded document path,
matched against each row's recorded evidence, and an undecoded path is
refused. Decoder truncation stays visible on every page.

Related cleanup, since the new code repeated it a ninth time:
- parseAnalysisViewResult owns parsing a view parent's normalized result
  with the operation's schema and mapping issues into the view source.
- retainedSummaryDelivery owns the preflight/summary hook pair and the
  shared registration options for artifact, native and managed tools.
- openProductionTarget owns the production MCP session test setup.
Duplication drops from 3.02% to 2.98% (threshold 3.0%).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 02:40:06 +08:00
..
cli test(cli): preserve Windows runtime paths and failure diagnostics 2026-10-12 15:46:42 +08:00
mcp perf(artifacts): add opt-in Interface Builder summary delivery and pages 2026-10-14 02:40:06 +08:00
process test: extract shared fixtures, drop knip carve-outs (#627) 2026-10-06 05:00:16 +08:00
workspace test: consolidate failure guards and trim unused fixture APIs 2026-10-09 03:13:43 +08:00
applicationSessionFixture.ts test: strengthen archive and resource cleanup assertions 2026-10-12 04:53:27 +08:00
artifactClientScope.ts test: strengthen archive and resource cleanup assertions 2026-10-12 04:53:27 +08:00
holdFirstFileRead.ts fix(io): retain cleanup ownership and honor cancellation 2026-10-12 14:12:44 +08:00
hostCleanup.ts feat(process): bound a finalization interval before forced capture timeout 2026-10-11 09:55:43 +08:00
javascriptApplicationFixture.ts fix(artifacts)!: retain cleanup owners through client shutdown 2026-10-11 04:43:02 +08:00
javascriptApplicationScope.ts fix(workflows): retain staged output ownership and cancellation semantics 2026-10-12 06:29:27 +08:00
javascriptSemanticGraphFixture.ts test(javascript): share semantic graph fixtures (#1631) 2026-10-11 04:05:35 +08:00
referenceSourceResourceScope.ts fix(reference)!: retain source and metadata cleanup owners 2026-10-11 06:10:10 +08:00
workflowGit.ts fix(ci): scope verification and reuse native runners (#1344) 2026-10-09 18:22:03 +00:00