Repository navigation
[codex] Fix commitments safety and coverage - #75302
Conversation
9ead7b2 to
0b4a34f
Compare
|
@clawsweeper autofix |
|
Codex review: passed for ClawSweeper automerge. What this changes: The PR hardens inferred commitments by honoring heartbeat Automerge follow-up: No ClawSweeper repair job is needed: the prior narrow blocker was repaired on the PR branch, review findings are empty, and the remaining action is exact-head CI/automerge gating. Security review: Security review cleared: Security review cleared: the diff hardens prompt/data handling and tool disabling, adds tests/docs/Docker coverage, and does not add third-party dependencies, workflow permission expansion, secret exposure, package lifecycle hooks, or downloaded code execution. Review detailsBest possible solution: Keep this PR as the canonical commitments hardening path and let exact-head CI plus the existing automerge/maintainer gates decide landing once the remaining in-progress checks finish. Do we have a high-confidence way to reproduce the issue? Yes. Seed a due commitment for a session whose heartbeat config has Is this the best way to solve the issue? Yes. The PR fixes the behavior at the commitments/heartbeat and CLI tool-disabling boundaries, strips legacy data through the store layer, and adds focused coverage without moving extension-owned policy into core. What I checked:
Likely related people:
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against a102f4dede6a. |
|
@clawsweeper automerge |
|
🦞🦞 I added Draft PRs stay fix-only until GitHub marks them ready for review. A maintainer can pause this with |
|
🦞🦞 I added This is fix-only: I will not merge this PR. Tiny claw oath. |
|
🦞🦞 Source: I will update this PR branch, or open a safe credited replacement, if the repair worker finds a narrow fix. |
|
ClawSweeper 🐠 reef update Thanks for the contribution here. ClawSweeper was able to repair this branch in place, which keeps the original PR as the clean canonical path. Source PR: #75302 fish notes: model gpt-5.5, reasoning medium; reviewed against b5a7fc7. |
0b4a34f to
b5a7fc7
Compare
|
@clawsweeper automerge |
|
🦞🦞 Source: I will update this PR branch, or open a safe credited replacement, if the repair worker finds a narrow fix. |
|
ClawSweeper 🐠 reef update Thanks for the contribution here. ClawSweeper gave this branch a little current boost so the original PR can stay the canonical swim lane instead of opening a replacement. Source PR: #75302 fish notes: model gpt-5.5, reasoning medium; reviewed against d224d82. |
b5a7fc7 to
d224d82
Compare
|
🦞🦞 I added Draft PRs stay fix-only until GitHub marks them ready for review. A maintainer can pause this with |
|
🦞🦞 Source: The automerge loop is complete. |
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
* 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 <[email protected]>
Summary
Fixes the commitments follow-up safety issues found after the initial feature landed:
heartbeat.target: "none"for due commitments, including the runner path that wakes extra due sessions.disableTools.Root Cause
The first commitments implementation correctly scoped inferred records to agent/channel, but heartbeat delivery treated due commitments as a special case that could bypass internal-only heartbeat delivery. The delivery prompt also carried raw source text forward into a later heartbeat turn, and the hidden extraction queue had no backpressure. Expired records were filtered out of due lists without transitioning their stored status.
Validation
Local targeted proof:
The new QA Lab scenario and Docker lane are intentionally PR/CI proof. I did not run the Docker lane locally.