--- doc_id: playtest-m2-combat-mvp issue: "#490" parent_issue: "#483" implementation_issue: "#541" automated_tested_commit: "e46be8a5f0f8781f8d22c9d2cc3e5b7ad78e7279" evidence_mode: playwright+manual status: accepted acceptance_verdict: overall: accepted evaluated_against_issue: "#543" passed: - AC1 - AC2 - AC3 - AC4 - AC5 - AC6 - AC7 - AC9 - AC12 - AC13 - AC14 partial_or_deferred: - ac: AC8 status: accepted reason: "viewport and device_pixel_ratio captured via Evidence Panel (?playtest_evidence=1) across two 2026-06-06 sessions: Session 1 on GitHub Pages main (commit 59dbc33eb42b66406d96c01af10cb513e09ab879, viewport inner 958x910, with screenshot/video) and Session 2 on PR Preview (commit d0377c29ce18d1d605ebf30547671d61b43faab2, viewport inner 1920x911, with a downloaded YAML artifact whose bytes/sha256 are recorded). See 'Human Playtest Evidence (2026-06-06, AC8 viewport/DPR recapture)'. The original 2026-06-02 evidence remains unchanged; resolved by a separate new evidence block, not by backfilling the prior run." owner: squne121 approved_by: squne121 approved_at: "2026-06-07" resolved_by_evidence: "https://github.com/squne121/loop-protocol/issues/689#issuecomment-4640697498" download_artifact_sha256: "e981687a87ef4b794b96ca397f4fb529f4ec47898710e462b5021ad0a02a206d" note: "Raw viewport metrics are recorded as captured for both sessions. AC4 (screenshot/video) is satisfied by Session 1 and AC5 (Download artifact bytes/sha256) by Session 2; the two sessions use different routes/commits/viewports and are recorded as-is, not stitched. 1280x720 and DPR 1.0 are not asserted for the human run." - ac: AC10 status: accepted reason: "hp_zero_defeat confirmed by human operator squne121. GitHub-hosted artifact URL recorded (issue #543 comment 4599987357)." - ac: AC11 status: accepted reason: "timeout_30s_terminal: 30秒 timeout 到達時に DEFEAT ではなく中立な terminal state(HUD「戦闘終了」/ outcome=timeout / endReason=timeout / overlay ≠ DEFEAT)へ遷移することを human operator squne121 が観察した動画証跡で解消(#690)。#725 / #732 による契約更新(timeout = 中立 terminal)を反映。E2E test 9 は補助のみで人間観察の代替ではない(#543)。" owner: squne121 approved_by: squne121 approved_at: "2026-06-07" resolved_issue: "#690" resolved_by_evidence: "https://github.com/squne121/loop-protocol/issues/690#issuecomment-4641688172" artifact_url: "https://github.com/user-attachments/assets/af06e34d-6f5d-4b69-b76b-f52e7f79b024" artifact_sha256: "aaea62138a706da43a31c8be6bde9ad70c7577616da622fcd455136fca220c6c" artifact_bytes: 6342336 artifact_mime_type: "video/mp4" tested_commit: "f7d66c19d43da9475763637947359214220c605e" tested_commit_includes: "#732 merge a7d74a0f709103c7c5df2e806f80af5a533ad1af (fix(systems): sortie timeout as neutral terminal)" route: "https://squne121.github.io/loop-protocol/pr-743/" browser: "Chrome 149.0.7827.54 / Windows" viewport: "1920x911 (inner)" device_pixel_ratio: 1 operator: "squne121 (human)" historical_note: "旧シナリオ名 timeout_30s_defeat は historical note としてのみ保持。現行契約では timeout は defeat ではなく中立な terminal state。" artifact_reviewability: github_attachment artifact_note: "Video files attached to Issue #543 comment (https://github.com/squne121/loop-protocol/issues/543#issuecomment-4599987357). GitHub-hosted URLs recorded in evidence section." date: "2026-05-31" --- # M2 Combat MVP Playtest ## Overview This document records the playtest evidence for the M2 playable sortie milestone. It combines automated E2E observations (Playwright) with a manual checklist for UX validation. ## Environment ```yaml environment: platform: linux (WSL2) browser: chromium (Playwright) node: ">=20" pnpm: ">=9" vite_e2e_mode: "true" test_runner: playwright ``` ## Commands ```bash # Build with E2E mode enabled VITE_E2E_MODE=true pnpm build # Run E2E spec pnpm test:e2e -- tests/e2e/m2-combat-mvp.spec.ts # Standard quality gates pnpm typecheck pnpm lint pnpm test pnpm build # Manual check: verify production build does NOT contain E2E hook (CI automation is a follow-up) pnpm build && ! grep -R "__LOOP_E2E__" dist ``` ## Observed ```yaml observed: e2e_playwright: tests_run: 16 tests_passed: 16 tests_failed: 0 duration_ms: 40000 results: - name: "GIVEN app loaded WHEN sortie bootstrap runs THEN sortie.status is running" status: pass duration_ms: 183 - name: "GIVEN sortie running WHEN enemies spawn THEN enemies array is non-empty" status: pass duration_ms: 269 - name: "GIVEN enemy spawned WHEN ticks elapse THEN enemy approaches player (distance decreases)" status: pass duration_ms: 1300 note: "early-return path now asserts defeat proof (at least one defeatedAtTick set) instead of bare tick advance" - name: "GIVEN canvas pointer held WHEN ticks elapse THEN projectile appears" status: pass duration_ms: 261 note: "renamed from 'shotsFired increases'; LoopE2ESnapshot.player has no shotsFired field, projectile presence is equivalent evidence" - name: "GIVEN enemy exists WHEN projectile hits THEN enemy hp decreases or enemy defeated" status: pass duration_ms: 1300 note: "coordinate scale (scaleX/scaleY) applied for world-to-CSS pixel mapping" - name: "GIVEN enemy near player WHEN contact damage applies THEN player.hp decreases" status: pass duration_ms: 7400 note: "timeout extended to 60s; enemy needs ~30s to traverse arena" - name: "GIVEN enemies field in snapshot WHEN E2E hook called THEN enemies and sortie fields present" status: pass duration_ms: 151 - name: "GIVEN sortie running WHEN sortie state machine checked THEN victory and defeat statuses are valid enum values" status: pass duration_ms: 144 note: "victory/defeat state machine schema verified; test 9 verifies timeout→timeout, test 10 verifies HP→defeat. Victory (allEnemiesDefeated) is covered by unit test AC7." - name: "GIVEN E2E short sortie fixture WHEN ~0.5s elapses THEN sortie.status is timeout (neutral)" status: pass duration_ms: 695 note: "__E2E_SHORT_SORTIE__ fixture overrides targetTicks to ~30 ticks (0.5s); timeout→timeout state machine verified end-to-end. Victory (allEnemiesDefeated) is covered by unit tests." - name: "GIVEN E2E 1HP player fixture WHEN enemy contacts player THEN sortie.status is defeat" status: pass duration_ms: 7800 note: "__E2E_PLAYER_HP_OVERRIDE__=1 fixture triggers defeat on first enemy contact; defeat state machine verified end-to-end" - name: "GIVEN short sortie fixture WHEN timeout terminal THEN HUD sortie-status shows 戦闘終了" status: pass duration_ms: 814 note: "__E2E_SHORT_SORTIE__ now triggers timeout→timeout; HUD 戦闘終了 text verified via toHaveText(). Victory HUD requires follow-up fixture." - name: "GIVEN 1HP player fixture WHEN defeat THEN HUD sortie-status shows Defeat" status: pass duration_ms: 7800 note: "HUD DOM text verified via toHaveText()" - name: "GIVEN sortie running WHEN HUD rendered THEN sortie-status shows In Progress" status: pass duration_ms: 225 note: "HUD DOM text verified via toHaveText()" - name: "GIVEN sortie running WHEN enemy spawns and ticks elapse THEN Canvas has enemy red pixels (enemies drawn)" status: pass duration_ms: 422 note: "AC7 pixel check: R>180 AND G<100 AND B<100 detects #f05050 enemy circles vs #07111f background" - name: "GIVEN short sortie fixture WHEN timeout terminal THEN Canvas overlay has blue-dominant pixels (neutral overlay drawn)" status: pass duration_ms: 975 note: "AC8 pixel check: B>80 and B>R/G in center region detects neutral timeout overlay. Victory overlay (green) requires follow-up deterministic fixture." - name: "GIVEN 1HP player fixture WHEN defeat THEN Canvas overlay has red-dominant pixels (defeat overlay drawn)" status: pass duration_ms: 7900 note: "AC8 pixel check: R>80 AND G<60 in center region detects rgba(220,60,60,0.55) defeat overlay (blended R≈124,G≈41)" victory_defeat_state_evidence: method: "E2E deterministic fixture tests (tests 9 and 10)" note: "Timeout→timeout verified by short_sortie fixture (targetTicks≈30); HP→defeat verified by 1HP player fixture. Victory (allEnemiesDefeated) covered by unit tests (sortie-system.test.ts AC7)." full_cycle_tested: true victory_method: "unit test: allEnemiesDefeated guard (sortie-system.test.ts AC7)" timeout_method: "__E2E_SHORT_SORTIE__ fixture (0.5s sortie duration → timeout → timeout)" hp_defeat_method: "__E2E_PLAYER_HP_OVERRIDE__=1 fixture (first contact triggers defeat)" quality_gates: typecheck: pass lint: pass test_vitest: "301 tests passed (16 files)" build: pass production_build_e2e_hook_absent: confirmed (__LOOP_E2E__ not present in dist/) production_build_e2e_hook_absent_command: "pnpm build && ! grep -R \"__LOOP_E2E__\" dist" issue_541_static_evidence: note: "Issue #541 implementation — CanvasRenderer enemies+overlay and HudController sortie status/kills/duration/result" typecheck: pass lint: pass test_vitest: "275 passed (15 files)" build: pass ac5_grep_regression: "exit 1 (no DOM/Canvas in src/systems/) — expected baseline fail" e2e_hud_display_tests: "3 new tests added (victory HUD, defeat HUD, in-progress HUD)" runtime_verification_decision: immediate runtime_verification_status: "HUD DOM text verified by E2E toHaveText(); Canvas bitmap rendering verified by E2E pixel check (enemy red pixels R>180,G<100,B<100; victory overlay G>80; timeout overlay B>80 and B>R/G)" canvas_pixel_check: enemy_rendering: "R>180 AND G<100 AND B<100 (CanvasRenderer #f05050 vs background #07111f)" victory_overlay: "G>80 in center region (rgba(30,200,130,0.55) blended; G≈118 vs background G=17)" defeat_overlay: "R>80 AND G<60 in center region (rgba(220,60,60,0.55) blended; R≈124,G≈41 vs background R=7)" ``` ## Unknowns ```yaml unknowns: - item: "victory condition full cycle — RESOLVED via unit test (allEnemiesDefeated)" detail: "勝利条件は敵機全滅(allEnemiesDefeated)。unit test (AC7) で全敵撃破→victory 遷移を検証済み。E2E での全敵撃破勝利は時間制約・AI挙動の不確定性により自動化困難なため unit test でカバー。" - item: "defeat condition full cycle — RESOLVED via 1HP fixture" detail: "player.hp が 0 になるまでの自然経過は E2E の時間制約上スキップ。1HP fixture(__E2E_PLAYER_HP_OVERRIDE__=1)で最初の enemy 接触で defeat 遷移を自動検証済み(test 10)。" - item: "UX feel of combat feedback" detail: "Automated tests confirm mechanical correctness; subjective feel (hit feedback, pacing, audio) requires human playtesting." - item: "Performance on low-end hardware" detail: "Tests run on WSL2/Chromium; performance on actual mobile or low-spec desktops not measured." ``` ## Manual Playtest Runbook For WSL2/Ubuntu human playtest setup, see: [docs/playtest/manual-playtest-runbook.md](./manual-playtest-runbook.md) Run the preflight script before starting: ```bash node scripts/check-manual-playtest-env.mjs ``` ## Manual Checklist The following scenarios require human verification. Each item should be checked by a human tester running `pnpm preview` or `pnpm dev` in a browser. ### Movement - [ ] **WASD movement**: Player moves smoothly in all 4 directions (W=up, A=left, S=down, D=right) - [ ] **Diagonal movement**: Holding two WASD keys simultaneously produces diagonal movement - [ ] **Boundary clamping**: Player cannot move outside the arena boundaries ### Mouse Shooting - [ ] **Mouse click fires projectile**: Holding left mouse button on the canvas fires projectiles toward the cursor - [ ] **Aim tracking**: Projectiles travel in the direction of the cursor at time of fire - [ ] **Fire rate**: Projectiles are generated at the configured weapon interval (approximately every 280ms) - [ ] **Release stops firing**: Releasing the mouse button stops projectile generation ### Enemy Spawn - [ ] **Enemy appears**: At least one enemy spawns within a few seconds of sortie start - [ ] **Enemy is visible**: Enemy unit is rendered on the canvas as a distinct shape/color - [ ] **Multiple enemies**: Additional enemies spawn over time per the wave configuration ### Enemy Approach - [ ] **Enemy moves toward player**: Enemy units visibly move toward the player position - [ ] **Pathfinding basic**: Enemies do not stop or get stuck immediately (basic approach behavior) ### Projectile-Enemy Collision - [ ] **Hit detection**: Projectile visually disappears or enemy reacts when hit - [ ] **Enemy damage**: Enemy HP bar or visual state changes after being hit - [ ] **Enemy defeat**: Enemy disappears or shows defeat state when HP reaches 0 ### Enemy Damage / Defeat - [ ] **Enemy HP tracking**: Enemy HP decreases with each projectile hit - [ ] **Enemy defeat visual**: Defeated enemies are removed from the arena or show defeat animation - [ ] **Multiple hits**: Enemy survives more than one hit (not one-shot unless design intent) ### Player Contact Damage - [ ] **Contact damage**: Player HP decreases when an enemy touches/overlaps the player - [ ] **HP display**: Player HP is shown in the HUD and updates visibly - [ ] **No instant kill**: Player does not die from a single contact unless design intent ### Victory Condition - [ ] **victory**: When all spawned enemies are defeated, sortie transitions to `victory` status - [ ] **Victory screen/HUD**: UI updates to reflect `sortie.status === "victory"` outcome ### Timeout Terminal Condition > 30秒 timeout は defeat ではなく中立な terminal state(#725 / #732)。旧契約(timeout = defeat)は live label として使用しない。 - [ ] **timeout**: When 30 seconds elapse with enemies remaining, sortie transitions to `timeout` status (neutral terminal, not defeat) - [ ] **Timeout result**: `result.outcome === "timeout"` and `result.endReason === "timeout"` - [ ] **Timeout HUD/overlay**: HUD shows `戦闘終了`; Canvas overlay is neutral / non-DEFEAT ### Defeat Condition - [ ] **defeat (HP)**: When player HP reaches 0, sortie transitions to `defeat` status - [ ] **Defeat screen/HUD**: HP-zero defeat UI reflects `sortie.status === "defeat"` outcome ## AC Verification Summary | AC | Description | Method | Status | |----|-------------|--------|--------| | AC1 | docs/playtest/m2-combat-mvp.md exists | file check | pass | | AC2 | Required YAML fields present | grep | pass | | AC3 | Manual checklist covers all scenarios | doc review | pass | | AC4 | tests/e2e/m2-combat-mvp.spec.ts exists | file check | pass | | AC5 | LoopE2ESnapshot has enemies, sortie, hp fields | grep + typecheck | pass | | AC6 | pnpm typecheck passes | CI gate | pass | | AC7 | pnpm lint passes | CI gate | pass | | AC8 | pnpm test passes | CI gate | pass | | AC9 | pnpm build passes | CI gate | pass | ### Issue #541 AC Verification (CanvasRenderer + HudController M2 entities) | AC | Description | Method | Status | |----|-------------|--------|--------| | AC5 | src/systems no DOM/Canvas dependency | grep regression (exit 1 = pass) | pass | | AC6 | pnpm typecheck+lint+test+build | CI gates | pass | | AC7 | CanvasRenderer renders enemies with defeated filter | static code review | pass | | AC8 | CanvasRenderer shows victory/timeout overlay on result!=null | static code review | pass | | AC9 | Canvas overlay and HUD DOM both use result.outcome as authority | static code review | pass | | AC10 | HUD shows sortie-status / kills / duration / result as DOM text | E2E selector tests | pass | | AC11 | Terminal duration uses result.durationMs; running uses elapsedTicks | static code review | pass | | AC12 | Terminal state latched until reset | state machine inherent (no mutation after terminal) | pass | | AC13 | Victory/Defeat display verified via E2E tests | 3 E2E tests with pixel check | pass | Note: status is `accepted`. Automated E2E verification (16 tests) was the initial baseline. Human playtest evidence added in Issue #543 (PR #570). The timeout scenario (historically named `timeout_30s_defeat`, now `timeout_30s_terminal` per #725 / #732 — timeout is a neutral terminal state, not a defeat) was the last deferred item; its human-verifiable artifact was captured and recorded under #690, so all scenarios — including `hp_zero_defeat` and `all_enemies_defeated_victory` — are now human-confirmed. HUD DOM text confirmed via E2E `toHaveText()`. Canvas bitmap confirmed via E2E pixel checks: enemy red pixels (R>180,G<100,B<100), victory overlay green pixels (G>80), timeout overlay blue-dominant pixels (B>80,B>R/G). Issue #541 adds Canvas enemy rendering, victory/timeout overlay, and HUD sortie information display. ## Human Playtest Evidence Original playtest comment: https://github.com/squne121/loop-protocol/issues/543#issuecomment-4599352702 ```yaml manual_operator: squne121 executed_at: "2026-06-02T15:00:22+09:00" provenance: app_under_test_commit: "5227e96dfa94c063c2d55f30d42348eb44522a9b" automated_e2e_commit: "e46be8a5f0f8781f8d22c9d2cc3e5b7ad78e7279" docs_update_pr: 570 includes_dependencies: - issue: 541 pr: 548 description: "CanvasRenderer + HudController M2 combat entities" - issue: 542 pr: 552 description: "MVP sortie victory/defeat spec" tested_commit: "5227e96dfa94c063c2d55f30d42348eb44522a9b" git_status_short: "" dependency_state: | #541 (feat: CanvasRenderer + HudController M2 combat entities, PR #548) and #542 (spec/impl: MVP sortie victory/defeat spec, PR #552) are both included in tested_commit 5227e96dfa94c063c2d55f30d42348eb44522a9b. command: build: pnpm build serve: "pnpm preview -- --host 127.0.0.1 --port 4173 --strictPort" preview_url: "http://localhost:4173/" environment: os: "Windows 11" browser: "Chrome 148.0.7778.179 (Official Build) (64-bit)" viewport: "unknown (not captured during playtest execution; do not backfill post hoc)" device_pixel_ratio: "unknown (not captured during playtest execution; do not backfill post hoc)" input_device: "keyboard (WASD) + mouse" ``` ### Scenario Results #### all_enemies_defeated_victory - artifact_url: "https://github.com/user-attachments/assets/18e1a14d-23dd-4d65-98bc-55ee5c457797" - artifact_local: "docs/playtest/playtest-victory- 2026-06-02 150022.mp4" - artifact_sha256: "5c92b215d19aed9eee9d919453b7b6e65c8c3845e1f46fd090c8e7dc979feda8" - confirmed: - WASD 移動: confirmed - mouse 射撃: confirmed - enemy 可視 (Canvas 描画): confirmed - collision 検出: confirmed - damage 適用: confirmed - HUD HP update: confirmed - Canvas overlay (victory / green): confirmed - HUD sortie-status 結果一致: confirmed - 全敵撃破→victory 遷移: confirmed #### hp_zero_defeat - artifact_url: "https://github.com/user-attachments/assets/40498efe-8544-4828-9f94-2b60faeb3d57" - artifact_local: "docs/playtest/playtest-defeat-2026-06-02 150402.mp4" - artifact_sha256: "9bf912d7d05dd99a92af5c573b79344b8e6641206fa284a765d1304317574813" - confirmed: - defeat 遷移 (HP 0): confirmed by human operator squne121 - Canvas overlay (defeat / red): confirmed - HUD sortie-status 結果一致: confirmed - contact damage → HP 0 → defeat 遷移: confirmed #### timeout_30s_terminal > Historical note: 旧シナリオ名は `timeout_30s_defeat`。現行契約では 30秒 timeout は defeat ではなく中立な terminal state(#725 / #732)。旧名は historical note としてのみ残す。 - artifact_url: "https://github.com/user-attachments/assets/af06e34d-6f5d-4b69-b76b-f52e7f79b024" - artifact_sha256: "aaea62138a706da43a31c8be6bde9ad70c7577616da622fcd455136fca220c6c" - artifact_bytes: 6342336 - artifact_mime_type: "video/mp4" - tested_commit: "f7d66c19d43da9475763637947359214220c605e" # includes #732 merge a7d74a0f709103c7c5df2e806f80af5a533ad1af (sortie timeout as neutral terminal) - route: "https://squne121.github.io/loop-protocol/pr-743/" - route_provenance: "route は PR #743(#726 数値表示フォーマッタ修正, MERGED 2026-06-07)の Pages preview。pr-743 の差分は src/render/renderUtils.ts と src/ui/HudController.ts(HP 数値表示のみ)であり、SortieSystem の timeout 遷移・result.outcome/endReason・Canvas overlay には非影響。撮影時の app_under_test.commit は tested_commit f7d66c1 と一致する。" - artifact_type: github_user_attachment # GitHub Actions artifact(既定 90 日 retention)ではなく issue/PR への user attachment(永続) - artifact_persistence: "一次証跡は永続的な GitHub user-attachment 動画(sha256/bytes 記録済み)。route の preview URL は PR close で失効しうるが、動画ファイルと sha256 による検証可能性は保たれる。" - browser: "Chrome 149.0.7827.54 / Windows" - viewport: "1920x911 (inner)" - device_pixel_ratio: 1 - operator: "squne121 (human)" - expected (timeout 中立 terminal): "outcome: timeout / endReason: timeout / HUD「戦闘終了」/ Canvas overlay ≠ DEFEAT(中立・青系)" - confirmed (human observation by squne121): - 30秒到達前に victory(全敵撃破)が成立していない: confirmed - HP 0 による defeat ではない: confirmed - timeout 到達時に terminal state へ遷移: confirmed - HUD が「戦闘終了」と読める: confirmed - Canvas overlay が DEFEAT(赤系)ではない(中立・青系): confirmed - e2e_coverage: "tests/e2e/m2-combat-mvp.spec.ts — test 9 (__E2E_SHORT_SORTIE__ fixture, timeout neutral 自動検証済み。補助のみ・人間観察の代替ではない #543)" ### Human Observations - 操作性・ロジック: 問題なし(MVP としてよくできている) - 武装可視化: 自機中心から射撃方向に伸びる棒 → マウスカーソル追従が未実装の疑い(follow-up 要) - 敵 HP 表示: 桁溢れによる表示崩れ確認(follow-up 要) - プレイテスト動線: manual-playtest-runbook.md の日本語化要望(follow-up 要) - Quick Save UI: 戦闘中に Quick Save が使えることはゲームバランス上問題がある可能性あり。セーブ機能は準備フェーズ限定が望ましく、Quick Load も対の存在として必要。また UI での自己説明より SSOT doc での仕様明示が適切(follow-up 要) - viewport/DPR 自動採取: プレイテスト実行時に Chrome version / viewport / device_pixel_ratio を手動記録に依存しており、今回は未記録。次回以降は runbook またはアプリ側での自動採取が必要(follow-up 要) ## Human Playtest Evidence (2026-06-06, AC8 viewport/DPR recapture) This is a **new, separate** evidence block added to resolve the AC8 viewport/DPR waiver (per #689). It does **not** modify or backfill the original 2026-06-02 evidence above. The viewport/DPR recapture was performed across **two distinct Evidence Panel sessions** on 2026-06-06. They are recorded transparently below as separate sessions; AC4 (screenshot/video) is satisfied by Session 1 and AC5 (Download artifact `bytes`/`sha256`) by Session 2. The two sessions use different routes (Pages main vs PR Preview), commits, and viewport sizes; this is recorded as-is and **not** stitched into a single synthetic session. | AC | Coverage | Session | |---|---|---| | AC1 capture conditions | both | S1, S2 | | AC2 raw YAML fields | both | S1, S2 | | AC3 40-char commit (not `unknown`) | both | S1 (`59dbc33…`), S2 (`d0377c2…`) | | AC4 screenshot/video same session | video | S1 | | AC5 Copy result | Copy success | S1 | | AC5 Download artifact `bytes`/`sha256` | download file | S2 | ### Session 1 — GitHub Pages main (2026-06-06T22:55:12Z) Source playtest comment: https://github.com/squne121/loop-protocol/issues/689#issuecomment-4640697498 #### Capture conditions (AC1) - `?playtest_evidence=1` Evidence Panel opened during the manual playtest session. - Browser zoom / window size / DPR condition were fixed before opening the panel; no resize / zoom / display move was performed after opening until capture completed. - canonical route: **GitHub Pages main** (`https://squne121.github.io/loop-protocol/`) — hosted distribution (not a local preview). #### Raw Evidence Panel YAML (AC2, AC3) ```yaml # Loop Protocol Playtest Evidence # Generated by playtestEvidence panel (AC8) playtest_evidence_schema_version: v1 generated_at: "2026-06-06T22:55:12.334Z" source_url: "https://squne121.github.io/loop-protocol/" app_under_test: name: loop-protocol commit: 59dbc33eb42b66406d96c01af10cb513e09ab879 browser: version: 149.0.7827.54 version_source: userAgentData platform: Windows user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 environment: viewport: inner_width: 958 inner_height: 910 client_width: 943 client_height: 910 visual_viewport_width: 943 visual_viewport_height: 910 device_pixel_ratio: value: 1 note: device_pixel_ratio はページズームおよび OS の display scaling 設定によって変化します。1.0 が物理ピクセル等倍とは限りません。 screen: width: 1920 height: 1080 avail_width: 1920 avail_height: 1032 timezone: Asia/Tokyo language: ja hashes: {} ``` - `app_under_test.commit`: `59dbc33eb42b66406d96c01af10cb513e09ab879` — 40-char SHA, recorded directly by the Evidence Panel (not `unknown`). This commit is present on `main`. - `browser.version_source: userAgentData` — version derived from `navigator.userAgentData`, not a UA-string fallback or manual entry. #### Screenshot / video (AC4) - artifact_url: "https://github.com/user-attachments/assets/b4b9fd7a-38bd-46dc-bdc7-ce6f60941d47" - Captured in the same session as the Session 1 YAML above; the running game screen, Evidence Panel, execution URL (`https://squne121.github.io/loop-protocol/`), and viewport/DPR are observable together. #### Copy result (AC5, Copy path) - Copy YAML: success — the Session 1 raw YAML above was copied from the Evidence Panel and pasted verbatim into the source playtest comment (no `error.name` recorded). ### Session 2 — PR Preview (2026-06-06T23:36:16Z, Download artifact) Source attachment comment: https://github.com/squne121/loop-protocol/pull/723#issuecomment-4640794955 #### Capture conditions (AC1) - `?playtest_evidence=1` Evidence Panel opened on the PR Preview deployment of this PR. - canonical route: **PR Preview** (`https://squne121.github.io/loop-protocol/pr-723/`) — hosted distribution (not a local preview). #### Raw Evidence Panel YAML (AC2, AC3) — exact bytes of the downloaded artifact ```yaml # Loop Protocol Playtest Evidence # Generated by playtestEvidence panel (AC8) playtest_evidence_schema_version: v1 generated_at: "2026-06-06T23:36:16.975Z" source_url: "https://squne121.github.io/loop-protocol/pr-723/" app_under_test: name: loop-protocol commit: d0377c29ce18d1d605ebf30547671d61b43faab2 browser: version: 149.0.7827.54 version_source: userAgentData platform: Windows user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 environment: viewport: inner_width: 1920 inner_height: 911 client_width: 1905 client_height: 911 visual_viewport_width: 1905 visual_viewport_height: 911 device_pixel_ratio: value: 1 note: device_pixel_ratio はページズームおよび OS の display scaling 設定によって変化します。1.0 が物理ピクセル等倍とは限りません。 screen: width: 1920 height: 1080 avail_width: 1920 avail_height: 1032 timezone: Asia/Tokyo language: ja hashes: {} ``` - `app_under_test.commit`: `d0377c29ce18d1d605ebf30547671d61b43faab2` — 40-char SHA recorded directly by the Evidence Panel on the PR Preview build (not `unknown`). #### Download artifact (AC5, Download path) The Evidence Panel "Download YAML" artifact was exported and uploaded to GitHub. `bytes` and `sha256` below were computed from the uploaded file (the YAML rendered above is the exact content of that file). ```yaml download_artifact: file_name: "loop-protocol-playtest-evidence-2026-06-06T23-36-16-975Z.yaml" mime_type: application/x-yaml url: "https://github.com/user-attachments/files/28673772/loop-protocol-playtest-evidence-2026-06-06T23-36-16-975Z.yaml" bytes: 1047 sha256: "e981687a87ef4b794b96ca397f4fb529f4ec47898710e462b5021ad0a02a206d" result: success ``` > Note on `hashes: {}`: the Evidence Panel currently exports an empty `hashes` map, so the YAML carries > no self-reported integrity hash. The `download_artifact.sha256` above is the sha256 of the full > downloaded file bytes (computed externally via `sha256sum`), which provides the AC5-required > integrity reference without the self-referential-hash problem. ### Resolution note (AC6, AC7) - AC8 viewport/DPR waiver is resolved against the combined evidence above; the #689 expiry entry has been removed from `acceptance_verdict.partial_or_deferred[AC8]` and the entry is now `status: accepted`. - Raw viewport metrics are recorded as-is for both sessions. `1280x720` and DPR `1.0` are not asserted for the human run. - AC11 (timeout terminal) is **not** modified by this AC8 block. The AC11 deferred waiver was resolved separately under #690 — see the `timeout_30s_terminal` Scenario Result and `acceptance_verdict.partial_or_deferred[AC11]` (`status: accepted`).