spec template: a fix-up round updates the PR body

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
75/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
markdown, python

調査の方向性

shared/dev-team/skills/orchestrate/references/spec-template.mdを読み、「For a fix-up round」セクションを確認してください。次に、issueの指示どおり、references/cross-host.mdの権限のデフォルトを確認します。テンプレートとデフォルトを更新し、fix-up仕様が、指定されたPRの本文のみを更新すること(ラウンドとチェックを含む)を対象とするようにしてください。PR編集コマンドが存在しない場合は、本文をレポートの出力先の隣に置きます。python3 scripts/build.py --checkとAGENTS.mdに記載されたテストを実行し、必要な独立レビューを手配してください。

索引モデルが issue の本文から書いたものです。

説明

next

Problem

The fix-up section of the spec template (references/spec-template.md, "For a fix-up round") lists only the PR, the findings and the items not to change. It does not say whether the implementer updates the PR body after the fix. The orchestrator wrote the permissions of each fix-up spec by hand, and they were not the same each time:

  • One fix-up spec allowed the project's PR-edit command (<project PR script> --edit <N> <body.md>) and told the implementer to keep the rest of the body. The implementer updated the body.
  • Two later fix-up specs in the same session (2026-12-01) allowed only read-only tracker API calls. Each implementer wrote an updated body file. The first wrote it to a temporary directory outside the scratchpad that the spec named. Each reported "PR body update awaits the main session". The orchestrator then compared the file with the live body and applied it by hand.

The PR body is the record of the review rounds: what each fix changed, and the tests that fail without it. If the body is not updated, the owner can merge a PR whose body describes an earlier head.

Proposed change

In shared/dev-team/skills/orchestrate/references/spec-template.md, "For a fix-up round", add one item: the implementer updates the PR body for the fix. It adds the round (the finding, the fix and the test that fails without it), updates the checks to the new head, and keeps the rest of the body. It uses the project's PR-edit command. If the project gives none, it writes the body to the report destination's directory and states this in the report.

Then check the related permission defaults in references/cross-host.md (grep -n 'Default Codex permissions' -A20 cross-host.md). An implementer that may open a PR may also need to edit that PR's body. Make sure that the defaults allow this for the PR that the spec names only.

Acceptance

  • The fix-up section names the PR-body update. A fix-up spec made from the template needs no hand-written permission for it.
  • 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 を短くまとめたダイジェスト。