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

Aperta
#320 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@panshularora ci sta già lavorando.

Dal 18/11/2026.

  • #376 di @panshularora — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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/?
Lingua principale
Python
Stelle
27
Fork
72
Merge medio
2g 19h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AOSSIE-Org/OpenVerifiableLLM

Tutte le issue di AOSSIE-Org/OpenVerifiableLLM

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.