Your free trial has ended.

Try the live demo or log in .

580f50b3

Created

By: ValentinHirschi <valentin.hirschi@gmail.com>

pflow GATE 1 re-check fixes, tools: sealed files, pinned contracts, confined legacy, required frames, two-precision in production

- pflowio: canonical serialisation, seal / check_seal, verify_sources (reachable sources recomputed, unreachable = downgrade);
  read_sample checks the seal, recomputes the frame digest from the frame body, verifies input digests and reports downgrades
  (no two-precision pass); read_masters checks the seal and sources (review A1)
- fitgrid: nodes {d0: sha256} pin every sample; frame_sha256 required; production (default) refuses downgraded samples;
  allow_legacy replaced by legacy_samples, admitted only for the 12 archived four-loop nodes (code allow-list), refused at loops
  >= 5 and in production; every printed line of a legacy fit says LEGACY (review A4)
- masters_from_sample: --frame-sha256 required for every master (review A3); downgraded samples refused unless --measurement
  (recorded); working / printed digits follow the sample's accuracy and the printing rounding enters abs_err (before: printed to
  160 digits with a 1e-200 rounding term, i.e. understated for > 160-digit samples)
- answer2prov / sample2prov (new: rows from accepted samples; trailing absent numerators allowed): sealed outputs without floats,
  downgrades recorded
- recon4l + specs: pinned 12-node legacy contracts (production false, frame of the P4L_NO1 v2 samples)
- tests: every attack of the review (edited value, abs_err, frame; frame body vs digest; stale / unreachable input; foreign frame;
  unpinned sample; legacy at five loops / outside the list / in production; allow_legacy; missing --frame-sha256; no two-precision)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 of 1 jobs done 1 Queued More jobs to come