flowchart LR
H((人間)) <-->|"依頼・進捗"| PA
subgraph parent["ghq/github.com/"]
PA["agent<br/>人間との対話"] <--> PO["orchestrator<br/>全体を管理"]
PO <--> PM["messenger<br/>interface_node"]
PO <--> PW["worker"]
PO <--> PR["reviewer"]
PO <--> PAP["approver"]
end
subgraph dotfiles["ghq/github.com/org/pj2"]
DM["messenger<br/>interface_node"] <--> DO["orchestrator"]
DO <--> DW["worker"]
DO <--> DR["reviewer"]
DO <--> DAP["approver"]
end
subgraph postman["ghq/github.com/org/pj1"]
TM["messenger<br/>interface_node"] <--> TO["orchestrator"]
TO <--> TW["worker"]
TO <--> TR["reviewer"]
TO <--> TAP["approver"]
end
PM <-->|"親子間の連絡"| DM
PM <-->|"親子間の連絡"| TM
classDef human fill:#fef3c7,stroke:#d97706,color:#78350f
classDef dialogue fill:#e0f2fe,stroke:#0891b2,color:#164e63
classDef interface fill:#dbeafe,stroke:#2563eb,color:#172554
classDef orchestration fill:#ede9fe,stroke:#7c3aed,color:#4c1d95
classDef implementation fill:#dcfce7,stroke:#16a34a,color:#14532d
classDef review fill:#fce7f3,stroke:#db2777,color:#831843
classDef approval fill:#ffedd5,stroke:#ea580c,color:#7c2d12
class H human
class PA dialogue
class PM,DM,TM interface
class PO,DO,TO orchestration
class PW,DW,TW implementation
class PR,DR,TR review
class PAP,DAP,TAP approval
style parent fill:#eff6ff,stroke:#1d4ed8,stroke-width:3px
style dotfiles fill:#f8fafc,stroke:#94a3b8
style postman fill:#f8fafc,stroke:#94a3b8