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

Abierto
#320 2 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@panshularora ya está trabajando en esto.

Desde el 18/11/2026.

  • #376 de @panshularora — abierto

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
8/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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/?
Lenguaje dominante
Python
Estrellas
27
Forks
72
Merge medio
2 d 19 h
PR fusionados (30 d)
45

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de AOSSIE-Org/OpenVerifiableLLM

Todos los issues de AOSSIE-Org/OpenVerifiableLLM

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.