fix: replace ambiguous X.Y.Z placeholder with actual version in AGENTS.md (#23)
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
This commit is contained in:
@@ -53,7 +53,7 @@ CHANGELOG.md # Changelog (keep in sync with READM
|
|||||||
|
|
||||||
Version appears in **four places** — all must be updated together:
|
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
|
2. `includes/Plugin.php` — no direct version constant; version passed via constructor
|
||||||
3. `readme.txt` — `Stable tag:` and changelog section
|
3. `readme.txt` — `Stable tag:` and changelog section
|
||||||
4. `CHANGELOG.md` — top entry
|
4. `CHANGELOG.md` — top entry
|
||||||
|
|||||||
Reference in New Issue
Block a user