Repository navigation
docs: suppress MD040 on unlabeled VC fixture - #1107
Conversation
Keep the fixture intentionally non-canonical by preserving the unlabeled fence and adding fixture-local markdownlint guidance. Verification: - pnpm run lint:docs - pnpm typecheck - pnpm lint - pnpm test - pnpm build
Preview URL✅ verified live assets: https://squne121.github.io/loop-protocol/pr-1107/ The preview will be removed when this PR is closed. |
head_sha: "2534a78e1f045ab3b9de5fd2363acd5991250b20"
TEST_VERDICT:
result: PASS
mergeable: MERGEABLE
merge_state_status: BEHIND
branch_behind_main: true
baseline_only: false
verification_commands_pass: 9
verification_commands_fail: 0
verification_skipped_count: 0
runtime_ac_results:
- ac: AC1
command: "pnpm run lint:docs"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "clean checkout baseline pass"
- ac: AC2
command: "rg -n \"Intentional negative VC fixture\" tests/fixtures/issue-body/vc_unlabeled_fence.md"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "fixture intent comment present"
- ac: AC3
command: "rg -n \"markdownlint-disable-next-line MD040\" tests/fixtures/issue-body/vc_unlabeled_fence.md"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "local MD040 suppression present"
- ac: AC4
command: "sed -n \"13,22p\" tests/fixtures/issue-body/vc_unlabeled_fence.md"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "intent comment and suppression precede unlabeled fence"
- ac: AC5
command: "git diff --name-only origin/main...HEAD"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "diff limited to tests/fixtures/issue-body/vc_unlabeled_fence.md"
- ac: AC6
command: "pnpm typecheck"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "TypeScript: No errors found"
- ac: AC7
command: "pnpm lint"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "eslint passed"
- ac: AC8
command: "pnpm test"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "69 test files, 922 tests passed"
- ac: AC9
command: "pnpm build"
exit_code: 0
status: pass
fallback_detected: false
artifact_present: not_required
human_review_required: false
stop_condition_triggered: false
notes: "tsc and vite build passed"検証結果レポートIssue #1103: 実装: issue-scoped PR を既存 lint:docs baseline で止めない
総合判定
補足
|
squne121
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Mergeability
- mergeable=
MERGEABLE, merge_state_status=BEHIND - Draft PR ですが blocker ではありません。
required_auto_actionsが解消されるまではmerge_ready: falseです。
Evidence Check
TEST_VERDICT_MACHINEは reviewed head2534a78e1f045ab3b9de5fd2363acd5991250b20に一致し、verification_commands_pass=9,fail=0,skipped=0でした。CI_VERDICT_SUMMARY_V1は同じ head に対してstatus=all_passで、required/pass 系 check は完了済みでした。- 変更ファイルは
tests/fixtures/issue-body/vc_unlabeled_fence.mdのみで、linked issue #1103 の Allowed Paths に一致しています。 - PR summary と TEST_VERDICT の内容から、unlabeled fence を維持したまま fixture-local な
markdownlint-disable-next-line MD040を追加してpnpm run lint:docsbaseline を復旧する AC は満たされています。
Blockers
- なし
Non-blockers
- PR body に canonical section
## 受け入れ条件の達成状況/## 検証コマンド結果/## Allowed Paths 遵守がなく、update_pr_body_hygieneが必要です。 mergeable=MERGEABLEかつmerge_state_status=BEHINDのため、update_branchが必要です。
LOOP_VERDICT_V2
verdict: APPROVE
reviewed_head_sha: "2534a78e1f045ab3b9de5fd2363acd5991250b20"
merge_ready: false
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "BEHIND"
blockers: []
required_auto_actions:
- kind: update_pr_body_hygiene
executor: implementation-worker
skill: open-pr.update_pr
blocking_merge_ready: true
mechanical: true
- kind: update_branch
executor: implementation-worker
skill: implement-issue.update_branch
blocking_merge_ready: true
mechanical: true
expected_head_sha: "2534a78e1f045ab3b9de5fd2363acd5991250b20"
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
allowed_paths_gate_source: review_subagent
squne121
left a comment
There was a problem hiding this comment.
Verdict: REQUEST_CHANGES
Mergeability
- mergeable=
MERGEABLE, merge_state_status=BEHIND update_pr_body_hygieneは解消済みです。PR body には## 受け入れ条件の達成状況/## 検証コマンド結果/## Allowed Paths 遵守が揃っており、placeholder も見当たりません。
Evidence Check
TEST_VERDICT_MACHINEは reviewed head2534a78e1f045ab3b9de5fd2363acd5991250b20に一致し、verification_commands_pass=9,fail=0,skipped=0でした。- Changed files は
tests/fixtures/issue-body/vc_unlabeled_fence.mdのみで、linked issue #1103 の Allowed Paths に一致しています。 gh pr view --json filesとgit diff --name-only origin/main...2534a78e1f045ab3b9de5fd2363acd5991250b20の両方で変更先は 1 ファイルに限定されていました。- ただし deterministic CI gate として再実行した
CI_VERDICT_SUMMARY_V1は同じ head に対してstatus=failed/failed_checks=["PR Body Japanese Check"]を返しました。
Blockers
CI_VERDICT_SUMMARY_V1がstatus=failedのため、validator-first 運用では APPROVE にできません。update_pr_body_hygieneは解消済みですが、現時点では CI blocker が残っています。
Non-blockers
mergeable=MERGEABLEかつmerge_state_status=BEHINDのため、mechanical action としてupdate_branchは引き続き必要です。
LOOP_VERDICT_V2
verdict: REQUEST_CHANGES
reviewed_head_sha: "2534a78e1f045ab3b9de5fd2363acd5991250b20"
merge_ready: false
mergeability:
mergeable: "MERGEABLE"
merge_state_status: "BEHIND"
blockers:
- "CI_VERDICT_SUMMARY_V1 returned status=failed with failed_checks=[\"PR Body Japanese Check\"] for head 2534a78e1f045ab3b9de5fd2363acd5991250b20."
required_auto_actions:
- kind: update_branch
executor: implementation-worker
skill: implement-issue.update_branch
blocking_merge_ready: true
mechanical: true
expected_head_sha: "2534a78e1f045ab3b9de5fd2363acd5991250b20"
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
allowed_paths_gate_source: review_subagent|
status: pass
|
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2
verdict: APPROVE
reviewed_head_sha: "9e7593362cddc1076131250b8b66a36356baae43"
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
allowed_paths_gate_source: review_subagent
squne121
left a comment
There was a problem hiding this comment.
LOOP_VERDICT_V2
verdict: APPROVE
reviewed_head_sha: "9e7593362cddc1076131250b8b66a36356baae43"
merge_ready: true
mergeability:
mergeable: MERGEABLE
merge_state_status: UNSTABLE
blockers: []
required_auto_actions: []
auto_fix_applied: []
follow_up_issue_requests: []
allowed_paths_gate:
status: ok
allowed_paths_gate_source: review_subagent
結論PR #1107 の差分自体は APPROVE 相当です。#1103 の契約どおり、 ただし、マージ手順上はまだ draft=true なので、このまま merge-ready 扱いにするのは不整合です。PR メタデータ上は open / mergeable=true ですが draft=true です。 確認した事実#1103 は「issue-scoped PR が差分外の docs lint baseline failure で止まらないようにし、 関連元の PR #1102 では、 現 PR の変更後ファイルでは、intent コメント、 変更ファイルは CI については、current head 技術調査ベースの評価markdownlint の MD040 は「fenced code block に language が指定されていない」場合に発火し、通常修正は そのため、この fixture で また、 敵対的レビューBlocker: なし差分の方向性、スコープ、lint 抑止の粒度、fixture 意図の維持はいずれも妥当です。 Process blocker: draft 状態のまま merge-ready と呼ばないPR metadata は Non-blocker: negative fixture 維持の検証をもう一段強くできる現 AC4 は「unlabeled fence が残っている」ことを 追加するならこの程度で十分です。 python - <<'PY'
from pathlib import Path
import sys
repo = Path(".").resolve()
sys.path.insert(0, str(repo / ".claude/skills/issue-contract-review/scripts"))
from vc_contract_syntax import parse_verification_commands_section
body = Path("tests/fixtures/issue-body/vc_unlabeled_fence.md").read_text(encoding="utf-8")
vc = body.split("## Verification Commands", 1)[1].split("## Allowed Paths", 1)[0]
result = parse_verification_commands_section(vc)
assert result.has_unlabeled_fence
assert any(error.kind == "unlabeled_fence" for error in result.errors)
PYNon-blocker: preview URL はこの PR の証跡として弱いPR comment には Pages preview が出ていますが、今回の変更は runtime surface ではなく fixture-local docs lint baseline 修正です。 投稿するならこのレビュー文## Verdict: APPROVE with process note
PR #1107 の差分自体は APPROVE です。
確認事項:
- #1103 の目的どおり、`tests/fixtures/issue-body/vc_unlabeled_fence.md` の intentional negative VC fixture を維持したまま、fixture-local に `markdownlint-disable-next-line MD040` を追加している。
- opening fence は ` ``` ` のままであり、` ```bash ` に変えて fixture の意味を壊していない。
- 変更ファイルは `tests/fixtures/issue-body/vc_unlabeled_fence.md` のみ。
- current head `9e7593362cddc1076131250b8b66a36356baae43` の workflow runs は success。
- 以前の `PR Body Japanese Check` failure は current head では解消済み。
Blockers:
- なし。
Process note:
- PR metadata 上はまだ draft=true なので、マージ前に ready for review へ遷移すること。
- Pages preview は runtime 証跡としては不要。今回の主証跡は `pnpm run lint:docs`、allowed paths、unlabeled fence 維持で足りる。
Optional hardening:
- 将来の regression 防止として、`parse_verification_commands_section()` がこの fixture から `unlabeled_fence` を返すことを直接確認する AC / test を追加してもよい。実務判断としては、ready for review 化 → 最終 CI green 確認 → merge でよいです。 |
Summary
tests/fixtures/issue-body/vc_unlabeled_fence.mdの unlabeled fence は intentional negative VC fixture として維持しつつ、pnpm run lint:docsを false blocker にしないよう fixture-local なmarkdownlint抑止を追加しました。受け入れ条件の達成状況
pnpm run lint:docsは成功しました。markdownlint-disable-next-line MD040を追加しました。tests/fixtures/issue-body/vc_unlabeled_fence.mdのみです。pnpm typecheckは成功しました。pnpm lintは成功しました。pnpm testは成功しました。pnpm buildは成功しました。Checks
pnpm run lint:docsは成功しました。pnpm typecheckは成功しました。pnpm lintは成功しました。pnpm testは成功しました。pnpm buildは成功しました。tests/fixtures/issue-body/vc_unlabeled_fence.mdのみです。検証コマンド結果
pnpm run lint:docsは PASS でした。pnpm typecheckは PASS でした。pnpm lintは PASS でした。pnpm testは PASS でした。pnpm buildは PASS でした。Schema Change Applicability
Schema Consumer Inventory
該当なしです。schema change ではないため、consumer inventory を更新する対象はありません。
Safety Claim Matrix
N/A reason: safety-sensitive path の変更ではなく、fixture-local な docs lint baseline 修正だけです。
Allowed Paths 遵守
tests/fixtures/issue-body/vc_unlabeled_fence.mdのみです。tests/fixtures/issue-body/vc_unlabeled_fence.mdのみに収まっています。Notes
tests/fixtures/issue-body/vc_unlabeled_fence.mdのみを変更しました。