Surface overridden sources in sources.list, split sidebar by scope#510
Draft
RhysSullivan wants to merge 1 commit intors/cloud-workspaces-09-scope-apifrom
Draft
Surface overridden sources in sources.list, split sidebar by scope#510RhysSullivan wants to merge 1 commit intors/cloud-workspaces-09-scope-apifrom
RhysSullivan wants to merge 1 commit intors/cloud-workspaces-09-scope-apifrom
Conversation
The cloud workspace sidebar now splits into a Workspace section and a Global section, with global sources that a workspace shadows rendered as muted entries with an `Overridden` badge. To make this possible, `executor.sources.list()` no longer drops shadowed outer rows. Both the inner (effective) and outer (shadowed) rows ship back, and the shadowed row carries `overriddenBy: <innerScopeId>` so the UI can render the Overridden state without re-deriving the precedence rule. Tool invocation continues to pick the innermost row (covered by the existing `tools.invoke picks the innermost tool ...` test). The same split lands on the standalone sources page. Local hosts run a single-scope stack so the bucket render is gated on the presence of a `workspace_*` entry in the scope stack. Adds a node test that creates a workspace source shadowing a global one and asserts both rows are returned with correct scopeId + overriddenBy fields.
This was referenced May 4, 2026
Owner
Author
This was referenced May 4, 2026
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-marketing | 6bc443a | Commit Preview URL Branch Preview URL |
May 04 2026, 05:11 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
executor-cloud | 6bc443a | May 04 2026, 05:13 PM |
@executor-js/codemode-core
@executor-js/runtime-quickjs
@executor-js/cli
@executor-js/config
@executor-js/execution
@executor-js/sdk
@executor-js/storage-core
@executor-js/plugin-file-secrets
@executor-js/plugin-google-discovery
@executor-js/plugin-graphql
@executor-js/plugin-keychain
@executor-js/plugin-mcp
@executor-js/plugin-onepassword
@executor-js/plugin-openapi
executor
commit: |
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.

The cloud workspace sidebar now splits into a Workspace section and a
Global section, with global sources that a workspace shadows rendered as
muted entries with an
Overriddenbadge.To make this possible,
executor.sources.list()no longer drops shadowedouter rows. Both the inner (effective) and outer (shadowed) rows ship
back, and the shadowed row carries
overriddenBy: <innerScopeId>so theUI can render the Overridden state without re-deriving the precedence
rule. Tool invocation continues to pick the innermost row (covered by
the existing
tools.invoke picks the innermost tool ...test).The same split lands on the standalone sources page. Local hosts run a
single-scope stack so the bucket render is gated on the presence of a
workspace_*entry in the scope stack.Adds a node test that creates a workspace source shadowing a global one
and asserts both rows are returned with correct scopeId + overriddenBy
fields.