fabro/pipelines/factory/architect.dot
Bryan Helmkamp 5932b500e7 Implement GET /pipelines/{id}/graph endpoint for SVG rendering
Stores DOT source in ManagedPipeline and pipes it through `dot -Tsvg`
on request. Returns image/svg+xml on success, 502 if graphviz is
unavailable, 404 if pipeline not found. Resolves spec gap #1.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 09:13:36 -05:00

18 lines
586 B
Text

digraph architect {
graph [
goal="",
label="Architect"
]
rankdir=LR
start [shape=Mdiamond, label="Start"]
exit [shape=Msquare, label="Exit"]
blueprint [label="Write Blueprint", prompt="@prompts/architect/blueprint.md", reasoning_effort="high"]
diagram [label="Update Diagrams", prompt="@prompts/architect/diagram.md"]
approve [shape=hexagon, label="Approve Architecture"]
start -> blueprint -> diagram -> approve
approve -> exit [label="[A] Accept"]
approve -> blueprint [label="[R] Revise"]
}