II.
SharedContextSpec overview
Reference · liveshared-context-spec:agent-mux-harness-mock-harness-scenario
HarnessScenario (top-level) overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for shared-context-spec:agent-mux-harness-mock-harness-scenario.
Attributes
displayName
HarnessScenario (top-level)
contextKind
test-fixture-config
typescriptInterface
HarnessScenario
producerIface
test authors / packages/agent-mux/harness-mock/src/scenarios/* presets
consumerIfaces
- @a5c-ai/agent-mux-harness-mock startMock (multi-execution.ts)
fieldSchema
- harness:enum<HarnessType>:required:Which harness to simulate (claude-code|codex|gemini|...)
- name:string:optional:Human-readable scenario name
- executionType:enum<subprocess|http|websocket|sdk>:optional:Default subprocess
- process:ref<ProcessBehavior>:optional:exit code, timing, crash signals
- output:list<OutputChunk>:optional:Stdout/stderr chunks with delays
- interactions:list<StdinInteraction>:optional:Stdin pattern→response pairs
- expectedEnv|expectedArgs|expectedCwd:optional:Subprocess assertion bundle
- events:list<MockEvent>:optional:Pre-canned event taxonomy items
- fileOperations:list<FileOperation>:optional:File ops to simulate
- telemetry:object:optional:{ spans?, metrics? } simulated telemetry
- runtimeHooks:{ steps: list<RuntimeHookScenarioStep> }:optional:Hook interception script
- httpServer:ref<HttpServerConfig>:optional:Required when executionType=http
- websocketServer:ref<WebSocketConfig>:optional:Required when executionType=websocket
- sdk:ref<SdkConfig>:optional:Required when executionType=sdk
sourceCitation
packages/agent-mux/harness-mock/src/types.ts:335-408
Outgoing edges
None.
Incoming edges
has_payload_schema1
- package:a5c-ai-agent-mux-harness-mock·PackageSurface