mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
parent
c144187886
commit
ccc188b3ce
3 changed files with 50 additions and 0 deletions
34
graph.fabro
Normal file
34
graph.fabro
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
digraph ImplementAndSimplify {
|
||||
graph [
|
||||
goal="Implement and simplify",
|
||||
model_stylesheet="
|
||||
* { backend: api; model: claude-opus-4-6;}
|
||||
"
|
||||
]
|
||||
rankdir=LR
|
||||
|
||||
start [shape=Mdiamond, label="Start"]
|
||||
exit [shape=Msquare, label="Exit"]
|
||||
|
||||
toolchain [label="Toolchain", shape=parallelogram, script="command -v cargo >/dev/null || { curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && sudo ln -sf $HOME/.cargo/bin/* /usr/local/bin/; }; cargo --version 2>&1", max_retries=0]
|
||||
preflight_compile [label="Preflight Compile", shape=parallelogram, script="cargo check 2>&1", max_retries=0]
|
||||
preflight_lint [label="Preflight Lint", shape=parallelogram, script="cargo clippy -- -D warnings 2>&1", max_retries=0]
|
||||
fix_lints [label="Fix Lints", prompt="The preflight lint step failed. Read the build output from context and fix all clippy lint warnings.", max_visits=3]
|
||||
implement [label="Implement", prompt="Read the plan file referenced in the goal and implement every step. Make all the code changes described in the plan."]
|
||||
simplify [label="Simplify", prompt="@prompts/simplify.md"]
|
||||
verify [label="Verify", shape=parallelogram, script="cargo clippy -- -D warnings 2>&1 && cargo test 2>&1", goal_gate=true, retry_target="fixup"]
|
||||
fixup [label="Fixup", prompt="The verify step failed. Read the build output from context and fix all clippy lint warnings and test failures.", max_visits=3]
|
||||
|
||||
start -> toolchain
|
||||
toolchain -> preflight_compile [condition="outcome=success"]
|
||||
toolchain -> exit
|
||||
preflight_compile -> preflight_lint [condition="outcome=success"]
|
||||
preflight_compile -> exit
|
||||
preflight_lint -> implement [condition="outcome=success"]
|
||||
preflight_lint -> fix_lints
|
||||
fix_lints -> preflight_lint
|
||||
implement -> simplify -> verify
|
||||
verify -> exit [condition="outcome=success"]
|
||||
verify -> fixup
|
||||
fixup -> verify
|
||||
}
|
||||
12
manifest.json
Normal file
12
manifest.json
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"run_id": "01KKS421FXH5Z3BQDB9DJ6121H",
|
||||
"workflow_name": "ImplementAndSimplify",
|
||||
"goal": "Implement and simplify",
|
||||
"start_time": "2026-03-15T16:07:54.637227Z",
|
||||
"node_count": 10,
|
||||
"edge_count": 13,
|
||||
"run_branch": "fabro/run/01KKS421FXH5Z3BQDB9DJ6121H",
|
||||
"base_sha": "bc3c5be59e90152df125401e18282e61aec994f3",
|
||||
"base_branch": "main",
|
||||
"workflow_slug": "implement"
|
||||
}
|
||||
4
sandbox.json
Normal file
4
sandbox.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"provider": "local",
|
||||
"working_directory": "/Users/bhelmkamp/.fabro/runs/20260315-01KKS421FXH5Z3BQDB9DJ6121H/worktree"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue