Repository navigation
Commit faf1d3d
committed
fix(plugin-hono-server): drop seedEmail, update erasure ratchet baseline (#6334)
`AuthSessionApi.getSession` declares `user: { id?: string }` and nothing more,
so reading `email` off it is the #4127 shape. The canonical resolver reads
`sys_user.email` itself (the row it loads anyway for ai_seat), and that column
is unique by the auth invariant — same answer, no contract widening.
The erasure ratchet baseline drops its `current-user-endpoints.ts` entry: the
6 sites it recorded were the `as any` query options of the hand-copied table
reads this PR deletes (ratchet DOWN, as the gate itself instructs).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017uFVNMmTxLpmfQYiuKM1Yx1 parent 55d9188 commit faf1d3d
2 files changed
Lines changed: 11 additions & 5 deletions
File tree
- packages/plugins/plugin-hono-server/src
- scripts
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
524 | 531 | | |
525 | 532 | | |
526 | 533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
0 commit comments