From aa7552c18a3cfb722fa40d12945a50d904dc08ba Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Tue, 17 Mar 2026 10:32:48 -0400 Subject: [PATCH] Add SVG workflow diagram for REPL Handoff example Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/examples/repl-handoff.mdx | 4 + docs/images/example-repl-handoff.svg | 148 +++++++++++++++++++++++++++ 2 files changed, 152 insertions(+) create mode 100644 docs/images/example-repl-handoff.svg diff --git a/docs/examples/repl-handoff.mdx b/docs/examples/repl-handoff.mdx index 4438596b3..412ca4029 100644 --- a/docs/examples/repl-handoff.mdx +++ b/docs/examples/repl-handoff.mdx @@ -16,6 +16,10 @@ This pattern is useful when a task is well-understood enough to plan interactive ## The workflow + + Start → Toolchain → Preflight Compile → Preflight Lint → Implement → Simplify (Opus) → Simplify (Gemini) → Simplify (GPT-54) → Verify → Format → Exit, with Preflight Lint/Fix Lints retry loop, Verify/Fixup retry loop, and early exit from Toolchain and Preflight Compile on failure + + ```dot title="implement.fabro" digraph ImplementAndSimplify { graph [ diff --git a/docs/images/example-repl-handoff.svg b/docs/images/example-repl-handoff.svg new file mode 100644 index 000000000..529283d2b --- /dev/null +++ b/docs/images/example-repl-handoff.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + Start + + + + Toolchain + + + + Preflight Compile + + + + Preflight Lint + + + + Implement + + + + Simplify (Opus) + + + + Simplify (Gemini) + + + + Simplify (GPT-54) + + + + Verify + + + + Format + + + + + + + + Exit + + + + Fix Lints + + + + Fixup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Exit + + + + + Exit + + + + + + + Fail + + + + + + + + + + + Fail + + + + + +