Skip to content

Route CODESTYLE.md's General Section to the Language Skills - #4409

Merged
ptr727 merged 3 commits into
developfrom
burndown/codestyle-general-routing
Nov 24, 2026
Merged

ptr727 merged 3 commits into
developfrom
burndown/codestyle-general-routing

Conversation

@ptr727

@ptr727 ptr727 commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

Fixes items 4, 5, 7, 12 and 13 of #1153, and only those items. #1153 stays open for the items this pull request does not fix, so this body carries no Closes on promotion: line.

  • Item 4. CODESTYLE.md "Clean-Compile Verification" said the concrete task names live in each language section, and no language section names one. It now routes to each language section or the Skill that section names.
  • Item 5. The local-gate bullet said "strongly suggested, not the repo's free choice to skip", two obligations at once. It now reads "strongly suggested fleet-wide, and its absence is a measured audit finding", matching GOVERNANCE.md "Running the Linters Locally (Known-Working Invocations)". The same bullet's later list of what is not restated drops the audit meaning, which the lead now states.
  • Item 7. The brownfield-allowance parenthetical is deleted from CODESTYLE.md "Analyzer Diagnostics and Suppressions" and from dotnet-codestyle "Build requirements", per the maintainer's answer to Decide: Item 7: should the parenthetical "the only brownfield allowance ... the one-time git-signing / line-ending migration described in GOVERNANCE.md and README.md" be deleted from CODESTYLE.md and dotnet-c? #3748. The [readme] link definition it alone used is removed with it. The generated copies are regenerated with scripts/build_dist.py, and --check passes.
  • Item 12. "The per-language mechanics (which attribute, which config key) are in each language section" was false in the same way as item 4. It now routes to the Skill a language section names. The PowerShell section names none and holds no in-code suppression form, so the sentence promises nothing for it.
  • Item 13. AGENTS.md "Where the Rules Live" marks add-host-tool hub-context only, as every other hub-context Skill there is marked.

The routing text names no PowerShell Skill, so it stays neutral on #4403.

Not fixed here

Pre-existing findings, not filed

Local review

Three recorded local-strict-review passes. The first raised two introduced findings, the second raised one, and all three were fixed within the two-round edit budget. The third pass, over the final head, raised none.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Clarified that the host-tool setup instructions apply only in the hub context.
    • Expanded guidance on clean-compile requirements, local commit checks, and the full lint gate before pushing changes.
    • Updated analyzer guidance to disallow project-wide batch suppressions and removed the one-time signing and line-ending migration exception.

ptr727 and others added 3 commits November 24, 2026 00:26
Point the clean-compile definitions and the analyzer suppression
mechanics at each language section or the Skill it names, word the
local gate bullet to match GOVERNANCE.md, delete the brownfield
allowance parenthetical from CODESTYLE.md and dotnet-codestyle, and mark
add-host-tool hub-context only in AGENTS.md. Issue #1153 items 4, 5, 7,
12 and 13.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Route the analyzer suppression mechanics only to the Skill a language
section names, since the PowerShell section holds no attribute form, and
drop the gate bullet's claim that the audit meaning of a missing gate is
not restated, which its reworded lead now states.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Say the suppression mechanics sit in a section's Skill only where the
section names one, so a section naming none is not read as pointing at
a Skill.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings November 24, 2026 08:32
@ptr727

ptr727 commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

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

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The code-style documentation changes clean-compile, local-gate, and analyzer guidance. The .NET Skill warning removes a migration exception. The add-host-tool description now specifies its hub-only context.

Changes: Code-Style Guidance

Layer / File(s) Summary
Update code-style guidance
.agents/skills/dotnet-codestyle/SKILL.md, CODESTYLE.md
CODESTYLE.md revises clean-compile and local commit/pre-commit gate guidance, removes the one-time migration allowance, and prohibits project-wide batch suppression. The .NET Skill warning also removes the migration exception. The README link definition is removed.

Host-Tool Skill Scope

Layer / File(s) Summary
Clarify host-tool context
AGENTS.md
The add-host-tool description states that the Skill applies only in the hub context because its installers and spec/host-tools.json exist only in the hub.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related issues

  • Issue 4403 concerns whether the PowerShell section needs a Skill. This change updates language-to-Skill routing and suppression guidance, so it touches that routing decision.
  • Issue 1748 added the PowerShell section covered by the revised routing text. This change does not add a PowerShell section.
  • Issue 1153 is directly related: the pull request description identifies items 4, 5, 7, 12, and 13 as addressed, while items 3 and 8 remain out of scope.
Merge Risk: Minimal · up to 2874a · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Route CODESTYLE.md's General Section to the Language Skills" matches the main change. The PR updates CODESTYLE.md so clean-compile details and analyzer-suppression mechanics point to each l…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Route CODESTYLE.md's General Section to the Language Skills" matches the main change. The PR updates CODESTYLE.md so clean-compile details and analyzer-suppression mechanics point to each language section or its named Skill, which is the routing the title describes. The title is specific and does not use vague terms. The other edits (removing the brownfield allowance, the local-gate wording, and the add-host-tool hub-context note) are secondary and are not named in the title, which is acceptable for a title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 94d6149 and 2874a33.

Files ignored due to path filters: 3

  • .claude-plugin/fleet-skills/.source-digests/dotnet-codestyle is excluded by !.claude-plugin/fleet-skills/**
  • .claude-plugin/fleet-skills/skills/dotnet-codestyle/SKILL.md is excluded by !.claude-plugin/fleet-skills/**
  • .github/skills/dotnet-codestyle/SKILL.md is excluded by !.github/skills/**
Files selected for processing: 3

  • .agents/skills/dotnet-codestyle/SKILL.md
  • AGENTS.md
  • CODESTYLE.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

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 active review issues were identified, and the reported distribution check passed for the documented guidance and generated Skill updates.

No open issues 🎉

What changed in this PR

This pull request routes shared style guidance to the appropriate language sections and Skills, removes an obsolete brownfield migration reference, updates generated Skill distributions, and clarifies hub-only tooling scope.

Changes:

  • Route clean-compile definitions and suppression mechanics to language-specific sections or Skills.
  • Align local-gate wording with the governance audit contract.
  • Remove obsolete migration references and regenerate the .NET Skill distributions.
  • Mark add-host-tool as hub-context only.

python3 scripts/build_dist.py --check passed, and no actionable review comments were identified.

File Description
CODESTYLE.md Updates clean-compile, local-gate, suppression, and link guidance, including removal of the obsolete migration reference.
AGENTS.md Marks add-host-tool as hub-context only.
.github/​skills/​dotnet-codestyle/​SKILL.md Regenerates the GitHub Copilot .NET Skill distribution.
.claude-plugin/​fleet-skills/​skills/​dotnet-codestyle/​SKILL.md Regenerates the Claude plugin .NET Skill distribution.
.claude-plugin/​fleet-skills/​.source-digests/​dotnet-codestyle Updates the generated source digest for the .NET Skill.
.agents/​skills/​dotnet-codestyle/​SKILL.md Removes the obsolete brownfield migration allowance from the canonical .NET Skill.

Review effort: Lite

@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.53%. Comparing base (b38e084) to head (2874a33).
⚠️ Report is 329 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4409      +/-   ##
===========================================
- Coverage    81.60%   79.53%   -2.08%     
===========================================
  Files           26       47      +21     
  Lines         9070    16183    +7113     
===========================================
+ Hits          7402    12871    +5469     
- Misses        1668     3312    +1644     
Flag Coverage Δ
python-3.13 79.53% <ø> (-2.08%) ⬇️

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 Nov 24, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 24, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit 988b6ef into develop Nov 24, 2026
15 checks passed
@ptr727
ptr727 deleted the burndown/codestyle-general-routing branch November 24, 2026 08:54
ptr727 added a commit that referenced this pull request Nov 24, 2026
…lts, Secret Sync Fields, and Audit Account Fixes (#4428)

Promotes the 28 pull requests that landed on develop since the last
promotion (#4388), from the away-mode backlog burndown run.

- #4391: Drop the false XML comment suppression claim from the .NET
conventions.
- #4390: Blank quotations after a heredoc label on its opening line in
the paste-safe rule.
- #4392: Carry attention lists, cut lists, and opt-in billing in the
`backlog_metrics.py` JSON.
- #4393: Gate `configure.sh apply`'s interaction limit on a committed
bot verification record.
- #4394: Make the gh and node report note say a one-line vendor source
is configured.
- #4395: Add ShellCheck and shfmt lint tasks to the VS Code task
snippets.
- #4396: Count a CodeRabbit clean pass on the head in the digest's
`other_reviewed`.
- #4401: Date the line-ending intentRefs by the skill and trim advisory
restatements.
- #4399: Share one any-level heading region primitive between
`heading_body` and `extract_anchored`.
- #4398: Name the hub pull requests a standup lands through, and add
HACS first-run guidance.
- #4404: Add a PowerShell section to CODESTYLE.md and narrow the shell
rule.
- #4405: Close AUDIT.md section 10's convergence loop and fix three
skill pointers.
- #4409: Route CODESTYLE.md's General section to the language skills
(part of #1153, which stays open).
- #4410: Detect a C# test project by its own text rather than its file
name.
- #4411: Drop the unruled "working gate is not drift" sentence from
CODESTYLE.md.
- #4412: Track the newest upstream line of each pinned host tool.
- #4413: Correct AUDIT.md section 0's account of what the audit checks.
- #4416: Add a required coverage shield class to the README audit.
- #4414: Tie drive-pr's merge to its authorization and align the pass
moments.
- #4417: Pass over a second SIGTERM in `pr_review.py` so an interrupt
prints one line.
- #4418: Point the report-path placeholder at AUDIT.md section 8.
- #4419: Correct the audit account copies outside AUDIT.md section 0.
- #4422: Drop the archived DevKitCIoT from the rollout checklists.
- #4423: Report a stale `pullRequestCheck: false` and correct AUDIT.md
section 6.
- #4424: Add a `prune` subcommand to retire orphaned canonical review
passes.
- #4425: Drop the archived DevKitCIoT from the reusable-workflows
checklists and fix a normalization docstring.
- #4427: Store secret sync metadata in item fields, not 1Password tags.
- #4426: Declare and apply the Actions workflow token defaults through
`configure.sh` (the `configure.sh` part of #1783, which stays open).

## Owed by the maintainer

- #4412: A live run of the new host-tool line tracker. Scheduled runs
start only once this reaches `main`, and a `workflow_dispatch` would
prove it sooner.
- #4426: A fleet `configure.sh apply` for the workflow token defaults,
after the per-repository read the 2026-11-01 answer requires. Please
also confirm the new `--lower-workflow-token` option, which a `write`
repository needs for the apply to lower its default.
- #4427: Run `python3 scripts/secrets_sync.py selftest`, then the
cleanup script in that pull request's body (`move_sync_tags.py`, dry run
first, then `--apply`). Until that runs, every un-migrated secret item
refuses to sync.
- #4393: The pilot's first interaction limit is set by hand in its
settings and its bots verified there. The verification record is
committed afterwards through a hub pull request, and only then does
`apply` set the limit fleet-wide.
- A fleet resync is owed, because carried text changed: AGENTS.md,
GOVERNANCE.md, CODESTYLE.md, and several skills.

Fixes #4387
Fixes #4383
Fixes #4284
Fixes #1095
Fixes #4299
Fixes #4370
Fixes #4364
Fixes #4173
Fixes #4064
Fixes #3536
Fixes #3929
Fixes #3808
Fixes #3812
Fixes #3810
Fixes #4320
Fixes #4232
Fixes #1748
Fixes #1607
Fixes #1270
Fixes #1170
Fixes #3692
Fixes #4415
Fixes #3908
Fixes #1648
Fixes #4276

🤖 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