From 73a793bdb14e5ad8d752e65385a4e89da3dd4e18 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 11 Mar 2026 08:57:00 -0400 Subject: [PATCH] Add extracted fixed-loop DOT fixture from branch-loop tutorial Co-Authored-By: Claude Opus 4.6 (1M context) --- test/docs/tutorials/branch-loop/fixed-loop.dot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/docs/tutorials/branch-loop/fixed-loop.dot diff --git a/test/docs/tutorials/branch-loop/fixed-loop.dot b/test/docs/tutorials/branch-loop/fixed-loop.dot new file mode 100644 index 000000000..c115b139c --- /dev/null +++ b/test/docs/tutorials/branch-loop/fixed-loop.dot @@ -0,0 +1,14 @@ +digraph FixedLoop { + graph [goal="Run an improvement loop 5 times"] + rankdir=LR + + start [shape=Mdiamond, label="Start"] + exit [shape=Msquare, label="Exit"] + + improve [label="Improve", prompt="Pick an area and improve it."] + gate [shape=diamond, label="5 Done?"] + + start -> improve -> gate + gate -> exit [condition="context.internal.node_visit_count >= 5"] + gate -> improve +}