Skip to content

cross-review: 書き込みの担い手とテストの前提が作業文書にしか無い → 確定仕様で読める(確定仕様 G5 / #730 #583 #678) - #805

Merged
takemi-ohama merged 3 commits into
developfrom
docs/spec-730-583-writes-to-conductor
Sep 22, 2026
Merged

takemi-ohama merged 3 commits into
developfrom
docs/spec-730-583-writes-to-conductor

Conversation

@takemi-ohama

Copy link
Copy Markdown
Contributor

Summary

マイルストーン 13「agy の打ち切りと止まらない収束ループ」の確定仕様化の最後の PR。束 G5(#730 #583、PR #801)と #678(PR #797)の設計・要求を、現在のコードと一致する確定仕様として docs/specifications/ に置き、まとまりの作業文書(束 G1〜G6 の設計・要求・契約・計画・改修計画 26 本)を消す。

変えたもの 中身
docs/specifications/cross-review-writes-to-conductor.md(新設 413 行) GitHub と git へ書くのはレビューを回す側だけであること、指摘の取り込み・修正の取り込み・単独の修正の口、二度書かない照合(そのラウンドの開始時刻より後のレビューに限る)、途中で止まったときの立て直し、状態ファイルの鍵、テスト観点
docs/specifications/test-monitor-env-isolation.md(新設 72 行) テストの実行中は監視の環境変数(接頭辞 MONITOR_)を共通の前提で外すこと
docs/specifications/README.md 表に 2 行
docs/specifications/cross-review-evidence-based.md 担当の申告件数を GitHub の実数と突き合わせる、という #801 で無くなった処理の記述 2 段落を現在のコードに合わせ、新しい仕様へリンク
issues/ 束 G1〜G6 の作業文書 26 本を削除。消した文書を指していた #662 / #598 の記録のリンクを確定仕様へ差し替え

既存の確定仕様(起動 1 回の結末 / 証拠ベースのレビュー / 参加者と席 / 適用の取り込み / cross-refactoring の参加者)とは重複させず、リンクで渡している。

Refs #730 #583 #678

Test plan

  • python3 scripts/check-markdown-links.py → exit=0
  • python3 scripts/check-doc-line-limit.py --root . / check-doc-staleness.py / check-cross-skill-refs.py / check-skill-frontmatter.py → exit=0
  • python3 plugins/ndf/scripts/instructions-check.py --root . → exit=0
  • bash scripts/build-runtime-plugins.sh --check → exit=0
  • uv run --with pytest pytest scripts/tests -q → exit=0(538 passed)

文書の検査

document-restructuring の測定と markdown-writing のセルフチェック 6 種を、新しく書いた確定仕様 2 本に対して実行した。「前」は入力にした作業文書(設計・要求・計画)の値である。数え方は document-restructuringreferences/lang-japanese.md に従う(表とコードブロックは文長の集計から外す)。

測定(前後の値)

#730 #583docs/specifications/cross-review-writes-to-conductor.md

指標 前: 設計 前: 要求 前: 計画
結論が定義される位置 3 行目(目的) 3 行目(目的) 3 行目(関連リンク) 3 行目(目的)
平均文長 32.0 字 39.8 字 35.6 字 27.8 字
最長文 114 字 288 字 184 字 105 字(H1)
章の数(## 17 14 14 9
章あたりの最大行数 115 行 79 行 60 行 230 行(「仕様」。節 ### の最大は 30 行)
行数 446 246 185 413(3 本の合計 877 から減)

#678docs/specifications/test-monitor-env-isolation.md

指標 前: 要求
結論が定義される位置 3 行目(目的) 3 行目(目的)
平均文長 36.3 字 27.8 字
最長文 91 字(H1) 104 字(H1)
章の数(## 7 6
章あたりの最大行数 24 行 24 行
行数 89 72

目安を超えた項目:

行数の増減: 3 本の作業文書 877 行を 413 行へまとめた。開発の経緯・受け入れ条件の番号・タスク分解・並行する設計との申し送り・依頼の原文を落とし、受け入れ条件はテスト観点の表へ言い換えた。

測れなかった指標: なし

セルフチェック(markdown-writing

検査 writes-to-conductor test-monitor-env-isolation 扱い
識別子と略語の混入 35 行 3 行 すべて表・コードブロック・業務用語に添えた括弧書き。説明文の主語・目的語には置いていない
検討痕跡・変更履歴の混入 0 件 0 件
強い否定語 0 件 0 件
過剰な装飾語 0 件 0 件
根拠の曖昧な断定 0 件 0 件
多義語(5 回以上) 0 語 「環境」13 回 12 回は複合語「環境変数」で指す対象が一意。残り 1 回は「テストの実行環境」で、利用者のシェルを指す。書き換えない

既存の確定仕様 cross-review-evidence-based.md の 2 段落(指摘の構造化の節)は、担当が投稿していた頃の件数の突き合わせを書いていたため、現在のコードに合わせて書き直し、新しい確定仕様へのリンクを添えた。

🤖 Generated with Claude Code

takemi-ohama and others added 2 commits September 22, 2026 14:03
- GitHub と git への書き込みをレビューを回す側だけが行う仕様を
  docs/specifications/cross-review-writes-to-conductor.md に置いた
- テストの実行中に監視の環境変数を外す共通の前提の仕様を
  docs/specifications/test-monitor-env-isolation.md に置いた
- 証拠ベースのレビューの仕様のうち、件数の突き合わせを書いていた段落を現在のコードに合わせた
- マイルストーン 13 の束 G1〜G6 の作業文書 26 本を削除し、#662 の文書に残るリンクを確定仕様へ差し替えた

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 1 | codex | REQUEST_CHANGES

監視上限の解決順を現行実装どおりに補完してください。

Comment thread docs/specifications/test-monitor-env-isolation.md Outdated

@takemi-ohama takemi-ohama left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 cross-review | round 1 | kiro | APPROVE

確定仕様への転記と削除済み issues/ 文書へのリンク差し替えを検証した。新規仕様 cross-review-writes-to-conductor.md は result_posts.py の公開 5 関数・fix 部分命令の出力形・state.py の状態鍵(intent / posted_as / comments / review_url / queued / posted_inline / posted_body / started_at / summary_comment_url)・終了コード 8 を 7 より先に見る順・REVIEW_HEAD 形・pending/ の待ち行列・prior_review_url を作らない点まで実コードと一致していた。test-monitor-env-isolation.md も conftest.py(MONITOR_ 接頭辞での pop、pytest_configure/pytest_unconfigure)と空の pytest.ini、scripts/tests/test_root_conftest.py と一致する。削除した 26 個の issues/ 文書への参照は repo 内の生存ファイルに残っていない。全リンク先も実在する。修正を要する不整合は見つからなかった。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@takemi-ohama

Copy link
Copy Markdown
Contributor Author

🔧 /ndf:fix サマリ | commit 1163f4f

対応件数: critical=0 / major=0 / minor=1(合計 1 件)
決着: 1 件 / 見送り: 0 件 / 却下: 0 件
CI: NONE

@takemi-ohama

Copy link
Copy Markdown
Contributor Author

cross-review の結果

  • 最終ステータス: approved(1 ラウンド / PR 1 本。母集合 codex / agy / kiro、使える者 codex / kiro、agy は --exclude で外した)
  • ラウンド 1: codex=REQUEST_CHANGES(minor 1 件: 上限の解決順に明示引数が抜けている。kiro の反証は支持)/ kiro=APPROVE
  • 最終スイープ: 1 件を修正(1163f4fd)、未解決の指摘 0 件(GitHub 側で確認済み)
  • 検証: check-markdown-links / check-doc-line-limit / pytest scripts/tests(538 passed)すべて exit=0、CI 15 件 pass

@takemi-ohama
takemi-ohama merged commit 5c90c49 into develop Sep 22, 2026
15 checks passed
@takemi-ohama
takemi-ohama deleted the docs/spec-730-583-writes-to-conductor branch September 22, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant