Skip to content

fix: enforce active schema compatibility on release publish - #694

Merged
JArmandoAnaya merged 1 commit into
mainfrom
fix/release-schema-compatibility
Aug 18, 2026
Merged

fix: enforce active schema compatibility on release publish#694
JArmandoAnaya merged 1 commit into
mainfrom
fix/release-schema-compatibility

Conversation

@JArmandoAnaya

Copy link
Copy Markdown
Contributor

Summary

This implements Option B from the schema-orphaning decision in #585. Annotation writes continue to validate against the schema pinned to their batch, while publishing rejects candidate release content that the active schema does not describe before it writes a manifest or release. The refusal reports deterministic per-class blockers through the SDK, REST, CLI, and MCP.

The OpenAPI contract and generated TypeScript client now describe the REST refusal. Exporters retain pre-write checks for malformed, archival, or external manifests, including the lane formats. The shared CLI test harness now pins Typer and Rich rendering per invocation so tests do not inherit terminal colour or width settings.

Validation

bash scripts/check.sh passed under Node 24 with 3,962 Python tests and 24 skips, Ruff, mypy, import contracts, frontend build, tests and lint, OpenAPI and generated-client drift checks, and the Chromium e2e and real-server cycle suites.

Found, not fixed

None.

@JArmandoAnaya
JArmandoAnaya marked this pull request as ready for review August 18, 2026 21:37
@JArmandoAnaya
JArmandoAnaya merged commit e00cc36 into main Aug 18, 2026
15 checks passed
@JArmandoAnaya
JArmandoAnaya deleted the fix/release-schema-compatibility branch August 18, 2026 21:38
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.

1 participant