fix(review): keep changelog policy target-specific - #986
Conversation
|
Codex review: found issues before merge. Reviewed August 3, 2026, 5:06 AM ET / 09:06 UTC. ClawSweeper reviewWhat this changesThe PR limits the review prompt’s release-owned changelog rule to Merge readinessThe target-specific changelog correction remains necessary because current Priority: P3 Review scores
Verification
How this fits togetherClawSweeper loads flowchart LR
A[Target repository PR] --> B[ClawSweeper review worker]
B --> C[Review prompt]
C --> D[Target-specific changelog policy]
D --> E[Codex review decision]
E --> F[Maintainer-facing findings]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Rebase onto current Do we have a high-confidence way to reproduce the issue? Yes. Current Is this the best way to solve the issue? Yes, with one adjustment. The exact-target wording mirrors the established contribution policy, but its regression assertions should live in the dedicated prompt-policy suite rather than a broad automerge test. Full review comments:
Overall correctness: patch is correct AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2d1a40bfa643. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (14 earlier review cycles; latest 8 shown)
|
099218a to
af87627
Compare
What Problem This Solves
Fixes an issue where ClawSweeper could apply OpenClaw's release-owned changelog rule to ClawSweeper or another target repository and incorrectly request removal of a valid release-note entry.
Why This Change Was Made
The review prompt now limits release-owned
CHANGELOG.mdhandling to the exactopenclaw/openclawtarget and explicitly requires every other repository's own release-note policy to win. Focused prompt assertions preserve that boundary.User Impact
Maintainers no longer receive false changelog-removal findings when reviewing ClawSweeper or another repository that intentionally tracks changes in its own changelog.
Evidence
./node_modules/.bin/tsc -p tsconfig.json: passed.node --test test/clawsweeper.test.ts: 76/76 passed.git diff --check: clean.origin/main: clean, 0.97 confidence.Real Behavior Proof
openclaw/openclawscope, explicitopenclaw/clawsweeperexclusion, and prohibition on inferred changelog-removal findings.Finding Disposition
AGENTS.mdlimits release ownership to the OpenClaw target, whileCONTRIBUTING.mdsays other repositories follow their own release-note policy. This PR encodes that distinction directly in the worker prompt.