GeezerVison is showing github.com — feat(id-core): append-list user-attribute protocol, server side by dezren39 · Pull Request #11491 · developing-today/code
Conversation
dezren39
commented
Nov 18, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Before: the #9127 append-list design existed only as a record. pkgs/id had no way to accept, order, queue or approve submissions to an append-list attribute.
After: id-core has AppendListServer, which implements the record's §3 ops with the §4 to §6 rules. Every refusal is a value-free Refusal.
How: new append_list.rs in id-core.
submit checks in the record's order: hash against the object bytes (BLAKE3), strict ed25519 signature over the hash, attribute exists and is an append-list, attribute is OPENED. Then it appends for members (the owner plus configured keys) or queues everyone else. Nothing is stored on a refusal.
- The server assigns each attribute's sequence: gap-free, at append time, and at approval time for pending entries (§8.2).
- New attributes are not OPENED (§5). Submissions to an unopened or closed attribute are refused, not held, and opening releases no backlog. Close also stops approvals; rejections still work so an owner can empty the queue, and the queue survives close (§8.4).
read(after, limit) returns entries only, never pending ones. pending is approvers only (owner by default, plus configured approvers). own_state gives a submitter their pending, appended-at-seq or refused state.
- Submission is idempotent per (attribute, hash, submitter): a retry returns the existing sequence or pending id and changes nothing, even after close. Two submitters of the same object are two entries (§8.5). A resubmission after a rejection is a new submission.
- The list stores references (hash, sequence, submitter, signature). The object bytes are only read to check the hash, since they live in the content plane.
Not included: persistence and the wire encoding, which §3 leaves to the implementing packet. They belong with the first consumer, the client path in #10983 or the social shapes in #9128. The signature is over the bare hash, as §3 specifies, with no domain prefix.
Testing: cargo test -p id-core --lib (514 passed). Ten unit tests cover the refusal order, OPENED, sequence at approval time, pending invisibility, idempotence, rejection state, close, authorization and paging. One property test checks the §7 invariants after every op of random sequences (64 cases of up to 60 ops); with the OPENED guard deleted it fails at once. Clippy is clean for the new file.
Closes #10982
Generated by Claude Code
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
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.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
The #9127 design's server rules as a state machine in id-core:
append-submit verifies hash, signature, attribute and OPENED in the
record's order before appending (members) or queueing (everyone else);
the server assigns a gap-free per-attribute sequence, at approval time
for pending entries; new attributes start not OPENED; close stops
submissions and approvals but keeps the queue; submission is idempotent
per (attribute, hash, submitter). The section 7 invariants are a
property test over random op sequences.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Important
Draft PR not reviewed
Draft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration:
reviews:
auto_review:
drafts: true
- 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.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
✅ Completed 2026-11-18T04:46:45.582715Z |
cc2e187 |
Draft marked ready |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 18, 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.
|