Repository navigation
Closed
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasetriage-requiredNeeds owner triage for priority decision
Description
Machine-Readable Contract
contract_schema_version: v1
issue_kind: implementation
parent_issue: "#614"
goal_ref: "PR #623 マージ後に docs/playtest/manual-playtest-runbook.md から欠落した AC6/AC8 要求(Base Path Revalidation URLs セクション・#571 deferred verification 切り分け注記)を補完し、#614 Close を可能にする"
change_kind: docsParent Issue
Parent Goal Ref
- Goal: GitHub Pages/PR Preview 上で人間プレイテスト証跡を自動採取し、PR/Issue に貼れる YAML/Markdown と画像として出力する
- Desired Destination:
docs/playtest/manual-playtest-runbook.mdに## Base Path Revalidation URLsセクションと「base path 修正だけでは 実装: GitHub Pages/PR Preview に人間プレイテスト証跡エクスポートパネルを追加する #571 の deferred verification 完了を意味しない」切り分け注記が存在し、AC6/AC8 が決定論的に確認できる状態
Current Validated Scope
docs/playtest/manual-playtest-runbook.mdに## Base Path Revalidation URLsセクションを追加する(local / main / PR preview の?playtest_evidence=1URL を列挙)- 同ファイルに「base path 修正だけでは 実装: GitHub Pages/PR Preview に人間プレイテスト証跡エクスポートパネルを追加する #571 の deferred verification 完了を意味しない。Pages source / publish trigger fault は別問題として切り分ける。」の注記を追加する
Remaining Parent Gaps
- 実装: GitHub Pages/PR Preview に人間プレイテスト証跡エクスポートパネルを追加する #571 canonical evidence の再採取(実装: GitHub Pages / PR Preview の Vite base path source of truth を一元化し Evidence Panel runtime 再検証前提を整える #614 が Close された後に 実装: GitHub Pages/PR Preview に人間プレイテスト証跡エクスポートパネルを追加する #571 で実施)
- 実装: GitHub Pages / PR Preview の Evidence Panel に build-time commit SHA を注入する #705: runbook への commit SHA 注入確認手順追記(本 Issue 完了後・実装: GitHub Pages / PR Preview の Evidence Panel に build-time commit SHA を注入する #705 の blocker が解消)
Outcome
docs/playtest/manual-playtest-runbook.md に ## Base Path Revalidation URLs セクションと AC8 切り分け注記が追記されたコミットが main にマージされ、rg による AC6/AC8 VC が PASS し、#614 が Close 可能な状態になっている。
In Scope
docs/playtest/manual-playtest-runbook.mdに以下を実施する:## Base Path Revalidation URLsセクションを新設し、Evidence Panel で環境情報を取得するセクション内の URL 例(Local preview / GitHub Pages main / GitHub Pages PR preview)を同セクションへ昇格・整理する- 昇格形式:
- Local preview: \http://localhost:4173/?playtest_evidence=1\`` /- GitHub Pages main: \https://squne121.github.io/loop-protocol/?playtest_evidence=1\`` /- GitHub Pages PR preview: \https://squne121.github.io/loop-protocol/pr-<PR番号>/?playtest_evidence=1`` の箇条書き - 環境別 Validation split(local: production bundle 動作確認 / main:
/loop-protocol/base 解決 / PR preview:/loop-protocol/pr-<N>/base 解決)を明記する - 「base path 修正だけでは 実装: GitHub Pages/PR Preview に人間プレイテスト証跡エクスポートパネルを追加する #571 の deferred verification 完了を意味しない。Pages source / publish trigger fault は別問題として切り分ける。」の注記を同セクション内に追記する
Out of Scope
- runbook のその他セクションの変更
- 実装: GitHub Pages/PR Preview に人間プレイテスト証跡エクスポートパネルを追加する #571 deferred verification の再採取
- 実装: GitHub Pages / PR Preview の Evidence Panel に build-time commit SHA を注入する #705 の commit SHA 注入手順の追記
- vite.config.ts / workflow の変更
Acceptance Criteria
- AC1:
docs/playtest/manual-playtest-runbook.mdに## Base Path Revalidation URLs見出しが存在する - AC2: 同ファイルに
Local preview:形式でlocalhost:4173/?playtest_evidence=1が含まれる(## Base Path Revalidation URLsセクション内) - AC3: 同ファイルに
GitHub Pages main:形式でsqune121.github.io/loop-protocol/?playtest_evidence=1が含まれる(同セクション内) - AC4: 同ファイルに
GitHub Pages PR preview:形式でsqune121.github.io/loop-protocol/pr-が含まれる(同セクション内) - AC5: 同ファイルに
base path 修正だけでは #571 の deferred verification 完了を意味しないの文言が含まれる - AC6: 同ファイルに
Pages source / publish trigger fault は別問題の文言が含まれる - AC7:
pnpm typecheck/pnpm lint/pnpm test/pnpm buildが PASS する
Verification Commands
# AC1
$ rg -n "## Base Path Revalidation URLs" docs/playtest/manual-playtest-runbook.md# AC2
$ rg -n "Local preview:.*localhost:4173/\?playtest_evidence=1" docs/playtest/manual-playtest-runbook.md# AC3
$ rg -n "GitHub Pages main:.*squne121\.github\.io/loop-protocol/\?playtest_evidence=1" docs/playtest/manual-playtest-runbook.md# AC4
$ rg -n "GitHub Pages PR preview:.*squne121\.github\.io/loop-protocol/pr-" docs/playtest/manual-playtest-runbook.md# AC5
$ rg -n "base path 修正だけでは #571 の deferred verification 完了を意味しない" docs/playtest/manual-playtest-runbook.md# AC6
$ rg -n "Pages source / publish trigger fault は別問題" docs/playtest/manual-playtest-runbook.md# AC7a
$ pnpm typecheck# AC7b
$ pnpm lint# AC7c
$ pnpm test# AC7d
$ pnpm buildRuntime Verification Applicability
decision: not_applicable
reason: docs-only 変更(Markdown テキスト追記)のため、runtime 動作検証は不要。AC1–AC6 は rg による決定論的テキスト確認で完結する。
Allowed Paths
- docs/playtest/manual-playtest-runbook.md
Stop Conditions
- Allowed Paths 外の変更が必要と判明した場合
- In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
- 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
- 後続 Phase / 別スコープへの波及が判明した場合
- nested SubAgent delegation が必要になった場合
- 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
Required Skills
なし
Scope Delta(任意)
N/A
Delivery Rule
- 1 Issue = 1 PR
- worktree 推奨:
git worktree add ../lp-runbook-basepath-fix - Draft PR で起票し、VC PASS 後に Ready にする
- 本 PR マージ後 実装: GitHub Pages / PR Preview の Vite base path source of truth を一元化し Evidence Panel runtime 再検証前提を整える #614 Close 可能(AC6/AC8 退行が解消されるため)
- 実装順序: 本 Issue (実装: PR #623 退行 — manual-playtest-runbook.md に Base Path Revalidation URLs と #571 切り分け注記を補完する #706) → 実装: GitHub Pages / PR Preview の Evidence Panel に build-time commit SHA を注入する #705(実装: GitHub Pages / PR Preview の Evidence Panel に build-time commit SHA を注入する #705 は本 Issue の PR マージ後に着手する)
- 本 PR マージ後、follow-up として「runbook invariant regression test」Issue を起票する(
## Base Path Revalidation URLsの invariants を CI で固定する目的)
Metadata
Metadata
Assignees
Labels
agent/implementerAI implementer agentenhancementNew feature or requestphase/implementationImplementation phasetriage-requiredNeeds owner triage for priority decision
Activity
squne121 commentedon Jun 6, 2026
結論
Issue #706 は起票・実装する価値ありです。ただし現状のまま実装すると「文言を戻すだけ」で、また後続の runbook 全面更新に消されます。PR化するなら APPROVE ではなく、下記の修正条件付きで進めるべきです。
事実関係
#614 は、
manual-playtest-runbook.mdに local / main / PR preview の?playtest_evidence=1再検証経路と、「base path 修正だけでは #571 の deferred verification 完了を意味しない」切り分けを要求していました。([GitHub]1)PR #623 はその要求を実装したと主張し、diff 上でも
## Base Path Revalidation URLs、3種の URL、Pages source / publish trigger fault切り分け文言を追加していました。([GitHub]2)しかし現行
mainのmanual-playtest-runbook.mdには、Evidence Panel の汎用 URL 例は残っているものの、## Base Path Revalidation URLs見出しは存在せず、#614/#571 の base path 再検証専用セクションとしては失われています。([GitHub]3)退行原因は、ファイル履歴上、PR #623 後に #645 の日本語化・ADR 0004 統合コミットが同ファイルへ入っていることです。つまり #623 の直接失敗ではなく、#645 系の全面リライトで #614 の AC6/AC8 が落ちた可能性が高いです。([GitHub]4)
敵対的レビュー
B1. #706 は「再追加」だけで、同じ退行を防げない
Issue #706 の Allowed Paths は
docs/playtest/manual-playtest-runbook.mdのみで、検証もrgによる文言確認です。これでは今回のような後続 docs リライトで再び消されます。([GitHub]5)最小対応として #706 はそのまま docs-only でよいですが、PR本文に follow-up issue 必須として「manual-playtest-runbook の重要 invariants を検査する docs regression test」を明記すべきです。例:
B2. 現行 runbook に既に URL 例があるため、単純追記は重複・分散を生む
現行 runbook には
# main URL の例、# PR プレビューの例、# ローカルプレビューの例として?playtest_evidence=1URL が既にあります。([GitHub]3)したがって単に別セクションを末尾へ足すと、URL 説明が二重化します。実装は「Evidence Panel で環境情報を取得する」直下の URL 例を、
## Base Path Revalidation URLsセクションとして昇格・整理するのがよいです。推奨パッチ方針:
B3.
Pages source / publish trigger faultは実在リスクなので、注記は必須GitHub Pages は publishing source を branch/folder または Actions workflow として設定でき、branch publishing では source branch への push が公開契機になります。さらに GitHub Docs は、
GITHUB_TOKENを使った Actions workflow 由来の push は Pages build を trigger しないと明記しています。([GitHub Docs]6)この repo の workflow は main deploy で
gh-pagesへ push し、PR preview はpeaceiris/actions-gh-pagesのdestination_dir/keep_filesを使っています。peaceiris/actions-gh-pages側もpublish_dir、destination_dir、keep_filesの挙動を明記しています。([GitHub]7)つまり「Vite base path は正しいが Pages 側の source / trigger / publish が反映されない」は十分あり得ます。#706 の切り分け注記は削ってはいけません。
B4. #705 と同じファイルを触るので、直列順序を守るべき
#705 も
manual-playtest-runbook.mdに commit SHA build-time 注入の確認方法を追記するスコープを持っています。#705 自体も #614 を直列依存先として扱っています。([GitHub]8)したがって #706 と #705 を並列実装すると、また docs merge で片方の追記が落ちるリスクがあります。順序は #706 → #705。#705 側のPRでは、#706 の
Base Path Revalidation URLsセクションが残っていることを追加確認すべきです。PRレビュー時の判定基準
#706 のPRは、最低限これを満たすまで approve しない方がよいです。
加えて、PR本文に「退行原因は #623 ではなく後続 #645 の docs 全面リライトによる invariant drop」と明記させるべきです。ファイル履歴上、#623 の後に #645 系コミットが同じ runbook を更新しています。([GitHub]4)
最終判定
Issue #706 は妥当。ただし実装PRは条件付き承認。
必須条件は次の3点です。
Base Path Revalidation URLsを現行 Evidence Panel URL 説明と統合し、重複した散らばりを作らない。#571 deferred verificationとPages source / publish trigger faultの切り分けを明文化する。squne121 commentedon Jun 6, 2026
Refinement Loop: Approved
The issue has been approved and is ready for implementation.
approvedsqune121 commentedon Jun 6, 2026
Contract Snapshot (2026-06-06T10:52:30Z)
Issue #706 の issue-contract-review 結果です。全チェック PASS。実装着手可能です。
docs/playtest/manual-playtest-runbook.mdに## Base Path Revalidation URLsセクションと切り分け注記が追記されるdocs/playtest/manual-playtest-runbook.md.claude/worktrees/issue-706-pr-623-manual-playtest-runbook-md-base-pworktree-issue-706-pr-623-manual-playtest-runbook-md-base-psqune121 commentedon Jun 6, 2026
実装完了報告
PR #707 を作成した。
変更内容
docs/playtest/manual-playtest-runbook.mdに## Base Path Revalidation URLsセクションを追加し、以下を含める。/loop-protocol/base 解決 / PR preview:/loop-protocol/pr-<N>/base 解決)VC 結果
## Base Path Revalidation URLs見出しLocal preview:URLGitHub Pages main:URLGitHub Pages PR preview:URL#571 deferred verification切り分け文言Pages source / publish trigger fault文言pnpm typecheckpnpm lintpnpm test(406件)pnpm buildコミット:
d3c6210docs(#706): add Base Path Revalidation URLs section and #571 deferred…
docs(#706): add strictPort note, local-vs-pages clarification, and PR…
docs(#706): Base Path Revalidation URLs セクションを manual-playtest-runboo…