Add 3 example .formula.toml files to examples/formulas/: - feature-workflow: design, implement, review, merge - release: bump version, test, tag, publish - quick-check: lint, test, build (designed for wisp use) These serve as documentation-by-example and give new users a starting point for creating their own formulas. Closes #3246
39 lines
989 B
TOML
39 lines
989 B
TOML
formula = "feature-workflow"
|
|
description = "Standard feature development workflow: design, implement, review, merge."
|
|
version = 1
|
|
type = "workflow"
|
|
|
|
[vars.feature_name]
|
|
description = "Name of the feature to implement"
|
|
required = true
|
|
|
|
[[steps]]
|
|
id = "design"
|
|
title = "Design {{feature_name}}"
|
|
type = "human"
|
|
description = "Create design document or spec. Define scope, approach, and acceptance criteria."
|
|
|
|
[[steps]]
|
|
id = "implement"
|
|
title = "Implement {{feature_name}}"
|
|
needs = ["design"]
|
|
description = "Write the code. Create tests. Update docs if applicable."
|
|
|
|
[[steps]]
|
|
id = "test"
|
|
title = "Run test suite"
|
|
needs = ["implement"]
|
|
description = "Run full test suite and linter. Fix any failures before proceeding."
|
|
|
|
[[steps]]
|
|
id = "review"
|
|
title = "Code review"
|
|
needs = ["test"]
|
|
type = "human"
|
|
description = "Open PR and get code review. Address feedback."
|
|
|
|
[[steps]]
|
|
id = "merge"
|
|
title = "Merge to main"
|
|
needs = ["review"]
|
|
description = "Merge PR after approval. Delete feature branch."
|