Repository navigation
Closed
Labels
area:devtoolsDevtools and repo control-plane toolingarea:qaQAtheme:evidence-trustEvidence trust, reproducibility, privacy, and witness metadatatheme:verifiabilitySchema-native proof and evidence architecturetype:refactorCode restructuring
Description
Problem
devtools proof-pack --json currently produces too much undifferentiated proof/catalog output for mass-execution agents to use safely.
Current-tree audit evidence:
devtools proof-pack --jsonreports 589 affected obligations and 533 stable affected obligations for proof/catalog-adjacent surfaces.- It reports 32 required gates, many of which are genuinely useful commands, but they are mixed with large static obligation output.
oracle_mixincludes 534construction_sanityobligations, 37proof, 12smoke, 5drift_check, and 1manual_review.catalog_quality_checkssays serious claims avoid ceremonial/self-attesting evidence even while the output is dominated byconstruction_sanityand static/catalog-shaped obligations.
The result is not useless, but it is not yet an agent-ready impact report. It should separate real run-now gates from static catalog blast radius and metadata/spec completeness.
Scope
Make Proof Pack output evidence-honest and actionable.
Classify each obligation/gate in generated output as one of:
- executable behavior evidence;
- runtime/observability evidence;
- architectural-boundary/static check;
- metadata/spec completeness;
- manual review;
- advisory/noise.
Then update rendered Proof Pack output so agents see:
- required gates to run now;
- optional confidence gates;
- static/advisory affected obligations that should not block by themselves;
- metadata-only gaps that need issue tracking, not immediate PR churn;
- known noisy domains that are unrelated to the changed files.
Likely files:
devtools/proof_pack.pypolylogue/proof/models.pypolylogue/proof/catalog.pypolylogue/proof/runners.pypolylogue/proof/coverage_manifests.pydocs/plans/assurance-domains.yamldocs/plans/oracle-quality.yamltests/unit/devtools/test_proof_pack.pytests/unit/proof/
Non-goals
- Do not remove useful proof obligations just because the report is noisy.
- Do not create new jargon for the same categories; use plain evidence classes.
- Do not make Proof Pack a substitute for focused tests or
devtools verify. - Do not claim freshness from static catalog metadata.
Acceptance criteria
- Proof Pack JSON and markdown distinguish executable/runtime evidence from metadata/spec/static/advisory obligations.
- The report has a small, obvious "run these now" section for mass-execution agents.
- Static catalog blast radius is summarized and demoted unless it maps to a concrete gate.
construction_sanityobligations are either renamed/classified plainly or excluded from serious behavior-proof counts.- Catalog quality checks no longer report "serious claims avoid ceremonial evidence" unless that statement is true under the new classification.
- Tests cover the classification and at least one proof/catalog-heavy diff case.
Verification
pytest tests/unit/devtools/test_proof_pack.py tests/unit/proof -qdevtools proof-pack --jsondevtools proof-pack --checkdevtools render-verification-catalog --checkdevtools render-all --check
Metadata
Metadata
Assignees
Labels
area:devtoolsDevtools and repo control-plane toolingarea:qaQAtheme:evidence-trustEvidence trust, reproducibility, privacy, and witness metadatatheme:verifiabilitySchema-native proof and evidence architecturetype:refactorCode restructuring
Activity
Sinity commentedon May 6, 2026
Agent trap note
Do not fix Proof Pack noise by hiding everything or by renaming categories while preserving the same undifferentiated report.
The useful outcome is a report a future agent can act on:
Speed-up for implementers: add a small fixture/test for a proof/catalog-heavy diff and assert the rendered report has a compact required-gates section plus a demoted static/advisory section.
Sinity commentedon May 6, 2026
Additional audit evidence: clean-tree proof-pack noise
A clean-tree readback on 2026-05-07 exposed a concrete Proof Pack mismatch:
That is exactly the kind of report shape this issue should fix. With no changed paths, Proof Pack should not make 533 stable obligations and 32 required gates look like change-specific evidence. If these are baseline obligations, render them as baseline/context separately from affected obligations and required gates.
Acceptance clarification:
affected=0from baseline/stable catalog context.Refs #853 #852.
Sinity commentedon May 7, 2026
Scope
Intended scope: Introduce an
EvidenceTaxonomyclassification for obligations/gates and restructure the Proof Pack output so agents see actionable sections rather than an undifferentiated mass.What changes:
polylogue/proof/models.py— addEvidenceTaxonomyLiteral typedevtools/proof_pack.py— add taxonomy classification, group obligations by taxonomy in report, restructure rendered output (markdown + human)tests/unit/devtools/test_proof_pack.py— add tests for taxonomy grouping and clean-tree distinctionNon-goals:
Taxonomy mapping (derived from existing fields):
executable_behavior— oracle=proof|smoke, or evidence_class in (smoke, semantic, performance)observability— evidence_class=tracearchitectural_static— oracle=drift_checkmetadata_spec— oracle=construction_sanity (default), or same_source/self_attesting independencemanual_review— oracle=manual_reviewadvisory— oracle=ceremonial, or ceremonial independenceRendered output sections:
Clean-tree behavior: When affected=0, report states this clearly and separates baseline catalog stats from change-specific evidence.
Focused checks:
pytest tests/unit/devtools/test_proof_pack.py tests/unit/proof -q,devtools proof-pack --json,devtools proof-pack --check,devtools render-verification-catalog --check,devtools render-all --checkIssue should close after PR.
refactor(proof): make Proof Pack evidence taxonomy actionable (#855)
refactor(proof): actionable Proof Pack evidence taxonomy (#877)
refactor(proof): actionable Proof Pack evidence taxonomy (#877)