Repository navigation
feat: cloud_pilot_success_result/v1 の checker/schema/negative fixture を実装する - #1371
Conversation
… を実装する (#1364) ADR 0005 (hybrid_reference_from_agent_run_report) が follow_up_issue_ref として 予約した cloud_pilot_success_result/v1 の schema / checker / negative fixture を 実装する。schema validation (Ajv 2020-12, unevaluatedProperties:false) と semantic checker (digest 再計算 / marker 制約 / gate evidence field-level 照合 / forbidden field 再帰 scan) を責務分離し、#1364 への OWNER 敵対的レビューが 指摘した 8 blocker (false-green 防止 / schema-semantic 分離 / digest canonicalization negative-equivalence fixture / YAML fail-closed / marker exactly-one 制約 / duplicate-stale-mismatch fixture / forbidden field 網羅性 / VC 診断性) にすべて対応する。正例 3 件・負例 26 件、合計 29 fixture を tests/fixtures/cloud-pilot-success-result/ に追加し、各負例 fixture 名と stable error code を it.each で 1:1 対応させた。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Preview URLPreview removed (PR #1371 closed). |
…_delta) PR Body Japanese Check (Check Japanese Content workflow) が29件の fixture ファイルで FAIL していたため、各 fixture のヘッダ見出しとマーカー行の直前に日本語の説明文を追加した。 checker (scripts/check-cloud-pilot-success-result.mjs) が参照する JSON payload / marker 行 / digest 値はバイト単位で変更していない。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
squne121
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Mergeability
- mergeable=MERGEABLE, merge_state_status=BEHIND (衝突ではなく base 追従待ちのため blocker 化しない)
Evidence Check
- AC coverage: Issue #1364 の AC1-AC20 に対応する fixture 名・error code が PR diff / test file と 1:1 一致 (invalid-.md 26件・valid-.md 3件、計29 fixture)。tests/cloud-pilot-success-result-check.test.ts の invalidFixtureTable を確認し、Issue VC セクション記載の fixture名/error code と完全一致を確認した。AC20 の it.each 1:1 対応も実装済み。
- Allowed Paths: gh api pulls/1371/files --paginate で 33 changed files (すべて added/modified、rename なし) を再取得し、docs/schemas/cloud-pilot-success-result.schema.json / scripts/check-cloud-pilot-success-result.mjs / tests/cloud-pilot-success-result-check.test.ts / tests/fixtures/cloud-pilot-success-result/** / package.json の Allowed Paths 内に全件収まることを review_subagent が独自に再計算した (status: ok)。
- CI Verification: ci_verdict_summary.py --expected-head-sha 06131cd で status: all_pass (typecheck/lint/test/build/e2e/python-test/actionlint/PR Body Japanese Check 含む全 required checks が head 一致で SUCCESS)。
- Contract fingerprint: Issue #1364 の現在の body を gh api repos//issues/1364 で取得し sha256 を再計算した結果 b7b9b5a9a175df28dd269c4fd67da23b6074d82e2422be3fb2931f11607b5fee となり、issue-contract-review go コメント (#1364 (comment)) の body_sha256 と完全一致 (stale ではない)。
- Schema Consumer Inventory: schema_change 判定・consumer 一覧 (checker / test / package.json script)・非破壊 (既存 consumer なし) の記載を確認した。
- Safety Claim Matrix: N/A 判定 (safety-sensitive path 不変更) は changed files と整合している。
- 検証コマンド結果: AC1-AC3 は test -f/test -d の個別結果を明記、AC4-AC20 は pnpm test (CI test job SUCCESS、新規 36 tests 含む) で担保されている。
Blockers
- なし
Non-blockers
- PR 本文に「## 受け入れ条件の達成状況」(AC1-AC20 個別 [x]+根拠) と「## Allowed Paths 遵守」の専用セクションが無く、「## Checks」に集約されている (同 repo の直近 PR #1359 は両セクションを個別に持つ慣例があるため hygiene 差分として記録。内容自体は他セクションで代替されており blocker 化はしない)。
- mergeStateStatus: BEHIND のため main への追従が必要。
LOOP_VERDICT_V2
verdict: APPROVE
reviewed_head_sha: "06131cd151a79e442efc52c478f673471217ff79"
merge_ready: false
mergeability:
mergeable: MERGEABLE
merge_state_status: BEHIND
blockers: []
required_auto_actions:
- kind: update_branch
executor: implementation-worker
skill: implement-issue.update_branch
blocking_merge_ready: true
mechanical: true
expected_head_sha: "06131cd151a79e442efc52c478f673471217ff79"
- kind: update_pr_body_hygiene
executor: implementation-worker
skill: open-pr.update_pr
blocking_merge_ready: true
mechanical: true
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: github_pull_request_files_api_with_previous_filename
changed_files:
- docs/schemas/cloud-pilot-success-result.schema.json
- package.json
- scripts/check-cloud-pilot-success-result.mjs
- tests/cloud-pilot-success-result-check.test.ts
- tests/fixtures/cloud-pilot-success-result/invalid-adoption-ready-field-injected.md
- tests/fixtures/cloud-pilot-success-result/invalid-all-zero-trace-id.md
- tests/fixtures/cloud-pilot-success-result/invalid-digest-canonicalization.md
- tests/fixtures/cloud-pilot-success-result/invalid-digest-input-includes-marker.md
- tests/fixtures/cloud-pilot-success-result/invalid-duplicate-marker-comment.md
- tests/fixtures/cloud-pilot-success-result/invalid-fenced-block-count.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-array-span-links.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-camelcase.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-dotted-key.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-field-tracestate.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-nested.md
- tests/fixtures/cloud-pilot-success-result/invalid-gate-1326-open-real-target.md
- tests/fixtures/cloud-pilot-success-result/invalid-gate-ref-evidence-mismatch.md
- tests/fixtures/cloud-pilot-success-result/invalid-marker-injection-in-payload.md
- tests/fixtures/cloud-pilot-success-result/invalid-missing-required-key.md
- tests/fixtures/cloud-pilot-success-result/invalid-number-exponent.md
- tests/fixtures/cloud-pilot-success-result/invalid-optional-null-vs-absent.md
- tests/fixtures/cloud-pilot-success-result/invalid-outer-marker-duplicate.md
- tests/fixtures/cloud-pilot-success-result/invalid-public-correlation-id-is-raw-trace-id.md
- tests/fixtures/cloud-pilot-success-result/invalid-raw-trace-id-in-string.md
- tests/fixtures/cloud-pilot-success-result/invalid-stale-digest.md
- tests/fixtures/cloud-pilot-success-result/invalid-target-kind-mismatch.md
- tests/fixtures/cloud-pilot-success-result/invalid-target-marker-mismatch.md
- tests/fixtures/cloud-pilot-success-result/invalid-timestamp-offset-drift.md
- tests/fixtures/cloud-pilot-success-result/invalid-unevaluated-property.md
- tests/fixtures/cloud-pilot-success-result/invalid-yaml-payload-rejected.md
- tests/fixtures/cloud-pilot-success-result/valid-fixture-only.md
- tests/fixtures/cloud-pilot-success-result/valid-key-order-permuted.md
- tests/fixtures/cloud-pilot-success-result/valid-unicode-nfc-nfd-equivalent.md
allowed_paths_gate_source: review_subagent
squne121
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Mergeability
- mergeable=MERGEABLE, merge_state_status=CLEAN (update_branch 実行済み、main 追従完了)
Evidence Check
- AC coverage: 前回レビュー(head 06131cd)からコーディング内容は不変であることを独立確認済み。git diff --name-status -M で merge-base(origin/main tip 043ab5f)から現 head(846b607)までの変更を再取得した結果、AC実装対象の33ファイル(schema/checker/test/29 fixture/package.json)は前回と完全一致。PR本文の「## 受け入れ条件の達成状況」表でAC1-AC20全件PASS+根拠(fixture名/error code)が記載されていることを確認した。
- Allowed Paths: git diff --name-status -M 043ab5f...846b607 の33変更ファイルすべてがIssue #1364 Allowed Paths内(docs/schemas/cloud-pilot-success-result.schema.json / scripts/check-cloud-pilot-success-result.mjs / tests/cloud-pilot-success-result-check.test.ts / tests/fixtures/cloud-pilot-success-result/** / package.json)に収まることをreview_subagentが再計算した(status: ok)。rename/copyなし。base側(main由来)の.claude/skills/gemini-cli-headless-delegation・src/main.ts等の変更はmerge-base差分にのみ現れ、PR自体の変更ファイル集合には含まれないことを確認済み。
- CI Verification: ci_verdict_summary.py --expected-head-sha 846b607 で status: all_pass。typecheck/lint/test/build/e2e/python-test/actionlint/node-backed-hook-tests/check-hook-integrity/deploy-pr/validate-generated-artifact/PR Body Japanese Check 含む全required checksがhead一致でSUCCESS。
- Contract fingerprint: gh api repos//issues/1364 の現 body(末尾改行除去)のsha256を独立再計算した結果 b7b9b5a9a175df28dd269c4fd67da23b6074d82e2422be3fb2931f11607b5fee となり、issue-contract-review goコメント(issuecomment-4903404513, generated_at 2026-07-07T11:44:39Z)のbody_sha256と完全一致(staleではない)。issue #1364 のupdatedAtがgoコメント生成時刻と同一であることも確認し、go後の本文編集がないことを確認した。
- Schema Consumer Inventory: schema_change判定・consumer一覧(checker/test/package.json script)・非破壊(既存consumerなし)の記載を確認した(前回から不変)。
- Safety Claim Matrix: N/A判定(safety-sensitive path不変更)はchanged filesと整合している(前回から不変)。
- PR body hygiene: 「## 受け入れ条件の達成状況」(AC1-AC20個別状況+根拠)と「## Allowed Paths遵守」の専用セクションが追加され、前回指摘したhygiene差分は解消済み。
- 検証コマンド結果: AC1-AC3はtest -f/test -dの個別結果を明記、AC4-AC20はpnpm test(CI test job SUCCESS、新規36 tests含む)で担保されている。
Blockers
- なし
Non-blockers
- なし
LOOP_VERDICT_V2
verdict: APPROVE
reviewed_head_sha: "846b60798e8471bd99c875219a898bb51d1dcb99"
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- docs/schemas/cloud-pilot-success-result.schema.json
- package.json
- scripts/check-cloud-pilot-success-result.mjs
- tests/cloud-pilot-success-result-check.test.ts
- tests/fixtures/cloud-pilot-success-result/invalid-adoption-ready-field-injected.md
- tests/fixtures/cloud-pilot-success-result/invalid-all-zero-trace-id.md
- tests/fixtures/cloud-pilot-success-result/invalid-digest-canonicalization.md
- tests/fixtures/cloud-pilot-success-result/invalid-digest-input-includes-marker.md
- tests/fixtures/cloud-pilot-success-result/invalid-duplicate-marker-comment.md
- tests/fixtures/cloud-pilot-success-result/invalid-fenced-block-count.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-array-span-links.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-camelcase.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-dotted-key.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-field-tracestate.md
- tests/fixtures/cloud-pilot-success-result/invalid-forbidden-nested.md
- tests/fixtures/cloud-pilot-success-result/invalid-gate-1326-open-real-target.md
- tests/fixtures/cloud-pilot-success-result/invalid-gate-ref-evidence-mismatch.md
- tests/fixtures/cloud-pilot-success-result/invalid-marker-injection-in-payload.md
- tests/fixtures/cloud-pilot-success-result/invalid-missing-required-key.md
- tests/fixtures/cloud-pilot-success-result/invalid-number-exponent.md
- tests/fixtures/cloud-pilot-success-result/invalid-optional-null-vs-absent.md
- tests/fixtures/cloud-pilot-success-result/invalid-outer-marker-duplicate.md
- tests/fixtures/cloud-pilot-success-result/invalid-public-correlation-id-is-raw-trace-id.md
- tests/fixtures/cloud-pilot-success-result/invalid-raw-trace-id-in-string.md
- tests/fixtures/cloud-pilot-success-result/invalid-stale-digest.md
- tests/fixtures/cloud-pilot-success-result/invalid-target-kind-mismatch.md
- tests/fixtures/cloud-pilot-success-result/invalid-target-marker-mismatch.md
- tests/fixtures/cloud-pilot-success-result/invalid-timestamp-offset-drift.md
- tests/fixtures/cloud-pilot-success-result/invalid-unevaluated-property.md
- tests/fixtures/cloud-pilot-success-result/invalid-yaml-payload-rejected.md
- tests/fixtures/cloud-pilot-success-result/valid-fixture-only.md
- tests/fixtures/cloud-pilot-success-result/valid-key-order-permuted.md
- tests/fixtures/cloud-pilot-success-result/valid-unicode-nfc-nfd-equivalent.md
allowed_paths_gate_source: review_subagent
判定REQUEST_CHANGES / merge block。 PR #1359 / ADR 0005 は、result 本体を standalone の public-safe GitHub comment/artifact に置き、 良い点実装の方向性は合っています。JSON Schema 2020-12、Ajv 2020、semantic checker 分離、JSON-only への scope narrowing、fixture 名と stable error code の ただし、現状のテストは「既存 fixture が期待どおり fail/pass する」ことを確認しているだけで、fresh digest を再計算した悪性 payload に対する fail-closed 性を保証していません。ここが本レビューの主眼です。 Blocker 1:
|
…fix_delta iteration 2) PR #1371 への人間OWNERレビュー(REQUEST_CHANGES)で指摘された8件のBlockerに対応する。 - Blocker 1: evidence_mode="fixture_only" は decision_ready=false / decision="pending_fixture_only" / cloud_adoption_allowed_now!=true を厳格に要求し、 decision_ready/evidence_mode/decision/cloud_adoption_allowed_now/ presented_as_real_target のいずれかが adoption-ready を示す場合は success_contract_checker(#1326) の state=completed かつ checker_result=pass を 無条件に要求するようにした(isAdoptionReadySignal)。 - Blocker 2: gate_refs の4ゲートの issue フィールドを schema の const で固定し、 drift した issue 番号を schema.invalid(gate_ref.identity_mismatch)として拒否する。 - Blocker 3: 新規 checkMarkerBinding で outer marker の repo/parent_issue/result_id/ target と payload の対応フィールドを全照合し、payload.target.marker_value 自体が kind:number と一致することも検証する。 - Blocker 4: generated_at の pattern を厳格な UTC 表記のみに狭め、raw JSON text に 対する numeric exponent token scanner を追加して JSON.parse 後の正規化で消える 指数表記を fresh digest でも拒否する。 - Blocker 5: upsert_probe の各フィールドを型付けし、 existing_comment_match_count>1 / digest_freshness!=="current" / page_budget_exhausted=true / matched_author_allowed!=true / match_fields_verified!=true をそれぞれ fail-closed にした。 - Blocker 6: diagnostic_context を additionalProperties:false の closed empty object にし、public_correlation_id に positive format pattern を追加した。 - Blocker 7: デフォルト no-file 時の fail-open skip を廃止し、明示的な --allow-empty オプションがない限り exit 1 にした。 - Blocker 8: 上記8件それぞれについて、fresh digest 再計算済みの negative fixture 9本を追加し、既存 valid fixture の diagnostic_context 依存を safety.blocked_reasons へ移した。 45 vitest tests pass (36 既存 + 9 新規), pnpm typecheck/lint/test/build 全 green。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
squne121
left a comment
There was a problem hiding this comment.
impl-review-loop 再レビュー結果(head e50e3ca)
OWNER の8件の Blocker(#1371 (comment) )はすべて解消を確認しました。fresh digest 再計算が要求された5件の negative fixture(invalid-fixture-only-adoption-ready-bypass, invalid-gate-identity-drift, invalid-upsert-probe-stale-freshness-fresh-digest, invalid-numeric-exponent-fresh-digest, invalid-generated-at-utc-offset)について、checker と同一の canonicalization(NFC正規化・lexical key sort・JSON直列化・sha256)を独立実装して digest を再計算し、fixture内埋め込み digest と完全一致することを確認しました(stale digest の使い回しなし)。
CI は head e50e3ca6e3a999005df8455ee8b5e52b0e0fd348 で全 green、mergeStateStatus: CLEAN、mergeable: MERGEABLE。Allowed Paths(39変更ファイル全て Issue #1364 の5エントリに一致、rename無し)を独立確認済みです。
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "e50e3ca6e3a999005df8455ee8b5e52b0e0fd348"
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
changed_files_source: git_diff_name_status_find_renames_z
changed_files:
- docs/schemas/cloud-pilot-success-result.schema.json
- package.json
- scripts/check-cloud-pilot-success-result.mjs
- tests/cloud-pilot-success-result-check.test.ts
- tests/fixtures/cloud-pilot-success-result/**
allowed_paths_gate_source: review_subagent
squne121
left a comment
There was a problem hiding this comment.
impl-review-loop 最終レビュー結果(head 54a330d)
前回 APPROVE(head e50e3ca、#1371 (review) )以降、main の先行により update_branch を2回実行しましたが、PR 本体のコード内容(checker/schema/test/29 fixtures/package.json)は byte-identical であることを git diff origin/main...54a330d9 および git diff e50e3ca6...54a330d9 で確認しました(追加されたのは main への merge commit のみ)。OWNER の8 Blocker解消は前回レビューで確認済みのまま変化ありません。
CI は head 54a330d90050a10e7799d4c5bfd996a47f48921b で全 green、mergeStateStatus: CLEAN、mergeable: MERGEABLE。
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "54a330d90050a10e7799d4c5bfd996a47f48921b"
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
producer_role: review_subagent
note: "PR content byte-identical to prior APPROVE (pullrequestreview-4645963101); only merge commits added since e50e3ca6"
Summary
ADR 0005(hybrid_reference_from_agent_run_report)が follow_up_issue_ref として予約していた
cloud_pilot_success_result/v1の JSON Schema・checker・negative fixture を実装した。schema validation(Ajv 2020-12、
unevaluatedProperties: falseによる closed shape)とsemantic checker(digest 再計算 / marker 制約 / gate evidence field-level 照合 /
forbidden field 再帰 scan)を単一ファイル(
scripts/check-cloud-pilot-success-result.mjs)内で責務分離して実装した。正例 3 件・負例 26 件、計 29 fixture を追加し、各負例 fixture 名と
stable error code を Vitest
it.eachテーブルで 1:1 対応させた(AC20)。Issue #1364 への OWNER 敵対的レビュー(8 blocker)にすべて対応している:
success_contract_checker(実装: cloud_pilot_success_contract_v1 の checker/schema/negative fixtureを実装する #1326) が OPEN のため、正例はdecision_ready: false/evidence_mode: fixture_onlyを明示しadopt_cloud/cloud_adoption_allowed_now: trueを含まない(AC11)。実装: cloud_pilot_success_contract_v1 の checker/schema/negative fixtureを実装する #1326 gate_ref が open のまま real target として提示された場合は
fail-closed(AC12)
checker 側の責務として分離した(AC13)
mismatch(optional null vs absent・timestamp offset・number exponent・digest input に
marker を含める)の両方を fixture で検証する(AC14, AC15)
検証する(AC17)
(AC18。GitHub API 呼び出しは Out of Scope のため、
upsert_probeという declarativesimulation field で表現している)
raw trace-id / all-zero trace-id / raw trace-id な public_correlation_id を検出する
(AC19)
it.eachで 1:1 対応させた(AC20)
Checks
pnpm typecheck: PASSpnpm lint: PASSpnpm test: PASS(93 files / 1463 tests、新規tests/cloud-pilot-success-result-check.test.tsの36 tests を含む)
pnpm build: PASStest -f docs/schemas/cloud-pilot-success-result.schema.jsonPASStest -f scripts/check-cloud-pilot-success-result.mjsPASStest -d tests/fixtures/cloud-pilot-success-resultPASSpnpm run cloud-pilot-success-result:checkを fixtures ディレクトリ全体に対して実行し、正例 3 件が PASS、負例 26 件が期待した error code で FAIL することを確認済み
(
node scripts/check-cloud-pilot-success-result.mjsの実行結果を目視確認)受け入れ条件の達成状況
全 20 件の Acceptance Criteria が PASS している(詳細な検証コマンドと fixture 対応は上記
## Checksおよび Issue #1364 本文の## Verification Commandsを参照)。test -f docs/schemas/cloud-pilot-success-result.schema.jsontest -f scripts/check-cloud-pilot-success-result.mjstest -d tests/fixtures/cloud-pilot-success-resultvalid-fixture-only.mdが checker で exit 0invalid-missing-required-key.mdが errorschema.requiredで非 0 exitinvalid-gate-ref-evidence-mismatch.mdが errorgate_ref.evidence_mismatchで非 0 exitinvalid-target-marker-mismatch.mdが errortarget.marker_mismatchで非 0 exitinvalid-digest-canonicalization.mdが errordigest.mismatchで非 0 exitinvalid-forbidden-field-tracestate.mdが errorforbidden_fieldで非 0 exittests/cloud-pilot-success-result-check.test.tsが AC4-AC9 を全て Vitest で検証しpnpm testPASSevidence_mode: fixture_onlyを明示、負例invalid-adoption-ready-field-injected.mdがevidence_mode.violationで failinvalid-gate-1326-open-real-target.mdが errorgate_ref.not_completedで非 0 exitinvalid-unevaluated-property.mdが errorschema.unevaluated_propertyで非 0 exitvalid-key-order-permuted.md/valid-unicode-nfc-nfd-equivalent.mdが digest 一致で exit 0invalid-optional-null-vs-absent.md等)が errordigest.mismatchで非 0 exitinvalid-yaml-payload-rejected.mdが errorpayload.non_json_rejectedで非 0 exitinvalid-outer-marker-duplicate.md等)が errormarker.constraint_violationで非 0 exitinvalid-duplicate-marker-comment.md等)が対応 error code で非 0 exitforbidden_field/trace_id.raw_forbiddenで非 0 exittests/cloud-pilot-success-result-check.test.tsのit.eachテーブルが全負例 fixture と error code を 1:1 対応させpnpm testPASSAllowed Paths 遵守
Issue #1364 の
## Allowed Pathsに定義された 5 エントリのみを変更しており、Allowed Paths 外の変更はない。
docs/schemas/cloud-pilot-success-result.schema.json— 新規追加(Allowed Paths 一致)scripts/check-cloud-pilot-success-result.mjs— 新規追加(Allowed Paths 一致)tests/cloud-pilot-success-result-check.test.ts— 新規追加(Allowed Paths 一致)tests/fixtures/cloud-pilot-success-result/**(29 fixture ファイル) — 新規追加(Allowed Pathstests/fixtures/cloud-pilot-success-result/**に一致)package.json—cloud-pilot-success-result:checkscript エントリ追加(Allowed Paths 一致)scripts/libへの helper file 分離は行っておらず(Issue の Stop Condition 該当を回避するためchecker を単一ファイルに閉じている)、ADR 0005 本文・
docs/schemas/agent-run-report.schema.json本体など Out of Scope 対象への変更もない。
Schema Change Applicability
新規 JSON Schema(
docs/schemas/cloud-pilot-success-result.schema.json)を追加した。既存 consumer は存在しない(ADR 0005 で reserved path として予約されていたのみ)ため
後方互換性の破壊はないが、schema governance の consumer inventory 記録対象として扱う。
Schema Consumer Inventory
before(変更前)
docs/schemas/cloud-pilot-success-result.schema.jsonは存在せず、consumer も存在しなかった(ADR 0005 の reserved path のみ)。
after(変更後)
cloud_pilot_success_result/v1payload schema を新規追加し、以下の consumer が参照する。scripts/check-cloud-pilot-success-result.mjstests/cloud-pilot-success-result-check.test.tspackage.json(cloud-pilot-success-result:checkscript)Safety Claim Matrix
N/A — reason: 本 PR は safety-sensitive path(transport / permission / sandbox / auth / mcp /
.claude/skills/**/.github/workflows/**)を変更していない。純粋な schema / checker /fixture / test の追加であり、既存の認可境界・実行環境・CI workflow には影響しない。
Notes
follow_up_issue_ref: "#1364"の実体化であるdocs/schemas/agent-run-report.schema.json本体の変更、ADR 0005 本文編集、
github_comment_upsert_policyの実運用適用(実際の GitHub API 呼び出し)、YAML payload 対応、real Cloud pilot 実行、
cloud_adoption_allowed_nowの true への変更docs/adr/0005-cloud-pilot-success-result-artifact-placement.mdのfollow_up_issue_ref更新は本 PR の Out of Scope(PR docs: cloud_pilot_success_result/v1 の artifact placement を ADR 0005 として固定する #1359 側で対応済み)
not_applicable(Issue 本文どおり。静的検証(Vitest / schema / fixture)のみで完結する)