singularity-forge/src/resources
Tom Boucher aa224b5944 fix: break web search loop with consecutive duplicate guard (#949) (#955)
When the LLM calls the same web search query 4+ times consecutively,
return an error telling it to stop and use existing results instead of
silently returning cached results that the LLM ignores.

Tracks consecutive duplicate searches via a simple counter keyed on
the normalized query + parameters. Resets when a different query is
searched. Threshold is 3 consecutive duplicates before the guard fires.

File changed: search-the-web/tool-search.ts
2026-03-17 15:27:18 -06:00
..
agents fix: type errors in claude-import.ts and marketplace-discovery.ts 2026-03-16 14:46:31 -04:00
extensions fix: break web search loop with consecutive duplicate guard (#949) (#955) 2026-03-17 15:27:18 -06:00
skills feat: add MCP server mode, /lint skill, E2E smoke tests 2026-03-16 13:56:31 -05:00
GSD-WORKFLOW.md feat: meaningful commit messages from task summaries (#803) 2026-03-16 23:30:33 -06:00