Skip to content

Add a versioned execution receipt contract #468

Description

@MaxGhenis

PolicyEngine needs a stable, engine-neutral way to record what a caller requested and what actually executed. This is increasingly important as execution moves across PolicyEngine Core, Axiom, and Populace-backed population artifacts.

Add a strict, versioned execution receipt that:

  • separates requested aliases from resolved runtime, model, data, ruleset, and population identities;
  • uses cross-language canonical request and result hashes;
  • snapshots certified release context without claiming unused components ran; and
  • can be bound into offline-verifiable simulation TRACE run records.

The contract should remain JSON round-trippable and suitable for Python, API, and frontend consumers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions