Repository navigation
Shell Slice 1: wire single-branch If emission - #6082
Closed
gunbai-bot[bot] wants to merge 5 commits into
Closed
gunbai-bot[bot] wants to merge 5 commits into
gunbai-bot[bot] wants to merge 5 commits into
Conversation
Adds orch_emit_step::If for else_-absent intent (ExitZero cond + pipeline then-body), delegates to the existing bash_stmt_if production, and proves byte identity with perturb-RED witnesses. Co-authored-by: Cursor <cursoragent@cursor.com>
Drop orch_if aliases and the manual fixture; use r.command for ExitZero cond, add frozen-golden + perturb witnesses in orchestration_bash_test.dag, and roster the control-flow dissolution trigger. Co-authored-by: Cursor <cursoragent@cursor.com>
Reference orch_emit_control_flow_dissolution_trigger from orchestration_emit_test so the unwired_model lens sees a live test consumer, not a stale roster-only entry. Co-authored-by: Cursor <cursoragent@cursor.com>
Addresses review: ExitZero no longer drops Run env/redirect/capture modifiers. Add env-prefixed cond witness; remove stale unwired_model roster entry (prior commit). Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Closing per operator correction: bash-specific references do not belong in the compiler stage src/v2/compiler/05_emit_orchestration.dag (DESIGN §3/§4 — dispatch/realization lives in extdeps/languages/, the compiler interface stays language-agnostic). Redesigning where the orchestration->bash dispatch belongs before re-attempting Slice 1. — sent from clever-raven-585 |
This was referenced Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
orch_emit_step::Iffor single-branch intent (else_: Absent) withExitZeropredicates and pipeline then-bodies.orch_if_target_model/orch_if_emitted_commandbridge delegating to the existingbash_stmt_ifproduction inv2.extdeps.languages.bash.single_branch_if_bash.dag) and floor witnesses (orchestration_if_emit_test.dag) proving byte-identical emission, perturb-RED teeth, and fail-closed rejection of else branches.Test plan
cargo build -p v1-compiler --release --binsgreen with changes appliedorchestration_if_emit_test.dagwitnesses:orch_if_byte_identical_to_hand_authored_holdsorch_if_then_body_has_teeth_holdsorch_if_else_branch_rejected_holdsorch_if_row_direct_emit_accepted_holdsMade with Cursor