feat(#1727): add bare-word grep pattern guidance for rename PRs#2044
Conversation
The review agent's stale-reference grep used only syntax-specific patterns (e.g., `\brepository:`) when checking for leftover references after a rename. This missed prose references in documentation files where field names appear without syntax suffixes (e.g., backtick-wrapped `repository` in markdown). Add rename/deprecation pattern strategy to the docs-currency sub-agent with guidance to use both a bare-word pattern (`\bOLD_NAME\b`) and syntax-specific patterns. Add matching guidance to the code-review skill's docs currency dimension for consistency when used outside the pr-review orchestrator. Note: `make lint` could not run due to sandbox permission errors (gitleaks Go build). Changes are markdown-only and do not affect Go compilation or tests. Closes #1727
Site previewPreview: https://c1078259-site.fullsend-ai.workers.dev Commit: |
|
🤖 Review · Started 7:56 PM UTC |
ReviewFindingsLow
Info
Previous runReviewFindingsLow
|
| @@ -18,3 +18,21 @@ references to renamed/removed identifiers. | |||
| Extract identifiers from the diff, then search documentation files for | |||
| references. Flag docs that reference identifiers modified or removed in | |||
| this PR. | |||
There was a problem hiding this comment.
[low] design-direction
The new Rename/deprecation pattern strategy section is appended to docs-currency.md but is not referenced by docs-review/SKILL.md step 4, where the grep script is constructed. The sub-agent will still see the guidance since it reads its full prompt, so the integration gap is minor.
Suggested fix: Consider adding a cross-reference to the pattern strategy section in docs-review/SKILL.md step 4.
|
🤖 Finished Review · ✅ Success · Started 7:56 PM UTC · Completed 8:04 PM UTC |
|
/fs-fix |
|
🤖 Finished Fix · ✅ Success · Started 8:40 AM UTC · Completed 8:45 AM UTC |
Add a cross-reference to the docs-currency sub-agent's "Rename/deprecation pattern strategy" section in docs-review/SKILL.md step 4, where the grep script is constructed. This ensures the bare-word pattern guidance is discoverable from both the sub-agent prompt and the standalone docs-review skill. Addresses review feedback on #2044
🔧 Fix agent — iteration 1 (human-triggered)Addressed 1 of 2 review findings. Added cross-reference from docs-review/SKILL.md step 4 to the docs-currency sub-agent's rename/deprecation pattern strategy section. Disagreed with tier-mismatch finding as informational and outside fix scope. Fixed (1):
Disagreed (1):
Tests: passed Updated by fullsend fix agent |
|
🤖 Finished Review · ✅ Success · Started 8:46 AM UTC · Completed 8:59 AM UTC |
The review agent's stale-reference grep used only syntax-specific patterns (e.g.,
\brepository:) when checking for leftover references after a rename. This missed prose references in documentation files where field names appear without syntax suffixes (e.g., backtick-wrappedrepositoryin markdown).Add rename/deprecation pattern strategy to the docs-currency sub-agent with guidance to use both a bare-word pattern (
\bOLD_NAME\b) and syntax-specific patterns. Add matching guidance to the code-review skill's docs currency dimension for consistency when used outside the pr-review orchestrator.Note:
make lintcould not run due to sandbox permission errors (gitleaks Go build). Changes are markdown-only and do not affect Go compilation or tests.Closes #1727
Post-script verification
agent/1727-broaden-stale-ref-grep)809dd645e11aaa889a3355b4220dbe186797dd1c..HEAD)