Skip to content

Name the Undeclared Root Default and Bring CODESTYLE.md and Codestyle Skill Sentences to 25 Words or Fewer - #3567

Merged
ptr727 merged 3 commits into
developfrom
feature/3563-codestyle-sentence-length
Oct 28, 2026
Merged

ptr727 merged 3 commits into
developfrom
feature/3563-codestyle-sentence-length

Conversation

@ptr727

@ptr727 ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

Names the undeclared-root default in CODESTYLE.md "Python", and takes the next slice of the sentence-length cleanup.

  • Name the Undeclared Root Default in CODESTYLE.md Python #3563. The Python summary named a uv workspace as the one declaration exception and left out the undeclared-root default. It now adds, after that exception, "A repository declaring no Python directory has its root gated only where it tracks a root pyproject.toml, as WORKFLOW.md D1.2 states." The issue proposed "declaring none". Here the sentence before names only a uv workspace as declared, so "none" would read as "no uv workspace". Naming the object keeps it matching D1.2, the python-codestyle Skill, and its profiles reference.
  • Say What a Carrier's Local Strict Review Does With Sentence-Length Hits on Hub-Verbatim Text #3531 slice. Every over-cap sentence in four files is split or restructured to 25 words or fewer, with its meaning unchanged. python3 scripts/prose_lint.py --check sentence-length goes from these counts to 0:
    • CODESTYLE.md: 17
    • .agents/skills/python-codestyle/SKILL.md: 14
    • .agents/skills/python-codestyle/references/profiles.md: 12
    • .agents/skills/shell-codestyle/SKILL.md: 11
  • No heading, anchor, link target, table, code block, inline code span, or quoted string changes. No sentence inside a generated include region needed a change, and none was left long.
  • The "When shell, not Python" sentence in the shell-codestyle Skill and the matching one in CODESTYLE.md "Shell" are split the same way.
  • The python-codestyle and shell-codestyle distributions are regenerated with scripts/build_dist.py, and --check is clean.

Verification

  • prose_lint.py default rules on each of the four 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, raising 4 and 0 findings. All four were introduced, and the third commit fixes them. One was the antecedent of "none" above. One was an example list in CODESTYLE.md "Markdown and Spelling" that a split had turned into a closed definition. One was an added "Then" that put an order on the shell shim steps. One was a header-comment reason that a reorder had turned from a permission into an instruction. The second pass raised none, so no introduced finding is open.

Closes on promotion: #3563
Refs #3531

🤖 Generated with Claude Code

ptr727 and others added 3 commits October 28, 2026 07:28
Split or restructure every over-cap sentence with its meaning unchanged.
Name the undeclared-root default beside the uv workspace exception in
the Python summary, as WORKFLOW.md D1.2 states it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Split or restructure every over-cap sentence in the python-codestyle
Skill, its profiles reference, and the shell-codestyle Skill, with the
meaning unchanged, and regenerate both distributions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Name what an undeclared repository declares none of, keep the
markdownlint subtree examples open, drop an added "Then" from the shim
steps, and restore the header-comment reason to the clause it permits.

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

ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 8d52beb90bb26efa8e08a596d1821d0737dd8ee6, 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.

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 (8d52beb).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3567   +/-   ##
========================================
  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 6a45ab1 into develop Oct 28, 2026
13 of 14 checks passed
@ptr727
ptr727 deleted the feature/3563-codestyle-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