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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user