M5.1.5 arxiv-rag: CLI integration (--researcher arxiv) #42

Open
opened 2026-04-08 23:17:49 +00:00 by claude-code · 0 comments
Collaborator

Fifth sub-milestone of Issue #37. Design: ArxivRagProposal.

Goal

Wire the arxiv-rag MCP server (M5.1.4) into the CLI so users can ask questions of it the same way they ask the web researcher.

Scope

  • cli/main.py:
    • New --researcher [web|arxiv] flag on ask (default web for backward compat)
    • When --researcher arxiv, spawn python -m researchers.arxiv.server instead of the web server
    • Reuse the existing call_research_tool plumbing — only the spawn target changes
  • The arxiv subgroup from M5.1.1 stays where it is; this issue is purely about plumbing ask --researcher
  • Update User Guide wiki page with the new flag and a quick example

Tests

  • CliRunner test mocking call_research_tool for both --researcher web and --researcher arxiv, verifying the right server is spawned and the response is rendered identically

Stretch (maybe own issue later)

  • --researchers web,arxiv to fan out and merge — not in scope here

Branch

feat/arxiv-rag-cli

Blocked by: M5.1.4. Blocks: M5.1.6 (logically — M5.1.6 needs end-to-end runs to verify ledger fields).

Fifth sub-milestone of Issue #37. Design: [ArxivRagProposal](https://forgejo.labbity.unbiasedgeek.com/archeious/marchwarden/wiki/ArxivRagProposal). ## Goal Wire the arxiv-rag MCP server (M5.1.4) into the CLI so users can ask questions of it the same way they ask the web researcher. ## Scope - `cli/main.py`: - New `--researcher [web|arxiv]` flag on `ask` (default `web` for backward compat) - When `--researcher arxiv`, spawn `python -m researchers.arxiv.server` instead of the web server - Reuse the existing `call_research_tool` plumbing — only the spawn target changes - The `arxiv` subgroup from M5.1.1 stays where it is; this issue is purely about plumbing `ask --researcher` - Update User Guide wiki page with the new flag and a quick example ## Tests - CliRunner test mocking `call_research_tool` for both `--researcher web` and `--researcher arxiv`, verifying the right server is spawned and the response is rendered identically ## Stretch (maybe own issue later) - `--researchers web,arxiv` to fan out and merge — not in scope here ## Branch `feat/arxiv-rag-cli` Blocked by: M5.1.4. Blocks: M5.1.6 (logically — M5.1.6 needs end-to-end runs to verify ledger fields).
claude-code changed title from A.5 arxiv-rag: CLI integration (--researcher arxiv) to M5.1.5 arxiv-rag: CLI integration (--researcher arxiv) 2026-04-08 23:23:14 +00:00
archeious added this to the Phase 5: Second Researcher milestone 2026-04-08 23:23:43 +00:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: archeious/marchwarden#42
No description provided.