Repository navigation
fix(review): keep issue next steps free of worker instructions - #1885
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThe PR directs issue reviews to publish concrete next steps while keeping worker instructions in workPrompt. Example: An ACP repair review contains previous worker-lane wording and an unverified queue label.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it addresses a verified public-comment problem with a focused prompt change, and no introduced correctness defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherClawSweeper assembles issue-specific instructions into its review prompt, receives structured model output, and renders workReason as the public Next step. flowchart LR
A[Issue context] --> C[Review prompt assembly]
B[Issue instructions] --> C
C --> D[Model decision]
D --> E[Public review comment]
D --> F[Worker instructions]
Technical reviewBest possible solution: Keep public repair guidance in workReason and execution directions in workPrompt at the issue-prompt owner. Do we have a high-confidence way to reproduce the issue? The linked public comment verifies the reported wording, and source confirms workReason reaches Next step; no current-main model reproduction was run. Is this the best way to solve the issue? The issue prompt is the appropriate owner for this model-authored wording, avoiding a competing output-rewrite mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9e8717ba669e. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 10, 2026, 6:01 AM ET / 10:01 UTC. |
What Problem This Solves
Issue next steps can leak internal instructions such as “Reuse the already queued implementation lane” instead of telling readers what needs fixing.
Observed example: openclaw/openclaw#167837 (comment).
User Impact
Issue reviews should state the concrete repair, missing evidence, or maintainer decision, without claiming an implementation worker is running based on labels or old review prose.
Why This Change Was Made
The sentence is model-authored public
workReason, not a host literal. The issue prompt already discusses implementation workers and sends next-action guidance intoworkReason, but did not distinguish public guidance from internal execution instructions. Make that boundary explicit in the prompt; keep worker instructions inworkPrompt. No output regex, rewrite, or second model judge is added.OpenClaw Bay Impact
None: no queue, status, or dashboard contract changes. This only changes instructions for model-authored issue comment text.
Documentation Impact
The issue prompt is the canonical owner for this guidance; updated it and added a changelog fragment. No operator procedure changes.
Real Behavior Proof
codex exec --ephemeral --sandbox read-onlywith a synthetic source-proven ACP defect, the previous leaked wording, an unverified queue label, and no known open PR. Asked only forworkReasonandworkPrompt; no tools or repository inspection./tmp/small-followups-wording-proof.mjs.workReason: “Forward preamble progressText to the existing ACP update owner and establish a failing regression for the dropped progress events.” Worker/testing directions remained inworkPrompt..artifacts/issue-next-step-proof.jsonin the worktree; full transcript in pueue task 1145.Evidence
Pueue task 1145 passed:
pnpm install --frozen-lockfile,pnpm run build:all,node --test test/review-comment-rendering.test.ts(54 passed),pnpm run lint,pnpm run format:check, andpnpm run check:changelog. Full suite intentionally not run; CI is the gate.Fresh
codex review --base origin/mainpassed with no actionable findings (pueue task 1148).