docs: clarify blocked hook metadata

This commit is contained in:
jesse-merhi
2026-05-06 15:58:09 +10:00
committed by clawsweeper
parent d106c7b2c5
commit 5b538d367f

View File

@@ -242,9 +242,10 @@ to stop the run before the model can read the prompt. `reason` is internal;
`pass` and `block`; unsupported decision shapes fail closed.
When a run is blocked, OpenClaw stores only the replacement text in
`message.content` plus non-sensitive block metadata such as the blocking plugin,
reason, and timestamp. The original user text is not retained in transcript or
history metadata.
`message.content` plus non-sensitive block metadata such as the blocking plugin
id and timestamp. The original user text is not retained in transcript or future
context. The internal block reason remains logging/diagnostics-only and is not
stored in transcript or history metadata.
`before_agent_start` and `agent_end` include `event.runId` when OpenClaw can
identify the active run. The same value is also available on `ctx.runId`.