spec template: list each caller of a changed public item, and read a file before a spec states its contents
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- markdown, python
调研方向
阅读 shared/dev-team/skills/orchestrate/references/spec-template.md 和 shared/dev-team/roles/implementer.md 第 3 节第 7 步中的实现者规则,避免重复其关于缺口和冲突的指导。更新模板,使每条规则只陈述一次:识别 workspace 中调用已更改公共项的代码,并且关于文件内容的说法应以在本次会话中读取这些文件为依据。使用 python3 scripts/build.py --check 和 AGENTS.md 中列出的测试命令检查结果;issue 表示需要进行独立审查。
由索引模型根据 Issue 内容生成。
描述
Problem
Two implementer dispatches in one session (2026-12-01) stopped as blocked. Each block came from an error in the orchestrator's spec, not in the work. Each one cost a full relaunch.
- A changed public item had callers outside "In scope". The spec changed a library trait method from synchronous to
async(fn event(&mut self, …) -> impl Future<Output = Result<(), Self::Error>> + Send). "In scope" named the library, its tests and the one app's source file that implements the trait. It did not name that app's two integration-test files, which call the method directly. The implementer could not make the workspace compile inside the scope. It stopped correctly and reported the block. The orchestrator then added a "Round 2" section that put the two test files in scope for a mechanical change only. - The spec stated what a file contained, without reading the file. A config spec said that an example config file had its live-trading tables active. In that file they were commented out. The spec's acceptance checks depended on this statement, so the implementer could not meet them as written. It stopped and reported the conflict. The orchestrator corrected the "Tests" section and launched again.
The spec template already has a rule for a statement about behavior: "write a statement about the behavior of a source, a library or an API only if you ran it" (references/spec-template.md, the paragraph before the template). It does not cover file contents or the callers of a changed item.
Proposed change
In shared/dev-team/skills/orchestrate/references/spec-template.md:
- "In scope": when the change alters the signature or behavior of a public item (a function, trait, type or command-line interface), list each caller in the workspace, tests included. Give the command that found them, for example
grep -rn '<name>' --include=*.rs, or a compile of all targets after a stub change (cargo check --workspace --all-targetsfor Rust). If a caller is out of scope on purpose, say so under "Out of scope". - Extend the existing rule about statements: a statement about the contents of a file, such as a config, a fixture or a generated file, comes from reading that file in this session. Otherwise, put the file under "Read" and let the implementer find the contents.
Make sure that the new text does not duplicate the implementer's rule for a gap or a conflict (shared/dev-team/roles/implementer.md, section 3, step 7). The implementer behaved correctly in both cases. The change is to the orchestrator's spec.
Acceptance
- The template states both rules once.
- Run
python3 scripts/build.py --checkand the test commands ofAGENTS.md. This change needs an independent review (AGENTS.md).
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 29 分钟
- 30 天内合并 PR
- 57
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
j3ko/agent-plugins 的其他 Issue
-
next
难度 2/5 1-3 小时 新手友好度 75/100
j3ko/agent-plugins#80 ·
维护者通常 1 天内回复
-
roles: cut the start-up reading of a Codex role (bootstrap lines, fix-up Read section, setup step)未关闭next
难度 4/5 3-5 天 新手友好度 45/100
j3ko/agent-plugins#81 ·
维护者通常 1 天内回复
-
next
难度 3/5 1-2 天 新手友好度 68/100
j3ko/agent-plugins#78 ·
维护者通常 1 天内回复
-
next
难度 4/5 3-5 天 新手友好度 56/100
j3ko/agent-plugins#77 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
j3ko/agent-plugins#76 ·
维护者通常 1 天内回复
查看 j3ko/agent-plugins 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
jxxghp/MoviePilot#7699 ·
维护者通常 1 天内回复
-
bug TAG: unit tests
难度 2/5 1-3 小时 新手友好度 65/100
learningequality/ricecooker#898 ·
-
bug:unconfirmed
难度 2/5 1-3 小时 新手友好度 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 82/100
BCStudentSoftwareDevTeam/cas#491 ·
维护者通常 8 天内回复
-
task
难度 2/5 1-3 小时 新手友好度 78/100
freelawproject/litigant-portal#1285 ·
维护者通常 2 天内回复