mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-14 23:22:51 +00:00
Stores DOT source in ManagedPipeline and pipes it through `dot -Tsvg` on request. Returns image/svg+xml on success, 502 if graphviz is unavailable, 404 if pipeline not found. Resolves spec gap #1. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
656 B
Text
16 lines
656 B
Text
digraph Branch {
|
|
graph [goal="Implement and validate a feature"]
|
|
rankdir=LR
|
|
node [shape=box, timeout="900s"]
|
|
|
|
start [shape=Mdiamond, label="Start"]
|
|
exit [shape=Msquare, label="Exit"]
|
|
plan [label="Plan", prompt="Plan the implementation for: $goal"]
|
|
implement [label="Implement", prompt="Implement the plan", goal_gate=true]
|
|
validate [label="Validate", prompt="Run tests"]
|
|
gate [shape=diamond, label="Tests passing?"]
|
|
|
|
start -> plan -> implement -> validate -> gate
|
|
gate -> exit [label="Yes", condition="outcome=success"]
|
|
gate -> implement [label="No", condition="outcome!=success"]
|
|
}
|