Design: signed check receipts with drand-selected segments (roadmap item 6)

Open
#320 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@panshularora is already working on this.

Since Nov 18, 2026.

  • #376 by @panshularora — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
8/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python

Research direction

This is a design proposal open for discussion, with no agreed scope and a maintainer question still open about whether receipts belong in audit/ or simple/. The payload names requirements/preparation.lock, the existing verify results from #302, and the cryptography dependency. Settle the design with maintainers before any implementation; done means an agreed spec, not code.

Written by the indexing model from the issue text.

Description

AI disclosure: I used AI tools to help draft the prototype and this issue. I have not run any GPU replay. Tests were run on CPU only, on my fork, and they have not been through CI.

Problem

Roadmap item 6: today a check result is a self-reported line, so results can be cherry-picked or faked in bulk, and nothing stops a checker from only checking segments that are likely to be honest.

Proposed design (v0, for discussion)

  • A checker registers an Ed25519 key after the release's final RFC 3161 chain anchor, declaring how many checks (m) it will do. The registration time comes from GitHub's server clock, never from git dates.
  • Check j uses drand quicknet round R0 + j, where R0 is the first round after registration. Anyone can recompute every (key, j) segment.
  • Every j from 1 to m must be reported in order. A skipped draw shows as ABANDONED or MISSING, together with its segment, so stopping early is visible.
  • The signed receipt is an in-toto Statement in a DSSE envelope. It binds the anchor digest, the chain head, the round and the segment. It reports bit-exact MATCH or MISMATCH only, with no tolerance mode.
  • Signing uses cryptography (already in requirements/preparation.lock), not pynacl.
  • Receipts sit alongside the verify results from #302 and don't replace them.

Explicit non-goals and trust assumptions

  • No change to verify defaults.
  • No claims about other GPU architectures.
  • The design trusts GitHub's clock for the registration time.
  • Prior art: OPEN-1B describes collective auditing. I haven't found signed receipts or public-randomness assignment there, but I haven't checked their audit app in detail.

Prototype

Branches on my fork (stacked, not opened as PRs):

Questions for maintainers

  1. Do you prefer the receipts in audit/ or simple/?
Dominant language
Python
Stars
27
Forks
72
Avg merge
2d 19h
Merged PRs (30d)
45

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/OpenVerifiableLLM

All issues in AOSSIE-Org/OpenVerifiableLLM

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.