Skip to content

Correct Bash abstract-state semantics - #92

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

Correct Bash abstract-state semantics#92
Aaronontheweb merged 1 commit into
devfrom
feature/v03-bash-loop-state

Conversation

@Aaronontheweb

Copy link
Copy Markdown
Owner

Summary

  • make Bash state flow outcome-sensitive across &&, ||, separators, pipelines, and cd failure
  • distinguish ordered loop iteration plans from public value-domain summaries, including empty and duplicate-bearing iterables
  • preserve the fail-closed <dynamic-cwd> compatibility marker while clearing false exact path resolutions
  • lock lastpipe / pipefail, decoded-child versus subshell inheritance, and execution-transfer rejection
  • add five Bash design-corpus cases plus Group support in the design harness

This is the design correction required by the task 6.5 halt. Production state-analysis code follows only after this contract merges.

Verification

  • dotnet build -c Release
  • dotnet test -c Release --no-build (1,527 passed)
  • pwsh ./scripts/Add-FileHeaders.ps1 -Verify
  • openspec validate v0-3-structured-shell-analysis --strict
  • slopwatch analyze -d . --hook --no-baseline
  • exact staged-fingerprint adversarial GO: fc3044e6bcd39ad2d225961a727ecd116031e786b7f8a1901454351681b565c7

@Aaronontheweb
Aaronontheweb enabled auto-merge (squash) August 7, 2026 08:19
@Aaronontheweb
Aaronontheweb merged commit af3a543 into dev Aug 7, 2026
2 checks passed
@Aaronontheweb
Aaronontheweb deleted the feature/v03-bash-loop-state branch August 7, 2026 08:21
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