fix: support full agent file family (GEMINI.md, CLAUDE.local.md, etc)#50
Merged
fix: support full agent file family (GEMINI.md, CLAUDE.local.md, etc)#50
Conversation
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>
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.
Closes #49
Expands
KnownAgentFilesto 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.goandpkg/monitor/commands.go. Includes 17 tests.