mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-16 04:33:16 +00:00
- Rename handler type strings: codergen → agent_loop, wait.human → human, script → command, wait.timer → wait - Rename handler modules/structs to match: AgentHandler, HumanHandler, CommandHandler, WaitHandler - Split one_shot into PromptHandler (handler/prompt.rs) with shape=tab mapping - Remove CodergenMode enum and codergen_mode attribute — one_shot is now its own handler type, not a mode flag on the agent loop handler - Update all demo DOT files: codergen_mode="one_shot" → shape=tab - Update spec, README, validation rules, preamble, and hook tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
840 B
Text
18 lines
840 B
Text
digraph HumanGate {
|
|
graph [goal="Propose and implement a README improvement"]
|
|
rankdir=LR
|
|
|
|
start [shape=Mdiamond, label="Start"]
|
|
exit [shape=Msquare, label="Exit"]
|
|
|
|
draft [label="Draft Proposal", prompt="Read the README.md (or note its absence). Propose a specific improvement: either create one or enhance the existing one. Describe your proposed changes clearly but do NOT make any changes yet.", shape=tab]
|
|
approve [label="Approve Changes?", shape=hexagon]
|
|
apply [label="Apply Changes", prompt="Apply the proposed README changes that were approved."]
|
|
skip [label="Skip", prompt="Acknowledged. No changes made.", shape=tab, reasoning_effort="low"]
|
|
|
|
start -> draft -> approve
|
|
approve -> apply [label="[A] Approve"]
|
|
approve -> skip [label="[S] Skip"]
|
|
apply -> exit
|
|
skip -> exit
|
|
}
|