[自動レビュー 2026-06-25] 日次コードレビューによる修正 - #12
Draft
stewroux wants to merge 1 commit into
Draft
Conversation
… hook - ci.yml: Node 18 is EOL since Apr 2025, upgrade to Node 20 LTS (fixes #10) - .env.example: document required environment variables - .claude/hooks/session-start.sh: install deps and run lint on session start - .claude/settings.json: register session-start hook
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
2026-06-25 の日次コードレビュー・セキュリティスキャンによる自動修正PRです。
修正内容
✅ CI: Node.js 18 → 20 にアップグレード (closes #10)
Node.js 18 は 2025年4月30日に EOL を迎えました。Node.js 20 LTS (Active) に更新。
✅
.env.example追加必要な環境変数を文書化。セキュリティの観点から
GEMINI_API_KEY(サーバーサイド)推奨を注記。✅ Claude Code セッションスタートフック追加
.claude/hooks/session-start.sh—npm ci+ lint を自動実行.claude/settings.json— フックを登録関連Issue(手動修正が必要)
NEXT_PUBLIC_GEMINI_API_KEYがクライアントバンドルに露出 → API Routeへの移行を推奨localStorageに保存 → XSSリスク、sessionStorage または API Route化を推奨テスト計画
npm ci && npm run lintが通ることnpm run buildが通ること🤖 Generated by daily code review agent (claude-sonnet-4-6)
Generated by Claude Code