Skip to content

feat(jolt-akita): Refactor Akita adapter and lattice opening semantics#1651

Open
sumchecker wants to merge 4 commits into
a16z:feat/akita-protocol-integrationfrom
LayerZero-Research:sumchecker/refactor-jolt-akita
Open

feat(jolt-akita): Refactor Akita adapter and lattice opening semantics#1651
sumchecker wants to merge 4 commits into
a16z:feat/akita-protocol-integrationfrom
LayerZero-Research:sumchecker/refactor-jolt-akita

Conversation

@sumchecker

Copy link
Copy Markdown
Contributor

Summary

  • Narrow jolt-akita toward a native PCS adapter surface by hiding internal Akita config/layout/sparse types and exposing only focused adapter APIs.
  • Align Stage 8 lattice precommitted openings with the spec: original commitment handles, object-local points/layout digests, exact-D validation, and explicit packed vs precommitted routing.
  • Split packing proofs into explicit Direct and Packed variants so precommitted Akita openings are first-class direct/native proofs rather than packed proofs with missing reductions.

Reviewer Notes

  • This intentionally leaves broad diff-readability/file-splitting work for a later PR.
  • Known remaining cleanup: more generic sparse packing-source logic can move from jolt-verifier into jolt-openings, and Stage 8 routing can eventually be isolated further.

Test Plan

  • cargo clippy -p jolt-verifier -q --all-targets --features akita -- -D warnings
  • cargo clippy -p jolt-openings -q --all-targets -- -D warnings
  • cargo nextest run --release -p jolt-verifier --cargo-quiet --features akita -E 'test(akita) or test(precommitted_opening_batches_require_exact_ordered_proofs) or test(clear_batch_rejects_precommitted_count_before_main_proof)'
  • cargo nextest run --release -p jolt-openings --cargo-quiet packing

sumchecker and others added 4 commits June 25, 2026 15:14
Co-authored-by: Cursor <cursoragent@cursor.com>
Narrow the Akita adapter surface and make lattice precommitted openings verify against their own commitments, points, layout digests, and exact setup dimension.

Co-authored-by: Cursor <cursoragent@cursor.com>
Assign the packed/precommitted route when final opening entries are built so lattice partitioning no longer depends on a second ID predicate staying in sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
Represent packing batch proofs as explicit direct or packed variants so Akita precommitted openings no longer masquerade as packed proofs without reductions.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions github-actions Bot added the no-spec PR has no spec file label Jun 26, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Warning

This PR has more than 500 changed lines and does not include a spec.

Large features and architectural changes benefit from a spec-driven workflow.
See CONTRIBUTING.md for details on how to create a spec.

If this PR is a bug fix, refactor, or doesn't warrant a spec, feel free to ignore this message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-spec PR has no spec file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant