# M-03 — Session · Compact · Handoff
# Category: MUST
# Kapitel: 04 – Context-Management in der Praxis
# Anker: Steuerknüppel Session / Compact / Handoff
# Orientierung: 16:9 landscape
# Didaktik: Entscheidungsfluss — wann weiter, wann Compact, wann Handoff + neue Session.
# Caption (DE): Session, Compact und Handoff sind der Steuerknüppel für Zuverlässigkeit und Kosten.
# Ziel-Asset: assets/illustrations/M-03-session-compact-handoff.jpg
# Language: English (Gemini / Imagen)
# Usage: paste entire prompt body below into Gemini

--- PROMPT START ---
Create a decision-flow infographic, 16:9 landscape, for a professional practice book about coding-agent context management.

TOPIC: When to continue, when to compact, when to write a handoff and start a new session.

GLOBAL STYLE:
- flat flowchart; green continue, teal new session, amber write-first, navy connectors; off-white background
- minimal English labels; print-ready

QUALITY GUARDRAILS:
- every visible word correctly spelled English; max ~12 short labels in the flow core
- no brand logos; no mascots

Title text exactly: "Session · Compact · Handoff"
Subtitle: "controls for reliability and cost"

TOP DECISION FLOW (exact geometry — do not invent extra arrows):
Diamond 1 (left): "same goal & sharp context?"
- YES (up-right) → green box "continue"
  - Under "continue" ONLY: small note "maybe compact" (annotation, NOT a flow node)
  - CRITICAL: no arrow from "maybe compact" to handoff, new session, or any other box
- NO (right) → diamond 2: "state recoverable in repo/handoff?"
  - YES (up-right) → teal box "new session" (terminal; no outgoing arrows)
  - NO (down-right) → amber box "write handoff first" → arrow right → teal "new session" (terminal)
  - Only ONE NO arrow into "write handoff first"; no floating arrows into empty space

THREE EQUAL COLUMNS below:

A "New session": "slice boundary · topic switch · plan→execute clean"
B "Compact + hint": "proactive · keep DoD/files/next step · not at 90%"
C "Handoff (in repo)": "goal · DoD · state · decisions · verify cmds"

BOTTOM red anti-pattern strip:
"avoid: week-long session badge · reset without handoff · hint: keep everything"

MOOD: operational control panel for teams.
ASPECT: 16:9.
NEGATIVE: no neon, no robots, no watermarks, no long essay text in boxes.
--- PROMPT END ---

# Follow-up edit:
# Keep decision diamonds and three columns. Anti-pattern strip must stay.
# Regen 2026-08-11 (Imagine): fix "maybe compact" as note under continue only
# (old asset had a false arrow maybe-compact → write handoff first).
