Skip to content

fix: support full agent file family (GEMINI.md, CLAUDE.local.md, etc)#50

Merged
marcus merged 3 commits intomainfrom
fix/issue-49
Feb 27, 2026
Merged

fix: support full agent file family (GEMINI.md, CLAUDE.local.md, etc)#50
marcus merged 3 commits intomainfrom
fix/issue-49

Conversation

@marcus
Copy link
Owner

@marcus marcus commented Feb 27, 2026

Closes #49

Expands KnownAgentFiles to support the full agent instruction file family:

  • CLAUDE.local.md (Claude Code local overrides)
  • GEMINI.md (Gemini/Jules agent instructions)
  • GEMINI.local.md (Gemini local overrides)
  • CODEX.md (OpenAI Codex agent)

Also fixes dedup: adds AnyFileHasTDInstructions() which checks ALL known files before installing, preventing duplicate instructions when they already exist in e.g. CLAUDE.local.md.

Updates callers in cmd/init.go and pkg/monitor/commands.go. Includes 17 tests.

marcus and others added 3 commits February 25, 2026 22:01
Tasks with unresolved blockers were incorrectly showing as available in
`td next`, `td ready`, and `td usage` READY TO START. Added
ExcludeHasOpenDeps option to ListIssuesOptions with a NOT EXISTS SQL
clause, and replaced the N+1 dependency loop in context.go.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…49

- Expand KnownAgentFiles: add CLAUDE.local.md, GEMINI.md, GEMINI.local.md, CODEX.md
- Add AnyFileHasTDInstructions(baseDir) to check ALL known files for dedup
- Update PreferredAgentFile to fall back to first existing file, not just CLAUDE.md
- Update callers in cmd/init.go and pkg/monitor/commands.go to use AnyFileHasTDInstructions
- Add comprehensive tests for all new and updated functions

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

td setup: support full agent file family (GEMINI.md, CLAUDE.local.md)

1 participant