Skip to content

Add shared artifact color constants and catwalk dimension/timing constants #177

Description

@williamthorsen

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

Metadata

Metadata

Labels

featureAdded or improved external functionalityscope:factory

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions