Skip to content

Frozen evidence binds live source files, which blocks further refactoring #379

Done

Description

@lanyue-llk

Part of #336. Size: M.

Problem

Several live modules have their source bytes bound by frozen execution evidence, so any edit to them invalidates historical plans, certificates or receipts. The convergence work repeatedly stopped at these files:

Direction

Frozen evidence should bind a copy of the code it ran, stored with the evidence (as data/latency-certifiers/*.py.txt already does for latency certifiers), not the bytes of a module that current code keeps evolving. Migrate each binding to a frozen copy plus its hash, verify historical evidence against the copy, then finish the blocked refactors listed above.

Done when

  • No current module's bytes are a verification input for historical evidence; historical evidence verifies against stored copies.
  • The blocked items above are done: Extract runner calls benchmark hooks, product and record-cohort reports share one evidence model, the remaining instance literals are gone.
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

    refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions