Repository navigation
Closed
Labels
area:devtoolsDevtools and repo control-plane toolingarea:qaQAphase:architectureArchitecture and design spinetheme:evidence-trustEvidence trust, reproducibility, privacy, and witness metadatatheme:proof-kernelSubject/claim/proof-obligation kernel and proof catalogtheme:verifiabilitySchema-native proof and evidence architecturetype:featNew feature
Description
Parent
Part of #330.
Context
Polylogue has several verification registries and runners, but no single proof language. The first implementation must add the kernel that other verification work compiles into. Do not start with command moves, mass test migration, or a new lab CLI.
The corrected root model is below. Scenario/corpus/workload/oracle ideas remain useful as subject sources or runner inputs, but the durable root is:
SubjectRef -> Claim -> RunnerBinding -> ProofObligation -> EvidenceEnvelope
Scope
Add importable proof primitives and the rendered catalog:
SourceSpan: file/path/symbol provenance for discovered subjects.SubjectRef: verifiable object with kind, id, attrs, and source span.SubjectQuery: small serializable AST (Kind,AttrEq,AttrIn,AttrContains,And,Or,Not).Claim: semantic property over subject queries, with evidence schema, bug classes, and optional breaker metadata.RunnerBinding: claim runner with cost tier, freshness policy, and environment contract.ProofObligation: compiled(subject, claim, runner)instance.EvidenceEnvelope: status, evidence, counterexample, reproducer, artifacts, environment, provenance, fingerprint, and trust metadata.devtools render-verification-catalogand--check.
First vertical slice
- Compile command subjects from
polylogue/cli/command_inventory.py::iter_command_paths(). - Compile schema-annotation subjects for
x-polylogue-values,x-polylogue-foreign-keys, andx-polylogue-mutually-exclusive. - Add command claims for help/no-traceback/plain-mode.
- Add schema claims for value closure, foreign-key resolution, and mutual exclusion.
- Add breaker/bug-class metadata to serious claims and render missing breakers visibly.
- Add
Invariant.to_claim()only as a compatibility bridge from showcase invariants; do not moveshowcase/.
Non-goals
- No
polylogue-labCLI in this issue. - No
Exercise/Demorename. - No
showcase/relocation. - No benchmark-platform replacement.
- No live archive dependency.
- No collapse of
Claim,RunnerBinding, andProofObligationinto one temporary class.
Acceptance criteria
- A catalog renders command subjects, selected schema-annotation subjects, claims, runner bindings, and proof obligations.
- Anti-omission tests fail on an unclaimed visible command or selected annotation.
- Evidence envelopes include trust metadata and runner environment contracts.
- Serious claims expose bug classes and breaker metadata or visible tracked exceptions.
- Catalog self-quality checks expose missing source spans, stale trust metadata, missing breakers, and zero-subject non-abstract claims.
- Existing showcase behavior remains intact.
Metadata
Metadata
Assignees
Labels
area:devtoolsDevtools and repo control-plane toolingarea:qaQAphase:architectureArchitecture and design spinetheme:evidence-trustEvidence trust, reproducibility, privacy, and witness metadatatheme:proof-kernelSubject/claim/proof-obligation kernel and proof catalogtheme:verifiabilitySchema-native proof and evidence architecturetype:featNew feature
Activity
Sinity commentedon Apr 21, 2026
Design update:
The original "build a scenario registry" scope is partly covered by landed substrate work. Interpret this issue as:
AssertionSpec,ExecutionSpec,ExecutableScenario,CorpusSpec, scenario projections, and authored scenario catalog now exist in first form.Keep #192 and #196 as the durable planning surfaces for these details.
[-]refactor: unify verification under ScenarioSpec compilation[/-][+]refactor: make ScenarioSpec the schema-native proof root[/+]Sinity commentedon Apr 22, 2026
Design update: #330 now owns the proof-obligation kernel model.
The durable target is
SubjectRef -> Claim -> RunnerBinding -> ProofObligation -> EvidenceEnvelope. Scenario/corpus/workload/oracle/projection concepts remain useful as subject sources and runner inputs, but they are supporting vocabulary rather than the core model. This issue now serves as Epic 0 for the proof-obligation kernel and catalog so the existing sub-issue relationship stays useful.[-]refactor: make ScenarioSpec the schema-native proof root[/-][+]feat: add proof-obligation kernel and verification catalog[/+]1 remaining item
Sinity commentedon Apr 22, 2026
Checkpoint on
feature/feat/proof-obligation-kernel:polylogue.proofkernel withSourceSpan,SubjectRef, query AST nodes,Claim,RunnerBinding,ProofObligation, andEvidenceEnvelopecarrying trust metadata.x-polylogue-values,x-polylogue-foreign-keys,x-polylogue-mutually-exclusive).devtools render-verification-catalogwith--check/--json.docs/verification-catalog.md.Local verification so far:
Both pass. Full pytest gate still pending before PR.
Sinity commentedon Apr 22, 2026
Final checkpoint for #192:
Merged PR #342 as squash commit
e8c5e2e675fb12673516d3b6847740759f79debc.Delivered scope:
polylogue.proofproof-obligation kernelInvariant.to_claim()showcase bridgedevtools render-verification-catalogwith--checkand--jsondocs/verification-catalog.mdFinal local verification passed:
CI was still pending/unstable when merged, per the local verification result and current quota constraints.
test: capture probe regressions and growth budgets (#316)
feat: add proof-obligation catalog (#342)
test: add semantic evidence runners (#343)
test: capture probe regressions and growth budgets (#316)
feat: add proof-obligation catalog (#342)
test: add semantic evidence runners (#343)
test: capture probe regressions and growth budgets (#316)
feat: add proof-obligation catalog (#342)
test: add semantic evidence runners (#343)
test: capture probe regressions and growth budgets (#316)
feat: add proof-obligation catalog (#342)
test: add semantic evidence runners (#343)