# CE Agent Interaction Diagram
*Generated: 2026-03-13*

## Full System Map

```
                        ┌─────────────────────────────────────────┐
                        │               ASSAF (Human)             │
                        └──────────────────┬──────────────────────┘
                                           │ instructions
                                           ▼
                        ┌─────────────────────────────────────────┐
                        │           KITT 🧰  (Orchestrator/CEO)   │
                        │  strategic decisions, infra, routing,   │
                        │  memory, heartbeat, QMD, git ops        │
                        └────┬──────────┬──────────┬─────────────┘
                             │          │          │
              creative brief │    infra │  external│
                             ▼          │   server │
                   ┌──────────────┐     │          ▼
                   │  GERRI (PM)  │     │   ┌──────────────────┐
                   │  pipeline,   │     │   │  KITTORO 🤖      │
                   │  routing,    │     │   │  eToro Discord   │
                   │  scheduling  │     │   │  server agent    │
                   └──┬──┬──┬──┬─┘     │   └──────────────────┘
                      │  │  │  │       │
          ┌───────────┘  │  │  └─────┐ └─────────────────────┐
          ▼              ▼  ▼        ▼                        ▼
   ┌──────────┐  ┌──────────┐  ┌──────────┐    ┌──────────────────┐
   │OGILVY ✍️ │  │TATIANA 🎨│  │JESSICA 🖼│    │  THIBAULT 💻    │
   │ copy,    │  │ visuals, │  │ layout,  │    │  code, deploy,   │
   │ headlines│  │ images,  │  │ brand,   │    │  web, scripts,   │
   │ CTAs     │  │ prompts  │  │ slides   │    │  APIs            │
   └──────────┘  └──────────┘  └──────────┘    └──────────────────┘
          │              │          │                        │
          └──────────────┴──────────┴────────────────────────┘
                                   │ all creative output
                                   ▼
                        ┌─────────────────────────────────────────┐
                        │           ANTON 🐀  (Critic)            │
                        │  inline quality gate — reviews all work  │
                        │  during AND after production             │
                        │  before anything reaches Assaf           │
                        └──────────────────┬──────────────────────┘
                                           │ approved output
                                           ▼
                        ┌─────────────────────────────────────────┐
                        │           JULIA 📱 (Research/Publishing) │
                        │  trend scouting, competitive intel,      │
                        │  social publishing, last30days           │
                        └─────────────────────────────────────────┘
```

## Heartbeat Loop (Cron)

```
  Every heartbeat tick:
  ┌────────────────────────────────────────────────────────┐
  │ Kitt                                                   │
  │  1. auto-compact-sessions.py                           │
  │  2. check-kitt-email.py                                │
  │  3. subagents list → collect results / kill stuck      │
  │  4. read #kittoro-comms → respond if Kittoro posted    │
  │  5. advance active QMD tasks → delegate to team        │
  │  6. update QMD (memory/qmd/current.json)               │
  └────────────────────────────────────────────────────────┘

  Morning (7AM Lisbon):
    → Scan overnight channels → summarize to #open-tasks

  Nightly (before midnight):
    → Log decisions → memory/YYYY-MM-DD.md
    → qmd-compact.py
```

## Creative Pipeline Flow

```
  Assaf request
       │
       ▼
  Kitt frames brief (max 5 lines: What + Constraints + Autonomy + Output + Done-when)
       │
       ▼
  Gerri coordinates → routes to correct agent(s)
       │
       ├── Copy needed?        → Ogilvy
       ├── Visuals/images?     → Tatiana
       ├── Research needed?    → Julia
       ├── Layout/brand?       → Jessica
       └── Code/pages?         → Thibault
                │
                ▼
          Anton reviews (inline, not just at end)
                │
                ▼
          Approved output → back to Kitt → Assaf
```

## Agent Autonomy Levels

```
  🟢 FULL        Research, internal drafts
  🟡 CHECKPOINT  Creative work, code
  🔴 SUPERVISED  Client-facing, external comms, code deploys
```

## Agent Model Assignments

```
  Kitt + Anton  → Claude Opus  (strategic reasoning, quality judgment)
  All others    → Claude Sonnet (execution work, cost optimization)
```
