Skip to content

feat(org): always stack engineering/worker nodes — mixed wiring goes to the drill-in (#2436) - #2437

Merged
kevinthelago merged 1 commit into
developfrom
2436-stack-worker-nodes
Jul 6, 2026
Merged

feat(org): always stack engineering/worker nodes — mixed wiring goes to the drill-in (#2436)#2437
kevinthelago merged 1 commit into
developfrom
2436-stack-worker-nodes

Conversation

@kevinthelago

Copy link
Copy Markdown
Owner

The org graph now reads as the scaffold + one stacked engineer slot per worker persona, matching the #2388 responsibility split (the planner owns how many engineers exist; the org owns the coordination pattern).

  • Worker-role personas stack by default — no pooled flag needed; an explicit pooled:false un-pool still opts out. Scaffold roles (leadership/quality/support) never stack.
  • Heterogeneous wiring no longer blocks the stack. The old byte-identical-signature gate meant Fleet Alpha's own engineers (A→reviewer, B→auditor) never collapsed — exactly the sprawl this fixes. Mixed external edges union onto the stack node (existing reroute+dedupe); the drill-in still shows each member's exact wiring.
  • Pool.homogeneous records interchangeability; a mixed stack's drill hint reads "mixed wiring · click to open".
  • Tests: heterogeneous case flipped (stacks, flagged mixed) + worker-role default + explicit un-pool + scaffold-never-stacks.

Visual slice of #2388 only — the org→fleet application bridge stays parked per the design comment.

Gate: typecheck clean · lint 0 errors.

Closes #2436.

🤖 Generated with Claude Code

…to the drill-in

The org graph reads as the scaffold (director · reviewer · auditor ·
intake · anchors) plus one stacked engineer slot per worker persona —
the planner owns how many engineers exist (#2388), so per-engineer
wiring detail belongs in the drill-in, not the top view.

- detectPools: a persona stacks when `pooled`, or BY DEFAULT when its
  role is worker (an explicit `pooled:false` un-pool still opts out).
  The homogeneity gate no longer blocks collapsing — Fleet Alpha's own
  engineers (A→reviewer, B→auditor) never stacked because of it. Mixed
  external edges union onto the stack (collapseOrg already reroutes +
  dedupes); the new Pool.homogeneous flag records interchangeability.
- OrgCanvas: a mixed-wiring stack's drill hint says so ("mixed wiring ·
  click to open") since the top view can't show who has what.
- Tests: heterogeneous case flipped (stacks, flagged mixed), worker-role
  default + explicit un-pool + scaffold-never-stacks cases added.

Closes #2436.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@kevinthelago
kevinthelago merged commit 8fbc8b2 into develop Jul 6, 2026
7 checks passed
@kevinthelago
kevinthelago deleted the 2436-stack-worker-nodes branch July 6, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant