Follow up AugmentCode upstream updates: shared .agents/ discovery tree and settings.local.json layer
Summary
Auggie CLI (AugmentCode) added a shared .agents/ discovery tree for skills/agents/commands and a layered settings.local.json overrides file. rulesync's augmentcode adapters target only .augment/* and the single settings.json.
Recent Releases
- Auggie CLI 0.16.0 (2026-02-12) —
.agentsdirectory for skill and agent discovery: https://www.augmentcode.com/changelog/auggie-cli-0-16-0-release-notes - Custom commands: https://docs.augmentcode.com/cli/custom-commands ; Skills: https://docs.augmentcode.com/cli/skills
- Hooks: https://docs.augmentcode.com/cli/hooks ; Permissions: https://docs.augmentcode.com/cli/permissions
- Plugins/Marketplaces: https://docs.augmentcode.com/cli/plugins
Gaps
- commands/skills/subagents —
.agents/shared discovery tree not emitted. Auggie 0.16.0 "added support for.agentsdirectory for skill and agent discovery"; docs also list~/.agents/commands/&./.agents/commands/and~/.agents/skills/&<workspace>/.agents/skills/as recognized paths. All augmentcode adapters hardcode.augment/commands/.augment/skills/.augment/agents(src/constants/augmentcode-paths.ts); no.agents/path. Several other rulesync targets (junie, zed, codexcli) already write into the shared.agents/tree. - permissions/hooks —
settings.local.jsonlayer not read. Auggie evaluates layered settings including<workspace>/.augment/settings.local.json(personal overrides) and system-wide/etc/augment/settings.json.AugmentcodePermissions/AugmentcodeHooksgetSettablePathsonly know.augment/settings.json; local overrides are invisible to rulesync on import (round-trip fidelity). - plugins/marketplaces — unsupported (informational). Auggie added a Plugins/Marketplaces system (
.augment-plugin/plugin.jsonbundling commands/agents/rules/hooks/skills/.mcp.json, Claude Code.claude-plugincompatible). Likely out of scope for rulesync's per-feature model, but worth tracking alongside the cross-tool plugin discussions (#329, #382).
Proposed Follow-up
- Decide whether augmentcode should participate in the shared
.agents/convention for skills/agents/commands (consistent with the recent junie.agentsimport work). - Consider reading/merging
.augment/settings.local.jsonon the import direction so local overrides are not silently dropped.
References
- https://www.augmentcode.com/changelog/auggie-cli-0-16-0-release-notes —
.agentsdiscovery (2026-02-12). - https://docs.augmentcode.com/cli/permissions and https://docs.augmentcode.com/cli/hooks — layered
settings.local.json. - https://docs.augmentcode.com/cli/plugins — Plugins/Marketplaces bundle format.
Partially addressed — leaving open for the remaining parts, which are maintainer design decisions.
Delivered (merged in #1905): the clean, well-precedented import-fidelity subset — Auggie's cross-tool .agents/ discovery for subagents (importDirPaths: [".agents"], mirroring Junie) and skills (alternativeSkillRoots: [".agents/skills"], mirroring Rovo Dev). Generation is unchanged (still .augment/*); these are import-only discovery roots. Verified against https://www.augmentcode.com/changelog/auggie-cli-0-16-0-release-notes and https://docs.augmentcode.com/cli/skills
Still open — each needs a design decision:
- Commands
.agents/commandsimport —ToolCommandSettablePathshas no import-root field today, so supporting this requires extending the command framework, a cross-cutting change affecting every command adapter. Worth deciding whether to add a genericimportDirPathsto commands (the subagents/skills equivalents already exist) before wiring AugmentCode. settings.local.jsonpermission/hook layering — Auggie's.augment/settings.local.jsonpersonal-override file is documented (https://docs.augmentcode.com/cli/permissions), but importing it needs a secondary-import-file extension toToolPermissionsSettablePaths/ToolHooksSettablePaths. The/etc/augment/settings.jsonsystem layer mentioned originally is not confirmed by primary docs and should be verified before any work.
Side note (separate concern surfaced during review): the skills processor's orphan-deletion path (loadToolDirsToDelete) enumerates alternativeSkillRoots, whereas the subagents processor excludes importDirPaths from deletion. This asymmetry pre-dates this issue and affects every tool using alternativeSkillRoots (Rovo Dev, Vibe, etc.), so it was not changed here — but it may be worth tracking as its own item.
Upstream update (re-check on 2026-06-18)
One small concrete round-trip-fidelity point to add under the plugins/marketplaces item already noted here.
Additional or changed gaps
- permissions/hooks/mcp —
recommendedMarketplaceskey not explicitly preserved (project, round-trip). Auggie CLI 0.20.0 (2026-03-19) added arecommendedMarketplaceskey in.augment/settings.json("Projects can declare recommended marketplaces"): https://www.augmentcode.com/changelog/auggie-cli-0-20-0-release-notes. rulesync's.augment/settings.jsonwriters (augmentcode-permissions.ts,augmentcode-hooks.ts,augmentcode-mcp.ts) merge-preserve unknown top-level keys via{...settings}, so this should survive on round-trip — but there is no explicit handling or test. Worth confirmingrecommendedMarketplacesis not clobbered when multiple of these adapters rewrite the same file, and adding a guard test.
References
- https://www.augmentcode.com/changelog/auggie-cli-0-20-0-release-notes — Recommended Marketplaces in
.augment/settings.json(2026-03-19).
Triaged — leaving open pending a maintainer design decision (one sub-part is a clean follow-up; the main part needs a decision).
Verified (real gaps). Auggie CLI (AugmentCode) 0.16.0 added a shared .agents/ discovery tree for skills/agents/commands, and evaluates layered settings including a settings.local.json overrides file (https://www.augmentcode.com/changelog/auggie-cli-0-16-0-release-notes, https://docs.augmentcode.com/cli/skills, https://docs.augmentcode.com/cli/permissions). rulesync's augmentcode adapters hardcode .augment/commands/.augment/skills/.augment/agents and the single settings.json.
Why the .agents/ part needs a design decision. AugmentCode now recognizes BOTH .augment/* (which rulesync already emits) AND the cross-tool .agents/* tree (which several other rulesync targets — junie, zed, codexcli, replit — already write to). Adding .agents/ output for augmentcode raises a routing decision: emit to BOTH .augment/ and .agents/ (double-emission of the same content), MOVE to .agents/ (behavior change for existing users), or treat .agents/ as import-only discovery. There is no single obviously-correct choice, and it overlaps the broader question of how rulesync coordinates the shared .agents/ tree across the many tools that now read it.
Possibly-separable clean sub-part (settings.local.json). Reading the <workspace>/.augment/settings.local.json overrides layer on import (so user-local permission/hook overrides are picked up) is a more concrete, additive change that does not carry the same routing ambiguity. It could be split into its own small follow-up if the maintainer wants it independently of the .agents/ decision.
Decision needed from a maintainer: how augmentcode should participate in the shared .agents/ discovery tree (both / move / import-only), ideally coordinated with the other .agents/-writing targets; and whether to pick up the settings.local.json import layer as a separate follow-up. Leaving open for that discussion rather than forcing a double-emission or a breaking relocation.
Upstream update (re-check on 2026-06-24)
Additional gap (related to this issue's settings layering, but distinct)
This issue covers the shared .agents/ discovery tree and the settings.local.json overrides layer. A re-check surfaced a concrete, separately-actionable gap in the same project-settings area:
- mcp — missing project scope. Auggie CLI supports MCP servers in the project-level
.augment/settings.jsonundermcpServers, not just user-level~/.augment/settings.json. The config docs describe the user→project precedence formcpServers("MCP server and plugin entries are replaced, not deep-merged. If both your user settings and project settings define an MCP server with the same name, the higher-precedence file's entire server configuration wins"). rulesync'ssrc/features/mcp/augmentcode-mcp.tshard-throws"AugmentCode MCP is global-only; use --global to sync ~/.augment/settings.json"in bothfromFileandfromRulesyncMcpwhenglobalis false; the class comment ("the docs do not document a project-level MCP location") is now stale. README marks mcp as🌏 (global only); the project dry-run emits no MCP file.- Proposed: add project-scope support emitting/merging
mcpServersinto the project.augment/settings.json(reuse the same merge-not-overwrite pattern already used by the hooks/permissions adapters that write that shared file), drop the global-only guard, update the README marker to✅🌏, and add the MCP × project e2e happy-path case.
- Proposed: add project-scope support emitting/merging
References
- https://docs.augmentcode.com/cli/config — settings hierarchy (
<workspace>/.augment/settings.json,settings.local.json,~/.augment/settings.json) +mcpServersreplace-not-merge precedence. - https://docs.augmentcode.com/cli/integrations — MCP server configuration.