GeezerVison is showing github.com — feat(id-core): existence acknowledgements bound to the B19 receipt schema (#10256) by dezren39 · Pull Request #13153 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
What
Lands slice A9115-existence-receipt for #10256: existence acknowledgements bound to the shared B19 V2 receipt schema, as two new files in id-core:
pkgs/id/crates/id-core/src/existence_receipt.rs — ExistsAck, the design(id): existence acknowledgement + metadata harvester + location index #9115 consumer binding of a B19 verified_present receipt. Canonical bytes are B19's byte for byte (same domain, field order, kind tag), so an ack here is a B19 verified_present receipt on the wire; the ack reader refuses accepted/retained_until receipts as WrongAssertion and unknown tags as UnknownAssertion. It binds responder identity + key, subject digest, tenant/namespace scope, policy epoch + digest, and observation time, plus the B19 challenge/response presence proof (check_presence). verify runs the interval + signature gate and returns a VerifiedAck exposing responder/scope/epoch for the consuming authority gate. stored_unverified is a distinct unsigned StoredUnverifiedObservation that never proves presence; NotPresent and Indeterminate are distinct internal ExistenceResults that policy may coalesce via coalesced().
pkgs/id/crates/id-core/tests/existence_receipt.rs — the declared model oracle: an independent reference implementation of the documented B19 layout (own byte builder, own presence response, dalek used directly), a pinned golden vector (SHA-256 of the fixed ack's canonical bytes), deterministic coverage of every error class, and two proptests (generated answer/verify round-trips compared against the model; single-byte tamper never verifies).
Scope notes: the module is a self-contained leaf, included by path in its test — the crate-root export stays with the wiring slice (9110-02 line), as the neighbouring ID slices do. No existing file is modified.
Verification
cargo test -p id-core --test existence_receipt in nix develop (pkgs/id): 12 passed / 0 failed, re-run green after rustfmt on both files. No new warnings from the added files.
Closes #10256

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
…hema
New leaf module existence_receipt (slice A9115-existence-receipt,
#10256): an ExistsAck is the #9115 consumer binding of the B19 V2
verified_present receipt — same canonical bytes, same presence
response — binding responder, subject digest, scope, policy epoch
and observation time. stored_unverified stays a distinct unsigned
observation that never proves presence; NotPresent and Indeterminate
stay distinct internal results that policy may coalesce externally.
Model-oracle test in tests/existence_receipt.rs: an independent
reference implementation of the documented B19 layout, a pinned
golden vector, and generated operations compared against the model.
cargo test -p id-core --test existence_receipt: 12 passed, 0 failed.
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 49 minutes.
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:
5f7efde0-4969-4592-bb8b-4049956ba3c4
Commits
-
Reviewing files that changed from the base of the PR and between 14904d7 and ce68533.
Files selected for processing: 2
-
pkgs/id/crates/id-core/src/existence_receipt.rs
pkgs/id/crates/id-core/tests/existence_receipt.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.
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-23T09:24:51.057204Z |
ce68533 |
PR opened |
ℹ️ 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.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 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.
|