Skip to content

docs: design note for row/column context binding - #10

Merged
mpointer merged 2 commits into
mainfrom
docs/context-binding-design
Oct 28, 2026
Merged

mpointer merged 2 commits into
mainfrom
docs/context-binding-design

Conversation

@mpointer

@mpointer mpointer commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Design note, no code. Adds docs/design/context-binding.md (status: accepted, target 0.6.0): an opt-in context bound into the GCM AAD so a token copied to another row or column fails authentication.

  • No wire-format change. Old readers fail closed on bound tokens.
  • The documented default binds table and column. Row ids are an opt-in upgrade for client-generated ids.
  • Migration uses contextFallback, which logs once per namespace and counts fallback decrypts in stats().unboundReads, so a backfill can be confirmed finished before fallback is turned off.

🤖 Generated with Claude Code

mpointer and others added 2 commits October 28, 2026 09:34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Reads counter)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mpointer
mpointer merged commit 06a55fa into main Oct 28, 2026
10 checks passed
@mpointer
mpointer deleted the docs/context-binding-design branch October 28, 2026 13:39
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