Repository navigation
powershell: param lists through three paren levels and past parens in strings; regenerate baseline (Part of #3303) - #6720
Conversation
…s in strings; regenerate tree-sitter baseline (Part of #3303) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6720 @ df5a3e4: 1 failed check(s) == runner-tests (failure) -- real |
|
No description provided. |
Part of #3303. Checklist: n/a.
What
found_functions457 -> 487,args_exact_match444 -> 484 of 487).param(...)args mismatches were real: theargsrule's paren body handled one nested level and counted parens inside string literals ([ValidatePattern("^v(-\w+(\.\d{1,2})?)?$")]), soStart-PSBuild(real=20) matched nothing. Now all three alternatives (param,function name(...), constructor/method) share one bounded body: three paren levels, quoted strings stepped over whole. Mismatches 13 -> 3.test_powershell_args_known_limitation_two_level...documented the old limit; it now pins the new one (four levels).Golden drift (attributed)
scope_check.py --expect powershell: 265 powershell differences (arg counts, function_parameters, archetype mix); the rest is layout coordinates (X/Y/Z shift from the re-projected graph) and repo-wide rollups (function/file archetype distribution counts moving by 1-5). No other language's extraction moved.Class / Sibling gaps
Class: powershell parameter-list span, depth-bounded and string-unaware paren matching, across all three
argsalternatives (all fixed here, each with a test). Sibling gaps: (1)Restore-PSPesterreal=1 got=0: default value nests five paren levels deep (([IO.Path]::Combine((Split-Path (Get-PSOptions -DefaultToNew).Output), "Modules"))), not regular; would need a depth-aware pass in the detector. (2)New-MSIPackagereal=10 got=11: counts one extra; cause not yet found. No burned estate needs either (PowerShell build scripts only).Gates
pr_gates --fast7/7,--ratchets9/9 (none skipped), tree_sitter_accuracy_audit powershell --ci OK, powershell tests 279 pass, golden blessed via golden-lock crucible_check (both legs).🤖 Generated with Claude Code