Skip to content

Refactor native argument fragment classification - #81

Merged
Aaronontheweb merged 1 commit into
devfrom
feature/native-fragment-classifier
Aug 7, 2026
Merged

Refactor native argument fragment classification#81
Aaronontheweb merged 1 commit into
devfrom
feature/native-fragment-classifier

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Owner

Summary

  • extract one shell-neutral native argument fragment classifier
  • preserve Bash and PowerShell provenance through explicit adapters
  • remove duplicated native flag scanning without changing compatibility results
  • complete OpenSpec preparation task 2.3

Security

The classifier consumes lexer-proved fragments and never rescans decoded text to infer expansion. Missing provenance remains opaque and fails closed.

Validation

  • dotnet build -c Release --no-restore
  • dotnet test -c Release --no-build --no-restore (1,125 passed)
  • pwsh ./scripts/Add-FileHeaders.ps1 -Verify
  • dotnet format --verify-no-changes --no-restore
  • openspec validate v0-3-structured-shell-analysis --strict
  • Slopwatch on every changed C# file (zero findings)
  • rebased patch ID matches the adversarially reviewed change exactly

@Aaronontheweb
Aaronontheweb enabled auto-merge August 7, 2026 02:57
@Aaronontheweb
Aaronontheweb merged commit 0a2ffec into dev Aug 7, 2026
2 checks passed
@Aaronontheweb
Aaronontheweb deleted the feature/native-fragment-classifier branch August 7, 2026 02:59
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