Repository navigation
Store published document bytes; add doc content retrieval (#1008) - #10650
Conversation
Publish stored only signed events naming the content hash; the bytes existed nowhere, so a published document could not round-trip. Store the bytes through the same iroh-blobs path other writes use (persistent store, or ephemeral-plus-push when a serve holds the store), verify the stored hash matches the published reference, and add `id doc content` to export a document's bytes by its event ID. The document.put event itself registers the content reference the #173 blob gate reads. Task 4876.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 2 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes #1008 (task 4876): document publishing signed the events but never stored the file bytes, so a published document could not round-trip.
What changed
Verification
Existing publish/signing behavior is unchanged apart from the new storage step.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.