Design: signed check receipts with drand-selected segments (roadmap item 6)
Maintainers usually reply within 1 day
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
- Domain
- cryptography, security
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 inrequirements/preparation.lock), notpynacl. - Receipts sit alongside the verify results from #302 and don't replace them.
Explicit non-goals and trust assumptions
- No change to
verifydefaults. - 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):
- https://github.com/panshularora/OpenVerifiableLLM/tree/feat/signed-check-receipts
- https://github.com/panshularora/OpenVerifiableLLM/tree/feat/checker-campaign-kit (coverage table and a bound on unchecked forged segments)
Questions for maintainers
- Do you prefer the receipts in
audit/orsimple/?
- Dominant language
- Python
- Stars
- 27
- Forks
- 72
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 45
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/OpenVerifiableLLM
-
[BUG]: ovl.py verify --weights crashes with AttributeError on checkpoint .pt filesPossibly taken @Anurag1428 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/OpenVerifiableLLM#387 · 1 comment ·
Maintainers usually reply within 1 day
-
[BUG]: verify_segment accepts empty, wrong-phase, or non-positive fork exclusions as MATCHPossibly taken @Arnav0107 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AOSSIE-Org/OpenVerifiableLLM#385 · 3 comments ·
Maintainers usually reply within 1 day
-
[BUG]: preparation.lock install fails on macOSPossibly taken @darshith2527-sketch claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/OpenVerifiableLLM#357 · 3 comments ·
Maintainers usually reply within 1 day
-
[BUG]: Forked runs omit timestamps for inherited chain entriesPossibly taken @pavithra-r06 claimed this 9 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/OpenVerifiableLLM#334 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
[BUG]: review_ckpt.py passes a run that has .pt files no chain entry coversPossibly taken @arshil42 claimed this 9 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
AOSSIE-Org/OpenVerifiableLLM#332 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in AOSSIE-Org/OpenVerifiableLLM
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
bad-antics/lateralus-lang#1140 ·
Maintainers usually reply within 4 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
fixture good first issue help wanted vendor:cisco
Difficulty 1/5 1-3 hours Newbie friendliness 85/100