Repository navigation
feat(flow): COMP-3-2 draw the agent layout as a glass flow graph - #1458
Merged
Merged
Conversation
Test-First: src/screens/leitstand/flow/FlowGraph.test.tsx::shows the task and the branch of each agent on its node Test-First: src/screens/leitstand/flow/FlowGraph.test.tsx::draws an edge from the parent node to the child Test-First: src/screens/leitstand/flow/FlowGraph.test.tsx::does not animate edges when reduced motion is requested Test-First: src/screens/leitstand/flow/FlowGraph.test.tsx::replaces only the node interior when renderNode is passed Test-First: src/screens/leitstand/flow/FlowGraph.test.tsx::says so in words when there are no agents and invents no parent Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Regression-For: 16d0b0b Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Regression-For: 16d0b0b Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Cuarroc
marked this pull request as ready for review
October 14, 2026 23:46
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
|
review-ok set by Root for head e154a63: tier B, reviews by non-Anthropic families (NVIDIA Nemotron, Cohere, Alibaba Qwen) bound to this head, disposition in the PR body, no open high/medium; gates (linux), gates (windows), red-first green on this head. A later push voids this label. |
Owner
Author
|
@Mergifyio queue |
30 of 46 tasks
Contributor
Merge Queue Status
This pull request spent 16 minutes 8 seconds in the queue, including 12 minutes 28 seconds running CI. Required conditions to merge
|
This was referenced Oct 15, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Der Ablauf der Agenten wird jetzt als gläserner Graph gezeichnet: ein Knoten pro Agent, ein gestrichelter Pfeil vom Auftraggeber zum gestarteten Agenten. Die Pfeile bewegen sich nur, wenn du keine reduzierte Bewegung eingestellt hast; ohne Agenten steht ein ehrlicher Leer-Hinweis da. Die Komponente ist noch nirgends eingebunden (keine Route, kein IPC), du siehst im Programm also noch keine Änderung.
Report
Was geändert (COMP-3-2, nur Frontend, 232 Zeilen inkl. Tests):
src/screens/leitstand/flow/FlowGraph.tsx: nimmt das Ergebnis vonlayoutFlowund ein Label (Aufgabe, Branch) je Id; optionalrenderNodeersetzt nur das Innere eines Knotens, Kanten bleiben. Je Layout-Kante ein<path data-flow-edge data-from data-to>mit<title>("A startete B"). Bewegte Kante = CSS-Klassefl-edge--moving; sie fehlt, wennmatchMedia("(prefers-reduced-motion: reduce)")zutrifft (zusätzlichanimation: noneim CSS). Keine Agenten:HonestStatekindempty, es wird kein Elternknoten erfunden.flow.css: Glas-Karte auf den--g-*-Tokens, gestrichelte Pfeile (Farbe ist nicht das einzige Signal: jeder Knoten trägt Aufgabe und Branch als Text).texts.ts: deutsche Wörter (nicht inde.ts).FlowGraph.test.tsx: 5 Tests. Kein Edit anlayout.ts,BoardView.tsx,workerTree.ts,LeitstandRoute.tsx,routing.ts,de.ts; keine neuen Abhängigkeiten, kein Rust.useReducedMotion-Hook (useSyncExternalStore) ist lokal geschrieben, weiluseMediaQueryinshell/AppearanceControl.tsxnicht exportiert ist und diese Datei nicht zu den erlaubten gehört. Folge-Idee: beide zusammenlegen.Belege (Befehl → Exit):
npx --no-install vitest run src/screens/leitstand/flow/FlowGraph.test.tsx src/i18n/hardcoded.test.ts→ 0npm run typecheck→ 0npm run build→ 0bash scripts/ci/red-first.sh→ 0git diff --check→ 0bash scripts/ci/gates.sh lane prepush→ 0 (alle Gates grün, rust-suite 2266/2266)16d0b0bf) enthält die 5 Tests mit kompilierendem Stub, alle 5 rot; die Test-First-Trailer nennenFlowGraph.test.tsx::<Testname>je Test, darunter die zwei geforderten ("draws an edge from the parent node to the child", "does not animate edges when reduced motion is requested"). Commit 2 und 3 tragenRegression-Forauf diesen Commit.denkraum(Playwright/Node, nicht mein Code) war bei Serverlast (Load ~45) zweimal rot (ECONNRESET, Timeouts) und beim Wiederholen grün;node --test tools/denkraum/server-security.test.mjseinzeln → 0. Kein Bypass.Sichtprüfung (1440×900, hell und dunkel, temporärer Harness in einem ignorierten Ordner, danach gelöscht, kein Browser-Prozess übrig): Beispielgraph mit Koordinator, drei Kindern, einem Enkel und einem Einzelgänger. Beide Screenshots angesehen. Abweichungen zu
glass/Main.dc.html:--g-content-*/--g-line/--g-shadow.renderNode).--g-faint, Zeilenabstand 40 → 56 px (flache Kurven), Karten-Innenabstand 16 px wie auf dem Board.aria-label).Architecture drift: keine neuen Funde, keine Allowlist-Änderung.
RE source: public docs only (2026-10-13 scan: MIT agent-tree viewers; no code copied)
PONYTAIL: applied (kleinste vollständige Änderung: vorhandene Bausteine
HonestState,fill,layoutFlow,--g-*-Tokens genutzt, keine neue Abhängigkeit).Review: ausstehend (Stufe B; Autor ist Anthropic, Prüfer muss außerhalb Anthropic liegen, Root ordnet an).
Finding-Tabelle:
NICHT ABGEDECKT:
#[cfg(windows)]-Tests (run_in_pty, npm_shim, ConPTY, DPAPI) und die Windows-Arme von clippy: Linux deckt sie nicht ab; die Windows-Bahn läuft in der Merge-Queue.linux(Browser-Smoke, e2e, Lizenz-Check) wurde lokal nicht gelaufen; nurprepushundnpm run build.🤖 Generated with Claude Code
Root review disposition (head e154a63, 15.10.2026)
Author family: Anthropic (Claude). Tier B (frontend). Reviews bound to head
e154a637: NVIDIA Nemotron 3 Ultra and Cohere north-mini-code (kilo), Alibaba Qwen3-Coder-Next (OpenRouter). Every finding checked against the code at this head.renderNodewith one parameter leaveslabelundefined<title>useIdSSR hydration mismatchtextContentassertion fragilefill, null deref, emptyMath.max, namingNo open high or medium finding.