Type: Independent Reliability QA
Priority: P0
Initial status: Blocked
Owner: Independent QA
Depends on: M5-01, M5-02
Blocks: Gate C/RC
Writable: tests/integration/**, tests/e2e/**, Playwright config,
docs/reliability-report.md
唯一目标
以 production-like build 覆盖核心用户流、失败、竞态、Credential 和 false-mode 回归。
固定 E2E matrix
desktop/mobile happy
desktop/mobile amount mismatch
RPC failure
receipt warning
explicit Fixture recovery
double submit / stale response / API timeout
raw drawer keyboard
credential export/verify/tamper
Clear402 false-mode regression
console/network error audit
验收
[ ] 无 flaky retry 隐藏 deterministic failure
[ ] failure trace/screenshot retained
[ ] core scenarios 在 production build smoke
[ ] no uncaught console errors
[ ] network failure UI 与合同一致
[ ] no desktop/mobile horizontal overflow
[ ] semantic assertions,不只 screenshot
[ ] exact count/duration recorded
验证
pnpm test
pnpm test:fixtures
pnpm test:integration
pnpm test:e2e
pnpm check
Codex 指令
扩展跨层 matrix 并运行;不要用 retry 掩盖竞态。发现产品缺陷时保留 trace,
另开一个 root-cause Bug Issue;QA PR 只放 tests/report。
唯一目标
以 production-like build 覆盖核心用户流、失败、竞态、Credential 和 false-mode 回归。
固定 E2E matrix
验收
验证
pnpm test pnpm test:fixtures pnpm test:integration pnpm test:e2e pnpm checkCodex 指令