Skip to content

Restore Reasons, Antecedents, and Condition Scope Lost in the CODESTYLE and PR Review Family Sentence Splits - #3574

Merged
ptr727 merged 2 commits into
developfrom
feature/3531-sweep-split-audit
Oct 28, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/3531-sweep-split-audit

Conversation

@ptr727

@ptr727 ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

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

ptr727 and others added 2 commits October 28, 2026 12:08
#3568 sentence splits

Compares every split the two slices made with its original sentence and
repairs the ones that dropped an antecedent, left a "since" or "so" reason
on one half, or let a condition stop short of the clause it covered.

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

ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

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

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

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.

🟢 Approval recommended

No actionable findings remain, and the affected documentation and generated skill mirrors have been repaired consistently with refreshed source digests.

No open issues 🎉

What changed in this PR

This pull request restores antecedents, qualifiers, conditions, and causal relationships lost during earlier sentence splits across the CODESTYLE and PR review documentation family, while preserving the 25-word sentence limit.

Changes:

  • Repairs canonical Python codestyle, PR review, drive-pr, CODESTYLE, and reviewer-reference prose.
  • Regenerates the corresponding .github/skills/ and .claude-plugin/fleet-skills/ distributions.
  • Refreshes source digests for the affected skills.
  • No actionable findings were identified.
File Description
docs/​pr-reviewer-reference.md Restores causal scope and complete reviewer configuration sentences.
CODESTYLE.md Restores the subject and verb for the .NET diagnostic coverage statement.
.github/​skills/​python-codestyle/​SKILL.md Clarifies the pip-form directory antecedent.
.github/​skills/​python-codestyle/​references/​profiles.md Names the dev dependency group explicitly.
.github/​skills/​pr-review-conduct/​SKILL.md Restores conditions, antecedents, qualifiers, and causal explanations.
.github/​skills/​drive-pr/​SKILL.md Restores authorization and explanatory sentence scope.
.claude-plugin/​fleet-skills/​skills/​python-codestyle/​SKILL.md Regenerated Python codestyle skill mirror.
.claude-plugin/​fleet-skills/​skills/​python-codestyle/​references/​profiles.md Regenerated Python profile mirror.
.claude-plugin/​fleet-skills/​skills/​pr-review-conduct/​SKILL.md Regenerated PR review guidance mirror.
.claude-plugin/​fleet-skills/​skills/​drive-pr/​SKILL.md Regenerated drive-pr guidance mirror.
.claude-plugin/​fleet-skills/​.source-digests/​python-codestyle Refreshes the Python codestyle source digest.
.claude-plugin/​fleet-skills/​.source-digests/​pr-review-conduct Refreshes the PR review source digest.
.claude-plugin/​fleet-skills/​.source-digests/​drive-pr Refreshes the drive-pr source digest.
.agents/​skills/​python-codestyle/​SKILL.md Repairs canonical Python codestyle wording.
.agents/​skills/​python-codestyle/​references/​profiles.md Repairs canonical Python profile wording.
.agents/​skills/​pr-review-conduct/​SKILL.md Repairs canonical PR review guidance wording.
.agents/​skills/​drive-pr/​SKILL.md Repairs canonical drive-pr guidance wording.

Review effort: Lite

@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.60%. Comparing base (03aee1b) to head (197a1d9).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3574   +/-   ##
========================================
  Coverage    81.60%   81.60%           
========================================
  Files           26       26           
  Lines         9070     9070           
========================================
  Hits          7402     7402           
  Misses        1668     1668           
Flag Coverage Δ
python-3.13 81.60% <ø> (ø)

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 merged commit b72f50f into develop Oct 28, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/3531-sweep-split-audit branch October 28, 2026 19:27
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