Skip to content

v0.5.0 Fine Sift

Choose a tag to compare

@nullhack nullhack released this 05 May 07:00
· 16 commits to main since this release
6bae6f5

Fine Sift — Subflow Transition Overhaul

Highlights

  • Subflow exit resolution: exit names now resolve through the parent flow's transition map instead of being used directly as state IDs
  • Subflow chaining: atomic exit + re-enter next subflow (e.g., discovery-flow → architecture-flow) without manual state manipulation
  • Recursive subflow entry: handles 3-level nesting (main-flow → feature-dev-flow → planning-flow)
  • JSON-first output: --json flag replaced with --text; JSON is now the default for all commands
  • next shows all transitions: includes blocked/guarded transitions with trigger→target mapping, status markers, and condition hints

New Features

  • states --session — list states in the current (sub)flow
  • validate --session — validate the current (sub)flow
  • check --session <trigger> — show transition conditions for a trigger (fixed argparse bug)
  • session init auto-enters subflow when first state has flow: field

Bug Fixes

  • resolve_subflows() .yaml extension fallback for flow references without extension
  • Stack frame records correct parent state (subflow wrapper, not pre-transition state)
  • check --session <target> argparse consuming target as flow_file

Full Changelog: v0.4.0...v0.5.0