Skip to content

feat(auth): harden trusted evidence and protected objects - #4783

Draft
cea-block wants to merge 13 commits into
cea/identity-binding-lifecyclefrom
cea/o4-protected-transports
Draft

feat(auth): harden trusted evidence and protected objects#4783
cea-block wants to merge 13 commits into
cea/identity-binding-lifecyclefrom
cea/o4-protected-transports

Conversation

@cea-block

@cea-block cea-block commented Aug 4, 2026

Copy link
Copy Markdown

Why

Protected media, Git, and audio operations need durable object authority derived from the same verified evidence contract used at admission. Missing, ambiguous, or stale evidence must deny protected access consistently.

What

  • Harden assertion parsing, bounded assertion time, key-age behavior, and provider-neutral verified evidence
  • Persist protected publication, visibility, lifecycle, and authority state
  • Apply durable authority to protected media reads and uploads, Git hydration and publication, and audio admission
  • Add the protected-object migration sequence from 0031 through 0039 with fresh-database compatibility
  • Keep protected behavior off by default and leave unprotected behavior unchanged

Review guide

  • Verified evidence: assertion ambiguity, time bounds, key bounds, and adapter validation
  • Durable authority: protected publication, visibility, lifecycle, and projection state
  • Transport enforcement: media, Git, audio, and relay admission paths
  • Database evolution: migration ordering, fresh installation, and schema compatibility

Risk assessment

Medium. This PR adds migrations and changes several protected transport paths. Protected requests deny when authority is missing or inconsistent, and the behavior remains off by default.

Testing

  • Verified-evidence negative and boundary cases
  • Fresh and incremental migration coverage through 0039
  • Protected publication, visibility, media, Git, audio, and admission cases
  • Formatting, linting, and hosted repository checks

References

Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
@cea-block cea-block changed the title feat(auth): persist protected transport authority feat(auth): harden trusted evidence and protected objects Aug 4, 2026
@cea-block
cea-block changed the base branch from cea/o4-assertion-hardening to cea/identity-binding-lifecycle August 4, 2026 21:20
Keep extracted protected transports fail closed until their owning route inventory and client-production slices land, and update the directly affected lint and proof fixtures.

Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Share the existing membership lock within buzz-db and keep the operation-receipt inspection helper test-only until its owning invalidation slice lands.

Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
* commit 'f09c6ea4b9aabb4a71b4852b81102243bf328241':
  test(desktop): stabilize off-relay video menu
  fix(desktop): keep sidebar within size limit

Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant