GeezerVison is showing github.com — id-store: talk-page records, changelog chain and redaction; path links keep their spelling by dezren39 · Pull Request #14755 · developing-today/code
Conversation
dezren39
commented
Nov 25, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Before: id-store had no talk-page or changelog records, so #5834's per-object talk page had nothing to build on, and related path links rewrote the author's spelling to NFC when they were written.
After: id-store has signed talk-page posts and a hash-chained per-object changelog that verifies end to end, a redact event that turns a post body or entry summary into a tombstone without breaking the chain or losing who wrote it, and path links that keep the spelling the author wrote.
Talk page and changelog (src/talk_page.rs, slice 1 of #5834). A TalkPost is signed by its author; its post id is the content hash of the canonical record. The record commits to the body by hash and the body travels beside it, so a later redaction can drop the body while the post id and signature still verify. A changelog entry is signed by exactly one actor (a proxy names the user it acts for in refs), then the server stamps its receipt time; the entry hash covers the signed fields, the signature and the receipt time, and the next entry's prev_hash names it. verify_chain replays from entry 0 or from any retained Checkpoint and reports a gap, a broken link, a foreign entry or a bad signature; verify_chain_bytes does the same from stored canonical bytes; verify_chain_to_head also catches a changed or dropped last entry.
Redaction (slice 3 of #5834). A redact entry carries exactly one redaction: the target post or entry, and a closed reason code (privacy, abuse, spam, legal, author_request, other). No other kind may carry one. TalkPost::redacted and ChangelogEntry::summary_redacted drop the text only once a valid redaction names it; render_post and render_summary return the text or a Tombstone with the removed text's hash, the original author and time, and the redacting actor, time and reason.
Path links (#14208). PathRef::new stores the author's spelling unchanged. Comparison is a separate step, PathComparison::{Exact, Nfc}, per the A-9121.1 namespace policy, and §3 of the #9114 design record is amended to match.
How: the talk-page module follows the name_candidates.rs pattern (canonical CBOR, domain-separated Ed25519 signatures, BLAKE3 content ids). Tests: tests/talk_page.rs covers all three invariants plus redaction; tests/related_links.rs covers the spelling change. Checks run remotely through the fleet queue.
Fixes #14274
Fixes #14276
Fixes #14208
Links: #5834, #5677, #2056
Generated by Claude Code
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…tions
Implements the #13004 design record's slices 2-3 with its recorded
defaults: eight new classes (world.storage, world.notify, device.form,
device.microphone, device.microphone.capture, device.speaker,
fs.read.selected, device.notify), kv.get/blob.get into world.records,
device.info into cap.none, the device.microphone <= capture subsumption
edge, CAP_CLASS_TABLE_VERSION 1 -> 2, and the unknown-class tripwire
emptied into an assertion that no production manifest carries unknown.
Fixes #13004
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pped version
The test hard-coded table version 2 as the 'other' table; with the shipped
table now at 2 it must use CAP_CLASS_TABLE_VERSION + 1.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…5834)
Adds the talk_page module: author-signed TalkPost records whose post id is
the content hash of the canonical record, actor-signed changelog entries
hash-chained per object (the entry hash also covers the server's receipt
time), canonical encode/decode for both, and a chain verifier that replays
from the first entry or any retained checkpoint and reports gaps, broken
links, foreign entries, bad signatures and a changed head.
Fixes #14274
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e 3 of #5834)
A redact changelog entry now carries exactly one redaction (target post or
entry, plus a closed reason code), and no other kind may carry one. A post
body or entry summary can be dropped once a valid redaction names it; the
signed record, post id, entry hash and chain stay as they were. render_post
and render_summary show the text, or a Tombstone keeping the removed text's
hash, the original author and time, and the redacting actor, time and
reason.
Fixes #14276
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e opt-in
The related-path-links design (#9114, section 3) and PathRef normalised
every path to NFC at write. In a namespace without the Unicode opt-in
that silently redirects a decomposed spelling to the composed target,
contradicting A-9121.1. PathRef now stores the text verbatim, and
PathComparison (Exact by default, Nfc on opt-in) decides equivalence
without changing the stored spelling. The design record is amended.
Fixes #14208
Co-Authored-By: Claude Opus 5.5 <[email protected]>
coderabbitai
Bot
commented
Nov 25, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You'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 1 minute.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
92c723bf-46bf-474f-be93-dbe2d0144412
Commits
-
Reviewing files that changed from the base of the PR and between 8bc29d7 and fee3585.
Files selected for processing: 6
-
doc/2026-11-17T22-00-00Z_design_id9114_related_path_links.md
pkgs/id/crates/id-store/src/lib.rs
pkgs/id/crates/id-store/src/related_links.rs
pkgs/id/crates/id-store/src/talk_page.rs
pkgs/id/crates/id-store/tests/related_links.rs
pkgs/id/crates/id-store/tests/talk_page.rs
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 25, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|