Problem
The normal action npm test in the MCP starter excludes the route and projection tests—the parts that prove the plugin works. The author must know to run test:routes, test:projection, and a multi-stage check sequence separately. This exposes the framework's own proof-pool architecture as basic application setup.
Main reviewed: 14c9822bc6c01d8ff2788454d0e1dc7861bc3816; source-only review. No claim that the current explicit check script fails: it correctly runs the separate pools. The problem is the default user contract and unnecessary orchestration burden.
Evidence
Minimal direction
npm test should run the starter's normal deterministic application suite, including its route/projection tests, with separate reported proof labels. Keep focused subcommands for debugging and keep packed/native/credentialed tests explicitly opt-in or a separate integration gate. An aggregate script over existing helpers is enough initially; do not introduce another test runner or flatten incompatible module conditions.
Where the same graph can safely be reused, avoid compiling it independently solely to achieve distinct labels. Preserve isolation where React conditions, mutations or test lifecycle require it; measure before claiming a speedup.
Acceptance
Coordinate generated-type readiness with #748. Keep existing framework CI's specialized pools; this issue is about the public plugin-author experience, not rewriting the repository's test infrastructure.
Problem
The normal action
npm testin the MCP starter excludes the route and projection tests—the parts that prove the plugin works. The author must know to runtest:routes,test:projection, and a multi-stagechecksequence separately. This exposes the framework's own proof-pool architecture as basic application setup.Main reviewed:
14c9822bc6c01d8ff2788454d0e1dc7861bc3816; source-only review. No claim that the current explicitcheckscript fails: it correctly runs the separate pools. The problem is the default user contract and unnecessary orchestration burden.Evidence
testrunsrstest tests --exclude "tests/{route-unit,projection}/**";checkspells six sequential commands.agentBundleRstest. Preserve that machinery instead of duplicating compiler/React setup.Minimal direction
npm testshould run the starter's normal deterministic application suite, including its route/projection tests, with separate reported proof labels. Keep focused subcommands for debugging and keep packed/native/credentialed tests explicitly opt-in or a separate integration gate. An aggregate script over existing helpers is enough initially; do not introduce another test runner or flatten incompatible module conditions.Where the same graph can safely be reused, avoid compiling it independently solely to achieve distinct labels. Preserve isolation where React conditions, mutations or test lifecycle require it; measure before claiming a speedup.
Acceptance
Coordinate generated-type readiness with #748. Keep existing framework CI's specialized pools; this issue is about the public plugin-author experience, not rewriting the repository's test infrastructure.