Repository navigation
feat(agents): invoke saved agents from shared prompt mentions - #118
Merged
Jacksondr5 merged 10 commits intoSep 14, 2026
Merged
Jacksondr5 merged 10 commits into
Jacksondr5 merged 10 commits into
Conversation
This was referenced Sep 9, 2026
bryantderosier
marked this pull request as ready for review
September 9, 2026 11:16
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
from
September 9, 2026 12:52
cb1d249 to
5817f3a
Compare
bryantderosier
changed the base branch from
feature/agent-runtime-ui-polish
to
feature/agent-persona-settings
September 9, 2026 13:01
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
2 times, most recently
from
September 9, 2026 15:16
43ac59a to
c457a76
Compare
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
from
September 9, 2026 15:58
c457a76 to
ec81801
Compare
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
5 times, most recently
from
September 11, 2026 01:46
13cafb1 to
0cae76b
Compare
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
from
September 11, 2026 02:31
37bf864 to
c2fd0aa
Compare
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
2 times, most recently
from
September 11, 2026 18:19
d9a27df to
98a18f6
Compare
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
from
September 11, 2026 18:22
98a18f6 to
d9a27df
Compare
…trigger Agents no longer merge into @path results on web or mobile, which removes the list-merging, pending-state, and empty-text edits from the upstream composers. The picker hooks read the catalog through the J5 persona atoms. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This reverts commit 0653568347b7484aebce4a4b7c2260fd1979040d.
…rd set Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The shared mention module owns the replacement text and client-runtime owns the selection routine, so the web composer's agent branch is one call and the mobile hook reuses the same text. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
New-task drafts on web and mobile offer an Agent control beside the model picker. Choosing one replaces the model and reasoning controls with the agent's name and fixed route until the first send, when the launch carries the agent request and the server pins the resolved assignment. Thread rows in both thread lists show the agent beside the thread's home, and delegated children in the Agents panel show which saved agent ran them via the child thread's shell. Draft selection is session-local J5 state; the upstream composers gain one hook call and two mounts each. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The saved-agent identity commit added min-w-0 to the truncated Squadron label so it shrinks inside flex rows, but the sidebar truncation test still asserted the old class string. Update the assertion; behavior is unchanged. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
bryantderosier
force-pushed
the
feature/agent-subagent-invocation
branch
from
September 14, 2026 12:08
d9a27df to
66946b5
Compare
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.
What Changed
Adds a shared
@agent:<id>picker for Codex and Claude. Saved agents run as subagents under the current conversation with their own immutable instructions, model route, reasoning, and runtime policy. Completion returns to the parent; crews remain out of scope.The web/desktop and mobile composers reuse their existing menus. J5 modules own lookup and invocation;
FORK.mdrecords the small upstream integration hooks.Why
Imported agents could be managed in Settings but could not be invoked consistently from prompts. The new picker connects the saved definitions to the existing child lifecycle without changing provider adapters or adding a second task engine.
Validation
git diff --checkpasses.UI Changes
Before/after screenshots were captured locally. Upload is deferred at Bryant’s request; no PR-only images are committed.
Checklist
Merge order
This PR extends GitHub stack pingdotgg#120 and depends on #85. Merge bottom to top:
#75 → #76 → #78 → #79 → #80 → #81 → #83 → #82 → #85 → #118
The Claude sign-in verification that briefly lived here was reverted on 2026-09-09; Bryant is upstreaming it to pingdotgg/t3code separately.
Stack rebuilt 2026-09-09 (stack pingdotgg#120): #84 and #86 were dropped, and fork-boundary refactors moved the persona RPCs, guards, and client wiring into J5-owned files. Review threads were preserved.
Implemented with GPT-6 using the Codex desktop app.
Also on 2026-09-10 (roadmap items 3 and 6): new-task drafts on web and mobile offer an Agent control that starts the task as a saved agent (the launch carries the agent request; the server pins the route), and agent identity now shows on thread rows in both thread lists and on delegated children in the Agents panel. Draft selection is session-local J5 state; upstream composers gain one hook call and two mounts each, recorded in FORK.md.
Rebased on 2026-09-10 onto #85's usage, library sources, and copy-to-environment work. The same push fixes the one failing web unit test on this branch: the identity label gained
min-w-0for flex truncation andThreadCardIdentity.test.tsxstill asserted the old class string.Stack rebased onto
j5/mainat4f95ee26bon 2026-09-11 after #109 landed. The only conflict was the sorted MCP tool list inregistration.test.ts, where this PR addsinvoke_agentand #109 addslist_artifacts; both are kept.