fix: STで検出した不具合の修正(最初の回答の遅延ほか)とST用テスト #17
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.37) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 228 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.325
Real PR Conversation Timeline
1 comments
"Review active on #17"
general
weight: 0.35
claude[bot]
関連仕様
docs/st-plan.md(v1.0 承認済み)— ST の実施docs/screens.mdS-2・S-6Closes #11, Closes #12, Closes #13, Closes #14
(#15・#16 は S4 の改善のため UAT で判断)
変更内容
ST で検出した不具合の修正
| Issue | 重大度 | 内容 | 修正 |
| --- | --- | --- | --- |
| #11 | S2 | Windows の Chrome で、最初の回答の表示が約0.3秒止まる(R-1 違反)。原因は「☆」の描画時のシステムフォント代替探索 | 星をすべて SVG(
src/components/ui/StarIcon.tsx)に置き換え。実ブラウザで最初の回答 310ms → 5ms。音声ボタンは再生されるまで音声エンジンに触れないよう変更(予防) || #12 | S3 | WebKit で、表示直後に入力した検索語が絞り込みに反映されない(ハイドレーション前の入力) | 動き出した時点で入力欄の値を取り込む |
| #13 | S3 | 問題表示直後のキー入力の取りこぼし | キー入力リスナーを
useLayoutEffect(描画前)で登録 || #14 | S3 | ダークモードの読み込み中の文字のコントラスト不足 |
text-zinc-600 dark:text-zinc-400|ST 用テスト(
tests/st/)playwright.st.config.ts:既定で本番 URL に対して実行。Chromium(Pixel 7/PC)・WebKit(iPhone 15/iPhone SE)。Firefox はこの開発環境のサンドボックスで起動できないためST_FIREFOX=1のときのみnpm run test:st(本体)、npm run test:st:perf(R-1 計測を直列実行)tests/st/lighthouse.mjs:Lighthouse 計測結果の集計@axe-core/playwright、lighthousedocs/st-plan.mdを v1.0(承認済み)にテスト方法
npm run check(ユニット 53件)・npm run build(全ルート Static)docs/st-report.md)を作成スクリーンショット
なし(見た目の変更は星の描画方法のみ。SVG で同じ形・色)
チェックリスト
🤖 Generated with Claude Code