The Subagents settings list is an independent Agent capabilities entry. It uses the same scope and resource-list language as MCPs, Skills, Commands, and Hooks while keeping implementation identifiers out of visible row content.
<workspace>/.zcode/agents and agents from plugins installed into that workspace, grouped by plugin. Built-in agents never appear in workspace scope.User is always the User of the device selected in the scope menu. Opening Settings defaults to the User of the device that owns the current workspace: a local tab selects "This computer · User", a remote tab selects " · User". The earlier rule "User is always the base Host" (which hid the remote User from remote tabs) is removed. The selected scope owns the service target; the last active tab is never the authority.
This computer · User -> base services -> base Host user agents
<device> · User -> that device's SourceSettingsAttachment -> device user agents (no project needed)
<device> · project -> identity/session config services -> selected project agents
device offline -> no services (fail-closed notice) -> no read, no write, no local fallback
systemService.info().homedir). A remote
path is never sent to the base Host and a local path is never sent to a remote device.model-selection (R3 §8.2), so the page does not read a model catalog there. The
catalog state is unavailable, not an error: no "model list failed to load" notice, and
the form offers only "Inherit default". A persisted model on an existing agent is kept as
is; its reasoning effort is kept and the control shows "Reasoning effort unavailable", not a
loading spinner. A remote project still reads the model catalog of that project's Host. The page never
borrows the catalog of the base Host or of another device.continuous and mobile replayable delivery.Regression coverage: useSettingsScope.test.ts and settingsScope.test.ts check grouping,
defaults, source-settings routing, fail-closed and late results; subagentsSection.test.ts
checks that the section routes lists, models, plugin initialization and creation to the selected
scope's services, that a remote User reads no model catalog and shows no load-failure notice,
and that a real local catalog failure still shows the notice; in both cases the edit form of an
agent with a persisted model shows "Reasoning effort unavailable", not loading;
conversation-session-remote-data-sync-scope-by-device.test.ts (DSYNC-15)
checks real GUI creation on the remote User and the local User, and the reasoning control of a
remote agent with a persisted model.
The SSH regression must distinguish connection completion from directory selection:
waitForSSHDirectoryStep reports closed when the conversation flow unmounts the
wizard, and directory only when the directory step is visible. The case asserts
closed before checking the conversation identity/session; closing the wizard alone
does not prove a successful connection. Installation/boundary confirmations remain
handled, and connection errors fail immediately. Project flows still verify the
directory step and selected workspace. This is a test-helper contract only; Host and
desktop/mobile delivery behavior do not change.
Installed contains directly-created agents for the selected scope.Built-in is a User-only group.Empty and loading containers use the common dashed-border treatment.
Rows display the agent name, description, model label when applicable, tool label, and available controls.
Rows do not display the backing Markdown path or internal built-in identifier. Values such as /Users/name/.zcode/agents/example.md and built-in:general-purpose remain implementation data used for editing and identity only.
Group headings communicate ownership, so rows do not repeat scope labels.
Item descriptions use text-ui-sm text-foreground-subtle as secondary copy.
Model and tool metadata labels use rounded-md bg-surface px-1.5 py-0.5 text-ui-sm text-foreground-subtle ring-1 ring-border, matching MCP tool-count labels.