Skip to content

feat: v0.4 amendment sync — vendored schema, 2.2.0 copy, evaluator pin#16

Merged
ryandmonk merged 1 commit into
mainfrom
feat/v0.4-amendment-sync
Jul 4, 2026
Merged

feat: v0.4 amendment sync — vendored schema, 2.2.0 copy, evaluator pin#16
ryandmonk merged 1 commit into
mainfrom
feat/v0.4-amendment-sync

Conversation

@ryandmonk

Copy link
Copy Markdown
Contributor

What

The ds-mcp leg of the ADR-M3-1 amendment (dspack#13 · dspack-gen#25 · dspack-emit#14, all merged).

  • Vendored dspack.v0.4.schema.json refreshed to the amended bytes (textScope + dependentRequired) — the loader would reject textScope contracts on the stale schema.
  • Contract copy synced to 2.2.0; F1 goldens unchanged upstream, still byte-in-sync.
  • dspack-gen pin 6c84531f6514330 (the amended-evaluator main).
  • The pin test now asserts both sides of the amendment through validate-ui: the 2026-07-03 signature shape (label nested in a badge) lints clean — the audited lift can project it — while no-text-anywhere violates at the trigger. The MCP tool now gives agents the amended semantics verbatim.

Acceptance

npm test93/93 · check-sync — all three copies in sync · CI is the gate.

Next: the amendment-effect rerun (dspack-gen), running now.

🤖 Generated with Claude Code

…n (amendment leg)

The ds-mcp leg of the ADR-M3-1 amendment (dspack#13, dspack-gen#25,
dspack-emit#14):

- vendored dspack.v0.4.schema.json refreshed to the amended bytes
  (textScope + dependentRequired; loader would reject textScope contracts
  on the stale schema)
- contract copy synced to 2.2.0 (check-sync --write)
- dspack-gen pin 6c84531 -> f6514330 (the amended-evaluator main)
- the v0.4 pin test now asserts BOTH sides of the amended semantics through
  validate-ui: nested label text is clean (liftable), no-text-anywhere
  violates AT the trigger

93 tests + check:sync green.

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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Syncs ds-mcp to the v0.4 ADR-M3-1 amendment by updating the vendored JSON Schema, updating the vendored shadcn/ui v0.4 contract copy, and pinning dspack-gen to a commit that implements the amended evaluator semantics used by validate-ui.

Changes:

  • Refresh dspack.v0.4.schema.json to support textScope (self/subtree) plus dependentRequired enforcement for required-props.
  • Update the shadcn/ui v0.4 contract copy to 2.2.0 and adjust the trigger-label governance rule to use textScope: subtree.
  • Bump the pinned @aestheticfunction/dspack-gen git SHA and extend the pin test to assert both “nested label is clean” and “no text anywhere fails at the trigger”.

Reviewed changes

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

Show a summary per file
File Description
src/tests/generation-tools.test.ts Expands the validate-ui pin test to cover both sides of the amended required-props/textScope behavior.
src/schema/dspack.v0.4.schema.json Adds textScope and dependentRequired for amended required-props schema validation.
package.json Pins @aestheticfunction/dspack-gen to the amended evaluator commit.
package-lock.json Updates the lockfile entry for the new dspack-gen commit.
examples/shadcn-ui-v04.dspack.json Syncs the contract copy to 2.2.0 and updates the trigger-label rule to match the amendment semantics.

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

@ryandmonk ryandmonk merged commit 1fdf28f into main Jul 4, 2026
2 checks passed
@ryandmonk ryandmonk deleted the feat/v0.4-amendment-sync branch July 4, 2026 17:41
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