For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/variables/test.ROUTE_UNIT_PROOF_LEVEL.md.
  • English
  • Variable: ROUTE_UNIT_PROOF_LEVEL

    const ROUTE_UNIT_PROOF_LEVEL: "route-unit"

    agent-bundle/test — the consumer test harness helpers.

    Ten Node proof levels ship here, and the browser-safe eleventh level ships from agent-bundle/test/browser. The repository's real-host install proof uses the same level convention. Each helper names the level it supplies, stamps it into its provenance, and prints it in every failure:

    levelhelperwhat it proves
    route-unitrenderRoute, renderRouteEvents, createTargetCapabilityFixture, projectTargetCapabilitiesthe route component and its document through the real Agent renderer; explicit target-capability projection through the real MCP projector, without transport or host proof
    mcp-in-memoryopenInMemoryMcpServer, invokeMcpTool, readMcpResource, getMcpPrompt, listMcpSurface, runContractMatrixthe real generated MCP server's protocol contract, over the SDK's in-memory transport; MCP App routes are not registered and report not-applicable
    dev-epochrunDevEpochContractMatrixan epoch-pinned generated stdio process opened through the Workbench session service; MCP App routes are covered (surface + ui:// sweep) and auto-covered without a fixture
    cli-dispatchinvokeCli, cliJson, cliNdjsona compiled plain or rendered CLI command dispatched through the routed CLI's own shell, including rendered output modes, in this process
    script-dispatchrunScript, scriptJson, scriptNdjsona conventional src/scripts/* module run through its generated executable's contract — the rendered-script shell with its four output modes in this process, or the plain main envelope as a Node process of its own over the source — without bundling
    workbench-surfaceinspectWorkbenchSurfacethe compiled route graph projected exactly as the dev server serves it to the Workbench: route catalog, state, lifecycle fixtures, page availability, without a browser or dev server
    packed-stdioopenPackedMcpServer, runPackedContractMatrixa built artifact's generated entry running as a real process over stdio; MCP App routes are covered (surface + ui:// sweep) and auto-covered without a fixture
    packed-deleted-sourceremoveProjectSource, openPackedMcpServer({ deletedSource }), runPackedContractMatrixthe packed stdio process still runs after project source and configuration are removed and verified absent; MCP App routes are covered as at packed-stdio
    browser-appmountBrowserApp (agent-bundle/test/browser)production-compiled MCP App HTML mounted over the product bridge in a real browser page
    simulatedopenInstalledHostMcpServer without sessionEvidencean emitted bundle staged directly into an isolated host-shaped root and spawned without a host-owned install
    host-installopenInstalledHostMcpServer, runInstalledHostContractMatrixa built bundle staged into an isolated host root, discovered in the host's emitted format, and spawned from the installed layout; MCP App routes are covered as at packed-stdio

    Contract-matrix fixtures cover every compiled tool, prompt, and resource route. App routes are auto-covered (apps: 'auto', the default) wherever they are registered; { kind: 'resource' } names one explicitly and apps: 'explicit' requires that for every app route.

    A pass at one level is never a receipt for another. The deletedSource option upgrades openPackedMcpServer provenance only after every path in a non-empty removal receipt is verified absent immediately before spawn.