fix(cli): codex profile maps commands to .codex/commands, which Codex never reads
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 79/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
阅读 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/$3mapping,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 小时
- 30 天内合并 PR
- 91
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ai-driven-dev/framework 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
ai-driven-dev/framework#1311 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
ai-driven-dev/framework#1197 ·
维护者通常 1 天内回复
-
refactor(aidd-context): apply the new skill template to learn可能已有人在做 @blafourcade 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
ai-driven-dev/framework#1186 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
ai-driven-dev/framework#1163 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
ai-driven-dev/framework#1162 ·
维护者通常 1 天内回复
查看 ai-driven-dev/framework 的全部 Issue
相似的 Issue
-
bug impact:low Team: SecuritySolution Team:Defend Workflows v9.6.0
难度 2/5 1-3 小时 新手友好度 72/100
elastic/kibana#306401 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
agentes-chat/agentes-chat#927 ·
维护者通常 1 天内回复
-
comp/desktop P2 type/bug
难度 2/5 1-3 小时 新手友好度 78/100
NousResearch/hermes-agent#157702 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
e2e-failure ready-to-code
难度 1/5 1 小时以内 新手友好度 72/100
redhat-developer/rhdh-plugin-export-overlays#4794 · 1 条评论 ·
维护者通常 1 天内回复