Skip to content

Adapt Bash parser to structural projections - #85

Merged
Aaronontheweb merged 1 commit into
devfrom
feature/v03-bash-structural
Aug 7, 2026
Merged

Adapt Bash parser to structural projections#85
Aaronontheweb merged 1 commit into
devfrom
feature/v03-bash-structural

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Owner

Summary

  • replace the legacy flat Bash splitter with a recursive structural coordinator for lists, pipelines, subshells, and static shell wrappers
  • require exact literal provenance before decoding bash/sh command strings; retain incomplete outer leaves for dynamic or noncanonical forms
  • enforce structural depth limits before descent and add focused compatibility, span, identity, completeness, and hostile-depth coverage
  • update SPEC, OpenSpec, and the implementation plan for the completed Bash structural slice

Security posture

Unknown executable regions, expanding wrapper bodies, unsupported wrapper tails, redirects, and undiscovered command substitutions remain incomplete or fail closed. Ordinary non-executable variable expansion does not unnecessarily invalidate the structural projection.

Validation

  • Release build: 0 warnings, 0 errors
  • Full test suite: 1,192/1,192
  • Headers: pass
  • dotnet format: pass
  • OpenSpec strict validation: pass
  • Slopwatch: 0 findings
  • adversarial review: GO

@Aaronontheweb
Aaronontheweb enabled auto-merge August 7, 2026 03:45
@Aaronontheweb
Aaronontheweb merged commit 72b5537 into dev Aug 7, 2026
2 checks passed
@Aaronontheweb
Aaronontheweb deleted the feature/v03-bash-structural branch August 7, 2026 03:47
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