mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-16 23:43:10 +00:00
33 lines
1.3 KiB
Text
33 lines
1.3 KiB
Text
digraph implement {
|
|
graph [
|
|
goal="",
|
|
label="Implement"
|
|
]
|
|
rankdir=LR
|
|
|
|
start [shape=Mdiamond, label="Start"]
|
|
exit [shape=Msquare, label="Exit"]
|
|
|
|
strategy [shape=hexagon, label="Choose decomposition strategy:"]
|
|
|
|
subgraph cluster_impl {
|
|
label="Implementation Loop"
|
|
node [fidelity="full", thread_id="impl"]
|
|
|
|
plan [label="Plan Implementation", prompt="@prompts/implement/plan.md", reasoning_effort="high"]
|
|
implement [label="Implement", prompt="@prompts/implement/implement.md"]
|
|
review [label="Review", prompt="@prompts/implement/review.md"]
|
|
validate [label="Validate", prompt="@prompts/implement/validate.md", goal_gate=true]
|
|
fix [label="Fix Failures", prompt="@prompts/implement/fix.md", max_visits=3]
|
|
}
|
|
|
|
start -> strategy
|
|
strategy -> plan [label="[L] Layer-by-layer"]
|
|
strategy -> plan [label="[F] Feature slice"]
|
|
strategy -> plan [label="[P] Embarrassingly parallel"]
|
|
strategy -> plan [label="[S] Sequential / linear"]
|
|
plan -> implement -> review -> validate
|
|
validate -> exit [condition="outcome=success"]
|
|
validate -> fix [condition="outcome!=success", label="Fix"]
|
|
fix -> validate
|
|
}
|