Commit graph

1 commit

Author SHA1 Message Date
Bryan Helmkamp
4faa34059d
feat(workflow): add goal workflow (#407)
## Summary

Adds a reusable `goal` workflow that runs an immutable user goal through
a Work -> Completion Audit loop. The work prompt keeps the full
objective intact, while the audit prompt uses validated routing JSON to
either exit when the goal is proven complete or loop back with concrete
remaining work.

## Workflow Diagram

![Goal workflow
diagram](https://raw.githubusercontent.com/fabro-sh/fabro/2069a692e3d681c41afbfeca0ee86a604151475a/.fabro/workflows/goal/workflow.svg)

## Verification

- `cargo run -q -p fabro-cli -- validate
.fabro/workflows/goal/workflow.fabro`
- `cargo run -q -p fabro-cli -- run goal --goal "Test the reusable goal
workflow" --dry-run`
- `cargo run -q -p fabro-cli -- preflight
.fabro/workflows/goal/workflow.toml --goal "Test the reusable goal
workflow"`
- `xmllint --noout .fabro/workflows/goal/workflow.svg`

---

[![Compound
Engineering](https://img.shields.io/badge/Compound_Engineering-6366f1)](https://github.com/EveryInc/compound-engineering-plugin)
Generated with GPT-5 via Codex
2026-05-25 21:57:02 -04:00