fix(cli): codex profile maps commands to .codex/commands, which Codex never reads

オープン 初心者向け
#1,244 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
79/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
cli, tooling

調査の方向性

cli/src/contexts/tools/domain/profiles/codex/profile.tsを読み、コマンドがすでにサポートされていないcli/src/contexts/tools/domain/profiles/codex/build.tsとインストール機能を比較してください。Codexプロファイルを更新し、一覧にあるコマンド、コンテンツ、プロファイルのユニットテストでマッピングの期待値を調整してください。インストール時にコマンド機能が告知も書き込みもされず、検出にCodexが作成するパスが使われ、Codexプロファイルのテストが通れば完了です。

索引モデルが issue の本文から書いたものです。

説明

Description

The Codex install profile declares a commands capability that writes to .codex/commands/aidd/<phase>/<name>.codex.md, and uses .codex/commands as its signalDir. Codex CLI reads no project command directory: custom prompts live only in ~/.codex/prompts/, and they are deprecated in favour of skills (docs).

The build side already agrees: cli/src/contexts/tools/domain/profiles/codex/build.ts sets commands: { supported: false } in both build modes. The two layers contradict each other.

Affected file(s)
  • cli/src/contexts/tools/domain/profiles/codex/profile.ts (commands: new CommandsCapability(...), the .codex/commands/aidd/$2/$3 mapping, signalDir)
  • cli/tests/contexts/tools/domain/profiles/codex/{commands,content,profile}.unit.test.ts, which pin that mapping
Expected behaviour

Codex has no commands capability on install, like Antigravity. Detection relies on a path Codex actually creates (.codex/, AGENTS.md is not a signal).

Observed behaviour

Any command a plugin ships would be installed into .codex/commands/, where Codex never loads it. No plugin ships a command today (find plugins -path "*/commands/*" -name "*.md" returns 0), so this is dead code now and a silent no-op later.

AI tool

Codex CLI

Additional context

Found while rebuilding 07-command-generate (#1243), whose writer refuses codex for the same reason.

主要言語
TypeScript
スター
481
フォーク
45
平均マージ
1日 13時間
マージ済み PR(30日)
91

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ai-driven-dev/framework のほかの issue

ai-driven-dev/framework の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。