Skip to content

An evidence record per ported program: the claim, the oracle, provenance, approval, staleness #4048

Closed

Description

@squid-protocol

What. One machine-readable evidence record per ported program, the unit a customer receives next to the Java. Today the pieces exist but are scattered: report.json (verdict, per-run diffs), coverage.json (#4023), fault runs, provenance.json (the loop), mutation.json.

The record (JSON, plus a rendered page):

  • the claim: "byte-identical on N runs (M fault runs), covering X/Y paragraphs and A/B branches; mutation score Z% (k survivors: triaged)";
  • the oracle it was proven against (GnuCOBOL + stub CICS + LE models, or captured mainframe outputs);
  • declared differences, if any, each with its approver;
  • provenance: the port's hash, the model and attempt (or "hand"), the ticket hash, the generator version, the harness version, the case hash, the corpus pin;
  • the human approval (who, when). Never set by a tool.

Staleness. Any change to the port, generator, harness, case or oracle makes the record stale until the proof re-runs. A stale record is shown as stale, never as proven.

Done when: equivalence.py run (and mutation.py) write or update the record; the six CardDemo cases carry one; a test fails when a committed record is stale.

Part of epic #4055 (the product is the proof).

🤖 Generated with Claude Code

Remaining slices (as of 2026-10-18)

Done so far: 2 merged PRs (#5326, #5402) marked "Part of #4048"; records already exist for 49 programs.

Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.

Activity

  1. added
    enhancement
    schema
    legacy-modernization
    on Sep 30, 2026
  2. added
    scope:core
    on Oct 16, 2026
  3. added
    needs:corpus
    needs:docker
    on Oct 18, 2026
  4. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-10-18T17:28Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  5. squid-protocol commented on Oct 18, 2026

    @squid-protocol
    OwnerAuthor

    All four remaining slices in the issue body are merged (#5326, #5402, #5494, #5507, #4316 audit, #5517 --record). Records carry mutation sections, mutation.py/equivalence.py write them, and a stale committed record fails a test. Acceptance met.

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

    claim:melekenhancementlegacy-modernizationneeds:corpusneeds:dockerschemascope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions