chore(agents): 按需加载指引与 RFC,并同步五个 Codex 子代理 - #128
Merged
Merged
Conversation
…okup Apply cumulative agent-guidance updates and connect all five .codex/agents roles to the shared task-scoped reading and delegation-context policy. Keep models, reasoning effort, sandbox permissions, thread count, existing RFC authority and canonical test/delivery rules unchanged. Validation: prior guidance patch static checks 14/14; role/configuration and cumulative-patch static checks 7/7. Remote tree blob SHAs match the locally validated 13 files. Full local gate and Codex runtime acceptance were not run: the execution container cannot resolve github.com and cannot clone the complete project. This is an explicitly requested isolated-branch upload through the GitHub connector, not a successful run of scripts/git_branch_upload.sh and not merge-ready acceptance. No main-branch update or merge is authorized.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更范围
按用户要求创建独立分支,累计落地此前 agent-guidance / RFC 按需加载调整,并补齐
.codex/agents/的五个角色文件。基线:f7a6161034d42dbdfa883c90a5819696822d2db0。共修改 13 个路径(12 个已有文件、1 个新增参考文档):
AGENTS.md:精简常驻指令,保留架构与安全边界;共享任务范围、角色职责与 Delegation context。CONTRIBUTING.md:RFC 按任务定位/按章节读取,保留必要的完整需求和验收覆盖;明确完成条件及阶段验收。.codex/config.toml:简化角色描述并指向共享职责和委派上下文。.codex/agents/{scout,mechanical_worker,test_author,verifier,reviewer}.toml:五个角色的developer_instructions均接入共享职责、任务范围、RFC lookup;不在角色文件复制长篇规范,不预加载 RFC 或索引。不改变的约束
模型仍全部为
gpt-6-astra;Reviewer 仍为high,其余为low。Scout/Reviewer 保持read-only,其余保持workspace-write;线程数仍为 4。没有新增配置键、提高权限、改变业务代码或 CI。CONTRIBUTING.md第 6、7 节最终门禁和交付政策逐字保留。RFC 按需读取不是禁止读取:指定 RFC 的实施/评审必须覆盖全部适用需求、迁移步骤、阶段检查点和验收标准;必要时通读。
Completed不代表失效,现有代码不能悄悄覆盖已批准且仍适用的契约。验证状态
./scripts/run_all_tests.sh、完整 CTest、真实 Codex CLI/VS Code 会话验收。当前执行容器git clone失败:Could not resolve host: github.com,无法取得完整 checkout 与依赖。本次依用户的直接分支更新请求通过 GitHub 连接器提交,并非成功执行了
scripts/git_branch_upload.sh。本 PR 保持 Draft 以触发现有 CI 并明确未完成的验收;静态检查不替代完整门禁,CI 即使通过也不代表真实 Codex 行为已经验收。没有修改门禁脚本或工作流来规避验证。用户未授权合并。请勿自动合并或直接更新 main。