# M-05 — Polyrepo vs monorepo context walls
# Category: MUST
# Kapitel: 08 – Projekt-Struktur / Monorepos
# Anker: Repo-Grenzen = Context-Wände; Monorepo braucht Scope
# Orientierung: 16:9 landscape
# Didaktik: Polyrepo isoliert den Agent; Monorepo gibt Graph-Sicht — ohne Scope → Dumb Zone.
# Caption (DE): Repo-Grenzen sind Context-Wände; Monorepos helfen nur mit Scope und Boundaries.
# Ziel-Asset: assets/illustrations/M-05-polyrepo-vs-monorepo.jpg
# Language: English (Gemini / Imagen)
# Usage: paste entire prompt body below into Gemini

--- PROMPT START ---
Create a comparative systems diagram, 16:9 landscape, for a professional practice book about coding agents and repository structure.

TOPIC: Repo boundaries are context walls for agents. Monorepos help only when scoped and structured.

GLOBAL STYLE:
- architectural schematic; navy/teal nodes and walls; off-white background; flat vector
- minimal English labels; print-ready

QUALITY GUARDRAILS:
- every visible word correctly spelled English; max ~12 short labels
- agent icon = simple geometric node, NOT a robot character
- no brand monorepo tool logos (no Nx/Turborepo marks)

Title text exactly: "Repo boundaries are context walls"
Subtitle: "can the agent see and verify the graph?"

PANEL A "Polyrepo":
- three isolated boxes: "api-repo" | "web-repo" | "mobile-repo"
- thick walls labeled "context wall"
- geometric agent node only inside api-repo
- dashed failed arrows to other repos with X marks
- caption: "local optimize · guess the other side"

PANEL B "Monorepo":
- open workspace graph nodes: api — shared — web — mobile — tests
- agent node can path across edges
- dashed focus circle "scope window" around api+shared
- caption chip: "visible ≠ dump everything"
- caption: "graph advantage · still must scope"

BOTTOM warning banner:
"chaos monorepo without boundaries often loses to clean polyrepos + contracts"

MOOD: architecture teaching, not monorepo marketing.
ASPECT: 16:9.
NEGATIVE: no robots, no neon mesh overload, no vendor logos, no watermarks.
--- PROMPT END ---

# Follow-up edit:
# Keep walls vs open graph + scope window. Bottom warning about chaos monorepo stays.
