Skip to content

style: sync SG-6 house rules + retrofit template demos to canary-perfect#18

Merged
NWarila merged 1 commit into
mainfrom
codex-sg6-template
Jun 16, 2026
Merged

style: sync SG-6 house rules + retrofit template demos to canary-perfect#18
NWarila merged 1 commit into
mainfrom
codex-sg6-template

Conversation

@NWarila

@NWarila NWarila commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Restores byte-identical shared files from the exporter (HouseRules.psm1, PSScriptAnalyzerSettings.psd1, STYLE-GUIDE.md - all confirmed identical via blob SHA) and brings the template's demo PowerShell to canary-perfect SG-6 (Get-Greeting, Format-GreetingName, clean-function-idiom.ps1): PascalCase keywords + cuddled named blocks, \ soft return + Write-Debug anchors, single-exit, colon-form. Adds the three new gates (Measure-SoftReturn, Measure-CanonicalNamedBlock, Measure-CanonicalKeywordCasing). Recursive Invoke-ScriptAnalyzer: 0 findings; tests 31/31; coverage 93.62% / 80%. The canonical template now reflects the proven exporter style.

@NWarila NWarila merged commit d066d81 into main Jun 16, 2026
4 checks passed
@NWarila NWarila deleted the codex-sg6-template branch June 16, 2026 11:20
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.

1 participant