ProcessFlow — Run one process end-to-end (wrapper)
Input: one process name. This is the loop each terminal runs so a process comes out finished and
self-verified. Uses the two doer skills; load processflow-review/references/guardrails.md for the
done-criteria.
The loop
- Work it — run
processflow-process <name>: transcript-check, rework concept + canvas +
diagrams via Chrome-MCP, re-score, sync the helper app — aim for all required guardrails.
- Critique it — run
processflow-critic <name>: red-team from the critical lens, walk the
Fehlermuster-Register, web-research tools/prices/technique → issue list.
- Incorporate immediately — fix every real issue the critic surfaced (back through the Konzept-/
Canvas-Copilot). Re-sync the helper app.
- Repeat 2–3 until the critic returns no blocking issues (or the remaining ones are justified
n.a. with a documented reason — e.g. read-only compliance field, arch_diag n.a. for single-tool).
Cap at ~3 loops; if still not clean, stop and report what's blocking (don't spin).
Finish
- Re-score the Prozessanalyse if the approach/effort changed (so score matches concept).
- Final helper-app sync: guard flags + notes reflect the true state (verified vs. n.a.-with-reason).
- Report a tight summary: what changed, final guard status, any residual/n.a. items and why.
Parallel-Koordination (WICHTIG — du bist einer von ~10)
Aktuell arbeiten mehrere Agenten gleichzeitig, je Terminal ein anderer Prozess. Ihr teilt euch die
Firma, die Helper-App (review.json), die Tool-Landkarte, das ERP und den Chrome-Login. Deshalb:
- Am Start den Team-Update-Feed lesen:
GET /api/updates?company=<slug> (localhost:8765) — dort
stehen Querschnitts-Findings der anderen (z. B. „SAP→IPTOR", „Branche=Schmuck", „Artikel-Matching ist
geteiltes Modul", „InboxMate = gemeinsamer Eingang", Preis-Checks). Vor Doppelarbeit/Widerspruch schützt das.
- Regelmäßig re-checken (vor jedem Rework-Schritt, mind. zu Beginn + nach dem Critic).
- Eigene Querschnitts-Findings SOFORT teilen:
POST /api/update {company, agent:"<terminal/prozess>", process:"<name>", tags:[…], text:"…"} — alles, was für andere relevant ist: erfundene/echte Tools,
Branche, geteilte Module/Eingänge (InboxMate, Artikel-Matching), OS-Konsolidierung, Preis-/Lizenz-Fakten,
System-of-Record, wiederkehrende KI-Fehler. Prozess-spezifische Details bleiben in review.json; der
Feed ist NUR für Firmen-/prozessübergreifend Relevantes.
- Bleib auf DEINEM Prozess. Andere Prozesse gehören anderen Terminals — nicht mitbearbeiten; wenn du
dort etwas siehst, per Feed melden statt selbst ändern.
Hard rules (every terminal)
- NEVER set
approved/HI-freigegeben (that's the human/Martin) or name the presentation date
(that's Dominik). Prepare everything up to freigabe-ready; leave the switch to the human.
- Writes hit live customer data. In a user-authorized multi-terminal batch, proceed autonomously
but stay precise and verify after each write; otherwise confirm each write.
- Fresh Chrome session token when the ~1h JWT expires. If the helper app is down, restart it.
- Stay on your ONE assigned process — don't touch others (parallel terminals own theirs).
1---2name: processflow-run3description: Per-terminal entry point: take ONE ProcessFlow process from raw to done in a work→critique→fix loop. Use when handed a single process to fully handle — "run <process>", "handle <process> end-to-end", "übernimm Prozess <Name> komplett", or when the multi-terminal batch assigns one process per terminal in the neverlost engagement. Takes the PROCESS NAME as parameter. Wraps: (1) processflow- process to work it to guardrail-completion, (2) processflow-critic to red-team it, (3) immediately incorporates the critic's feedback, looping until the critic is clean and all guardrails pass. Keeps the helper app synced. This is what each of the ~10 parallel terminals runs.4---56# ProcessFlow — Run one process end-to-end (wrapper)78Input: **one process name**. This is the loop each terminal runs so a process comes out finished and9self-verified. Uses the two doer skills; load `processflow-review/references/guardrails.md` for the10done-criteria.1112## The loop131. **Work it** — run **`processflow-process <name>`**: transcript-check, rework concept + canvas +14 diagrams via Chrome-MCP, re-score, sync the helper app — aim for all required guardrails.152. **Critique it** — run **`processflow-critic <name>`**: red-team from the critical lens, walk the16 Fehlermuster-Register, web-research tools/prices/technique → issue list.173. **Incorporate immediately** — fix every real issue the critic surfaced (back through the Konzept-/18 Canvas-Copilot). Re-sync the helper app.194. **Repeat 2–3** until the critic returns no blocking issues (or the remaining ones are justified20 n.a. with a documented reason — e.g. read-only compliance field, arch_diag n.a. for single-tool).21 Cap at ~3 loops; if still not clean, stop and report what's blocking (don't spin).2223## Finish24- Re-score the Prozessanalyse if the approach/effort changed (so score matches concept).25- Final helper-app sync: guard flags + notes reflect the true state (verified vs. n.a.-with-reason).26- Report a tight summary: what changed, final guard status, any residual/n.a. items and why.2728## Parallel-Koordination (WICHTIG — du bist einer von ~10)29Aktuell arbeiten **mehrere Agenten gleichzeitig**, je Terminal ein anderer Prozess. Ihr teilt euch die30Firma, die Helper-App (`review.json`), die Tool-Landkarte, das ERP und den Chrome-Login. Deshalb:31- **Am Start den Team-Update-Feed lesen:** `GET /api/updates?company=<slug>` (localhost:8765) — dort32 stehen Querschnitts-Findings der anderen (z. B. „SAP→IPTOR", „Branche=Schmuck", „Artikel-Matching ist33 geteiltes Modul", „InboxMate = gemeinsamer Eingang", Preis-Checks). Vor Doppelarbeit/Widerspruch schützt das.34- **Regelmäßig re-checken** (vor jedem Rework-Schritt, mind. zu Beginn + nach dem Critic).35- **Eigene Querschnitts-Findings SOFORT teilen:** `POST /api/update {company, agent:"<terminal/prozess>",36 process:"<name>", tags:[…], text:"…"}` — alles, was für andere relevant ist: erfundene/echte Tools,37 Branche, geteilte Module/Eingänge (InboxMate, Artikel-Matching), OS-Konsolidierung, Preis-/Lizenz-Fakten,38 System-of-Record, wiederkehrende KI-Fehler. Prozess-spezifische Details bleiben in `review.json`; der39 Feed ist NUR für Firmen-/prozessübergreifend Relevantes.40- **Bleib auf DEINEM Prozess.** Andere Prozesse gehören anderen Terminals — nicht mitbearbeiten; wenn du41 dort etwas siehst, per Feed melden statt selbst ändern.4243## Hard rules (every terminal)44- **NEVER** set `approved`/HI-freigegeben (that's the human/Martin) or name the presentation date45 (that's Dominik). Prepare everything up to freigabe-ready; leave the switch to the human.46- Writes hit **live customer data**. In a user-authorized multi-terminal batch, proceed autonomously47 but stay precise and verify after each write; otherwise confirm each write.48- Fresh Chrome session token when the ~1h JWT expires. If the helper app is down, restart it.49- Stay on your ONE assigned process — don't touch others (parallel terminals own theirs).