II.
InteractionPrimitive JSON
Structured · liveinteraction-primitive:agent-mux-harness-mock-runtime-hook-allow-bash
harness-mock runtimeHookAllowBash (claude-code) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "interaction-primitive:agent-mux-harness-mock-runtime-hook-allow-bash",
"_kind": "InteractionPrimitive",
"_file": "extensions/interaction-patterns/agent-mux-harness-mock-errors-hooks.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "harness-mock runtimeHookAllowBash (claude-code)",
"kind": "mock-scenario",
"surface": "cli",
"description": "Drives the claude-code preToolUse runtime hook with decision='allow' on\na Bash tool call ('echo ok'); session emits init / tool_call /\ntool_result / result(success) wire chunks; exitCode 0.\nSource: packages/agent-mux/harness-mock/src/scenarios/hooks.ts:72-93\n(RUNTIME_HOOK_SCENARIOS.runtimeHookAllowBash).\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-ui-impl:agent-mux.ui@current",
"to": "interaction-primitive:agent-mux-harness-mock-runtime-hook-allow-bash",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "harness-mock"
}
}
},
{
"from": "package:a5c-ai-agent-mux-harness-mock",
"to": "interaction-primitive:agent-mux-harness-mock-runtime-hook-allow-bash",
"kind": "exposes_subcommand",
"attributes": {}
}
]
}