Goal
Establish the constants files at the correct levels so that actors and layout code can reference them.
Tasks
Shared constants (src/shared/constants/)
- Create
artifact-colors.ts mapping artifact types to colors:
- reqs, xplan, arch, plan, code, review, fixes, clean, holi, summary
- Use the pastel tones from the prototype (e.g., reqs →
#dee2e6, code → #fff3bf)
Catwalk constants (src/client/visualizations/catwalk/constants/)
-
Create dimensions.ts:
- Canvas size (
CANVAS_W = 1400, CANVAS_H = 500)
- Vertical positions (
CATWALK_Y = 100, GROUND_Y = 340, CHUTE_TOP, CHUTE_BOT)
- Entity sizing (agent radius, orchestrator radius, artifact width/height, gate width)
- Layout margins
-
Create timing.ts:
- Walk speed, chute duration, work duration, pause duration
Acceptance criteria
- Constants are importable from their respective paths
- No duplication of color values between shared and catwalk constants
- Existing
palette.ts and role-types.ts are not modified
Goal
Establish the constants files at the correct levels so that actors and layout code can reference them.
Tasks
Shared constants (
src/shared/constants/)artifact-colors.tsmapping artifact types to colors:#dee2e6, code →#fff3bf)Catwalk constants (
src/client/visualizations/catwalk/constants/)Create
dimensions.ts:CANVAS_W = 1400,CANVAS_H = 500)CATWALK_Y = 100,GROUND_Y = 340,CHUTE_TOP,CHUTE_BOT)Create
timing.ts:Acceptance criteria
palette.tsandrole-types.tsare not modified