Skip to content

fix(model): distinguish unavailable validation diagnostics - #667

Closed
marcschier wants to merge 2 commits into
xregistry:mainfrom
marcschier:fix/spec-585-validation-diagnostics
Closed

marcschier wants to merge 2 commits into
xregistry:mainfrom
marcschier:fix/spec-585-validation-diagnostics

Conversation

@marcschier

Copy link
Copy Markdown
Contributor

Fixes #585

Align Model's strict-validation diagnostic references with Core: unsupported formats use format_unknown, unsupported compatibility values use compatibility_unknown, and unavailable external-document checks point to the existing format_external rules. Keep actual content violations distinct.

Preserve error-choice discretion, validation enablement/defaults, strict-false and absent-format behavior. This does not change the separate compatibility-admission policy in #589.

Validation: focused source/catalog regressions went from 1 failed / 9 passed to 10 passed; full tools suite: 77 passed. Actual Model file/local-link verification, repository spelling (including added text), whitespace, error catalog, backticks, and href checks passed. Local validation used isolated Python 3.13 / aiohttp 3.14.3 without changing pins.

The regressions inspect source rules and all five affected error contracts, not a server validator implementation.

Release note: Distinguish unavailable checks from failed validation in Model's recommended diagnostics.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
@marcschier

Copy link
Copy Markdown
Contributor Author

Superseded by xregistry/spec#723 (bundle B). The selected substantive changes at reviewed head ee6ae7b are mapped in those replacement descriptions, with this original discussion and issue provenance retained.

Specification-text assertions and synthetic policy-test Python were deliberately omitted; qualifying real-artifact checks were retained or pruned as documented. Unmodified baseline Python and historical source branches are preserved.

Verified immediately before closing: xregistry/spec#723 at 1866531: verify and DCO both passed.

Closing only this fully superseded original. Separate d/e proposals remain open, and no source branch is deleted.

@marcschier marcschier closed this Sep 15, 2026
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.

Distinguish unsupported validators from validation failures in Model error guidance

1 participant