chore(gitignore): ignore agy's .agents/ cache via shared AI-tool glob #137

Merged
rootiest merged 1 commits from fix/gitignore-agy-agents-dir into main 2026-09-08 07:02:40 +00:00
Owner

agy (Antigravity CLI) drops a project-root .agents/ directory much like Claude Code's .claude/ — in this repo it's .agents/rules/, a local mirror of the memory files already backed up at ~/.claude/projects/<slug>/memory/ (vault-covered). It's a disposable cache the tool regenerates, not agent-authored spec content, so it does not belong in AGENTS/'s symlink/backup scheme.

Root-cause fix instead of a per-repo patch: added a .agents* glob to the shared gitignore boilerplate template (~/.config/.user-dots/git/gitignore), same tier as the existing .claude*, .gemini*, .antigrav* entries. Re-stamped this repo's boilerplate block to the new template hash and dropped the manual one-off .agents line that had been added directly.

Verified: git check-ignore confirms .agents is ignored by the new glob while AGENTS/ (the sub-repo) and AGENTS.md are unaffected.

agy (Antigravity CLI) drops a project-root `.agents/` directory much like Claude Code's `.claude/` — in this repo it's `.agents/rules/`, a local mirror of the memory files already backed up at `~/.claude/projects/<slug>/memory/` (vault-covered). It's a disposable cache the tool regenerates, not agent-authored spec content, so it does not belong in `AGENTS/`'s symlink/backup scheme. Root-cause fix instead of a per-repo patch: added a `.agents*` glob to the shared gitignore boilerplate template (`~/.config/.user-dots/git/gitignore`), same tier as the existing `.claude*`, `.gemini*`, `.antigrav*` entries. Re-stamped this repo's boilerplate block to the new template hash and dropped the manual one-off `.agents` line that had been added directly. Verified: `git check-ignore` confirms `.agents` is ignored by the new glob while `AGENTS/` (the sub-repo) and `AGENTS.md` are unaffected.
rootiest added 1 commit 2026-09-08 07:00:44 +00:00
Root-cause fix in the shared boilerplate template (~/.config/.user-dots/git/gitignore),
same tier as .claude*/.gemini*/.antigrav*. Drops the manual one-off .agents
line; re-stamped this repo's boilerplate block to the new template hash.
rootiest merged commit 4f62710061 into main 2026-09-08 07:02:40 +00:00
rootiest deleted branch fix/gitignore-agy-agents-dir 2026-09-08 07:07:53 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rootiest/fish-config#137