Repository navigation
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: "#2155"
goal_ref: "run-experiment orchestrator が reliability_evidence input を配線し、Reliability track (#2155 Phase 7) のblockerを解消する"
change_kind: codeParent Issue
Parent Goal Ref
- Goal: 検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 は M5 delivery close verification として、Start Conditions step 3 (publication wiring preflight)・Phase 3 (blocks=1)・Phase 7 (Reliability V1 close-grade) を含む Reliability track 全体の close-grade 実CI証跡を確認することを目的とする。
- Desired Destination:
run-experimentorchestrator が dispatch する workflow run に reliability evidence artifact が確実に付与され、reliability-assessmentjob が実行可能な状態になること。
Current Validated Scope
scripts/ci/collect_e2e_performance_benchmark.pyのrun-experimentサブコマンド関連関数(dispatch_workflow_run/run_bounded_experiment/execute_bounded_experiment_to_manifest_v2/parse_run_experiment_args/main_run_experiment)にreliability_evidenceフラグを追加配線する。- 対応する unit test を
scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.pyに追加する。
Remaining Parent Gaps
- 本 Issue 完了後の 44-run(blocks=22)本実行そのものは別途 検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 側で継続する(本 Issue のスコープ外)。
-
reliability-assessmentjob のロジック検証・改善が必要になった場合は別 Issue とする。
Outcome
scripts/ci/collect_e2e_performance_benchmark.py の run-experiment サブコマンドに --reliability-evidence フラグが追加され、指定時のみ dispatch される inputs dict に reliability_evidence: "true" が含まれるようコードが変更され、対応する unit test が追加されて uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -q が全件 PASS している状態。
Runtime Verification Applicability
- decision: not_applicable
- reason: 本 Issue は CLI フラグ配線と unit test 追加のみで完結する静的変更であり、live workflow_dispatch の実行検証は Verification Commands のスコープ外(過去の 検証: #2119 AC9/AC10 の close-grade 実CI証跡を確認する #2155 再実行時に別途確認する)
In Scope
dispatch_workflow_run()にreliability_evidence: bool = Falseパラメータを追加し、true 時のみinputs["reliability_evidence"] = "true"をセットするrun_bounded_experiment()とexecute_bounded_experiment_to_manifest_v2()に同名パラメータを追加し、dispatch_workflow_run()呼び出しへ伝播するparse_run_experiment_args()に--reliability-evidence(action="store_true",default=False)を追加するmain_run_experiment()でargs.reliability_evidenceをexecute_bounded_experiment_to_manifest_v2()へ渡す- AC1〜AC4をカバーする focused unit test を新規または既存拡張で追加する
Out of Scope
.github/workflows/ci.yml側のreliability_evidenceinput 仕様自体の変更(実装: 実CI raw attemptsからReliability V1 close evidenceをproduction生成する #2424 で実装済み、変更不要)reliability-assessmentjob 本体のロジック変更- 44-run(blocks=22)の実行そのもの(本 Issue は CLI オプション配線のみ)
- 既存の Performance-only 用途(
reliability_evidence指定なし)のデフォルト挙動変更
Acceptance Criteria
- AC1:
dispatch_workflow_run(..., reliability_evidence=True)を呼んだ際、dispatch されるinputsdict に"reliability_evidence": "true"が含まれる - AC2:
dispatch_workflow_run(..., reliability_evidence=False)(またはデフォルト、引数省略)を呼んだ際、dispatch されるinputsdict は既存の4キー(benchmark_layout,target_sha,block_id,experiment_id)のみで、reliability_evidenceキーを含まない(既存挙動の完全な後方互換) - AC3:
run_bounded_experiment()/execute_bounded_experiment_to_manifest_v2()のreliability_evidenceパラメータがdispatch_workflow_run()に正しく伝播する(unit test で検証) - AC4:
parse_run_experiment_args(["--reliability-evidence", ...])がargs.reliability_evidence == Trueを返す。省略時はFalse - AC5: 既存の
test_dispatch_workflow_run_sends_target_sha_not_frozen_source_sha_key等、既存の inputs dict 構造に依存する既存テストが変更なしで引き続き PASS する(後方互換性の regression 確認)
Verification Commands
# AC1
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k reliability_evidence_true -q
# AC2
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k dispatch_workflow_run_sends_target_sha_not_frozen_source_sha_key -q
# AC3
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k reliability_evidence_propagat -q
# AC4
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -k parse_run_experiment_args_reliability_evidence -q
# AC5
$ uv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -qAllowed Paths
- scripts/ci/collect_e2e_performance_benchmark.py
- scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
Required Skills
なし
Required Design References
- docs/dev/current-focus.md
Scope Delta(任意)
N/A
Notes for Reviewer
-
Scope Collision (C1) advisory: overlap preflight は 実装: playtest-log の JSON Schema / validator の追加 #420 / 実装: .claude/skills 配下スクリプトの executable bit を監査し CI guard を追加する #205 の Allowed Paths と
scripts/ci/collect_e2e_performance_benchmark.py/ 対応テストファイルの重複を報告したが、実装: playtest-log の JSON Schema / validator の追加 #420・実装: .claude/skills 配下スクリプトの executable bit を監査し CI guard を追加する #205 はいずれもscriptsを broad path として宣言しているのみで、実際にscripts/ci/collect_e2e_performance_benchmark.pyを編集対象として明記していない false positive(導入: AIエージェント運用をminimal harnessへ縮退し、過剰なcontrol-planeを廃止する #1860 Owner Decision により起票停止理由にしない)。 -
current main
d820c141c4b69dedbf98e1b84637dfbfbfa0c9f8でrun-experimentを実行して monolith run 34233288265・split run 34233291358(両方 conclusion=success)を確認したが、gh api repos/squne121/loop-protocol/actions/runs/<run_id>/artifacts --jq '.artifacts[].name'でci-reliability-prefix の artifact が0件であることを確認済み(このIssueのProblem根拠)。 -
背景 Issue: 実装: frozen E2E benchmark を layout A/B/A/B dispatch 契約へ置換する #2422(run-experiment orchestrator, CLOSED/COMPLETED), 実装: 実CI raw attemptsからReliability V1 close evidenceをproduction生成する #2424(reliability_evidence input, CLOSED/COMPLETED)
Activity
squne121 commentedon Sep 8, 2026
implement-issue: 実装完了 (2026-09-08T14:00:57Z)
.claude/worktrees/issue-2585-reliability-evidence-dispatch-wiringworktree-issue-2585-reliability-evidence-dispatch-wiringuv run pytest scripts/ci/tests/e2e_performance_benchmark/test_collect_e2e_performance_benchmark.py -q→ 113 passed)feat: run-experiment に reliability_evidence input 配線を追加する (#2585) (#2586