Workflow Migration¶
Batty's workflow rollout is designed to be backward-compatible by default.
Safe Defaults¶
- If
workflow_modeis omitted from.batty/team_config/team.yaml, Batty defaults tolegacy. legacypreserves current runtime behavior. Existing teams and boards continue to run without workflow-specific metadata.- Older task files continue to parse even when they do not contain workflow fields.
- Unknown future workflow fields in task frontmatter are ignored safely by current parsers.
Rollout Modes¶
legacy: current Batty behavior, no workflow metadata required.hybrid: incremental adoption. Workflow features can be introduced selectively while legacy runtime behavior remains available.workflow_first: explicit opt-in. Use this only when you are ready to treat workflow state as the primary control surface.
Validation¶
Run:
batty validate
Validation now reports the effective workflow mode and prints migration notes:
- older configs with no
workflow_modeare called out as defaulting tolegacy hybridis reported as an incremental migration stateworkflow_firstis reported as an opt-in mode that should be paired with completed workflow metadata and orchestrator rollout
Recommended Adoption Path¶
- Leave existing projects on the default
legacymode. - Add
workflow_mode: hybridwhen you want to begin introducing workflow-aware tooling. - Move to
workflow_mode: workflow_firstonly after your board/process migration is complete.