mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:10:45 +00:00
[codex] Fix commitments safety and coverage (#75302)
* fix commitments safety and coverage * Repair commitments safety PR review blockers * fix(clawsweeper): address review for automerge-openclaw-openclaw-75302 (1) * Repair commitments safety PR review blocker --------- Co-authored-by: clawsweeper-repair <clawsweeper-repair@users.noreply.github.com>
This commit is contained in:
@@ -60,11 +60,15 @@ When it finds a high-confidence candidate, OpenClaw stores a commitment with:
|
||||
- the original channel and delivery target
|
||||
- a due window
|
||||
- a short suggested check-in
|
||||
- enough source context for heartbeat to decide whether to send it
|
||||
- non-instructional metadata for heartbeat to decide whether to send it
|
||||
|
||||
Delivery happens through heartbeat. When a commitment becomes due, heartbeat
|
||||
adds the commitment to the heartbeat turn for the same agent and channel scope.
|
||||
The model can send one natural check-in or reply `HEARTBEAT_OK` to dismiss it.
|
||||
If heartbeat is configured with `target: "none"`, due commitments remain
|
||||
internal and do not send external check-ins. Commitment delivery prompts do not
|
||||
replay the original conversation text, and due commitment heartbeat turns run
|
||||
without OpenClaw tools.
|
||||
|
||||
OpenClaw never delivers an inferred commitment immediately after writing it.
|
||||
The due time is clamped to at least one heartbeat interval after the commitment
|
||||
|
||||
Reference in New Issue
Block a user