Skip to content

docs(subagent): say profiles work in subagent.run too - #1766

Draft
sosidudku1 wants to merge 1 commit into
mainfrom
fix/ato-1746-profile-texts
Draft

sosidudku1 wants to merge 1 commit into
mainfrom
fix/ato-1746-profile-texts

Conversation

@sosidudku1

Copy link
Copy Markdown
Collaborator

Careful tier: touches logic outside the UI, please review closely.

What

Fixes stale wording that says subagent profiles only work inside Fusion.

  • src/plugins/plugin-bundle.ts: the install note now says "N subagent profile(s) found; a Fusion task or a subagent.run task can name them with profile." instead of "they are listed but only used once subagent profiles land."
  • src/plugins/plugin-bundle.test.ts: the note test now checks for the new wording and that the old phrase is gone.
  • src/agent-profiles/README.md and src/plugins/README.md: say that subagent.run takes profile too.

Text only, no logic change.

Why

Users installing a plugin with subagent profiles were told the profiles do nothing yet. subagent.run has accepted profile since ATO-1670 (subagent-args.ts, subagent-run.ts), and plugin profiles named plugin:agent resolve there as well as in Fusion. The profiles README also contradicted itself between its first paragraph and the Wiring section.

How it was verified

Not yet checked on the second Mac: this draft waits for one combined build, test, smoke and e2e run together with the other open fixes.

  • Static review against current main: plugin profiles reach both subagent.run and fusion.delegate through loadAgentProfiles with pluginProfiles in runtime-tool-catalog.ts.
  • The two new assertions in plugin-bundle.test.ts fail against the old note text and pass with the new one.
  • To run in the combined check: npx vitest run src/plugins src/agent-profiles, npm run docs:check, npm run lint.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant