Require multiple search terms in deepresearch
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@companion-ai/feynman",
|
||||
"version": "0.2.33",
|
||||
"version": "0.2.34",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@companion-ai/feynman",
|
||||
"version": "0.2.33",
|
||||
"version": "0.2.34",
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@companion-ai/feynman",
|
||||
"version": "0.2.33",
|
||||
"version": "0.2.34",
|
||||
"description": "Research-first CLI agent built on Pi and alphaXiv",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
||||
@@ -59,6 +59,8 @@ Avoid crash-prone PDF parsing in this workflow. Do not call `alpha_get_paper` an
|
||||
If direct search was chosen:
|
||||
- Skip researcher spawning entirely.
|
||||
- Search and fetch sources yourself.
|
||||
- Use multiple search terms/angles before drafting. Minimum: 3 distinct queries for direct-mode research, covering definition/history, mechanism/formula, and current usage/comparison when relevant.
|
||||
- Record the exact search terms used in `<slug>-research-direct.md`.
|
||||
- Write notes to `<slug>-research-direct.md`.
|
||||
- Continue to synthesis.
|
||||
|
||||
|
||||
@@ -92,6 +92,9 @@ test("deepresearch keeps subagent tool calls small and skips subagents for narro
|
||||
assert.match(deepResearchPrompt, /MUST NOT spawn researcher subagents/i);
|
||||
assert.match(deepResearchPrompt, /Do not inflate a simple explainer into a multi-agent survey/i);
|
||||
assert.match(deepResearchPrompt, /Skip researcher spawning entirely/i);
|
||||
assert.match(deepResearchPrompt, /Use multiple search terms\/angles before drafting/i);
|
||||
assert.match(deepResearchPrompt, /Minimum: 3 distinct queries/i);
|
||||
assert.match(deepResearchPrompt, /Record the exact search terms used/i);
|
||||
assert.match(deepResearchPrompt, /<slug>-research-direct\.md/i);
|
||||
assert.match(deepResearchPrompt, /Do not call `alpha_get_paper`/i);
|
||||
assert.match(deepResearchPrompt, /do not fetch `\.pdf` URLs/i);
|
||||
|
||||
Reference in New Issue
Block a user