Skip to content

Refresh permission identity and schemas on a live model switch - #728

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-7263-make-live-model-switching-refresh-every-model-scoped-runtime
Aug 31, 2026
Merged

Refresh permission identity and schemas on a live model switch#728
TheGreatAxios merged 1 commit into
mainfrom
cl-7263-make-live-model-switching-refresh-every-model-scoped-runtime

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • A live /model change now rebuilds permission identity, grant store key, and advertised tool schemas for the new pair.
  • Grants scoped to the previous model no longer match, and Kimi wire schemas apply without restart.

Verification

  • Typecheck and build passed; targeted tests passed.
  • Full bun run test was blocked by host git hooks rejecting fixture authors (CL-7267 is the helper for that).

Fixes CL-7263

@linear-code

linear-code Bot commented Aug 31, 2026

Copy link
Copy Markdown

CL-7263

A /model change rebuilt inference but left the permission gate, grant
store key, and advertised tool schemas on the previous pair. Grants
scoped to the old model still matched, new grants stored under the old
key, and Kimi wire schemas did not apply until restart.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7263-make-live-model-switching-refresh-every-model-scoped-runtime branch from 27b2529 to 4b5aa52 Compare August 31, 2026 15:27
@TheGreatAxios
TheGreatAxios merged commit 2f3dbf2 into main Aug 31, 2026
5 checks passed
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