# ACP step outcome via closing hx-step block Status: accepted ## Context The orchestrator needs step outcome, decisions and plan from every provider, including the `claude` CLI, whose tools hx does not own and so cannot hook with custom tool calls. In ACP, file tools have no permission rule, and a stuck tool can block a stop. ## Decision The model reports step outcome, decisions and plan in a closing ```hx-step JSON block of its reply, which works identically for all providers. Stops are soft: the run ends at the next turn boundary and a stuck tool gets a grace period. "Always" on a file-tool permission means all edits for the session, since file tools have no rule to store. ## Consequences Provider-independent protocol, but correctness relies on the model emitting a parseable block. Code: crates/hx-cli/src/acp.rs (module doc, permission wiring around the file-tool "always" case, step run loop soft stop)