Skip to content

docs(review): record the owner's standing review rules - #277

Merged
lanyue-llk merged 2 commits into
mainfrom
docs/owner-review-rules
Nov 12, 2026
Merged

lanyue-llk merged 2 commits into
mainfrom
docs/owner-review-rules

Conversation

@lanyue-llk

@lanyue-llk lanyue-llk commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Owner review rules

The owner has repeated the same review instructions across many sessions: the pasted checklist, "find all issues at once", "only P0/P1", "post them", "simple is best", "is this hard coding?", "use it as a normal user" and "every PR needs one picture". This PR writes them down once, in the Webstone supplement of docs/references/review-guidelines.md. OCR and agents load that file through .opencodereview/rule.json, so reviews apply the rules without anyone restating them.

What was added: a new "Owner review rules" section at the end of the supplement, generalized from roughly 260 owner messages across Claude and Codex sessions. It contains only rules that the shared text and AGENTS.md don't already state:

  • Rounds and posting:
    • an owner's review request authorizes posting, in one combined comment per round;
    • each round covers the whole net diff, judged by the rules on the latest main;
    • P0/P1-only rounds happen when the owner asks for them, and PRs whose head hasn't changed are skipped;
    • related code and dataset PRs are reviewed together;
    • by owner agreement, a P2 that is only about tidiness and changes no behavior, data or score doesn't block merging.
  • What to question:
    • the approach and specs, with rule conflicts reported separately;
    • oversized PRs, which should be split;
    • the balance of correctness, speed and cost;
    • datasets, populations, task selection and results;
    • version impact under docs/releases.md;
    • using a shipped service as a normal user;
    • secrets, deferring to .env and docs/report-hosting.md;
    • text language, deferring to CONTRIBUTING.md#text-language;
    • Web Fetch reports that must rank.
  • PR hygiene: one accurate picture per PR, and the PR closes the issues it resolves.
  • Writing findings: say what breaks and for whom, and give options with a default when the owner must decide.

The shared section copied from ai-template-py is unchanged. These rules are recorded as Webstone's own supplement.

Docs only, 1 file.

Collect the review rules the owner repeated across sessions into the
Webstone supplement so reviews apply them without being restated.

@lexmount-ocr lexmount-ocr Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · aea8d7f

This review found 1 issue(s), including 1 blocking issue(s).

Comment thread docs/references/review-guidelines.md Outdated

- A request to review a PR includes posting the findings on it. Post one combined comment per PR per round. Comment on another author's PR only when it shares the defect under review.
- Every round reviews the whole current head against the latest `main` and its rules, not only the new commits. Report all confirmed findings in that round.
- After the first round, a "new version" round covers the fixes and anything new. Report only P0 and P1 when the owner asks for them. Skip PRs that are unchanged since the last round or that were clean in it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug · medium
P2: The unconditional “or that were clean” skips a PR even when new commits have been pushed since its clean review. Those commits can introduce defects but receive no review, contradicting both the preceding whole-current-head rule and the shared requirement that previous approvals do not substitute for checking current changes. Limit the clean-review shortcut to an unchanged reviewed revision (and unchanged review basis); changed PRs should still be reviewed.

Scope posting authorization to owner requests, review the net diff,
skip only unchanged heads, make the P2 agreement concrete, defer
credentials and language to their owners and drop duplicated rules.

@lexmount-ocr lexmount-ocr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Re-review complete · 46eb166

No findings in this incremental review.

@lanyue-llk
lanyue-llk merged commit 6e672d6 into main Nov 12, 2026
7 checks passed
@lanyue-llk
lanyue-llk deleted the docs/owner-review-rules branch November 12, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant