mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:40:44 +00:00
docs: clarify blocked hook metadata
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user