Add scope-based model allowlists - #359
Closed
websideofamir wants to merge 1 commit into
Closed
Conversation
Summary: - resolve model access from the organization plus active scope - enforce file-managed models across runtime and surface paths - add an admin-only project instructions editor Rationale: - deployments need durable model boundaries without provider UI changes - personal and team access must never follow actors into other scopes Tests: - focused Core model, turn, capability, and SOUL tests - Web UI test suite and production build - typecheck and focused lint - live Firefox project-page QA
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.
Summary
Policy behavior
Defaults resolve in this order:
Personal, team, channel, and group grants never follow an actor into another scope. Custom-provider registration and credentials are unchanged.
Validation
The full root test command had three unrelated existing failures in OpenCode startup output, dependency lock materialization, and inherited pager environment. Contract typecheck also cannot resolve the workspace's
@yc-software/qm/contractpackage.Screenshot
Synthetic local project data in Firefox:
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.