Skip to content

Compose to Puzzle5d Migration #2575

Description

@usalu

🤖️ Prompt

End-to-end migration of the legacy compose/ tree onto the puzzle.puzzle5d@1 artifact schema, pinned to commit 5904ebe.

Scope:

  1. Establish a canonical test-directory contract for every atomic and semantic mutation: <mutation>/🧪️tests/<test>/{mutation,diff,snapshot/{before,after},outcome} with text/binary/JSON encodings for each artifact class (snapshot: .dsl.semio/.pack.semio/.json; mutation: .op.semio/.spr.semio/.json; diff: .patch.semio/.patch.spr.semio/.json) plus a typed component.rs fixture descriptor.
  2. Complete the missing binary-diff protocol wiring (IoDeclaration.native.diff.binary is currently None).
  3. Cover all 28 current atomic Puzzle5d mutations with fixtures, plus port every compose algorithm family (flatten, flatten-merkle, copy/paste, delete, move, diff/apply/invert, hash, validation, quality, filter-kit, find-replaceable-types, architect, representation export, kit-store) as either semantic mutations, inferences, or IO operations.
  4. Delete the parallel untyped document model: Puzzle5dDocument, Puzzle5dPlaySnapshot, the serde_json::Value mutation bridge, before/after document comparison as the primary mutation producer, and legacy embedded-catalog normalization.
  5. Translate all compose fixtures/assets to new terminology (kit->kind catalogs, design->puzzle snapshot, type->part kind, piece->part, connector->grip template, port->grip kind, connection->fastener) via a ticket-scoped one-time translator that is deleted afterwards.
  6. Enforce coverage mechanically via permanent script.ts targets, then delete compose/ entirely.

Execution uses an Opus coordinator + Sonnet execution fleet + Haiku read-only census fleet across 10 gated waves.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions