fix(data-integrity): bind reads to issued authority on current ledger stack - #450
Draft
seonghobae wants to merge 2 commits into
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
This was referenced Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Objective
Reconstruct stale stacked PR #404's unique artifact-read authority invariant on the exact current revocation parent #449, without importing obsolete #402/#400/#357 ancestry.
Exact stack identity
17fcbbe59267397c49fac208e2611130936eecb9;bab2867ca6ba3b6e470d35b7504c87cdba201006;9b44b4448fdbfb1fe1d3aacede4d492df2ca7124;ArtifactLinkLedger.java,ArtifactLinkLedgerReadAuthorityTest.java, and the authority-valid status fixture only;Contract
Every live or replayed
READevent must match an existing issued token's immutable tenant, subject, and document identity before append/publication. Null events, null/unknown tokens, and tenant/subject/document mismatches fail closed. Revocation state is deliberately not part of identity matching so a request verified before a concurrent revocation can still append legitimate audit evidence.Scope boundary
This child changes read-event identity binding and the ancestor status fixture needed to remain authority-valid. It does not alter token signatures, artifact bytes, HTTP status validation, revocation transition rules, expiry decisions, tenant authentication, or persistence technology.
Merge gate
Keep Draft while #449/#448/#435 remain unmerged. Require this exact child head's emitted checks and zero valid unresolved findings. After ancestors reach protected
main, rebuild or retarget this bounded delta onto the new exact protected base and regenerate all main-targeted CI, Security Scan, SAST, fuzz, current-head reviews, and qualifying independent approval. No evidence from #404, #402, #400, #357, or predecessor heads transfers.