Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .flowr/flows/architecture-flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ states:
in:
- product_definition.md
- domain_spec.md
- simulation_results.md
out:
- product_definition.md:
- deployment
Expand Down Expand Up @@ -71,6 +70,7 @@ states:
- domain_spec.md
- glossary.md
- product_definition.md
- "adr/*.md" # optional — visibility into prior ADRs before creating new ones
out:
- product_definition.md:
- technology_stack
Expand All @@ -90,7 +90,6 @@ states:
- "adr/<adr_id>.md" # optional
- product_definition.md
- domain_spec.md
- simulation_results.md
- glossary.md
out: []
conditions:
Expand Down
67 changes: 67 additions & 0 deletions .flowr/flows/define-flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
flow: define-flow
version: 2.0.0
exits:
- validated
- needs-reinterview

states:
- id: discovery
attrs:
description: "Interview stakeholders and create structural domain specification"
git: dev
flow: discovery-flow
flow-version: "^12"
next:
complete: spec-validation

- id: spec-validation
attrs:
description: "Iteratively simulate domain spec, discover rules and pain points, fix until clean"
git: dev
flow: spec-validation-flow
flow-version: "^2"
next:
validated: architecture
needs-reinterview: discovery

- id: refine-features
attrs:
description: "PO transforms simulation-created context-level .feature files into final feature-level files with stable titles, descriptions, rules, and constraints"
owner: PO
git: dev
skills:
- refine-features
in:
- product_definition.md
- domain_spec.md
- glossary.md
- "features/*.feature"
out:
- "features/<feature_id>.feature":
- feature_header
- constraints
- rules
conditions:
features-refined:
features-discovered: ==verified
invest-validated:
invest-passed: ==verified
committed-to-dev-locally:
committed-to-dev-locally: ==verified
next:
done:
to: validated
when:
- features-refined
- invest-validated
- committed-to-dev-locally

- id: architecture
attrs:
description: "Design technical architecture, context boundaries, and API contracts — skippable if no architecture changes are needed"
git: dev
flow: architecture-flow
flow-version: "^10"
next:
complete: refine-features
needs-discovery: discovery
61 changes: 61 additions & 0 deletions .flowr/flows/deliver-flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
flow: deliver-flow
version: 1.0.0
params: [feature_id]
exits:
- published
- accumulate
- cancelled
- needs-development

states:
- id: local-merge
attrs:
description: "SE squash-merges feature commits into local dev branch and resolves any conflicts"
owner: SE
git: dev
skills:
- merge-local
in:
- ".cache/acceptance/<feature_id>.md"
- features/<feature_id>.feature
out:
- merged-commits
next:
merged: publish-decision
conflict: needs-development

- id: publish-decision
attrs:
description: "PO decides whether to publish the accumulated batch as a PR or continue accumulating features on local dev"
owner: PO
git: dev
skills:
- decide-batch-action
in:
- merged-commits
out: []
next:
accumulate: accumulate
publish: pr-creation

- id: pr-creation
attrs:
description: "SE creates an administrative PR for changes already on local dev"
owner: SE
git: dev
skills:
- create-pr
in:
- merged-commits
- features/<feature_id>.feature
out: []
conditions:
merged:
ci-passes: ==verified
no-changes-requested: ==verified
next:
approved:
to: published
when: merged
changes-requested: needs-development
cancelled: cancelled
105 changes: 0 additions & 105 deletions .flowr/flows/delivery-flow.yaml

This file was deleted.

Loading
Loading