Skip to content

chore: Ignore local agent artifacts - #103

Merged
JordanCoin merged 1 commit into
mainfrom
chore/ignore-local-agent-artifacts
Aug 3, 2026
Merged

chore: Ignore local agent artifacts#103
JordanCoin merged 1 commit into
mainfrom
chore/ignore-local-agent-artifacts

Conversation

@JordanCoin

Copy link
Copy Markdown
Owner

What does this PR do?

Four untracked paths were showing up in every git status and in codemap --diff. None are authored in this repo:

Path What it is
.codex/config.toml Pins an absolute path for one machine (command = "/Users/…/codemap-mcp")
.agents/skills/ Populated by codemap plugin install
AGENTS.md Produced by agent tooling from CLAUDE.md
codemapd/ Rust build output left over from the sockd prototype (#66)

Two deliberate scoping choices:

  • .codex/config.toml, not .codex/ — mirrors how .claude/settings.local.json is ignored while .claude/ is not. A project-scoped .codex/hooks.json is something a team may well want committed, and doctor checks for it, so the directory stays available.
  • .agents/skills/, not .agents/.agents/plugins/marketplace.json is tracked. A directory-wide rule would shadow a committed file. Verified with git ls-files -i -c --exclude-standard, which now returns empty.

Type of change

  • Bug fix
  • New feature
  • New language support
  • Documentation
  • Other — repository hygiene

Checklist

  • I've tested this locally with go build && ./codemap .
  • I've read CONTRIBUTING.md; this does not add a new language.
  • Documentation is unchanged.

Note on AGENTS.md

Ignoring it rather than committing it, because the copy on disk is generated and contains a bad substitution — it says .Codex/settings.local.json, which is wrong twice over: capitalised, and settings.local.json is a Claude concept (Codex uses .codex/hooks.json). It reads like a naive claudeCodex replace over CLAUDE.md. Nothing in the Go source writes it, so it came from agent tooling rather than codemap itself. Committing a file with a wrong path in it seemed worse than ignoring it; happy to author a real one separately if you'd rather ship Codex instructions.

Four untracked paths were showing up in every `git status` and in
`codemap --diff`, none of them authored in this repo:

- .codex/config.toml pins an absolute path for one machine. Ignored by
  file rather than ignoring .codex/, mirroring how
  .claude/settings.local.json is ignored while .claude/ is not, so a
  project-scoped .codex/hooks.json can still be committed.
- .agents/skills/ is populated by `codemap plugin install`. Scoped to
  skills/ because .agents/plugins/marketplace.json is tracked and a
  directory-wide rule would shadow it.
- AGENTS.md is produced by agent tooling from CLAUDE.md.
- codemapd/ is Rust build output left from the sockd prototype.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 3, 2026 00:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JordanCoin
JordanCoin merged commit 48ee2b1 into main Aug 3, 2026
12 checks passed
@JordanCoin
JordanCoin deleted the chore/ignore-local-agent-artifacts branch August 3, 2026 00:25
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.

2 participants