Skip to content

Add AGENTS selector for new threads#107

Open
friuns2 wants to merge 4 commits intomainfrom
codex/new-thread-agents-selector
Open

Add AGENTS selector for new threads#107
friuns2 wants to merge 4 commits intomainfrom
codex/new-thread-agents-selector

Conversation

@friuns2
Copy link
Copy Markdown
Owner

@friuns2 friuns2 commented Apr 30, 2026

Summary

  • detect project AGENTS..md and global ~/.codex/AGENTS..md files for new-thread instruction selection
  • start custom-instruction threads through a neutral cwd so default AGENTS.md is not loaded
  • pass the selected project cwd on the first turn and keep UI cwd display mapped to the real folder
  • document manual light/dark verification steps

Tests

  • pnpm exec vitest run src/api/codexGateway.test.ts
  • pnpm exec vue-tsc --noEmit
  • git diff --check origin/main...HEAD

Notes

  • Rebased by creating a fresh branch from origin/main and cherry-picking the task commits. tests.md conflicts were resolved per repo rule by keeping the current base file, then appending the AGENTS selector test section in a separate commit.

@qodo-code-review
Copy link
Copy Markdown

ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one.

@friuns2
Copy link
Copy Markdown
Owner Author

friuns2 commented Apr 30, 2026

Screenshot evidence for the new chat AGENTS dropdown:

New chat AGENTS dropdown

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