fix(researcher): verify package versions against registry before recommending (#1077)

The researcher agent now verifies each recommended package version
using 'npm view [package] version' before writing the Standard Stack
section. This prevents recommending stale versions from training data.

Addresses patch 5 from #899
This commit is contained in:
Tom Boucher
2026-03-16 10:53:55 -04:00
committed by GitHub
parent 3977cf3947
commit 540913c09b

View File

@@ -238,6 +238,12 @@ Priority: Context7 > Official Docs > Official GitHub > Verified WebSearch > Unve
npm install [packages]
\`\`\`
**Version verification:** Before writing the Standard Stack table, verify each recommended package version is current:
\`\`\`bash
npm view [package] version
\`\`\`
Document the verified version and publish date. Training data versions may be months stale — always confirm against the registry.
## Architecture Patterns
### Recommended Project Structure