V1: Web-search researcher MCP + CLI shim #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ship target: V1 Marchwarden
Build a single agentic researcher exposed as an MCP server, controlled via CLI shim. This is the first node in a multi-agent research network; future versions add more specialists and a PI orchestrator.
Scope: Single researcher (web search)
Researcher capability:
research(question, context?, depth?, constraints?)tool callanswer,citations[],gaps[],cost_metadata,trace_idServer (MCP):
research(question, ...)as the sole tool~/.marchwarden/traces/(or configurable path)CLI shim:
marchwarden ask "what are ideal crops for a garden in Utah?"marchwarden replay <trace_id>Contract details
Tool signature:
Trace log (
~/.marchwarden/traces/{trace_id}.jsonl):step,action,result,timestamp,decisionV1 is NOT
Ship checklist
research()toolDecisions recorded
claude-agent-sdk, officialmcpSDKCreated: 2026-04-08
Assignee: archeious
Milestone: V1 Ship
Contract Revision (2026-04-08)
The research contract has been significantly revised based on architectural critique. Key changes:
New fields added to
ResearchResultraw_excerpton citations — verbatim text from source, prevents synthesis paradox (double-summarization through LLM layers)discovery_events[]— lateral findings for other researchers (logged in V1, auto-dispatched in V2)confidence_factors— exposes inputs to confidence scoring (num sources, authority, contradictions, specificity, recency) for future calibrationGapCategoryenum replaces free-text reasons:SOURCE_NOT_FOUND— info doesn't exist in this domainACCESS_DENIED— paywall, robots.txt, auth wallBUDGET_EXHAUSTED— hit iteration/token capCONTRADICTORY_SOURCES— sources disagree, unresolvableSCOPE_EXCEEDED— needs a different researcher typecontent_hashin trace entries — SHA-256 of fetched content for pseudo-CAS change detectionKnown Limitations documented
Updated ship checklist
research()toolraw_excerpton all citationsFull spec: ResearchContract wiki page