iiRecord
Agentic AI Atlas · HarnessScenario (top-level)
shared-context-spec:agent-mux-harness-mock-harness-scenarioa5c.ai
II.
SharedContextSpec JSON

shared-context-spec:agent-mux-harness-mock-harness-scenario

Structured · live

HarnessScenario (top-level) json

Inspect the normalized record payload exactly as the atlas UI reads it.

File · extensions/shared-context-specs/agent-mux-harness-mock-types.yamlCluster · extensions
Record JSON
{
  "id": "shared-context-spec:agent-mux-harness-mock-harness-scenario",
  "_kind": "SharedContextSpec",
  "_file": "extensions/shared-context-specs/agent-mux-harness-mock-types.yaml",
  "_cluster": "extensions",
  "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"
  },
  "outgoingEdges": [],
  "incomingEdges": [
    {
      "from": "package:a5c-ai-agent-mux-harness-mock",
      "to": "shared-context-spec:agent-mux-harness-mock-harness-scenario",
      "kind": "has_payload_schema",
      "attributes": {}
    }
  ]
}