You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let each agent tool's Permission Mode use a fixed selector or a variable such as <start.toolMode>. Resolve variables before filtering tools and reject invalid modes before calling the provider.
Put Permission Mode in the expanded tool parameters with the canonical arrow toggle. Make both modes available without a feature flag across the editor, API/CLI, Copilot, and imports.
Preserve the fixed choice, variable input, and active mode through search, export/import, and tool-array changes. Save reordered tools and their mode indexes in one collaborative operation.
Keep disabled tools out of discovery/execution, preserve secret tracking during resolution, and retain locked-block protections. Keep edits arriving during pending saves separate and compare search replacements independently of object key order.
Report interrupted CLI responses with guidance for uncertain writes, and show import failures in the editor.
Companion: simstudioai/mothership#488
Type of Change
Bug fix
New feature
Breaking change
Documentation
Other: ___________
Testing
Latest changes: 502 application regression tests and all 389 realtime tests pass. Coverage includes fixed/variable resolution, invalid values, secret provenance, API/Copilot edits and dry runs, imports, search, atomic reordering, locked containers, and edits arriving during pending or failed database writes.
App/realtime type checks, repository lint, all 46 audits, API validation, block-registry, and docs-manifest checks pass. Regenerated committed artifacts and verified the removed flag and policy endpoint have no remaining source references.
Earlier Chrome/CLI/API testing covered Auto/Force/None, all five tool shapes, dynamic inputs, workflow variables, secrets, empty lists, reload, cross-tab editing, deployed/draft isolation, rollback, and 100-tool reversal/deletion.
Earlier fault testing covered scoped scheduled-job execution/recovery, dropped requests and responses around commits, injected 503s, tool cancellation, and recovery after a failed tool call.
Full CLI suite previously passed 990 tests with one skip and two failures in unchanged update-check process tests: Node emitted a proxy warning where those tests require empty stderr. Changed HTTP-client tests passed.
Remaining coverage: the latest simplification has automated coverage but was not rerun in Chrome. Undo/redo, additional collaborative/network interleavings, viewer-account behavior, live LLM-provider outage injection, global cron ticks, and queue transport remain unverified. The existing multi-request importer is not transactional for arbitrary network failures.
Review focus: keeping each tool's permission attached through array edits, excluding disabled tools from discovery/execution, and preserving both selector and variable inputs across workflow operations.
@j15z I have started the AI code review. It will take a few minutes to complete.
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
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
<start.toolMode>. Resolve variables before filtering tools and reject invalid modes before calling the provider.Companion: simstudioai/mothership#488
Type of Change
Testing
Remaining coverage: the latest simplification has automated coverage but was not rerun in Chrome. Undo/redo, additional collaborative/network interleavings, viewer-account behavior, live LLM-provider outage injection, global cron ticks, and queue transport remain unverified. The existing multi-request importer is not transactional for arbitrary network failures.
Review focus: keeping each tool's permission attached through array edits, excluding disabled tools from discovery/execution, and preserving both selector and variable inputs across workflow operations.
Checklist
Screenshots/Videos
No screenshots or videos attached.