From 34b0b6f0d63ad0e5d665b82c6c6c44128deea265 Mon Sep 17 00:00:00 2001 From: Marcus Quinn <6428977+marcusquinn@users.noreply.github.com> Date: Thu, 23 Apr 2026 05:29:11 +0100 Subject: [PATCH] fix: replace ambiguous X.Y.Z placeholder with actual version in AGENTS.md (#23) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gemini review (PR #14) flagged that 'X.Y.Z' in the Version Management section is problematic for AI agents — they may interpret it literally or fail to match it during automated edits. Replace with the actual current version '2.4.0' plus a parenthetical instruction '(replace 2.4.0 with the new version)' so the context is unambiguous: agents can grep for the exact string and know what to substitute. Resolves #19 --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index dde51ff..2c1e7ee 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -53,7 +53,7 @@ CHANGELOG.md # Changelog (keep in sync with READM Version appears in **four places** — all must be updated together: -1. `wp-fix-plugin-does-not-exist-notices.php` — `Version:` header and `new Plugin(__FILE__, 'X.Y.Z')` +1. `wp-fix-plugin-does-not-exist-notices.php` — `Version:` header and `new Plugin(__FILE__, '2.4.0')` (replace `2.4.0` with the new version) 2. `includes/Plugin.php` — no direct version constant; version passed via constructor 3. `readme.txt` — `Stable tag:` and changelog section 4. `CHANGELOG.md` — top entry