Skip to content

Implement Appendix H recovery and Chapter 14 local availability flow - #283

Draft
arjanz wants to merge 17 commits into
mainfrom
az-segment-recovery-import
Draft

arjanz wants to merge 17 commits into
mainfrom
az-segment-recovery-import

Conversation

@arjanz

@arjanz arjanz commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Connect erasure recovery, verified imports and canonical bundle submission to refinement.

Changes

  • Complete Appendix H recovery and proof-page decoding, using dynamic validator count.
  • Carry complete bundles, including import justifications, through client/server submission.
  • Authorize against a detached state snapshot before processing imports, and honor the requested core.
  • Persist availability artifacts, Merkle proofs and individually verified imports.
  • Check import provenance before refinement; isolate missing metadata and keep corrupt-cache failures retryable.
  • Add finalized-head restart lookup, bounded historical backfill and report-specific assurance replay.
  • Gate pruning on explicit trusted-finality confirmation, preserving the 672-epoch minimum retention.
  • Correct tagged-import references to C.37 and repair ancestry test initialization.

Specification policy

Preserve the v0.8.0 release policy, followed by the selected PR #563 exception, then GP 0.8.0.

Public Ξ, B and A signatures remain unchanged. Inclusive gas limits and existing footprint/bundle bounds are retained.

Validation

  • Availability/refinement regression suite: 730 passed, 2 skipped, 14 known expected failures.
  • Additional Graypaper-interpreter integration: 6 passed.
  • Latest focused fuzzer regression suite: 84 passed, 9 skipped, including eight explicitly deferred batch-CLI tests.
  • Pinned Tiny/Full erasure vectors and real PVM fetch selectors 5/6 are covered.

Remaining work

Three local review findings remain open:

  • Distinguish committed state from an allocated candidate overlay before confirmed pruning.
  • Reconstruct the new provenance index for existing locally computed reports.
  • Preserve bounded retries when initially missing historical headers or bodies become available.

The branch includes an initial networking prototype; networking conformance fixes remain deferred. Full guarantee coordination, assurance voting and audit/judgment production remain Chapters 15–17 work.

This branch has not been deployed

No deployments
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