Repository navigation
実装: chatgpt_retro_execution_proof/v1 の evidence_refs 解決範囲を marker refs まで拡張する - #1800
Merged
squne121 merged 1 commit intoJul 26, 2026
Conversation
…s まで拡張する (#1799) isResolvableEvidenceRef() が operation_index_ref / pr_review_surface_live_proof_ref / chatgpt_context.marker_comment_url の3種類しか github_comment kind を解決できず、 run_report / retro_index コメント等の正当な marker 由来証跡が unresolvable 誤判定 されていた。additive optional な chatgpt_context.additional_resolvable_comment_refs ({comment_url, payload_digest}[])をスキーマに追加し、resolver がこの一覧との comment_url + digest 一致を条件に追加解決できるようにする。既存 required/property・ 既存 fixture の後方互換性は維持する。 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
Preview URLPreview removed (PR #1800 closed). |
squne121
commented
Jul 26, 2026
squne121
left a comment
Owner
Author
There was a problem hiding this comment.
PR Review 判定
前回のブロッカー(Schema Consumer Inventory不完全)はPR本文修正で解消を確認。scripts/check-retro-live-verification.mjsとtests/retro-live-verification.test.tsをrgで実際に本schemaを参照していることを独立確認し、additive optional fieldのため両ファイルへの影響なしという記載内容の妥当性を検証した。head SHA変更なし・CI全green・Allowed Paths gate ok。
LOOP_VERDICT_V2:
verdict: APPROVE
reviewed_head_sha: "85d2fc0bcee94f0ad63a41e56163ca55c780085a"
merge_ready: true
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "CLEAN"
blockers: []
required_auto_actions: []
allowed_paths_gate:
status: "ok"
violations: []
contract_fingerprint:
issue_number: 1799
contract_source_id: "5083682096"
base_sha_at_snapshot: "4d336ed9dc35e30c9e29426506a5b011c304686d"
squne121
marked this pull request as ready for review
July 26, 2026 13:59
squne121
deleted the
worktree-issue-1799-chatgpt-retro-evidence-refs-additional-comments
branch
July 26, 2026 13:59
This was referenced Jul 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chatgpt_retro_execution_proof/v1 の evidence_refs 解決範囲を marker refs まで拡張する
本PRは Issue #1799(Closes #1799)を解決する。
Summary
scripts/check-chatgpt-retro-e2e-proof.mjsのisResolvableEvidenceRef()は、chatgpt_retrospective_result/v1のfindings[].evidence_refs[](kind: "github_comment")を、以下3種類のURLのみ解決可能と認めていた:proof.operation_index_ref.comment_urlproof.pr_review_surface_live_proof_ref.comment_urlproof.chatgpt_context.marker_comment_urlIssue #1415の作業中、外部ChatGPTセッションから取得した genuine な
chatgpt_retrospective_result/v1が、正当な証拠としてagent_run_report/v1コメント・agent_retro_index/v1コメント・PR reviewコメントも引用していたが、これらはevidence_refs.unresolvableとして誤って拒否されていた(コード内コメントで既に「follow-up issueへ意図的に据え置かれたスコープ」として文書化済みの既知gap)。Root cause / 変更内容
docs/schemas/chatgpt-retro-execution-proof.schema.jsonのchatgpt_contextにadditive optional fieldadditional_resolvable_comment_refs: [{comment_url, payload_digest}]を追加し、isResolvableEvidenceRef()を拡張してこの新フィールドに列挙されたcomment_url + digest完全一致のエントリも解決可能と判定するようにした。既存required field・既存propertyは無変更。Scope Overlap Note(overlap preflight
human_review_requiredの非衝突判断)check_implementation_overlap.pyはOPEN Issue #1415との構造的シグナル一致(shared_output_schema: CHATGPT_RETRO_CONTEXT_V1、AC番号がAC1-AC5で一致)によりroute: human_review_requiredを返した。以下の理由により非衝突と判断し、PR作成を進めた:structural_signals.edit_intent_match: false、shared_specific_edit_targets: []— 実質的な編集対象の一致はなく、AC番号の偶然の一致とスキーマ名の言及一致のみISSUE_1415_EXECUTION_RESULT_V6)で「#1799の完了を待つ」と明記しており、#1415は本PRと同じファイルを同時に編集する計画を持たないissue-contract-reviewはこのoverlapを踏まえた上で#1799にstatus: goを出しているVerification Commands results(検証コマンド実行結果)
CI Test Performance Decision(CIテスト性能判断)
Runtime Verification Applicability(動作検証適用性)
Schema Change Applicability
Schema Consumer Inventory
既存required field・既存propertyは無変更。
Consumer table(消費者一覧)
scripts/check-chatgpt-retro-e2e-proof.mjsisResolvableEvidenceRef()拡張。本schemaの主要な直接消費者tests/chatgpt-retro-e2e-proof-check.test.tsscripts/check-retro-live-verification.mjs--check-execution-boundaryモードでvalidateAgainstSchemaFile()により本schemaを直接検証するが、field名依存の分岐を持たない汎用schema検証のため、additive optional field追加による影響なしtests/retro-live-verification.test.tsEXECUTION_PROOF_SCHEMA_FILEとして本schemaファイルを参照するが、既存requiredフィールドの検証のみのため影響なしscripts/generate-retro-live-verification.mjs上記5ファイルが本スキーマを参照する全消費者であり、他に直接消費するproducerは存在しない。
Safety Claim Matrix
Backward compatibility / migration decision(後方互換性・移行方針)
新フィールドはoptionalであり、既存proof(フィールドなし)は引き続き従来通り動作する。破壊的変更なし。
Notes
isResolvableEvidenceRef()直前のコード内コメントで既に文書化済み)を解消するfollow-up実装。chatgpt-retro-context-marker.schema.jsonのrefsobject自体の構造変更、resolve-liveの出力仕様変更はOut of Scope(Issue #1799本文参照)。Checks
pnpm typecheckpasspnpm lintpasspnpm testpass(1829/1829)pnpm buildpass