Skip to content

docs: help PR reviewers understand the problem before the fix - #4936

Merged
hannesrudolph merged 1 commit into
mainfrom
docs/pr-template-problem-before-fix-202682
Nov 21, 2026
Merged

hannesrudolph merged 1 commit into
mainfrom
docs/pr-template-problem-before-fix-202682

Conversation

@hannesrudolph

Copy link
Copy Markdown
Member

What Problem This Solves

A PR can describe the fix in plain language without telling reviewers who is affected, what happens today, or why it matters. That leaves reviewers guessing at the problem before they can judge the fix.

User Impact

The template asks authors to describe the problem independently of the fix and shows the difference with a good and bad example. There is no runtime change.

Why This Change Was Made

This brings the problem-statement guidance from openclaw/openclaw#202682 into the template updated in #4818. The rest of the template stays as it is.

Evidence

Verified that only the problem-guidance comment changes and that all text outside HTML comments is unchanged. No runtime tests were run for this template-only change.

@vercel

vercel Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Ready Ready Preview Nov 21, 2026 11:11pm UTC

Request Review

@clawsweeper

clawsweeper Bot commented Nov 21, 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 clawsweeper:intake:docs Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:docs Preliminary submission classification; full source review pending. labels Nov 21, 2026
@clawsweeper

clawsweeper Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR revises the PR template’s hidden guidance to help authors explain who is affected and why before describing their fix.

Example: A contributor fills in the What Problem This Solves section.

  • Before: The guidance contrasts an upload problem with an implementation detail.
  • After: The guidance explicitly asks whether readers can understand the problem without knowing the proposed fix.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A useful, narrowly scoped documentation change supported by direct inspection and successful head checks.
Proof confidence 🐚 platinum hermit (4/6) This documentation-only change requires no shipped-entry-point proof; the complete template diff and surrounding guidance were inspected.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Docs · Worth it: Yes · Fix scope: Complete
User problem: Reviewers may understand a proposed change while still having to infer who needs it and why.
Reason: The maintainer author supplies direction, and the short edit makes the problem-versus-fix distinction explicit without adding review gates.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes a focused documentation improvement that is not on main. No blocking findings.

Priority: P3
Reviewed head: 81a359a535547f3a942931a164a225d6e7459b07

Before merge

None.

Findings

None.

Agent review details

How this fits together

GitHub presents the Markdown template when contributors compose PR descriptions; its hidden comments guide authors while the headings organize the published description.

flowchart LR
  A[Contributor opens a PR] --> B[GitHub loads template]
  B --> C[Hidden author guidance]
  C --> D[Author describes the problem]
  D --> E[Reviewer assesses the proposal]
Loading

Technical review

Best possible solution:

Land the focused guidance update in the existing PR template.

Do we have a high-confidence way to reproduce the issue?

No runtime bug is claimed; the base and head template blobs directly establish the documentation change.

Is this the best way to solve the issue?

Best-fix verdict: best; compose-time guidance belongs in the existing template, while CONTRIBUTING-only guidance would miss that moment and new enforcement would exceed the request.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6c06a635da12.

Provenance checked

Security

None.

Evidence

What I checked:

Likely related people:

  • Hannes Rudolph: Raw commit 05a798c adds .github/pull_request_template.md:29 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 05a798c4ba91; files: .github/pull_request_template.md)
  • RoboClaw: Raw commit 4fff918 adds .github/pull_request_template.md:6 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4fff91800b08; files: .github/pull_request_template.md)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Scope Documentation +8/-11 across one file The change shortens existing guidance without adding runtime code or automation.

Labels

Label changes:

  • add P3: This improves contributor and reviewer ergonomics without changing product behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 contributor and reviewer ergonomics without changing product behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit 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 execution lanes are retired.

Reviewed November 21, 2026, 6:21 PM ET / 23:21 UTC.

@hannesrudolph
hannesrudolph merged commit 22a3fe0 into main Nov 21, 2026
65 of 66 checks passed
@hannesrudolph
hannesrudolph deleted the docs/pr-template-problem-before-fix-202682 branch November 21, 2026 23:23

This branch was successfully deployed

1 active deployment
Preview – clawhub — 81a359a5 Deployed Nov 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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