Repository navigation
Description
Parent
Part of #330. Depends on #192.
Context
The schema-first aspiration is that synthetic generation should be expressive enough to replace most arbitrary fixtures. Polylogue already consumes x-polylogue-* annotations in synthetic relation solving, but the same annotations are not yet systematically compiled into verification claims. Provider-specific semantics also need typed capability metadata rather than scattered tests or lossy normalization.
Scope
Compile schema annotations and provider capabilities into subjects and claims.
Schema subjects:
- every
x-polylogue-*annotation instance with provider/version/path provenance; - value/enum annotations;
- foreign-key annotations;
- mutually-exclusive annotations;
- range annotations;
- time-delta annotations;
- semantic-role annotations.
Provider subjects:
- parser identity and sidecar spec;
- tool-use variant;
- reasoning/thinking capability;
- streaming capability;
- native and canonical identity semantics;
- timestamp semantics.
Concrete gap
tests/infra/strategies/schema_driven.py::schema_conformant_payload() currently strips x-polylogue-* annotations before Hypothesis-jsonschema generation. The target is that annotations can drive generation and verification, not only validation or relation solving.
Acceptance criteria
- At least three annotation families compile into proof obligations.
- The same annotation metadata drives generation and a verification claim for at least one family.
- Provider capability metadata exists for at least two providers and is consumed by claims.
- Cross-provider normalization preserves provider-native facts alongside canonical facts.
- Partial coverage is explicit when a provider lacks reasoning, streaming, sidecars, or another facet.
Activity
[-]test: expand schema-native synthetic world controls[/-][+]test: compile schema annotations and provider semantics into obligations[/+]Sinity commentedon Apr 22, 2026
Checkpoint for the implementation branch
feature/test/schema-provider-obligations:polylogue/lib/provider_capabilities.pyforcodex,claude-code, andchatgpt.provider.capability.*proof subjects and added catalog claims for native/canonical identity bridging plus explicit partial-capability coverage.x-polylogue-valuesfeed generation by translating it to JSON Schemaenumbefore stripping test-hostile extensions.docs/verification-catalog.md; catalog now has 3 provider capability subjects, 10 claims, and 9,035 obligations.Verification run locally:
All checks passed locally. Next step is the atomic commit and PR for this issue.
Sinity commentedon Apr 22, 2026
Final for this slice:
test: compile schema provider obligations) merged intomaster.531d5cac1074c34ff63cf51c29d10f756f39b1a2.masterwas fast-forwarded to the merge commit.feature/test/schema-provider-obligationswas removed locally; the remote branch is gone.The acceptance slice covered:
x-polylogue-valuesnow driving schema generation and verification evidence;codex,claude-code, andchatgpt;test: compile schema provider obligations (#344)
test: compile schema provider obligations (#344)
test: compile schema provider obligations (#344)
test: compile schema provider obligations (#344)