Repository navigation
Agents can read and manage any thread; the agent access setting is gone - #1197
Merged
Merged
Conversation
This was referenced Nov 15, 2026
Merged
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.
Agents can now read and manage any thread, and the agent access setting is gone from Settings → Agents.
Why
Agents were often held to
lineageand gotmousse_scope_deniedfromthread_read,thread_list,thread_search,thread_sendand the other thread tools. A thread a bot started withthread_createwas worse: it stored alineageceiling, so its agents were refused other threads for good, whatever Settings said.What changed
manage: ordinary turns, subagents, bot threads, launched threads, forks, threads a remote send drove, scheduled runs, plan turns and continuations after a pause.Thread.accessCeiling) is ignored, so threads that were capped before are not limited any more. No migration; the stored values stay and are not read.thread_create, forks, remote sends and scheduled jobs no longer store a cap.ToolRegistry.checkOthers) reaches any thread that exists.tools/listno longer hides tools by level, andthread_read/thread_searchno longer trim what they return belowmanage.level,projectIdsandprojectsUnreadableare dropped when read; the settings protocol still accepts them from an older client.What still holds
Permission modes and approvals, the plan ceiling (a plan turn cannot start threads), read-only subagents, private threads, the bot-thread refusal,
thread_createand schedule rate limits, agent-message limits, and the permission ceiling of jobs agents create.The
access_levelcolumns on credentials, delegations and runs stay (no migration); they still record a level for audit and limit nothing.Tests
Tests that only covered the removed limits are deleted; tests that asserted refusals by level are updated. A new test (
tests/run/agentThreadReach.test.ts) checks the reported failure: an agent in a thread that an older version capped atlineage(launched by another thread, with an oldlineageprofile) lists threads and reads another thread's messages.Tested on Windows: every changed test file passes (
npx vitest runon the 26 files), andtsc --noEmitis clean for the node and web configs.Related
manage; this removes the level instead, so that part of the plan no longer applies.