Codex routine preflight ignores project-level Inbox MCP registration
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- backend
调研方向
从 packages/server/inbox-launch-codex.ts 中第 661-695 行附近的 Codex preflight 开始,其中 available() 只读取选定的 CODEX_HOME/config.toml,并将其与已经传入起始目录的 availableIn(host, [startsIn]) 调用进行比较。跟踪仓库中其他代码如何为起始目录解析受信任的项目配置,以便复用该逻辑而不是再次解析。完成的样子是:一个以某项目为根、而 plannotator-inbox 仅存在于该项目 .codex/config.toml 中的例程通过 preflight,而一个在两个配置中都没有注册的目录仍然失败;在现有 launch-codex 测试旁边用测试覆盖这两种情况。
由索引模型根据 Issue 内容生成。
描述
Scheduled routines with agent codex fail before launch when the Inbox MCP server is registered only in the project's .codex/config.toml (trusted project), not in ~/.codex/config.toml.
Error in the routine thread:
Codex can't be started here: Plannotator's Inbox is not connected to Codex (Settings → Agents).
Codex itself loads mcp_servers from trusted project config, so the session would have the Inbox tools. The preflight in v0.29.3 only reads the selected CODEX_HOME/config.toml: availableIn(host, [startsIn]) passes the start directory, but the Codex available() ignores it.
https://github.com/backnotprop/plannotator/blob/v0.29.3/packages/server/inbox-launch-codex.ts#L661-L695
We keep the registration project-scoped on purpose so ordinary Codex sessions sharing the same home do not get Inbox tools. Registering it globally via Settings → Agents would break that.
Ask: when a routine has a start directory, let the Codex preflight also accept a plannotator-inbox entry in that directory's trusted project .codex/config.toml.
Env: Plannotator 0.29.3, Codex CLI 0.171.0, macOS arm64.
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 649
- 平均合并
- 14 小时 26 分钟
- 30 天内合并 PR
- 772
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
backnotprop/plannotator 的其他 Issue
-
Inbox permission: an allow sent with `updatedInput` is ignored by Claude Code on its own safety checks可能已有人在做 @Raj1v 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#4046 ·
维护者通常 1 天内回复
-
Code review: binary paths containing ` b/` are truncated and misclassified as renames可能已有人在做 @Guihakka2 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
backnotprop/plannotator#3936 ·
维护者通常 1 天内回复
-
PR description is hidden when a PR review opens on a phone可能已有人在做 @flipcyde101 于 6 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
backnotprop/plannotator#3667 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
backnotprop/plannotator#2643 · 1 个 reaction ·
维护者通常 1 天内回复
-
Annotate documentation omits per-file version history and privacy controls可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#1086 · 2 条评论 ·
维护者通常 1 天内回复
查看 backnotprop/plannotator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
siyuan-note/siyuan#21692 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
GetStream/stream-chat-react#3467 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
resend/resend-node#1206 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
cloudflare/cloudflare-typescript#2821 ·