Skip to content

実装: #1377 merge後 final-no-command-rail VRT baseline と anti-rail guard を追加する #1393

Open

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
parent_issue: "#1380"
ancestor_issue: "#1370"
goal_ref: "#1377 merge 後、旧 aside.command-rail が runtime DOM から消えた状態を VRT と functional guard で保護する"
change_kind: mixed
preflight_scope: pr_review_only
runtime_verification_applicability: applicable
baseline_expect: fail

Parent Issue

#1380

Parent Goal Ref

Dependencies

Current Validated Scope

Remaining Parent Gaps

  • 1366x768 / 1920x1080 は evidence-only として PR 証跡に残す。

Outcome

#1377 merge 後、runtime DOM に aside.command-rail が存在しないことを functional test と final-no-command-rail frozen baseline で保護し、pnpm test:vrt:e2e と pnpm test:e2e:ci が PASS する状態にする。

In Scope

  • final-no-command-rail baseline
  • .command-rail absence functional assertion
  • title -> preparation -> running -> result -> preparation の overlay-only visual smoke
  • 1280x720 required gate
  • 1366x768 / 1920x1080 は evidence-only

Out of Scope

  • 新規 UI 機能追加
  • Canvas interactive UI 復活
  • SaaS VRT

Acceptance Criteria

  • AC1: runtime DOM に aside.command-rail が存在しないことを functional test が検証する。
  • AC2: final-no-command-rail VRT baseline が registry 上で frozen になっている。
  • AC3: screenshot は battle-stage 内 overlay UI のみを正本として扱う。
  • AC4: 1366x768 / 1920x1080 の evidence が PR に残っている。
  • AC5: pnpm test:vrt:e2e と pnpm test:e2e:ci が PASS する。

Verification Commands

# AC1
$ rg -n "command-rail" tests/e2e
# AC2
$ rg -n "final-no-command-rail" docs/dev/visual-baseline-registry.md
# AC3
$ rg -n "battle-stage" tests/e2e/visual-overlay.spec.ts
# AC4
$ rg -n "1366x768" docs/dev/visual-baseline-registry.md tests/e2e .github/workflows/ci.yml
# AC5
$ pnpm test:vrt:e2e
# AC5
$ pnpm test:e2e:ci

Allowed Paths

  • tests/e2e/**
  • tests/e2e/**screenshots**/**
  • docs/dev/visual-baseline-registry.md

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • In Scope の固定契約(キー集合・スキーマ・型定義)の変更が必要になった場合
  • 新規 Issue の起票が必要と判断した場合(スコープ分割が発生する場合)
  • 後続 Phase / 別スコープへの波及が判明した場合
  • nested SubAgent delegation が必要になった場合
  • 外部サービス利用・権限昇格・既存テスト大規模改変が必要になった場合
  • 実装: 旧 command rail を削除し overlay UI を E2E 検証する #1377 が未マージの場合
  • Canvas interactive UI を復活させる必要が出た場合
  • SaaS VRT が必要になった場合

Required Skills

  • Playwright
  • Visual regression testing

Required Design References

  • docs/dev/visual-baseline-registry.md
  • tests/e2e/visual-overlay.spec.ts

Scope Delta(任意)

N/A

Delivery Rule

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions