feat(augmentcode): discover subagents and skills from the shared .agents/ tree on import - #1905
Merged
dyoshikawa merged 1 commit intoJun 16, 2026
Conversation
…nts/ tree on import Auggie CLI 0.16.0+ discovers subagents from .agents/ and skills from .agents/skills/ in addition to .augment/. Add these as import-only roots (importDirPaths for subagents, alternativeSkillRoots for skills), mirroring the junie and rovodev precedents. Generation still targets .augment/. Refs #1890 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
dyoshikawa
deleted the
resolve-scrap-issue-1890-augmentcode-agents-discovery
branch
June 16, 2026 19:07
Owner
Author
|
@dyoshikawa Thank you! |
This was referenced Jun 16, 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.
Summary
Auggie CLI 0.16.0+ discovers subagents and skills from the cross-tool
.agents/tree in addition to.augment/. This adds those as import-only discovery roots so a rulesync import from an Auggie project that uses.agents/is not missed. Generation is unchanged — it still targets.augment/agents/and.augment/skills/.augmentcode-subagent.ts): addedimportDirPaths: [".agents"]togetSettablePathsand taughtfromFileto honor an explicit discovery root, mirroring the established Junie precedent (junie-subagent.ts).augmentcode-skill.ts): addedalternativeSkillRoots: [".agents/skills"]togetSettablePaths, mirroring the established Rovo Dev precedent (rovodev-skill.ts)..agents/skills/is already covered by.gitignore.Path constants added to
src/constants/augmentcode-paths.ts. No generation change → no new gitignore entry and no support-matrix change (AugmentCode subagents/skills were already ✅).Validation evidence
.agents/discovery (subagents + skills): https://www.augmentcode.com/changelog/auggie-cli-0-16-0-release-notes.agents/skills/: https://docs.augmentcode.com/cli/skillsOut of scope / deferred (maintainer decision)
This PR intentionally delivers only the clean, well-precedented import-fidelity subset and uses
Refs #1890(notCloses). The remaining parts of #1890 each require a design decision and are left for a maintainer:.agents/commandsimport — the command framework (ToolCommandSettablePaths) has no import-root field; adding one is a cross-cutting change affecting every command adapter.settings.local.jsonpermission/hook layering — needs a secondary-import-file type extension, and the/etc/augment/settings.jsonsystem-layer path referenced in the issue is not confirmed by primary docs.Test plan
pnpm cicheckis fully green (format, oxlint, typecheck, 6549 unit tests, skill-docs sync, cspell, secretlint). Added unit tests asserting the new import roots ingetSettablePathsand import round-trips reading a subagent from.agents/and a skill from.agents/skills/. Existing generate-to-.augment/*happy-path and Tool × Feature e2e coverage preserved.Refs #1890