Skip to content

fix: v0.4 schema rules[] description names both normative specs#12

Merged
ryandmonk merged 1 commit into
mainfrom
fix/v0.4-schema-rules-description
Jul 3, 2026
Merged

fix: v0.4 schema rules[] description names both normative specs#12
ryandmonk merged 1 commit into
mainfrom
fix/v0.4-schema-rules-description

Conversation

@ryandmonk

Copy link
Copy Markdown
Contributor

One string: the top-level rules description in dspack.v0.4.schema.json was copied verbatim from v0.3 and still said evaluation semantics are "normative in the v0.3 specification" — inconsistent with v0.4 adding required-props and forbiddenCategories (the ruleEntry description already says v0.3/v0.4). Docs-only, no structural change; npm run validate green.

Caught by Copilot reviewing the vendored copy on ds-mcp#15; that PR applies the identical string to the vendored copy so the two stay byte-equal.

🤖 Generated with Claude Code

The top-level rules description was copied verbatim from v0.3 and still
pointed only at the v0.3 spec; the ruleEntry description already said
v0.3/v0.4. Docs-only, no structural change. Caught by Copilot on the
ds-mcp vendoring PR (ds-mcp#15).

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

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

Updates the dspack v0.4 JSON schema’s top-level rules field description to correctly reference which specification versions define rule evaluation semantics, keeping the v0.4 schema text consistent with the capabilities introduced since v0.3.

Changes:

  • Adjusts rules array description to mention both v0.3 and v0.4 normative specifications.

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

"rules": {
"type": "array",
"description": "Machine-checkable governance rules, evaluated deterministically over dspack surface documents. Each rule is a typed, structured predicate plus a human-readable rationale. Evaluation semantics per type are normative in the v0.3 specification.",
"description": "Machine-checkable governance rules, evaluated deterministically over dspack surface documents. Each rule is a typed, structured predicate plus a human-readable rationale. Evaluation semantics per type are normative in the v0.3 specification (the three original types) and the v0.4 specification (required-props, forbiddenCategories).",
@ryandmonk ryandmonk merged commit 692ad3f into main Jul 3, 2026
2 checks passed
@ryandmonk ryandmonk deleted the fix/v0.4-schema-rules-description 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