Skip to content

Bring AGENTS.md and copilot-instructions.md Sentences to 25 Words or Fewer - #3559

Merged
ptr727 merged 4 commits into
developfrom
feature/3531-agents-copilot-sentence-length
Oct 28, 2026
Merged

ptr727 merged 4 commits into
developfrom
feature/3531-agents-copilot-sentence-length

Conversation

@ptr727

@ptr727 ptr727 commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

Next slice of the sentence-length cleanup. Every over-cap sentence in AGENTS.md and .github/copilot-instructions.md is split or restructured to 25 words or fewer, with its meaning unchanged. The two sentences the GOVERNANCE.md slice left in "PR Review Etiquette" move too, with every copy changed identically.

  • python3 scripts/prose_lint.py --check sentence-length AGENTS.md .github/copilot-instructions.md GOVERNANCE.md goes from 75 hits to 1: AGENTS.md 53 to 0, .github/copilot-instructions.md 20 to 1, GOVERNANCE.md 2 to 0.
  • The one that remains is the REQUEST_NOT_RECORDED sentence in .github/copilot-instructions.md. The pr-review-conduct skill and docs/pr-reviewer-reference.md carry it verbatim, and both copies are outside this change, so it stays until all three move together.
  • The "PR Review Etiquette" pair changes identically in GOVERNANCE.md, .github/copilot-instructions.md, and the pr-review-conduct skill, regenerated with scripts/build_dist.py.
  • "Fleet Bootstrap" is rewritten. No sentence in it is a verbatim copy of the host-wide "Fleet Governance Entry Point" block, so that block needs no change.
  • No heading, anchor, link target, table, code block, mermaid block, inline code span, quoted string, or bold lead-in changes. The "Disproved Claims" entries keep their substance and order.

Verification

  • prose_lint.py default rules on every changed file: clean.
  • uv run --no-project --script scripts/build_dist.py --check: current.
  • spec/validate.py: OK, so the "Model Tiers" table still matches spec/model-tiers.json.
  • uvx --with-requirements tests/requirements.txt python -m unittest discover -s tests: 3072 tests, OK.

Local Review

Two recorded local-strict-review passes. The first raised 8 findings, all introduced: a pronoun or reason a split had loosened, the parked-decision account moved out of its place in the handoff list, a citation left on one half of a split, and an example list turned prescriptive. The fix commit answers all 8. The second pass raised none.

Refs #3531

🤖 Generated with Claude Code

ptr727 and others added 4 commits October 27, 2026 20:39
Split or restructure every over-cap sentence in AGENTS.md, Fleet Bootstrap included, with each rule's meaning unchanged.

Refs #3531

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bring the two over-cap "PR Review Etiquette" sentences to 25 words or fewer, changing every copy identically: GOVERNANCE.md, .github/copilot-instructions.md, and the pr-review-conduct skill, regenerated.

Refs #3531

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Split or restructure the over-cap sentences in .github/copilot-instructions.md, the Disproved Claims entries included, keeping each entry's substance and order.

The REQUEST_NOT_RECORDED sentence is left as it is, since the pr-review-conduct skill and docs/pr-reviewer-reference.md carry it verbatim.

Refs #3531

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Answer the local review pass: put the parked-decision account back in its place in the handoff list, name the referent where a split left a pronoun pointing elsewhere, keep each reason and condition on every clause it covered, and keep the command-output list illustrative.

Refs #3531

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 28, 2026 03:45
@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 297f18b1340e654b70fe8a72e764ad2efb2975d1, 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.

🟢 Approval recommended

The review identifies only equivalent sentence-length and synchronized generated-copy updates, with no active issues reported.

No open issues 🎉

What changed in this PR

This pull request continues the sentence-length cleanup across agent instructions, governance documentation, Copilot guidance, and review skill distributions while preserving existing meaning and synchronization.

Changes:

  • Splits or restructures overlong sentences in AGENTS.md, .github/copilot-instructions.md, and GOVERNANCE.md.
  • Updates the corresponding pr-review-conduct skill copies.
  • Refreshes the generated Claude skill source digest.
File Description
GOVERNANCE.md Updates PR review etiquette wording with equivalent sentence splits.
AGENTS.md Restructures fleet guidance and delegation prose into shorter sentences.
.github/​skills/​pr-review-conduct/​SKILL.md Updates the generated GitHub skill copy.
.github/​copilot-instructions.md Applies sentence-length cleanup to Copilot review guidance.
.claude-plugin/​fleet-skills/​skills/​pr-review-conduct/​SKILL.md Updates the generated Claude skill copy.
.claude-plugin/​fleet-skills/​.source-digests/​pr-review-conduct Refreshes the generated skill source digest.
.agents/​skills/​pr-review-conduct/​SKILL.md Updates the canonical review skill 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.
⚠️ Please upload report for BASE (develop@adac2d5). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #3559   +/-   ##
==========================================
  Coverage           ?   81.50%           
==========================================
  Files              ?       26           
  Lines              ?     9065           
  Branches           ?        0           
==========================================
  Hits               ?     7388           
  Misses             ?     1677           
  Partials           ?        0           
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 merged commit eb35070 into develop Oct 28, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/3531-agents-copilot-sentence-length branch October 28, 2026 03:56
ptr727 added a commit that referenced this pull request Oct 28, 2026
… AGENTS.md and WORKFLOW.md Sentence Length (#3562)

## Summary

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

- #3557: the python-codestyle skill, `profiles.md` "Adapt before
propagating", `spec/type-model.md` and `spec/project-types.json` state
the per-directory Python profile rule. The skill names the root-gating
condition.
- #3558: the digest prints the run-log reading inside its Copilot
refusal block. The block's fixed sentence holds for quota, transient,
and file-count refusals.
- #3559: every sentence in `AGENTS.md` is 25 words or fewer, and all but
one in `.github/copilot-instructions.md`. The two remaining
`GOVERNANCE.md` sentences, and their copies, are shortened too.
- #3561: every sentence in `WORKFLOW.md` is 25 words or fewer. Guarantee
IDs, tables, and code are byte-identical.
- #3564: promotion fix for Copilot's two findings on this pull request.
The python-codestyle skill and the `python.profileNote` name the
undeclared-root default.
- #3565: Dependabot bumps `DavidAnson/markdownlint-cli2-action` from
24.2.0 to 25.0.0. It merged into `develop` while this pull request was
open.

The #3559 and #3561 slices continue the #3531 cleanup and do not close
it. Carried `AGENTS.md`, `WORKFLOW.md`, and Copilot-instructions text
changes wording, so each fleet repository's verbatim copy differs from
the hub until its next resync.

Fixes #3541
Fixes #3548
Fixes #3550
Fixes #3552
Fixes #3554

🤖 Generated with [Claude Code](https://claude.com/claude-code)
ptr727 added a commit that referenced this pull request Oct 28, 2026
)

## Summary

Audits every sentence that #3551 (`GOVERNANCE.md`, squash `444ec63e`)
and #3559 (`AGENTS.md` and `.github/copilot-instructions.md`, squash
`eb35070d`) split or rewrote. Each new sentence was compared with its
original. The splits listed below had lost or changed meaning, and each
is repaired here. Every repaired sentence stays within the 25-word cap.

The `agent-conduct` and `session-handoff` include regions are
regenerated from the new `GOVERNANCE.md` text. No other skill's region
changes.

## Repairs

Each line reads sweep text -> repaired text.

### Reason left on only one half of a split

- `GOVERNANCE.md` "Verification Discipline", canonical content: the
manifest-owned tree, the byte-for-byte compare, and the drift on the
next fidelity check stood as bare facts. -> "That is because the tree is
manifest-owned, and the copy is compared...", then "It is also because a
local edit there is drift...".
- Same bullet: "It would otherwise reach a carrier..." -> "It is also
because such a unit would otherwise reach a carrier...".
- `GOVERNANCE.md` "Communicating with the User", blocked work: "The one
line still waiting on the user is the easiest in it to skim past." ->
"It is also because the one line still waiting on the user is the
easiest in a summary to skim past."
- Same section, parked queue: "Closing such an issue just to clear the
queue discards..." -> "It is also because closing such an issue...".
- `GOVERNANCE.md` "Workflow YAML Conventions", action pinning:
"Dependabot still bumps SHA pins..." -> "It is also because Dependabot
still bumps SHA pins...".
- `GOVERNANCE.md` "Running the Linters Locally", pre-push hook: "Those
describe the same content only sometimes." -> rejoined to its "That is
because" sentence with ", and those describe...".
- Same section, excludes: "The gate refuses one rather than
reporting..." -> "Skipping them also matters because the gate refuses
one...".

### A "so" consequence left on only one half

- `GOVERNANCE.md` "Hub-Hosted Tooling": "A tool taking its target as an
argument runs anywhere..." -> "Likewise, a tool taking its target...".
- `GOVERNANCE.md` "Running the Linters Locally", pre-push hook: "The
prose layer above stays the agent-agnostic one..." -> "The prose layer
above therefore stays...".

### A condition no longer reaching every clause it covered

- `GOVERNANCE.md` "Verification Discipline", locating checks: "Read that
file whole where it exists..." -> "In that case, read that file
whole...".
- `GOVERNANCE.md` "Repository Details": "The fix is to sharpen the
declared source..." read as the fix for any drift. -> "The fix there is
to sharpen...".

### A pronoun or "that" losing its antecedent

- `GOVERNANCE.md` "Verification Discipline", canonical content: "It adds
a bounded slice..." -> "That work also covers a bounded slice...".
- `AGENTS.md` "Session Scope": "That section states the account
whole..." now followed a different sentence. -> "That `GOVERNANCE.md`
section states the account whole...".

### An example list turned into a closed definition

- `GOVERNANCE.md` "Character Set": "Its tiers are never legitimate, ...,
and developer-typed Unicode." The skill has four tiers, and
developer-typed Unicode stays regardless of tier. -> "That tier system
covers what is never legitimate, ...", then "It also covers a fixed set
of emoji callout markers and developer-typed Unicode."

### A restriction widened

- `.github/copilot-instructions.md` "Disproved Claims": "A reason not to
check is strictly worse than proving the claim a second time."
generalized to any reason. -> "That outcome is strictly worse...".

## Verification

- `python3 scripts/prose_lint.py --check sentence-length` on
`GOVERNANCE.md`, `AGENTS.md`, and `.github/copilot-instructions.md`:
exit 0 each.
- `uv run --no-project --script scripts/build_dist.py --check`: current.
- `python3 scripts/prose_lint.py . --diff origin/develop` and the
whole-tree `--check` block from `OPERATIONS.md` "Local Verification":
exit 0.
- `scripts/repo_gate.py`, `spec/validate.py`, and `canonical_review.py
status`: clean.
- `unittest discover -s tests`: 3081 tests, OK (7 skipped).

## Local Review

Two recorded `local-strict-review` passes at the `frontier` tier, each
checking every hunk against its pre-sweep original. The first raised 2
`introduced` findings. The Character Set repair had an unclear "It" and
a list with no noun, and the excludes repair had an "It" with no
antecedent. Both are fixed in the second commit. The second pass raised
none.

Refs #3531

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

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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