II.
InteractionPrimitive overview
Reference · liveinteraction-primitive:adapters-harness-mock-runtime-hook-allow-bash
harness-mock runtimeHookAllowBash (claude-code) overview
Drives the claude-code preToolUse runtime hook with decision='allow' on a Bash tool call ('echo ok'); session emits init / tool_call / tool_result / result(success) wire chunks; exitCode 0. Source: packages/adapters/harness-mock/src/scenarios/hooks.ts:72-93 (RUNTIME_HOOK_SCENARIOS.runtimeHookAllowBash).
Attributes
displayName
harness-mock runtimeHookAllowBash (claude-code)
kind
mock-scenario
surface
cli
description
Drives the claude-code preToolUse runtime hook with decision='allow' on
a Bash tool call ('echo ok'); session emits init / tool_call /
tool_result / result(success) wire chunks; exitCode 0.
Source: packages/adapters/harness-mock/src/scenarios/hooks.ts:72-93
(RUNTIME_HOOK_SCENARIOS.runtimeHookAllowBash).
Outgoing edges
None.
Incoming edges
exposes_subcommand1
- package:a5c-ai-adapters-harness-mock·PackageSurfaceHarness Mock
supports_interaction_primitive1
- agent-ui-impl:adapters.ui@current·AgentUIImpladapters UI (current) — multi-surface