Repository navigation
improve: simplify PR context and evidence - #94676
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 19, 2026, 1:18 PM ET / 17:18 UTC. Summary PR surface: Tests -216, Docs -81, Other -353. Total -650 across 13 files. Reproducibility: not applicable. this is an automation-policy and contributor workflow change, not a runtime bug. Source review compared current-main proof-gate behavior with PR-head context-gate behavior. Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land only after maintainers confirm the context-only gate and companion ClawSweeper proof policy are the intended rollout, with required checks green and a rename follow-up if desired. Do we have a high-confidence way to reproduce the issue? Not applicable; this is an automation-policy and contributor workflow change, not a runtime bug. Source review compared current-main proof-gate behavior with PR-head context-gate behavior. Is this the best way to solve the issue? Yes, if maintainers accept the policy direction; moving proof sufficiency out of OpenClaw's body gate avoids duplicate proof ownership. The main alternative is a before-merge workflow/check rename if the AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 38807ffba4b2. Label changesLabel justifications:
Evidence reviewedPR surface: Tests -216, Docs -81, Other -353. Total -650 across 13 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review I reworked this after the review feedback so the ownership split is explicit:
Validation after the split:
This should address the review concern about overloading |
|
🦞🧹 I asked ClawSweeper to review this item again. |
56a36a4 to
e2ba43e
Compare
* improve: simplify PR context and evidence * improve: decouple PR context from proof labels * fix: satisfy PR context lint
What Problem This Solves
The PR template and external-contributor body gate were still tied to a rigid real-behavior-proof form. That made readable PRs harder to write and conflated two separate concerns: author-provided PR context versus ClawSweeper's stronger proof-sufficiency review.
Why This Change Was Made
Replace the field-level proof form with authored
What Problem This SolvesandEvidencesections, and make Barnacle manage only the missing-context labeltriage: needs-pr-context. OpenClaw no longer emits or clears ClawSweeper-owned proof labels such asproof: supplied,proof: sufficient, orproof: override.Companion ClawSweeper draft: openclaw/clawsweeper#319
User Impact
Authors can write concise PRs that explain intent, design, impact, and the most useful validation evidence. Reviewers and AI can use that context while relying on the diff, tests, CI, and ClawSweeper review as the source of truth for correctness and proof sufficiency.
Evidence
node scripts/run-vitest.mjs test/scripts/real-behavior-proof-policy.test.ts test/scripts/barnacle-auto-response.test.ts test/scripts/test-projects.test.ts./node_modules/.bin/oxfmt --checkacross all changed OpenClaw files.git diff --check.agents/skills/autoreview/scripts/autoreview --mode local --parallel-tests "<focused tooling command>"pnpm run checkpassed.