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

オープン
#320 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@panshularora がすでに取り組んでいます。

2026年11月18日 から。

  • #376 @panshularora による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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/?
主要言語
Python
スター
27
フォーク
72
平均マージ
2日 19時間
マージ済み PR(30日)
45

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AOSSIE-Org/OpenVerifiableLLM のほかの issue

AOSSIE-Org/OpenVerifiableLLM の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。