mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Extract all 29 full digraph workflows from docs into test/docs/ with an extraction script, assemble 7 snippet DOTs from reference pages, and add a runner script for validate/dry-run/haiku/full phases. Docs fixes: - definition-of-done: replace multi-word condition values with underscored equivalents (parser doesn't support spaces), make safe-default edges unconditional for fallback coverage - semantic-port: make fallback edges unconditional on fetch/analyze nodes so validator doesn't reject all-conditional-edge nodes All 36 DOTs pass `arc validate`. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
702 B
Text
23 lines
702 B
Text
// Assembled from docs/execution/interviews.mdx snippet
|
|
// Tests human gate with default_choice attribute
|
|
|
|
digraph DefaultChoice {
|
|
graph [goal="Exercise human gate with default choice from the interviews docs page"]
|
|
|
|
start [shape=Mdiamond, label="Start"]
|
|
exit [shape=Msquare, label="Exit"]
|
|
|
|
deploy [label="Deploy", prompt="Deploy the changes."]
|
|
abort [label="Abort", prompt="Abort the deployment."]
|
|
|
|
// Line 114: Human gate with human.default_choice
|
|
approve [shape=hexagon, label="Approve?", human.default_choice="deploy"]
|
|
|
|
start -> approve
|
|
|
|
approve -> deploy [label="[A] Deploy"]
|
|
approve -> abort [label="[R] Abort"]
|
|
|
|
deploy -> exit
|
|
abort -> exit
|
|
}
|