Repository navigation
Conversation
…ewers The Codex reviewer now launches with project_doc_max_bytes=0, so the reviewed head's AGENTS.md and AGENTS.override.md are not loaded, and with a skills.config entry disabling every skill under the checkout's .agents/skills and .codex/skills. The PR controls both surfaces; they now reach the reviewer only as evidence. ARCHITECTURE.md and CONTRACT.md state which instruction surfaces each reviewer loads. Closes #1107 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
loopzero primary review by codex on c3d060d8995fc41bbb6fcb442f7066a8cca3fac4, 51.7s: request_changes (1 critical, 2 important, 0 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: 3ef17a40309408ea82c4d14cd06331bd789de013736630b3b280d8f9f8818b71
A skill directory under the reviewed checkout that links outside it is now rejected before anything behind the link is scanned, and a disable list too large for one process argument fails as a runner error, so neither can leave a PR-selected skill enabled or crash the launch. Refs #1107 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
loopzero delta review by codex on 6b8e883296ce764aa7c7f4061e52ae7d1df0740e, 31.7s: request_changes (0 critical, 3 important, 0 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model gpt-6.2-astra (effort medium); CLI-reported model gpt-6.2-astra (effort medium); configured model gpt-6.2-astra (effort medium)
Raw reviewer output
Native Codex transcript retained in the restricted local review receipt; public evidence is publisher-derived, not backend attestation. Exact raw SHA256: fdebc324cab3727901a6e7beb98283f808aa2a11c87d95b340df5d56fbfc8405
The repository skill list is now computed before the Codex version and help probes run, and any error while listing skills, including symlink loops and paths that cannot be encoded as UTF-8, fails the attempt as a runner error so the next reviewer family is tried. Refs #1107 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Parked. Head dcffe16 carries repair commits after the second (delta) review, so it has no covering review; the contract puts it in a new PR. It also needs a merge of current main, and its tests add lines against the 13,500 test-line cap that main has nearly reached. Next: once the test cap is raised, create a replacement branch from dcffe16, merge origin/main, |
|
Superseded by #1432, which carries this change plus the repairs made after this PR's second (delta) review, merged with current main, for a fresh review. Findings and dispositions stay recorded in this PR's threads. |
Keep the reviewed head's instruction files and skills away from Codex reviewers
Context and goal
AGENTS.md(orAGENTS.override.md) as instructions and lists the skills under.agents/skillsand.codex/skills; a$namemention in the prompt, which carries PR text, also injects a skill's full body. The PR controls all of these files.project_doc_max_bytes=0turns project docs off. Codex has no switch that turns repository skills off as a group: itsskills.configlist disables individual skills by exactSKILL.mdpath or name. The Claude reviewer already runs with--setting-sources "", which keeps project settings andCLAUDE.mdout.Closes #1107
Acceptance
AGENTS.md,AGENTS.override.md,.agents/skills/*/SKILL.mdand.codex/skills/*/SKILL.mdleaves none of that text in the session rollout, including when the prompt mentions those skills by name (verified against the pinned Codex 0.167.0 and the current 0.170.0).project_doc_max_bytes=0and askills.configentry disabling everySKILL.mdunder the checkout's.agents/skillsand.codex/skills, including nested and symlinked skills. A skill directory linking outside the checkout fails the attempt before anything behind the link is scanned and before Codex starts, and so does a disable list too large for one process argument; both fail as an ordinary runner failure, so the next reviewer family is tried. The runner argv test asserts this; the existing Claude argv test still asserts--setting-sources "".Notes
codex debug prompt-inputand livecodex execsession rollouts): without options, AGENTS.override.md text and both skill descriptions appear;project_doc_max_bytes=0removes the project doc only;skills.include_instructions=falsehides the skill list but a$namemention still injected the skill body into the rollout; per-pathskills.configentries (link path or target path both match) removed every planted string from a live 0.167.0 rollout even with mentions. Codex ignored the head's.codex/config.toml(untrusted project) and did not discover skills under.claude/skills,.github/skills,skills/or nested.agents/skillsbelow the root.tests/test_runners.py::test_codex_ignores_repository_instructions_and_skillsfails on pre-fix source (noproject_doc_max_bytes=0) and passes after.--version,exec --help) runs; enumeration errors such as a symlink loop, and skill paths that cannot be encoded as UTF-8, now fail as runner errors (family fallback) instead of escaping. Tests log every fake Codex call and fail at the delta-reviewed head. This was the last review round under the budget.Base
main @ 5137bf0
Base: 5137bf0
Validation
Recorded for
dcffe163a90auv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Review