spec template: list each caller of a changed public item, and read a file before a spec states its contents

オープン 初心者向け
#79 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

next

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.

  1. 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.
  2. 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-targets for 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 --check and the test commands of AGENTS.md. This change needs an independent review (AGENTS.md).
主要言語
Python
スター
0
フォーク
0
平均マージ
29分
マージ済み PR(30日)
57

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

j3ko/agent-plugins のほかの issue

j3ko/agent-plugins の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。