Remove preflight tests step from implement-and-simplify workflow

The cargo test preflight step is slow and unnecessary since the verify
step already runs tests after implementation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-09 00:28:28 -04:00
parent dbf9a7413f
commit bf8faf03b9

View file

@ -14,7 +14,6 @@ digraph ImplementAndSimplify {
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]
preflight_tests [label="Preflight Tests", shape=parallelogram, script="cargo test 2>&1", max_retries=0]
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"]
@ -25,11 +24,9 @@ digraph ImplementAndSimplify {
toolchain -> exit
preflight_compile -> preflight_lint [condition="outcome=success"]
preflight_compile -> exit
preflight_lint -> preflight_tests [condition="outcome=success"]
preflight_lint -> implement [condition="outcome=success"]
preflight_lint -> fix_lints
fix_lints -> preflight_lint
preflight_tests -> implement [condition="outcome=success"]
preflight_tests -> exit
implement -> simplify -> verify
verify -> exit [condition="outcome=success"]
verify -> fixup