Repository navigation
id: graph token object formats + snapshot anchoring spec (#2251) - #2741
Conversation
|
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 32 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. Comment |
Codex Review SummaryThis 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 60cf9a3545
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- §2: define the cross-author credit frontier (causal ancestry) used by the fold - §3: normalize ledger accounts to holder pubkeys before comparing balance roots - §3: conversion-aware reconciliation join (conversion-ID -> receipt leg-set validation) - §1.5/§5: single rate convention (destination minor units per source minor unit), no scale adjustment - §5 step 6: durable cap reservations + recovery - executed conversions count before receipt publication - §1.5/§5 step 2: explicit expiry policy (Unix seconds, executor clock, anchored service authoritative, +-300s tolerance) - §1.8: new non-monetary token.receipt kind for payment acknowledgments; §4 accept_payment emits it - header: placement note - pkgs/id/doc is a tracked symlink to ../../doc, so the spec already sits at pkgs/id/doc/
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a614e8a08e
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- §2: cap checks evaluated over the issuance causal ancestry (burn frontier) - concurrent burns cannot make validity fold-order dependent - §2: anchored execution states (pending/executed/rejected) - a service-rejected intent consumes no spending authorization - §5 step 6: graph-native cap reservations release only on a definitive condition (window expiry or signed cancellation), never on mere absence of legs
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13ce252410
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- §3: mint-source account excluded from both balance roots, reconciled by the exact offset equation mint_source == -(executed issued - executed burned); issuer holder account still maps to issuer pubkey - §5 step 6: recovery distinguishes complete vs partial leg sets - a one-sided graph-native swap yields the signed claim (CounterpartyLegMissing), never a success receipt
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8bae5e6ad0
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
🤖 Agent note (queue task 3954, Lane C): parked — Codex review rounds are still producing new P2 findings on this spec. Rounds 1–3 (12 findings) are addressed in a614e8a / 13ce252 / 8bae5e6, each replied to on its thread and resolved. Round 4 on head 8bae5e6 raised 4 new unresolved P2s (anchored conversion movements in the graph fold; reject conversions rounding to a zero destination amount; include backlinks in the causal ancestry used for cap checks; specify the complete canonical Merkle-tree construction). Per the Codex gate this PR does not merge with undispositioned findings; the task is parked with this exact resume state. All other acceptance items are done: spec covers all five #2251 points, is linked from #2251, and sits at pkgs/id/doc/ via the tracked symlink. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a8c051718d
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Design spec for #2251, delivering the follow-on from the #2041 investigation (queue task 3406). Spec only — no implementation, per the program rule that no permanent feature is built on the unreviewed #2041 investigation.
Lands:
doc/2026-10-30T13-25-00Z_design_graph_token_formats_snapshot_anchoring.md(thepkgs/id/doc/path — a symlink to the repo-rootdoc/).Covers all five points from #2251:
pkgs/id/src/chain.rs), incl. currency-ID derivation(issuer, BLAKE3(definition))and gcd-reduced exact rational rates.user_data_128(low 128 bits of the event ID; conversion legs share the receipt's conversion ID).define_currency/issue/award/pay/balance/supply/accept_payment/convert/snapshot) with error semantics, identical across both bindings; binding-specific verification steps spelled out foraccept_payment.Each #2041 abuse case (1–7) is traced to a spec mechanism or an explicitly accepted residual risk (§6). Questions the spec cannot settle — snapshot signer/cadence for the developing-today deployment, issuer key-rotation mechanics, shared fold/index service, #2042 receipt interplay — are listed for the #2043 synthesis (§7), not decided silently. #2043 remains gated on #2042.
Need help on this PR? Tag
@codesmith-botwith what you need.