You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Decide Whether CODESTYLE.md's New PowerShell Section Is Packaged as a powershell-codestyle Skill #4403
Question: Should the PowerShell section #1748 adds to CODESTYLE.md also be packaged as a powershell-codestyle Skill, the way the .NET, Python, and Shell sections are packaged as dotnet-codestyle, python-codestyle, and shell-codestyle?
This is the one part of #1748 its recorded answer does not settle. The 2026-11-01 answer on #1748 chose option 1, a short CODESTYLE.md section covering when PowerShell is allowed, the PSScriptAnalyzer defaults plus the settings file's documented exclusions, and the local invocation, with one sentence on Windows batch. It names no Skill. The 2026-09-11 answer on #1153 item 1 had declined "a PowerShell section and Skill", and the later #1748 answer reversed only the section half. No committed rule requires every language section to have a Skill.
Options, recommended first:
No Skill. The section stays self-contained in CODESTYLE.md (recommended). The section is short and holds its rules whole, so a Skill would only repeat it. Both recorded answers are honored as written. AGENTS.md names which language sections are packaged rather than implying all of them are. Effect on the work: none. The CODESTYLE.md Routes .NET, Python and Shell, and Not the PowerShell the Fleet's Own CI Gates #1748 group, branch burndown/codestyle-powershell-section, lands the section without a Skill, and this issue closes.
Add a powershell-codestyle Skill under .agents/skills/, per skill-lifecycle, carrying the section as a generated include and routed from AGENTS.md. This matches the other three languages. It costs a new carried Skill, its generated copies, and its trigger text. Effect on the work: the CODESTYLE.md Routes .NET, Python and Shell, and Not the PowerShell the Fleet's Own CI Gates #1748 group still lands the section first, and a follow-up pull request adds the Skill and the AGENTS.md routing after it merges.
Blocks: none. The #1748 group proceeds on option 1's shape, which option 2 builds on rather than undoes.
An input to this decision, from the 2026-11-24 backlog-burndown run's PR-body sweep.
PR #4409 listed one pre-existing gap under "Pre-existing findings, not filed" that bears on this question. Re-checked on origin/main:
CODESTYLE.md "Analyzer Diagnostics and Suppressions" prefers, first, "an in-code annotation on the specific symbol, with a justification, in the language's attribute/comment form". It then says the per-language mechanics "are in the Skill a language section names, where it names one".
The "PowerShell" section names no Skill and states no in-code form. It gives only the root PSScriptAnalyzerSettings.psd1 exclusions. So the preferred, narrowest suppression scope has no stated mechanics for PowerShell anywhere a carrier can read.
Whichever option is chosen, it settles where that one rule goes:
Under option 1 (no Skill), the CODESTYLE.md "PowerShell" section itself names the in-code form, [Diagnostics.CodeAnalysis.SuppressMessageAttribute('<RuleName>', '<target>', Justification = '<reason>')] on the function or parameter.
Under option 2, the new powershell-codestyle Skill carries it, as the other language Skills carry theirs.
Recorded here so the gap is not lost once this decision closes. The answer's implementation covers it.
Answered by the maintainer (decision triage, 2026-11-25): no powershell-codestyle Skill, and the section states the in-code suppression form.
CODESTYLE.md "PowerShell" stays self-contained. It gains one sentence naming the in-code suppression form, [Diagnostics.CodeAnalysis.SuppressMessageAttribute('<RuleName>', '<target>', Justification = '<reason>')] on the function or parameter, which the general suppression rule prefers over every other scope. AGENTS.md keeps listing PowerShell as not packaged. The issue stays open as work until that edit merges.
Released (2026-11-25): this group merged into develop as #4457 and its branch and worktree were cleaned up, so the claim holds no files.
Backlog burndown claim (away run 2026-11-25, round 1, refill group C, dispatched 2026-11-25 to the slot group D freed when #4449 merged): branch burndown/codestyle-ps-suppress-pycheck, issues #4403 and #4407.
Activity
Add a PowerShell Section to CODESTYLE.md and Narrow the Shell Rule (#…
Route CODESTYLE.md's General Section to the Language Skills (#4409)
ptr727 commentedon Nov 24, 2026
An input to this decision, from the 2026-11-24 backlog-burndown run's PR-body sweep.
PR #4409 listed one pre-existing gap under "Pre-existing findings, not filed" that bears on this question. Re-checked on
origin/main:CODESTYLE.md"Analyzer Diagnostics and Suppressions" prefers, first, "an in-code annotation on the specific symbol, with a justification, in the language's attribute/comment form". It then says the per-language mechanics "are in the Skill a language section names, where it names one".PSScriptAnalyzerSettings.psd1exclusions. So the preferred, narrowest suppression scope has no stated mechanics for PowerShell anywhere a carrier can read.Whichever option is chosen, it settles where that one rule goes:
CODESTYLE.md"PowerShell" section itself names the in-code form,[Diagnostics.CodeAnalysis.SuppressMessageAttribute('<RuleName>', '<target>', Justification = '<reason>')]on the function or parameter.powershell-codestyleSkill carries it, as the other language Skills carry theirs.Recorded here so the gap is not lost once this decision closes. The answer's implementation covers it.
ptr727 commentedon Nov 25, 2026
Answered by the maintainer (decision triage, 2026-11-25): no
powershell-codestyleSkill, and the section states the in-code suppression form.CODESTYLE.md"PowerShell" stays self-contained. It gains one sentence naming the in-code suppression form,[Diagnostics.CodeAnalysis.SuppressMessageAttribute('<RuleName>', '<target>', Justification = '<reason>')]on the function or parameter, which the general suppression rule prefers over every other scope.AGENTS.mdkeeps listing PowerShell as not packaged. The issue stays open as work until that edit merges.ptr727 commentedon Nov 25, 2026
Released (2026-11-25): this group merged into develop as #4457 and its branch and worktree were cleaned up, so the claim holds no files.
Backlog burndown claim (away run 2026-11-25, round 1, refill group C, dispatched 2026-11-25 to the slot group D freed when #4449 merged): branch
burndown/codestyle-ps-suppress-pycheck, issues #4403 and #4407.Predicted files:
CODESTYLE.md, "PowerShell": one sentence naming the in-code suppression form,[Diagnostics.CodeAnalysis.SuppressMessageAttribute('<RuleName>', '<target>', Justification = '<reason>')], per the 2026-11-25 answer on Decide Whether CODESTYLE.md's New PowerShell Section Is Packaged as a powershell-codestyle Skill #4403. No Skill is added, andAGENTS.mdis unchanged..agents/skills/python-codestyle/SKILL.md, the "Local development loop" sentences around lines 121 and 169, aligned to the one-checker Toolchain contract per the 2026-11-25 answer on Decide Whether the Validator Runs Both Python Type Checkers or python-codestyle Says CI Backstops One #4407.validate-task.ymlis unchanged.The generated copies
scripts/build_dist.pywrites from the Skill follow.Any other group needing one of these files waits for this branch to merge.
Name the PowerShell Suppression Form and Fix the Python CI Backstop T…