Skip to content

tracking: build agentic verifiability proof layer #330

Closed
9 of 9 issues completed
Closed

Description

@Sinity

Problem

Polylogue has substantial verification machinery: schema packages, synthetic corpora, validation lanes, scenario projections, showcase exercises, mutation campaigns, benchmark campaigns, pipeline probes, PTY/snapshot tooling, and generated quality docs.

Those pieces are not yet one proof language. Agents still choose checks manually, use slow live runs too early, invent fixtures, and repeat expensive verification without durable evidence. The missing layer is a schema-native proof model that makes claims, runners, evidence, trust, and affected-routing explicit.

Target model

Build an agent-friendly proof layer around this contract:

SubjectRef -> Claim -> RunnerBinding -> ProofObligation -> EvidenceEnvelope

Core requirements:

  • Subjects are discovered from real Polylogue objects: CLI commands, schema annotations, operation specs, artifact graph nodes, provider capabilities, errors, and workflow artifacts.
  • Claims are semantic properties over subject queries, not ad hoc process-output assertions.
  • Runner bindings declare cost tier, freshness, and environment contracts.
  • Proof obligations are compiled instances, rendered in a catalog, diffable across refs, and routable from source changes.
  • Evidence envelopes include status, reproducers, counterexamples, artifacts, provenance, fingerprints, trust metadata, and privacy/redaction state where relevant.
  • Serious claims include bug-class and breaker metadata so green checks are not vacuous.

Design principles

  • Synthetic/schema-derived evidence should carry most routine confidence.
  • Live archive checks are fallback/reality witnesses, not the designed first line of verification.
  • Performance evidence is comparative and semantic-axis shaped, not arbitrary absolute RSS/time budgeting.
  • Hard limits are safety stops only.
  • Provider-specific semantics must be preserved as typed/provider-capability facts, not flattened away.
  • The proof catalog is itself subject to anti-omission and meta-quality checks.
  • Agent workflows are verifiable artifacts when they make durable claims about issues, PRs, local planning notes, or verification.

Child issues

Related work

Acceptance criteria

  • A rendered verification catalog shows subjects, claims, runner bindings, proof obligations, evidence trust state, suppressions, and affected-routing provenance.
  • Every visible command path has baseline command-level obligations.
  • Selected schema annotations compile into obligations and share generation/verification metadata.
  • Anti-omission tests fail on unclaimed commands, unconsumed annotations, weak trust metadata, missing serious-claim breakers, and stale evidence.
  • Evidence envelopes include reproducers, provenance, fingerprints, trust metadata, and environment contracts.
  • Live-derived failures become redacted/minimized witnesses rather than permanent live canaries.
  • Comparative performance evidence reports semantic growth shape and baseline deltas.
  • Changed source spans route to a small useful obligation set for local agent work while explicit gates still run broad verification.

Sub-issues

Sub-issues

9 of 9 Issues completed
Loading 9 sub-issues

Activity

  1. added
    type:tracking
    theme:verifiability
    theme:agent-workflow
    phase:architecture
    on Apr 21, 2026
  2. changed the title [-]tracking: agentic verifiability redesign[/-] [+]tracking: build agentic verifiability proof layer[/+] on Apr 22, 2026
  3. added
    theme:proof-kernel
    theme:evidence-trust
    theme:semantic-proof
    area:devtools
    on Apr 22, 2026
  4. Sinity commented on Apr 22, 2026

    @Sinity
    OwnerAuthor

    Closing the proof-layer umbrella after the full requested sequence landed.

    Child issue state as of 2026-04-22:

    Related tracker state:

    The durable acceptance record now lives across the child issue comments and PR bodies, with local verification recorded per PR. Follow-up product work such as evidence-bearing search hits (#216), schema inference/lib-query coverage (#193), and broader runtime contract renewal (#281) remains outside this completed proof-layer umbrella.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:devtoolsarea:qaphase:architecturetheme:agent-workflowtheme:evidence-trusttheme:proof-kerneltheme:semantic-prooftheme:verifiabilitytype:tracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions