Skip to content

Bring PR Review Family Sentences to 25 Words or Fewer and Name the Sent and Spent Readings - #3568

Merged
ptr727 merged 3 commits into
developfrom
feature/3531-pr-review-family-sentence-length
Oct 28, 2026
Merged

ptr727 merged 3 commits into
developfrom
feature/3531-pr-review-family-sentence-length

Conversation

@ptr727

@ptr727 ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • scripts/pr_review.py usage text, the refusal= paragraph: the RUN LOG READING is transient only while the fetch failure's one re-request is owed or pending. Once that re-request is sent with no round answering it, or spent by a second error refusal in a row, the reading is possible quota although the log still names a fetch failure. This matches transient_state and run_log_reading.
  • Say What a Carrier's Local Strict Review Does With Sentence-Length Hits on Hub-Verbatim Text #3531 slice: every sentence over 25 words is split or restructured in .agents/skills/pr-review-conduct/SKILL.md, .agents/skills/drive-pr/SKILL.md, and docs/pr-reviewer-reference.md. The one remaining sentence in .github/copilot-instructions.md, the REQUEST_NOT_RECORDED one, changes identically in all three of its copies. Meaning is unchanged.
  • drive-pr's include region and the generated .github/skills/ and .claude-plugin/fleet-skills/ copies are regenerated by scripts/build_dist.py, and nothing in them is hand-edited.

Verification

  • python3 scripts/prose_lint.py --check sentence-length reports zero hits on all four files. The counts before were 57 for pr-review-conduct, 34 for drive-pr, 28 for the reference doc, and 1 for copilot-instructions.
  • The default prose gate, the diff-scoped prose gate, and markdownlint pass on the changed files.
  • uv run --no-project --script scripts/build_dist.py --check is clean.
  • ruff format --check, ruff check, and mypy pass. tests/test_pr_review.py passes, 489 tests, and the full unittest discover -s tests suite passes.

Closes on promotion: #3560
Refs #3531

🤖 Generated with Claude Code

ptr727 and others added 3 commits October 28, 2026 07:42
The refusal= paragraph said a fetch failure reads transient. It reads
transient only while its one re-request is owed or pending, and possible
quota once that re-request is sent unanswered or spent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Splits every sentence over 25 words in pr-review-conduct, drive-pr, and
docs/pr-reviewer-reference.md, and the shared REQUEST_NOT_RECORDED
sentence in all three of its copies. Meaning is unchanged. drive-pr's
include region and the generated trees are regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The local review found pronouns pointing at new nouns, a "So does" left
with no verb to stand for, and a narrowed subject. The usage text now
names spent apart from the re-request, as transient_state reads it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 28, 2026 14:52
@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@ptr727

ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head c01b0aadf7970d9d7aa4267cbff366ee06800ddf, the content this pull request carries at that commit against develop, and it recorded 0 findings.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.50%. Comparing base (a70a543) to head (c01b0aa).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3568   +/-   ##
========================================
  Coverage    81.50%   81.50%           
========================================
  Files           26       26           
  Lines         9066     9066           
========================================
  Hits          7389     7389           
  Misses        1677     1677           
Flag Coverage Δ
python-3.13 81.50% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

Merge Gate item 2: Copilot posted an error refusal on this head, read as possible quota, so no Copilot round covers it. The maintainer authorized this develop merge on 2026-10-28 under item 5. The coverage relied on is the attested local strict review pass on this head, which raised 0 findings, with 13 of 13 checks green.

@ptr727
ptr727 merged commit 96c22b0 into develop Oct 28, 2026
13 of 14 checks passed
@ptr727
ptr727 deleted the feature/3531-pr-review-family-sentence-length branch October 28, 2026 18:08
ptr727 added a commit that referenced this pull request Oct 28, 2026
…LE and PR Review Family Sentence Splits (#3574)

## Summary

A promotion fix for #3572's content. PRs #3567 and #3568 merged on local
strict review passes alone. This change compares every split those two
slices made with its original sentence. It repairs each split that lost
an antecedent, left a "since" or "so" reason on one half, let a
condition stop short of a clause it covered, or no longer parsed. Each
repair restores the original meaning, and every sentence stays at 25
words or fewer.

## Splits Repaired

From #3567:

- `.agents/skills/python-codestyle/SKILL.md`, Local development loop:
"It builds its environment" read as the uv-form directory the previous
clause named. It now names "A pip-form directory". Lost antecedent.
- `.agents/skills/python-codestyle/references/profiles.md`, Dependency
declaration: "That is the one group" followed `[dependency-groups]`, the
table rather than the `dev` group. It now names "The `dev` group". Lost
antecedent.

- `CODESTYLE.md`, .NET summary: "With them comes the local
diagnostic..." no longer said the style guide covers it. It now reads
"With them it covers the local diagnostic...". Lost subject and verb.

From #3568:

- `.agents/skills/drive-pr/SKILL.md`, "A brief is never itself the
authorization": "recorded where the skill that carries the grant states
its scope" had become a separate fact ("It is recorded where..."). It
qualifies what authorizes a merge again. Qualifier reach.
- `.agents/skills/drive-pr/SKILL.md`, same bullet: the original's
"since" gave two reasons a brief's approval creates none. The split left
the merge reason as a bare "And a merge is..." sentence. Both reasons
now precede "So writing an approval into a brief creates none." Reason
left on one half.
- `.agents/skills/pr-review-conduct/SKILL.md`, outcome 1 (and drive-pr's
generated include of it): "The fix is the round the pass gets dropped
on, and the churn..." called the fix itself churn. The original's
"which" referred to the unreviewed fix as a whole, now "That is the
round...". Antecedent.
- `.agents/skills/pr-review-conduct/SKILL.md`, Merge Gate item 2: "That
is because the hub's ... Status names Copilot the incumbent" reached
only "CodeRabbit and Qodo are advisory". It reaches the Copilot-coverage
requirement again. Reason left on one half.
- `.agents/skills/pr-review-conduct/SKILL.md`, Merge Gate item 2: "Take
an advisory reviewer carrying the exact head..." turned a description
into an imperative. It is a description again. Description turned into
an instruction.
- `.agents/skills/pr-review-conduct/SKILL.md`, Merge Gate item 3: "The
carrier adapts its own copy meanwhile" stood alone after the intent-unit
sentence and could read as covering a verbatim unit too. It now says
"its own copy of an intent unit". Qualifier reach.
- `.agents/skills/pr-review-conduct/SKILL.md`, Expected review loop
effort paragraph: "Both read `unknown`" followed a sentence naming an
inherited and a chosen setting. It now says "Both fields". Lost
antecedent.
- `.agents/skills/pr-review-conduct/SKILL.md`, same paragraph: "Clear it
only where..." no longer carried the second-timeout condition. It now
opens "In that case", matching `.github/copilot-instructions.md`.
Condition reach.
- `.agents/skills/pr-review-conduct/SKILL.md`, Style or convention:
"Take the rule to the maintainer" no longer carried the "If the rule
contradicts the tree" condition. It now says "Take such a rule".
Condition reach.
- `docs/pr-reviewer-reference.md`, Copilot: "so none of its scope
refusals reaches them" left the owner check by whoever runs the commands
outside the "so". Both consequences sit under it again. Reason left on
one half.
- `docs/pr-reviewer-reference.md`, Copilot: "so it answers whether a
human or a team is requested" left "never whether the reviewer bot is"
outside the "so". Both sit under it again. Reason left on one half.
- `docs/pr-reviewer-reference.md`, Review Configuration: the CodeRabbit
and Qodo bullet leads had lost the colon that introduced their settings
and become verbless fragments. Each now reads "**CodeRabbit** is
configured in ..." or "**Qodo** is configured in ...". Ungrammatical.
- `.agents/skills/drive-pr/SKILL.md`, step 4: "That is because it is run
from inside the task's own worktree" put only the first fact of a
three-sentence explanation under "because". The original had no
connective, and the explanation runs without one again. Reason left on
one half.
- `.agents/skills/pr-review-conduct/SKILL.md`, Expected review loop:
"the receipt being keyed on the branch's net content" was the reason a
re-push needs no second pass. The split made it a separate fact, and
"That is because" restores the reason. Lost reason.

The python-codestyle, pr-review-conduct, and drive-pr distributions are
regenerated with `scripts/build_dist.py`.

## Verification

- `python3 scripts/prose_lint.py --check sentence-length` on the six
source files: 0 hits.
- `python3 scripts/prose_lint.py` default rules on the six source files:
clean.
- `uv run --no-project --script scripts/build_dist.py --check`: current.

## Local Review

Two recorded `local-strict-review` passes over the whole branch diff.
The first raised 7 findings, all against splits the first commit had not
repaired. The second commit fixes four of them, and the second pass
raised none. The other three were judged not to be drift and are
declined:

- `.agents/skills/pr-review-conduct/SKILL.md` outcome 1, "so sweep for
the finding's siblings before replying. Fix each one...": the fix half
keeps its reason in the outcome's own heading, "fix the class rather
than the instance". `style`.
- `.agents/skills/pr-review-conduct/SKILL.md` "Which Reviewers a
Repository Actually Has", "So respond to what the reviewers actually
did... Do not decide from a repository property...": the second sentence
restates the first instruction's own contrast and adds no rule. `style`.
- `.agents/skills/pr-review-conduct/SKILL.md` outcome 3, "never needs
this outcome" without "at all": this is emphasis only, and the meaning
is unchanged. Restoring it puts the sentence at 26 words. `style`.

Refs #3531

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
ptr727 added a commit that referenced this pull request Oct 28, 2026
…tence Length, Handoff Skills, and Blog host-secrets (#3572)

## Summary

Promotes `develop` to `main`, carrying round 4 of the resync-issue
burndown:

- #3569: the registry declares no `python` profile. The schema and
`spec/validate.py` refuse one, since each declared directory's
`pyproject.toml` shape states its profile.
- #3567: the `CODESTYLE.md` Python summary names the undeclared-root
default. `CODESTYLE.md`, python-codestyle, and shell-codestyle reach 25
words or fewer per sentence.
- #3568: the `pr_review.py` `refusal=` usage text names the `sent` and
`spent` readings. pr-review-conduct, drive-pr,
`docs/pr-reviewer-reference.md`, and the last Copilot-instructions
sentence reach the cap.
- #3570: backlog-burndown, session-handoff, and unattended-handoff reach
the cap.
- #3534: Blog declares the `host-secrets` overlay, and the conformance
matrix names it the first adopter. The hub session took this over from
the Blog session.
- #3573: promotion fix for Copilot's finding on this pull request. It
restores the full-page check sentence and repairs 11 more #3570 splits
that lost a subject, antecedent, or condition scope.
- #3574: promotion fix auditing the #3567 and #3568 splits the same way.
It repairs 16 that lost an antecedent, a reason, or a condition's reach.

#3567, #3568, and #3570 merged into `develop` on attested local passes,
after Copilot refusals read as possible quota. The maintainer authorized
each, as recorded on those pull requests. The sweep slices continue
#3531 and do not close it.

Fixes #3556
Fixes #3563
Fixes #3560

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.

2 participants