Loaded Mermaid
Mermaid Visualizer
Same scenario handed to a subagent with the local mermaid-visualizer SKILL.md attached. Viewer syntax is normalized from the raw handoff.
Rendering diagram…
Mermaid Source60 lines
1flowchart TB2brief["Feature brief: collaborative-plan-comments"] --> orchestrator["Orchestrator starts canonical PlanPack JSON"]34orchestrator --> parallelStart{"Parallel discovery before consolidation"}5parallelStart --> research["Research lane"]6parallelStart --> ideas["Idea generation lane"]7parallelStart --> constraints["Constraints and risk scan"]89subgraph discovery["Parallel: explore before deciding"]10research11ideas12constraints13end1415research --> consolidate["Consolidate into one planned pipeline"]16ideas --> consolidate17constraints --> consolidate1819consolidate --> jsonPlan["PlanPack JSON updated"]20jsonPlan --> viewer["Web viewer renders human-readable plan"]21viewer --> humanPlan{"Human reviews plan sections"}22humanPlan --> comments["Section comments"]23humanPlan --> actions["Quick actions: approve, block, rescope, clarify"]24comments --> exportBundle["Copy or export feedback bundle"]25actions --> exportBundle26exportBundle --> revise["Orchestrator imports feedback and revises JSON"]2728revise --> contract["Write validation contract and test design"]29contract --> humanContract{"Human gate: scope and contract clear?"}30humanContract -->|revise| revise31humanContract -->|approve| buildStart{"Separate implementation and validation agents"}3233buildStart --> impl["Implementation agent builds feature from JSON plan"]34buildStart --> valPrep["Validation agent prepares checks from contract only"]35impl --> handoff["Implementation handoff"]36valPrep --> validate["Independent validation agent verifies result"]37handoff --> validate3839validate --> humanValidation{"Human review: validation evidence"}40humanValidation -->|fail or rescope| revise41humanValidation -->|pass| codeReview["Final code review"]4243codeReview --> outcome{"Review outcome"}44outcome -->|block| revise45outcome -->|mortem or process feedback| revise46outcome -->|approve| ready["Ready for merge or release lane"]4748classDef source fill:#e7f5ff,stroke:#1971c2,color:#0b3558;49classDef parallel fill:#e5dbff,stroke:#5f3dc4,color:#2b175e;50classDef human fill:#fff4e6,stroke:#e67700,color:#5c3100;51classDef work fill:#c5f6fa,stroke:#0c8599,color:#06424a;52classDef feedback fill:#ffe3e3,stroke:#c92a2a,color:#5f1212;53classDef done fill:#d3f9d8,stroke:#2f9e44,color:#0f3d1f;5455class brief,orchestrator,jsonPlan source;56class parallelStart,research,ideas,constraints,discovery,buildStart parallel;57class humanPlan,humanContract,humanValidation human;58class consolidate,viewer,contract,impl,valPrep,handoff,validate,codeReview work;59class comments,actions,exportBundle,revise,outcome feedback;60class ready done;