Workflow definitions
Canonical SoR + Spec: mfp2/docs/CANONICAL_SPEC.md.
Working model (roles × spine): mfp2/docs/WORKING_MODEL.md.
Role cards: roles.html ·
Workflow detail: mfp2/docs/WORKFLOWS.md.
UI handoff: docs/HANDOFF_UI_ROLES_WORKFLOW.md.
5.0 Images cross-cut briefs, drafts, and layouts
| Code | Role | Decides |
|---|---|---|
mbe | Managing Brand Editor | Multi-brand direction · themes · cover / TOC / Lead |
editor | Editor | This issue’s delivery · briefs · approve text/images · selective non-lead gate |
planner | Issue Planner | Slot fill · brief commission · cascades (may stand in for Editor gate) |
hub_lead | Hub lead | Hub queue / tone only — not a substitute for Editor |
writer | Writer | Draft · mark ready (= authority when no higher gate) |
Create envelope: Editor files brief → Writer Create → Mark ready → Editor (or MBE) approves → pin. Detail: CREATE_WORKHORSE.md §1b.
| Method | Typical P | Flow (short) |
|---|---|---|
| A1 | P1 | Both: (1) bulk generate article type → pool · (2) select → task → review → approval. Cover always A1 · MBE. |
| A2 | P1 | Editor/Planner file task + draft brief → Writer improve → AI draft → layout-aware edit → mark ready → Editor approve |
| A3 | P1 (or P2) | Open-format: directional brief → writer experiences/reports → often selects images → writes to page |
| A4 | P3 | Design goal: no work. Cascade only onto matrix-compatible layouts; place automatically; tweak is exception |
Shared toolkit: fact-check, length/fit (APL-2), proofread, template test, mark ready. 3.9: Writer can mark ready; MBE or Editor only when their gate applies. Hub lead does not approve Create.
Business top priority: 100% fit ideal · ≥90% pins with no designer work. Deep UI parked — keep stage labels honest.
Engine: InDesign Server. Detail in WORKFLOWS §4. Do not collapse into a single “layout QA” blob.
Typically 3–5 images (0–10). Position 1 = Main; 2…N support frames.
Detail: docs/IMAGE_WORKFLOW.md.
Live catalog from Postgres (/api/workflows/registry) · domain outbox
(/api/events). Doc: docs/WORKFLOW_DRIVEN.md.
n8n orchestrates; it does not own editorial SoR.
Unconsumed events show Ack → POST /api/events/{id}/ack.
Ack all unconsumed walks open events one-by-one (no batch API yet).
Toggle ●/○ or Enable/Disable → PATCH /api/workflows/registry/{stage_id}.
Postgres = SoR · LangGraph = agent runs · n8n = jobs. Full matrix in WORKFLOWS §7.
| Band | Postgres | LangGraph | n8n |
|---|---|---|---|
| 1.x Pre-plan | Yes | Suggest | Import |
| 2.x Issue / brief | Yes | Brief assist | Notify |
| 3.x Draft | Yes | Draft / critique | Notify |
| 3.9 Approve | Gates | — | Notify |
| 4.x Pin | IdsJob | — | → IDS |
| 5.x Images | Image* | Vector assist | → WWA / agency |