Problem
The orchestrator actor should be positioned over the center of a station. When a station has a single subagent, the orchestrator should be positioned directly above that agent. Currently the positioning appears misaligned.
Investigation
The layout math in catwalk-layout.ts appears correct — orchestratorPosition() and agentPosition() both use stationX() for centering. Possible causes:
- Sprite anchor point differences between
OrchestratorActor and StationAgentActor
- GraphicsGroup offset in
StationAgentActor (sprite + accent bar) shifting the visual center
- Layout recomputation timing when agent counts change
Key files
packages/factory/src/client/visualizations/catwalk/layout/catwalk-layout.ts — orchestratorPosition(), agentPosition(), stationX()
packages/factory/src/client/visualizations/catwalk/scene/CatwalkScene.ts — addOrchestrator(), addAgents()
packages/factory/src/client/visualizations/catwalk/actors/OrchestratorActor.ts
packages/factory/src/client/visualizations/catwalk/actors/StationAgentActor.ts
Problem
The orchestrator actor should be positioned over the center of a station. When a station has a single subagent, the orchestrator should be positioned directly above that agent. Currently the positioning appears misaligned.
Investigation
The layout math in
catwalk-layout.tsappears correct —orchestratorPosition()andagentPosition()both usestationX()for centering. Possible causes:OrchestratorActorandStationAgentActorStationAgentActor(sprite + accent bar) shifting the visual centerKey files
packages/factory/src/client/visualizations/catwalk/layout/catwalk-layout.ts—orchestratorPosition(),agentPosition(),stationX()packages/factory/src/client/visualizations/catwalk/scene/CatwalkScene.ts—addOrchestrator(),addAgents()packages/factory/src/client/visualizations/catwalk/actors/OrchestratorActor.tspackages/factory/src/client/visualizations/catwalk/actors/StationAgentActor.ts