Skip to content

docs(examples): worked example — sign & verify an OKF bundle (VOKF-9 / M1) - #6

Merged
aggre merged 1 commit into
mainfrom
m1/worked-example
Jun 15, 2026
Merged

docs(examples): worked example — sign & verify an OKF bundle (VOKF-9 / M1)#6
aggre merged 1 commit into
mainfrom
m1/worked-example

Conversation

@yumemayu

Copy link
Copy Markdown
Member

M1 — Worked example (VOKF-9) → M1 complete

A small multi-concept OKF bundle, signed and verified end-to-end.

Implements

  • examples/okf-bundle/ — 3 OKF-format concepts (GA4: purchase, add_to_cart, consent-mode).
  • examples/sign-and-verify.sh — sign every concept → verify each → render an offline HTML report, via the built CLIs.
  • README Worked example section.
  • A visualizer CI test guards it: every concept signs → verified, report is offline.

DoD(VOKF-9)

  • 実 OKF 形式バンドル(GA4)を署名→検証して README 化
  • 5分以内で sign→verify 再現・コピペで動く(pnpm install && pnpm build && examples/sign-and-verify.sh
  • CI で worked example を保証(3 concept すべて verified・レポートはオフライン)
  • 全テスト green(69

M1 完了 🎉

M0(canon/signer/verifier)+ M1(visualizer / zk-groth16 attestation e2e / worked example)が揃いました。6パッケージ・69 tests・全 green

⚠️ public 化は mayumi さんの明示 GO で実施します(現状 private)。GO で gh repo edit --visibility public
次は任意の M2(on-chain アンカリング backend / KMS署名 / Python版 / VC・C2PA interop / BBS+ 等)。

🤖 Generated with Claude Code

…/ M1)

Completes M1. examples/okf-bundle/ is a small multi-concept OKF bundle
(a GA4 analytics mapping: purchase / add_to_cart / consent-mode).

- examples/sign-and-verify.sh: signs every concept, verifies each, and
  renders an offline HTML report via the built CLIs (< 5 min, copy-paste).
- README: a "Worked example" section.
- A visualizer test guards it in CI: every concept signs → verifies as
  `verified`, and the rendered report is offline (no external refs).

Full suite green (canon 28 + signer 7 + verifier 22 + visualizer 7 +
attest 5 = 69).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aggre
aggre merged commit 2b0cdef into main Jun 15, 2026
1 check passed
@aggre
aggre deleted the m1/worked-example branch June 15, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants