Import `project_doc_fallback_filenames` from the reviewed checkout
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, typescript
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
Start with the setup step that handles $GITHUB_WORKSPACE/.codex/config.toml and $CODEX_HOME/config.toml, and see how codex-config is currently merged. Add a narrow import that copies only project_doc_fallback_filenames, validated as an array of filenames, and skips it when the key is already defined, including an explicit []. Done means fresh, resumed, and forked sessions read the fallback, and a checkout that defines mcp_servers still starts none of its servers. This touches the trust boundary, so get maintainer review before merging.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Codex 0.169.0 treats the reviewed checkout as untrusted, so it skips the checkout's .codex/config.toml. That is the right default for mcp_servers, hooks, and other executable settings, but it also drops project_doc_fallback_filenames, which is just data. A repository that keeps its instructions in CLAUDE.md and selects it through that fallback now gets no project docs during review.
Reproduced on 0.169.0 in an untrusted directory whose .codex/config.toml sets project_doc_fallback_filenames = ["CLAUDE.md"]:
codex exec --dangerously-bypass-approvals-and-sandbox ...printswarning: Untrusted project-local configuration is disabledand does not read the fallback.codex exec -c 'project_doc_fallback_filenames=["CLAUDE.md"]' ...does read it, while the checkout's MCP command and Stop hook stay disabled.
Proposed fix: during setup, parse $GITHUB_WORKSPACE/.codex/config.toml, accept only an array of valid filenames, and prepend that key to $CODEX_HOME/config.toml when codex-config does not already define it (an explicit [] counts as defined). Import only this key. Keep mcp_servers, hooks, model settings, and every other executable setting disabled.
Acceptance: fresh, resumed, and forked sessions all see the fallback; a checkout that defines an MCP server still does not start it.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 1 giờ 39 phút
- Pull request đã merge (30 ngày)
- 84
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của promplate/code-review
-
Stop retrying permanent GitHub API failures in retry.shCó thể đã có người làm @muspi-merol-review đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
promplate/code-review#113 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Configure a git identity before the review agent runsCó thể đã có người làm @muspi-merol-review đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 1/100
promplate/code-review#112 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Put the installed codex binary on PATH for review agentsCó thể đã có người làm @muspi-merol-review đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
promplate/code-review#111 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Document Issues write as required for reactions, not just issuesCó thể đã có người làm @muspi-merol-review đã nhận hôm nay. Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 25/100
promplate/code-review#100 · 2 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
wait-ci.sh never receives the token it excludes sibling runs withCó thể đã có người làm @muspi-merol-review đã nhận hôm nay. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
promplate/code-review#98 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của promplate/code-review
Issue tương tự
-
ix-toast (5.3): the status icon has `role="img"` and no accessible name (axe `role-img-alt`)Đang mởtriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
サムネイルの Storage のバケット(`thumbnails`)に、大きさの上限(1 MiB)と許可する種類(JPEG、PNG、WebP)を設定するCó thể đã có người làm @ykzts đã nhận hôm nay. Đang mởtech: supabase
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
inabagumi/shinju-date#7147 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
elecnix/your-attention#129 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
umami-software/umami#4780 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
celo-org/social-connect#487 ·
Maintainer thường phản hồi trong vòng 1 ngày