The account RPCs (listidentityaccounts, getidentityaccount, upsertidentityaccount,
account.key.verify), moved out of identity::register unchanged as named functions.
The named-agent RPCs (listnamedagents, hidenamedagent), moved out of identity::register unchanged as
named functions. They power the pickerโs My Agents and the Files pane, joining instance rows with the
definition, account and bundle names so the frontend renders without follow-ups.
The service-OAuth RPCs (account.oauth.start, .poll, .cancel, .client.get, .client.clear),
moved out of identity::register unchanged as named functions.
Request for account.oauth.start. clientId/clientSecret are BYO OAuth
app credentials (optional; required for secret-mandatory providers). Never
log this struct: clientSecret is a secret.
Serialize an OAuthStatus to the frontend wire shape.
What the Accounts panelโs Connect starts a flow with: the consent page opens in the system
browser, and Googleโs account picker has no hint.
Refuses to persist an OAuth account bound directly to its providerโs
ambient home dir (e.g. ~/.claude) โ nothing downstream validates
secret_ref.dir, and a real, currently-live account configured exactly
this way was found in this repoโs own data
(docs/status/STATUS_IDENTITY_ISOLATION_GATE_NOT_ENFORCING_2026_08_20.md
ยง8). Split out of the upsertidentityaccount handler closure so itโs
directly unit-testable without spinning up the RPC engine. See
docs/specs/SPEC_BLOCK_AMBIENT_HOME_DIR_IDENTITY_BINDING_2026_08_25.md.