fix(codex): use a case statement for the agents skip list

Open Beginner friendly
#456 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
shell
Domain
tooling

Research direction

Read adapters/codex/install.sh and find emit_agents_from_dir, where README, INDEX and PROMPT-DEFENSE are skipped. Replace the chained comparison with a case statement, then check that those three names are still skipped and other names are emitted.

Written by the indexing model from the issue text.

Description

enhancement

emit_agents_from_dir in adapters/codex/install.sh skips README, INDEX and PROMPT-DEFENSE with a chained comparison. With three names that is the smallest diff; switch to a case statement if the list grows.

Found in review of #430 and left out of that PR to keep it small.

Dominant language
HTML
Stars
347
Forks
12
Avg merge
2d 16h
Merged PRs (30d)
95

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coco-research/coco

All issues in coco-research/coco

Similar issues

More DevTools issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.