Repository navigation
feat(ssot): section retrieval evidence を追加 - #1446
Merged
Merged
Conversation
Owner
Author
TEST_VERDICT:
result: FAIL
head_sha: eb6115d09a2fd29a0dc5a0aa470a96f60d3de7cf
mergeable: MERGEABLE
merge_state_status: BLOCKED
branch_behind_main: false
baseline_only: false
verification_commands_pass: 5
verification_commands_fail: 0
verification_skipped_count: 0
runtime_ac_results: []検証結果レポートIssue #385 の Verification Commands を記載どおり実行しました。AC1〜AC5 はすべて PASS です(pytest は各回 3 passed、検索VCも検出成功)。 ただし GitHub の現時点の |
Contributor
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-1446/ The preview will be removed when this PR is closed. |
squne121
commented
Jul 11, 2026
squne121
left a comment
Owner
Author
There was a problem hiding this comment.
Verdict: REQUEST_CHANGES
Mergeability
- mergeable=MERGEABLE, merge_state_status=CLEAN
Evidence Check
- Allowed Paths Gate: PASS(current HEAD
6226a5f92442e7748401f9459047e391d24ddc53、5ファイル、違反なし) - required CI: PASS(current HEADに一致)
- unresolved review threads: なし
- current-head TEST_VERDICT_MACHINE: 未記録。既存コメントは
eb6115d09a2fd29a0dc5a0aa470a96f60d3de7cfに束縛されており再利用不可です。
Blockers
- PR本文に必須の
## 受け入れ条件の達成状況、## 検証コマンド結果、## Allowed Paths 遵守がありません。 - CI関連変更の
CI_TEST_PERFORMANCE_DECISION_V1がPR本文またはartifactにありません。 - current HEADに束縛された
TEST_VERDICT_MACHINEがPRコメントにありません。
LOOP_VERDICT_V2
verdict: REQUEST_CHANGES
reviewed_head_sha: "6226a5f92442e7748401f9459047e391d24ddc53"
merge_ready: false
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers:
- "current-head TEST_VERDICT_MACHINE が未記録(既存証跡は stale head)"
- "PR本文の必須セクションおよび CI_TEST_PERFORMANCE_DECISION_V1 証跡が不足"
required_auto_actions:
- 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: git_diff_name_status_find_renames_z
changed_files:
- .claude/skills/ssot-discovery/references/output-contract.md
- .claude/skills/ssot-discovery/scripts/match_ssot.py
- .claude/skills/ssot-discovery/tests/test_match_ssot_registry.py
- .claude/skills/ssot-discovery/tests/test_section_selector.py
- .github/ci/python-test-plan.json
allowed_paths_gate_source: review_subagent
squne121
commented
Jul 11, 2026
squne121
left a comment
Owner
Author
There was a problem hiding this comment.
Verdict: REQUEST_CHANGES
Mergeability
- mergeable=MERGEABLE, merge_state_status=CLEAN
Evidence Check
- Allowed Paths Gate: PASS(current HEAD
6226a5f92442e7748401f9459047e391d24ddc53、5ファイル、違反なし) - unresolved review threads: なし
- TEST_VERDICT_MACHINEおよびCI Test Performance DecisionはPR本文に記録済みです。
Blockers
ci_verdict_summary.py --expected-head-sha 6226a5f92442e7748401f9459047e391d24ddc53はstatus: failedを返します。失敗対象はPR Body Japanese Checkです。current HEADで同名の成功runもありますが、canonical summaryのfailed verdictを成功へ推測変換しません。- PR本文には必須の
## 受け入れ条件の達成状況、## 検証コマンド結果、## Allowed Paths 遵守見出しがありません。既存の英語見出しと説明だけではPR本文衛生要件を満たしません。
LOOP_VERDICT_V2
verdict: REQUEST_CHANGES
reviewed_head_sha: "6226a5f92442e7748401f9459047e391d24ddc53"
merge_ready: false
mergeability:
mergeable: MERGEABLE
merge_state_status: CLEAN
blockers:
- "current-head CI_VERDICT_SUMMARY_V1 が failed(PR Body Japanese Check)"
- "PR本文の必須セクションが未充足"
required_auto_actions:
- 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: git_diff_name_status_find_renames_z
changed_files:
- .claude/skills/ssot-discovery/references/output-contract.md
- .claude/skills/ssot-discovery/scripts/match_ssot.py
- .claude/skills/ssot-discovery/tests/test_match_ssot_registry.py
- .claude/skills/ssot-discovery/tests/test_section_selector.py
- .github/ci/python-test-plan.json
allowed_paths_gate_source: review_subagent
squne121
marked this pull request as ready for review
July 11, 2026 10:22
This was referenced Jul 11, 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.
Summary
Issue #385のsection retrievalを、commit固定の根拠だけを返す形へ強化します。作業ツリーの未コミット本文をprovenance付き結果に混入させず、Markdown fenceとATX見出しの境界ケースを回帰テストで固定します。
Acceptance Criteria
以下の受け入れ条件を、現在HEADの実装と回帰テストに対応付けます。
HEAD:<path>からsection本文、行範囲、content hash、blob SHA、permalinkを同一commitに固定します。HEAD:<path>を取得できない場合は作業ツリーへfallbackせず、source_blob_unavailableを返します。section_limited_matchesとsection_selection_outcomesをv1 optional extensionとして文書化します。# C#を保持し、空白付きclosing sequenceの# Title #だけを正規化します。parallel_excludeを空配列のまま維持します。.claude/skills/ssot-discovery/tests/directory targetへ更新します。Changed Files
変更ファイルを次に示します。
変更範囲はIssue契約で許可された次の5ファイルだけです。
.claude/skills/ssot-discovery/scripts/match_ssot.py.claude/skills/ssot-discovery/references/output-contract.md.claude/skills/ssot-discovery/tests/test_section_selector.py.claude/skills/ssot-discovery/tests/test_match_ssot_registry.py.github/ci/python-test-plan.jsonCI workflow、artifact generator、hook、consumer wiring、Issue #387のcollision分類は変更しません。
Checks
検証対象のcurrent HEAD:
6226a5f92442e7748401f9459047e391d24ddc53uv run --locked pytest .claude/skills/ssot-discovery/tests/ -v(17 passed)uv run --locked ruff check --select E,F .claude/skills/ssot-discovery/scripts/match_ssot.py .claude/skills/ssot-discovery/tests/test_section_selector.py .claude/skills/ssot-discovery/tests/test_match_ssot_registry.pyuv run --locked python3 scripts/ci/python_test_plan.py --check-paths --emit scope-argv --format jsonuv run --locked pytest scripts/ci/tests/test_python_test_plan.py -v(53 passed)Schema Change Applicability
SSOT_DISCOVERY_RESULT_V1へ後方互換なoptional fieldsection_limited_matchesとsection_selection_outcomesを追加します。matched_documents契約を継続します。Schema Consumer Inventory
match_ssot.pyproducertest_section_selector.pytest_match_ssot_registry.pymatched_documentsconsumerSafety Claim Matrix
安全性に関する実装主張と証跡を対応付けます。
HEAD:<path>不在時にdirty worktreeをprovenanceとして偽装しないNotes
運用上の補足です。
Current-head Verification Evidence
現在HEADに紐づく検証証跡です。
現在HEADに対する検証結果だけを記録しており、以前のHEADの結果は使用していません。
CI Test Performance Decision
CIテストレーンの判断証跡です。
CI plan変更の判断とreviewerが確認する証跡を、current HEADへ結び付けます。
受け入れ条件の達成状況
HEAD:<path>の同一blobからprovenanceとsection本文を取得します。parallel_excludeは空配列を維持します。検証コマンド結果
検証対象HEADは
6226a5f92442e7748401f9459047e391d24ddc53です。ci_test_selection/v1artifactは生成済みです。MERGEABLEで、記録したmergeStateStatusはCLEANです。Allowed Paths 遵守
Allowed Paths Gateはcurrent HEADに対して
okです。変更ファイルは次の5件だけです。.claude/skills/ssot-discovery/scripts/match_ssot.py.claude/skills/ssot-discovery/references/output-contract.md.claude/skills/ssot-discovery/tests/test_section_selector.py.claude/skills/ssot-discovery/tests/test_match_ssot_registry.py.github/ci/python-test-plan.json