Repository navigation
docs: sync public docs to ADR 038/039 - #184
Conversation
Co-Authored-By: Claude Opus 4.8 <[email protected]>
📝 WalkthroughWalkthroughThis PR updates documentation to describe bao verified-range streaming and multi-source parallel fetch. It adds ADR entries and glossary terms, introduces a new retrieval walkthrough, and revises verified-streaming protocol wording. ChangesBao/Multi-source Documentation
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related issues
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the documentation to introduce and detail the integration of Bao (BLAKE3 verified-streaming encoding) and multi-source parallel fetching, adding new glossary terms, design decisions, and architectural explanations. The review feedback focuses on improving technical accuracy and clarity regarding Bao verification boundaries and payment metering explanations in the documentation.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Deploying website with
|
| Latest commit: |
0c346a6
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f9e6aa8f.website-70y.pages.dev |
| Branch Preview URL: | https://docs-sync-adr-038-039.website-70y.pages.dev |
There was a problem hiding this comment.
Pull request overview
Updates the public Mintlify documentation under docs/ to reflect accepted ADRs 038 (Bao verified-range streaming) and 039 (Multi-source parallel fetch), ensuring protocol/overview docs match current design decisions.
Changes:
- Expand “Verified streaming” to describe Bao verified-stream delivery and outboard requirements.
- Document the ADR 039 client-side multi-source scheduler and work-unit concept.
- Add ADR rows and new glossary terms to support the new documentation sections.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| docs/protocol/content-addressing.mdx | Rewrites “Verified streaming” to the Bao verified-stream model and adds range/resume + outboard details. |
| docs/overview/how-it-works.mdx | Adds a new “Multi-source parallel fetch” section describing scheduling and verification of work units. |
| docs/overview/glossary.mdx | Adds glossary entries for Bao, multi-source fetch, outboard, work units, and full holders. |
| docs/overview/design-decisions.mdx | Appends ADR 038/039 to the design decisions ADR table. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Opus 4.8 <[email protected]>
ReviewOverview: Docs-only sync bringing the public Mintlify docs current with ADR 038 (bao verified-range streaming) and ADR 039 (multi-source parallel fetch). The four changes are accurate, mutually consistent (glossary ↔ protocol page ↔ how-it-works all use the same 16 KiB chunk-group alignment wording), glossary entries are correctly alphabetized, and the earlier bot-review round was fully addressed in 99cfebe. Prettier/markdownlint/broken-links verification is noted in the description and the Cloudflare preview deployed clean. LGTM overall — a few optional wording nits, none blocking:
🤖 Generated with Claude Code Generated by Claude Code |
Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
Thanks for the review — all four addressed in 0c346a6.
|
Brings the public Mintlify docs under
docs/current with two accepted ADRs — 038 (Bao verified-range streaming) and 039 (Multi-source parallel fetch) — which the docs did not yet cover.Changes
docs/overview/design-decisions.mdx— add ADR 038 and 039 rows to the ADR table (previously stopped at 037).docs/protocol/content-addressing.mdx— rewrite "Verified streaming" to the ADR 038 bao model: thecdn/client/v1paid-delivery payload is always bao interleaved verified-stream bytes, verified through the bao decoder against the BLAKE3 root at 16 KiB chunk-group granularity. A resumed/ranged fetch verifies independently after the decoder aligns the requested offset down to its chunk-group boundary. Proof bytes are metered (~0.4% overhead), and origin-cold serves build the outboard first.docs/overview/how-it-works.mdx— add a "Multi-source parallel fetch" section (ADR 039): client-side scheduler across full holders up tomax_sources, bao-aligned work units with dynamic assignment / work stealing, per-unit verification, re-dispatch of failed units, straggler hedging, and no new wire surface (each source is an ordinary paidcdn/client/v1stream).docs/overview/glossary.mdx— addBao,Full holder,Multi-source fetch,Outboard, andWork unit.Notes for reviewers
docs/builds via the separate Mintlify pipeline and is excluded from the static export, sopnpm build/pnpm testare unaffected.Method.tsxwas intentionally left unchanged — its copy already reflects both features ("parallel streams to several peers", "verified against the blake3 tree hash").multi-source bootstrap(L2 RPC) line inhow-it-works.mdxis unrelated and untouched.pnpm format:checkclean,markdownlint-cli20 errors, no new internal links (broken-links stays clean).Review follow-ups
Bot round (99cfebe):
max_sourcesinline where it appears.Human review round (0c346a6):
cdn/client/v1on first use as the paid-delivery payload.🤖 Generated with Claude Code