Handle a comply_test_controller request. Exported so custom MCP wrappers
can compose it with their own middleware (AsyncLocalStorage, sandbox gating,
logging) without going through registerTestController.
list_scenarios is answered from the static capability set (store method
presence for plain stores, factory.scenarios for factories) and never
invokes factory.createStore. Session-backed factories can therefore load
real session state unconditionally.
input.context is echoed into every response branch so correlation IDs
round-trip per the comply-test-controller-response.json schema.
Handle a
comply_test_controllerrequest. Exported so custom MCP wrappers can compose it with their own middleware (AsyncLocalStorage, sandbox gating, logging) without going through registerTestController.list_scenariosis answered from the static capability set (store method presence for plain stores,factory.scenariosfor factories) and never invokesfactory.createStore. Session-backed factories can therefore load real session state unconditionally.input.contextis echoed into every response branch so correlation IDs round-trip per thecomply-test-controller-response.jsonschema.