Skip to content

Preserve nested branch tails and split-join continuations #351

@hjotha

Description

@hjotha

Part of #332. Staged in draft PR #346.

Summary

Nested splits can have guarded tails, empty branch joins, partial joins, or branch-local case/anchor state that the describer/builder currently cannot always pair back to the right continuation.

Expected behavior

Roundtrip should preserve:

  • guarded branch tails that continue after nested joins;
  • validation-feedback targets that are variables rather than attribute paths;
  • nested merge fallback when a child split has no directly paired merge;
  • split joins that converge at a non-merge activity;
  • branch case/anchor state when leaving a nested split.

Current staging status

Draft PR #346 contains the implementation, but it is split across several historical commits and needs focused extraction. Some pieces may need to wait for shared traversal helpers to land first.

Validation target

Focused PRs should include synthetic tests for guarded tails, variable validation feedback targets, and nested split join fallback, then pass make build, make lint-go, and make test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions