CLAUDE.md のバージョン参照化 + Requires at least を 6.6 に更新(#120 対応) - #127
Merged
Conversation
fumikito
enabled auto-merge
July 7, 2026 07:24
|
AI トリアージ: PR #127 | リスク 🟢 低(ドキュメントのみ) | スコープ: scope:docs | 不足: なし | サマリー: CLAUDE.md のバージョンハードコードを排除し test.yml と composer.json を唯一の情報源として参照する記述に変更。ドキュメント専用の変更のためコードへの影響なし。テスト要否: テスト不要。設計上の懸念: なし(CI との乖離を構造的に防ぐ改善)。🤖 AI トリアージ by claude-code |
CI テストマトリックスや対応 PHP バージョンをハードコードすると実態と乖離するため、 唯一の情報源である test.yml / composer.json を参照する記述に変更。 Fixes #120 Co-authored-by: Claude <noreply@anthropic.com>
fumikito
force-pushed
the
fix/claude-md-version-refs
branch
from
July 7, 2026 07:37
53ca084 to
915cb50
Compare
CI(test.yml)がテストするWP最低バージョン(6.6)に Requires at least を揃える。 README.md には Requires at least 行が欠落していたため追加し、readme.txt 生成時に WordPress.org へ最低WPバージョンが正しく表示されるようにする。 Refs #120 Co-authored-by: Claude <noreply@anthropic.com>
AI トリアージ(差分レビュー): PR #127リスク: 🟢 低(メタデータ更新のみ) サマリー
詳細レビューテスト要否
レビュワーが確認すべき箇所
設計上の懸念なし。CI マトリックスの最低 WP バージョンと 🤖 AI トリアージ by claude-code |
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.
概要
#120の推奨アクションを一括対応。CLAUDE.md のバージョン番号ハードコードを排除し、あわせてRequires at leastを実態(CI がテストする WP 6.6)に揃えました。背景
Issue #120 の指摘どおり、
.claude/CLAUDE.mdの記述(PHP 7.4/8.0 × WP latest/5.9、PHP 7.0+ 互換)が実態と乖離していました。実態は #111(Closes #75)で PHP 8.1 に引き上げ済み(composer>=8.1、test.yml8.1/8.3、ヘッダーRequires PHP: 8.1)。根本原因は「ドキュメント/メタデータにバージョン番号を重複して持っていること」なので、CLAUDE.md は情報源を参照する方式に切り替え、
Requires at leastは実態に合わせました。Single Source of Truth の方針
composer.json(require.php/config.platform.php)が正。rich-taxonomy.phpのRequires PHPはこれに追従.node-version.github/workflows/test.yml変更内容
① CLAUDE.md の CI マトリックス記述(#120 推奨1)
PHPUnit(PHP 7.4/8.0 × WP latest/5.9)→ マトリックスは test.yml 参照 + 情報源を明示② CLAUDE.md のコーディング規約(#120 推奨2)
PHP 7.0+ 互換(ただし CI は 7.4+ でテスト)→ composer.json / test.yml 参照③ Requires at least を 6.6 に更新(#120 推奨3)
rich-taxonomy.php:Requires at least: 5.9→6.6(CI がテストする WP 最低バージョンに整合)README.md:Requires at least: 6.6を新規追加(従来この行が欠落しており、readme.txt 生成時に WordPress.org へ最低 WP バージョンが表示されない状態だった)Fixes #120
🤖 Generated with Claude Code