Skip to content

#2104 を実装する(スプリント m2087) - #2150

Merged
takemi-ohama merged 5 commits into
sprint/m2087from
feat/issue-2104-m2087
Oct 25, 2026
Merged

takemi-ohama merged 5 commits into
sprint/m2087from
feat/issue-2104-m2087

Conversation

@takemi-ohama

Copy link
Copy Markdown
Contributor

昇格の承認の後に行うマージで、承認ゲート 2 の承認資料の先端と照合するようにしました(#2104)。あわせて promote の用意と照合の引数を merged_lib/merge.py へ寄せ、pace.md と確定仕様にこの照合を書きました。

利用者向けの変化

  • ndf: 昇格の承認の後のマージで、承認ゲート 2 の承認資料の先端と照合する
  • ndf: 照合に使う承認資料は --approved-from で渡す

移行の手順

  • 無し

変更の要点

  • plugins/ndf/scripts/merged_lib/merge.py: 昇格の承認の後のマージで、承認ゲート 2 の承認資料の先端と照合する処理を足した。promote の用意と照合の引数もここへ寄せた。
  • plugins/ndf/scripts/merged-steps.py: 引数の処理を merged_lib/merge.py へ移し、500 行に収めた。
  • plugins/ndf/scripts/merged_lib/checks.py と plugins/ndf/scripts/supervise_lib/delivery_templates.py: 照合の追加に合わせて直した。
  • docs/specifications/ndf-release-approved-commit.md と plugins/ndf/skills/development-workflow/references/pace.md: 昇格の承認の後の照合を書いた。
  • docs/specifications/README.md: 確定仕様の索引に、昇格の承認の後の照合(--approved-from)を足した。
  • 変更は 9 ファイルで、241 行を足し 39 行を消した。

テスト

supervise.py の run のステップはすべて exit 0 で終わりました。

ステップ 結果
base-sync ベースブランチ sprint/m2087 は進んでいない
format 整形 1 本が通った(変わったファイルは無い)
sync 同期とチェック 5 本が通った
lint-limited 範囲テスト 2 本が通った(6.4 秒、戦略 local-scoped-ci-whole)
test-limited 範囲テスト 1 本が通った(575.1 秒、戦略 local-scoped-ci-whole)
design-tests 設計文書 issues/issue-2104-design.md に名前の出るテスト 2 件がすべて HEAD にある
design-specs 変えたパス 8・シンボル 27 を含む既存の確定仕様と変更履歴 8 件を照合した

テストには test_sprint_close_merge_green.py と test_supervise_pace_verify.py への追加と修正が含まれます。

設計と違う点

  • 無し

モード: standard / 通した工程: 実装 → 完了判定 → Pull Request

🤖 Generated with Claude Code

takemi-ohama and others added 5 commits October 25, 2026 11:46
normal の promote は承認ゲート 2 で止まるときに昇格の PR の先端を「承認したコミット」として
承認資料と metrics.approved_sha に載せる。promote-approved は --approved-from の資料の SHA と
先端を照合し、違えば head_moved で止まって承認ゲート 2 からのやり直しを next に示す。
資料を読めないときと、--gate-approved user に資料が無いときは gh を呼ばずに 2 で止まる。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s.py を 500 行に収める(#2104)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@takemi-ohama
takemi-ohama marked this pull request as ready for review October 25, 2026 12:32
@takemi-ohama
takemi-ohama merged commit 6cf64b2 into sprint/m2087 Oct 25, 2026
23 checks passed
@takemi-ohama
takemi-ohama deleted the feat/issue-2104-m2087 branch October 25, 2026 12:44
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