/codex: the filesystem boundary's bare `agents/` makes Codex skip a repository's own agents/ folder
メンテナーはふだん 1 日以内に返信
@indraoverflow がすでに取り組んでいます。
2026年11月5日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- markdown
- 領域
- devtools
調査の方向性
codex/SKILL.md の「Filesystem Boundary」セクションから始めてください。このセクションでは、プロンプトのテキストが保護対象のパスを列挙しており、そこに素の agents/ という項目が含まれています。その境界テキストが各 codex exec プロンプトにどのように挿入されているかを確認します。項目が正確なインストールパス(~/.claude/skills/、~/.agents/、.claude/skills/、agents/openai.yaml)だけを指しているか、またはレビュー対象リポジトリ自身のフォルダが読み取り可能であるとテキストに明記されていれば完了です。さらに、差分に agents/ の変更を含むテストプロンプトでそれを確認してください。
索引モデルが issue の本文から書いたものです。
説明
What happens
The filesystem boundary that /codex puts in front of every codex exec prompt (codex/SKILL.md, "Filesystem Boundary") reads:
IMPORTANT: Do NOT read or execute any files under ~/.claude/, ~/.agents/, .claude/skills/, or agents/. ...
The first three entries are the skill install paths. The last one, agents/, is relative to the repository, so it also matches a repository's own agents/ folder when that folder is reviewed code (for example a repo that keeps agent prompt files in agents/ and tests them).
Seen on v1.91.162.0 (the text is unchanged in v1.91.350.0), Codex consult mode, reviewing a diff that changed agents/planner.md:
- Codex left the changed
agents/planner.mdout of its review. - It wrapped the repo's documentation test suites in a read guard, and the suites that read
agents/were blocked (4 of 12 in one run; 3 of 3 that read it in a later run whose diff didn't touchagents/at all). - Its verdict was "Can't verify".
It isn't consistent: an earlier run in the same session, with the same boundary, ran all 12 suites. The workaround is one extra sentence in the task text saying the repository's agents/ folder is reviewed code and may be read.
Expected
The boundary keeps Codex out of skill definitions without hiding repository content that happens to share the folder name.
Suggestion
Name the exact install paths the boundary protects (~/.claude/skills/, ~/.agents/, .claude/skills/, and the generated agents/openai.yaml it already names), not a bare agents/. Or add a sentence saying the reviewed repository's own folders are always readable. A test prompt for a repo with an agents/ folder in its diff would pin it.
- 主要言語
- TypeScript
- スター
- 139k
- フォーク
- 20.6k
- 平均マージ
- 10時間 12分
- マージ済み PR(30日)
- 655
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
garrytan/gstack のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
S3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
garrytan/gstack#3091 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
generic harness: the router description's `: ` makes SKILL.md invalid YAML, so strict loaders (Pi) drop the skill対応中かも @NekoCCN が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 24/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 24/100
メンテナーはふだん 1 日以内に返信
garrytan/gstack の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
backnotprop/plannotator#2914 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/vscode-containers#655 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · コメント 1 件 ·
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish step対応中かも @albertteoh が今日担当しました。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
jaegertracing/jaeger-ui#4739 ·
メンテナーはふだん 1 日以内に返信