GH#954: docs(agents): expand guidance for 4 recurring error patterns from superdav42#955
Conversation
…Write vs Edit, new non-existent paths
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
|
Performance Test Results Performance test results for b9230ba are in 🛎️! Note: the numbers in parentheses show the difference to the previous (baseline) test run. Differences below 2% or 0.5 in absolute values are not shown. URL:
|
WhatExpands WhyThe contributor-insight scanner detected 155 total tool failures in four categories. Previous PRs (#944, #949, #952) addressed documentation gaps; issue #954 shows the counts are still increasing for Changes per error pattern
VerificationDoc-only change. Verified paths with
aidevops.sh v3.13.0 plugin for OpenCode v1.3.17 with claude-sonnet-4-6 spent 6m and 19,485 tokens on this as a headless worker. Merged via PR #955 to main. |
Merge SummaryIssue resolved: GH#954 — Contributor insight: 4 recurring error pattern(s) from superdav42 Changes made to AGENTS.md (34 lines added, doc-only):
Verification: All CI checks passed (PHP Lint, Code Quality, PHP 8.2–8.5, Cypress E2E, WP Performance Metrics). Merged at 9911f4b. |
What
Expands
AGENTS.mdagent guidance with four targeted additions for the recurring error patterns reported in issue #954 by contributorsuperdav42.Why
The contributor-insight scanner detected 155 total tool failures in four categories. Previous PRs (#944, #949, #952) addressed documentation gaps; issue #954 shows the counts are still increasing for
bash:other(+13) andedit:not_read_first(+13). This PR targets two new undocumented failure modes for each.Changes per error pattern
bash:other(42x, +13 from prior filing) — Two new failure modes added to "Common bash:other Failures":--filternot matching:vendor/bin/phpunit --filter NonExistentClassexits 1 with "No tests executed!" — agents should verify test class/method names first usinggit ls-files 'tests/**/*Test.php'.git ls-files inc/**/*.php(unquoted) shell-expands before git sees the pattern, producing wrong results. Always quote:git ls-files 'inc/**/*.php'.edit:not_read_first(39x, +13 from prior filing) — Added a new "New files useWrite, notEdit" paragraph clarifying that:Editis for EXISTING files only and requires a priorRead.Writeis for NEW files and does NOT require a priorRead.git ls-files.read:file_not_found(35x, +2 from prior filing) — Added three new entries to the non-existent paths table:inc/class-checkout.php(root-level) → actual path isinc/checkout/class-checkout.phpinc/class-membership.php(root-level) → model classes are ininc/models/lang/*.po,lang/*.mo→ onlylang/ultimate-multisite.potis trackedVerification
Doc-only change. Verified paths with
git ls-files:inc/class-checkout.php→ empty (does not exist at root)inc/checkout/class-checkout.php→ existslang/ultimate-multisite.pot→ exists; no.po/.mofiles trackedResolves #954
aidevops.sh v3.13.0 plugin for OpenCode v1.3.17 with claude-sonnet-4-6 spent 6m and 19,485 tokens on this as a headless worker.