Skip to content

chore: sync contract copy to dspack v0.4 (PR-14a)#13

Merged
ryandmonk merged 1 commit into
mainfrom
chore/v0.4-contract-sync
Jul 3, 2026
Merged

chore: sync contract copy to dspack v0.4 (PR-14a)#13
ryandmonk merged 1 commit into
mainfrom
chore/v0.4-contract-sync

Conversation

@ryandmonk

Copy link
Copy Markdown
Contributor

What

M3 plan Phase 1, PR-14a — the mechanical contract-copy sync after dspack#11 (v0.4). check:sync --write pulled input/shadcn-ui.dspack.json to contract 2.1.0; this turns dspack-emit's drift check green again (planned Phase 1 sequence).

The interesting non-event

The v0.4 additions (categories registry + membership metadata, two new rules) are governance-side: emitters consume governed CSRs, never rules, so the transformer ignores all of it by design. The only derived change is the generated-file headers' dspack "0.3" → "0.4" string — the json-render codegen goldens (the standing hand-review artifact) diff exactly one line each, catalog content byte-identical. The protocol-neutrality seam holding under a spec revision is the review, in two lines.

Acceptance

  • npx vitest run — 49/49
  • node scripts/check-sync.mjs — in sync against merged dspack main
  • npm run test:json-render — J2/J3 gates green over the governed corpus
  • npm run build — clean

🤖 Generated with Claude Code

M3 plan Phase 1, PR-14a — mechanical consumer sync after dspack#11:
input/shadcn-ui.dspack.json pulled via check:sync --write (v0.4, contract
2.1.0). The v0.4 additions are contract metadata + rules, which the
transformer ignores by design, so the ONLY derived change is the generated
headers' version string — the json-render codegen goldens diff exactly one
line each; catalog content byte-identical. Emitters consume governed CSRs,
not rules; nothing else moves.

49 tests, check:sync, build, json-render gates (J2/J3) all green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 3, 2026 19:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs the vendored shadcn/ui dspack contract copy to dspack v0.4 (contract version 2.1.0) to eliminate drift against the upstream dspack repository, and updates the derived json-render goldens accordingly.

Changes:

  • Update input/shadcn-ui.dspack.json to dspack "0.4" / contract "2.1.0", including upstream v0.4 governance additions (component categories + categories registry + new rules).
  • Refresh generated json-render golden headers so they reflect dspack "0.4".

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
input/shadcn-ui.dspack.json Upstream contract sync to dspack v0.4 / version 2.1.0; includes new categories/rules metadata from source-of-truth.
golden/json-render/registry.tsx.golden Regenerated header to reflect dspack "0.4" (no functional changes in the stub registry shown in diff).
golden/json-render/catalog.ts.golden Regenerated header to reflect dspack "0.4" (catalog content unchanged in diff besides the header).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ryandmonk ryandmonk merged commit b0582e6 into main Jul 3, 2026
2 checks passed
@ryandmonk ryandmonk deleted the chore/v0.4-contract-sync branch July 3, 2026 21:17
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.

2 participants