II.
SharedContextSpec JSON
Structured · liveshared-context-spec:agent-mux-harness-mock-stdin-interaction
StdinInteraction (subprocess approval grammar) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "shared-context-spec:agent-mux-harness-mock-stdin-interaction",
"_kind": "SharedContextSpec",
"_file": "extensions/shared-context-specs/agent-mux-harness-mock-types.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "StdinInteraction (subprocess approval grammar)",
"contextKind": "test-fixture-config",
"typescriptInterface": "StdinInteraction",
"producerIface": "scenarios/interactive.ts buildInteractiveScenario",
"consumerIfaces": [
"@a5c-ai/agent-mux-harness-mock mock-process.ts (subprocess driver)"
],
"fieldSchema": [
"triggerPattern:string:required:Substring that, when seen on stdout/stderr, triggers the response",
"response:string:required:Bytes to write to stdin (empty disables auto-reply)",
"delayMs:int:optional:Delay before writing the response",
"timeoutMs:int:optional:If set, fire onTimeout when no external stdin arrives",
"onAllow:{ output, exitCode }:optional:Branch when response is non-empty",
"onDeny:{ output, exitCode }:optional:Branch when external driver supplies a deny token",
"onTimeout:{ output, exitCode }:optional:Branch when timeoutMs elapses"
],
"sourceCitation": "packages/agent-mux/harness-mock/src/types.ts:115-148"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "package:a5c-ai-agent-mux-harness-mock",
"to": "shared-context-spec:agent-mux-harness-mock-stdin-interaction",
"kind": "has_payload_schema",
"attributes": {}
}
]
}