Release versioning proposal + live provider capability guard reference - #509
Merged
Seth Juarez (sethjuarez) merged 2 commits intoAug 26, 2026
Merged
Conversation
Two-layer versioning strategy (format version + independent runtime semver) with a section on live provider conformance vectors and capability-gated skipping. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 697d7236-7ec4-4827-8f83-1826c72c1538
Stage A runtime reference: VECTOR_CAPABILITIES predicates + structure-not-content LiveChatConformance.complete adapter + a test pinning the Typra 1.1.0 two-pass guard contract. Stage B (schema requires vector + emitter pin ^1.1.0 + regenerate) is excluded, blocked on emitter 1.1.0 npm publish. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 697d7236-7ec4-4827-8f83-1826c72c1538
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Combines the docs and Stage A code for the live-provider conformance work into a single mergeable PR. (Supersedes #510, now closed.)
1. Docs —
release-versioning-proposal.mdAdds the proposal at the repo root (next to
RELEASING.md) for a two-layer versioning strategy:.promptyformat version (the on-disk contract)§9 documents the live provider conformance vector design: structure-not-content assertions against real provider APIs (OpenAI / Anthropic / Foundry), emitted into every language runtime via the Typra emitter, with capability-gated self-skipping when provider credentials/capabilities are absent.
2. Code — Stage A Python runtime reference
tests/model/vector_adapters.py—VECTOR_CAPABILITIESpredicates (provider:openai,provider:anthropic,provider:azure,provider:foundry,entra:foundry-projecttoken probe,var:live-enabled) + a structure-not-contentLiveChatConformance.completeadapter that reduces OpenAI/Foundry/Anthropic responses to{role, contentNonEmpty, finishReasonInEnum}.tests/model/test_capability_guard_reference.py— pins the Typra 1.1.0 two-pass guard contract: unknown token →AssertionError("never skips silently"), absent capability →pytest.skip("requirement unavailable: <token>"), author-order first-falsy; plus normalize-shape tests and a deselected live integration test.Validation: ruff clean;
201 passed, 1 deselected(the live test) on thetests/modelsuite.Out of scope (Stage B)
The schema
requiresvector + emitter pin bump to^1.1.0+ regenerate are intentionally not included — blocked on the Typra emitter 1.1.0 publishing to npm.