graph TD
%% ── ENTRY ──
Onboarding["👋 Onboarding"] -->|Setup Complete| Dashboard
%% ── CORE HUB ──
Dashboard["📊 Dashboard"] --> AgentsList["👥 Agents List"]
Dashboard --> Resources["📦 Resource Sidebar"]
Dashboard --> Spawn["✨ Spawn ART"]
Dashboard --> TeamOrg["🌳 Team Org View"]
%% ── AGENT WORKFLOWS ──
AgentsList -->|Select Agent| ProfileModal["👤 Profile Modal"]
AgentsList -->|Full Details| RPGProfile["📜 RPG Agent Profile"]
ProfileModal -->|Train| SkillFeeding["🧠 Skill Feeding"]
ProfileModal -->|Debug| Debug["🛠️ Debug Inspector"]
%% ── SPAWN WORKFLOW ──
Spawn -->|Select Class| RPGClasses["⚔️ Character Classes"]
Spawn -->|View Tiers| TierShowcase["🏆 Agent Tier Showcase"]
Spawn -->|Confirm| Dashboard
%% ── TEAM WORKFLOWS ──
TeamOrg -->|Select Agent| ProfileModal
Resources -->|Drag to Seat| Dashboard
%% ── 3D VIEWS ──
subgraph 3D["3D Experiences"]
GuildHall["🏰 Guild Hall"]
CommandCenter["🏰 3D Command Center"]
Workshop["🔨 Cozy Workshop"]
HUD["📺 HUD Overlay"]
end
Dashboard --> GuildHall
GuildHall --> CommandCenter
GuildHall --> Workshop
GuildHall --> HUD
%% ── REFERENCE DOCS ──
subgraph Ref["Reference & Art"]
RPGClasses
AnimStates["🎬 Animation States"]
AnimSheet["🎭 Animation Ref Sheet"]
TierShowcase
end
%% ── STYLING ──
classDef core fill:#2a2a4a,stroke:#4ade80,color:#fff,stroke-width:2px
classDef threeD fill:#2a2a4a,stroke:#FFD700,color:#fff,stroke-width:2px
classDef ref fill:#2a2a4a,stroke:#4a9eff,color:#fff,stroke-width:2px
classDef concept fill:#2a2a4a,stroke:#6b3fa0,color:#fff,stroke-width:2px
class Onboarding,Dashboard,AgentsList,ProfileModal,Spawn,SkillFeeding,Debug,Resources,TeamOrg core
class GuildHall,HUD threeD
class RPGClasses,AnimStates,AnimSheet,TierShowcase ref
class CommandCenter,Workshop,RPGProfile concept