Skip to content

feat: add starter formula examples#3248

Open
seanmartinsmith wants to merge 1 commit intogastownhall:mainfrom
seanmartinsmith:fix/3246-starter-formulas
Open

feat: add starter formula examples#3248
seanmartinsmith wants to merge 1 commit intogastownhall:mainfrom
seanmartinsmith:fix/3246-starter-formulas

Conversation

@seanmartinsmith
Copy link
Copy Markdown
Contributor

Problem

bd formula list returns "No formulas found" on a fresh install. The formula system is powerful but no .formula.toml files ship with beads. All examples exist only as doc snippets, giving new users no starting point.

Fix

Add examples/formulas/ with 3 starter formulas:

  • feature-workflow - design, implement, review, merge (standard feature development)
  • release - bump version, test, tag, publish (standard release workflow)
  • quick-check - lint, test, build (fast sanity check, designed as wisp)

Each formula uses features documented in the formulas guide: variables, step dependencies, human-type steps, and parallel-then-join patterns. A README explains how to copy them into project-level or user-level formula directories.

Test Plan

  • bd formula list shows all 3 formulas when copied to .beads/formulas/
  • bd mol pour feature-workflow --var feature_name=test --dry-run previews correctly
  • bd mol pour release --var version=1.0.0 --dry-run previews correctly
  • TOML syntax valid (no parse errors)

Context

Closes #3246. The formulas are based on examples already in the docs (website/versioned_docs/version-1.0.0/workflows/formulas.md) but fleshed out with step descriptions that make them immediately usable.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@seanmartinsmith seanmartinsmith force-pushed the fix/3246-starter-formulas branch from 45f9068 to 5de7879 Compare April 15, 2026 13:33
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 gastownhall#3246
@seanmartinsmith seanmartinsmith force-pushed the fix/3246-starter-formulas branch from 5de7879 to 22a984d Compare April 17, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No example .formula.toml files ship with beads - zero adoption bootstrap

2 participants