Skip to content

fix(verify): latest.json may carry the publisher's activation bundle - #48

Merged
hobbyistz merged 1 commit into
mainfrom
fix/latest-accepts-activation-bundle
Sep 3, 2026
Merged

fix(verify): latest.json may carry the publisher's activation bundle#48
hobbyistz merged 1 commit into
mainfrom
fix/latest-accepts-activation-bundle

Conversation

@hobbyistz

@hobbyistz hobbyistz commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

The publisher now writes its replay-from-anchor bundle into latest.json as data.activation. This verifier required an exact key set on the latest data block, so every ./reproduce run refused the live pointer with unexpected ['activation'] once the new publisher went live on 2026-09-03.

The reader contract admits the bundle present, absent, or null. This verifier recomputes values from receipts and calc_params and does not consume the bundle, so it is admitted as an opaque object and nothing inside it is interpreted. A non-object bundle and any other unexpected key still refuse (tested).

Verification

  • ./reproduce h100 2026-09-02, h200, b300, b200 from a clean checkout with its own venv against the public record: 96 MATCH, 0 MISMATCH, 0 degraded each. All four refused before this change.
  • Unit suite green (two tests added); ruff check clean; DCO sign-off present.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The publisher now writes its replay-from-anchor bundle into latest.json
as data.activation. The verifier required an exact key set on the latest
data block, so every ./reproduce run refused the live pointer with
'unexpected [activation]' once the new publisher went live.

The reader contract admits the bundle present, absent, or null. This
verifier recomputes values from receipts and calc_params and does not
consume the bundle, so it is admitted as an opaque object and nothing
inside it is interpreted. A non-object bundle and any other unexpected
key still refuse.

Verified: ./reproduce h100, h200, b300 and b200 for 2026-09-02 from a
clean checkout against the public record: 96 MATCH, 0 MISMATCH each
(all four refused before this change).

Signed-off-by: hobbyistz <293619914+hobbyistz@users.noreply.github.com>
@hobbyistz
hobbyistz merged commit 14648a9 into main Sep 3, 2026
5 checks passed
@hobbyistz
hobbyistz deleted the fix/latest-accepts-activation-bundle branch September 3, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant