Skip to content

fix(review): keep issue next steps free of worker instructions - #1885

Merged
obviyus merged 1 commit into
mainfrom
fix/issue-next-steps-wording
Oct 10, 2026
Merged

obviyus merged 1 commit into
mainfrom
fix/issue-next-steps-wording

Conversation

@obviyus

@obviyus obviyus commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

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 into workReason, but did not distinguish public guidance from internal execution instructions. Make that boundary explicit in the prompt; keep worker instructions in workPrompt. 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

  • Claim: the changed issue prompt separates public repair guidance from internal worker instructions even when the input contains the leaked sentence and a queue label.
  • Scenario/surface: sent the current base + issue prompt text to codex exec --ephemeral --sandbox read-only with a synthetic source-proven ACP defect, the previous leaked wording, an unverified queue label, and no known open PR. Asked only for workReason and workPrompt; no tools or repository inspection.
  • Environment: macOS arm64; Codex CLI 0.162.1, configured gpt-6-astra provider; pueue task 1145, /tmp/small-followups-wording-proof.mjs.
  • Observed workReason: “Forward preamble progressText to the existing ACP update owner and establish a failing regression for the dropped progress events.” Worker/testing directions remained in workPrompt.
  • Artifact: .artifacts/issue-next-step-proof.json in the worktree; full transcript in pueue task 1145.
  • Limits: one controlled model generation using the prompt text, not a live hosted review or a guarantee about all future generations. Base prompt template placeholders are unexpanded for this narrow field-level probe. No GitHub writes, stored records, schema changes, or corpus hydration.

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, and pnpm run check:changelog. Full suite intentionally not run; CI is the gate.

Fresh codex review --base origin/main passed with no actionable findings (pueue task 1148).

@clawsweeper

clawsweeper Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 10, 2026
@clawsweeper

clawsweeper Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

The 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.

  • Before: The public next step says to reuse the already queued implementation lane.
  • After: The supplied controlled generation says to forward preamble progressText to the ACP update owner and establish a failing regression.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The patch is focused and source-consistent; the supplied field-level probe does not satisfy the required entry-point proof.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Issue readers receive internal worker directions and unsupported claims that implementation work is already queued.
Reason: The verified output conflicts with existing public next-action guidance, and the focused addition preserves worker routing contracts.

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
Reviewed head: fa7db38753ddbb99a47d8a8f2519b7a919f0b822

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Show an actual ClawSweeper issue review using the assembled prompt with prior worker-lane wording and an unverified queue label, producing concrete public guidance.
Agent review details

How this fits together

ClawSweeper 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]
Loading

Technical review

Best 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

  • Issue review guidance keeps the original intent (2e4c3fa: Split review instructions by item kind; later consolidation kept each rule with its owning prompt or field.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit 43e96c4 adds prompts/review-item-issue.md:3 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 43e96c4fe318; files: prompts/review-item-issue.md)

Labels

Label changes:

  • add P3: This improves public review wording without changing queue admission, execution, or stored contracts.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This improves public review wording without changing queue admission, execution, or stored contracts.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only; repair and merge need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

Reviewed October 10, 2026, 6:01 AM ET / 10:01 UTC.

@obviyus
obviyus merged commit 56f9061 into main Oct 10, 2026
27 checks passed
@obviyus
obviyus deleted the fix/issue-next-steps-wording branch October 10, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant