feat(research): daily arXiv + leapmodel research pipeline#367
Draft
nolanmak wants to merge 1 commit into
Draft
Conversation
New `augmentagent research` subcommand runs a daily pipeline: pull recent
arXiv AI/agent papers (cs.AI/MA/CL/LG, keyword-filtered + deduped) and the
latest leapmodel commits, compare them against our agent process via a
swappable LLM driver (RESEARCH_LLM_CMD, default 'claude -p'), file GitHub
issues for the top gaps, and post a digest to Discord.
- store: research_seen dedup table + research_seen()/mark_research_seen()
- cli: research.rs pipeline module, Research subcommand, quick-xml dep
- scripts: daily-research.sh + install/uninstall + auto-updater registration
(systemd timer fires 08:00, modeled on the existing digest job)
- .env.example: RESEARCH_* config block
The LLM is invoked as an external command (prompt on stdin, {"gaps":[...]}
JSON on stdout) so it can be swapped for codex/ollama/an OpenAI-compatible
shim without touching the pipeline. Every stage is best-effort and degrades
gracefully. Issue-create and Discord posting reuse existing proven paths.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This was referenced Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New
augmentagent researchsubcommand + daily schedule. Each day it:research_seentable).gh api.schema/*.md) using a swappable LLM driver (RESEARCH_LLM_CMD, defaultclaude -p).RESEARCH_GH_REPO.post_digest_to_discord).Swappable engine
The LLM is an external command: prompt on stdin,
{"gaps":[…]}JSON on stdout. Swapclaude -pforcodex exec,ollama run, or an OpenAI-compatible shim with zero pipeline changes. Every stage is best-effort and degrades gracefully (a failed arXiv/leapmodel/LLM step logs a warning and the run continues).Files
crates/augmentagent-store/src/store.rs—research_seentable + helperscrates/augmentagent-cli/src/research.rs— new pipeline modulecrates/augmentagent-cli/src/main.rs—mod research,Researchsubcommand + dispatch,pub(crate)on Discord fncrates/augmentagent-cli/Cargo.toml—quick-xml.env.example—RESEARCH_*blockscripts/{daily-research,install-research,uninstall-research}.sh— new (08:00 timer, modeled on digest)scripts/check-for-updates.sh— auto-register the timerVerified ✅
claudedriver produced actionable gaps incl. a leapmodel→agent transfer ("read-the-peak" adaptive halt)catstub → graceful degradationcargo build --releaseclean; 5 unit tests passNOT yet fired (outward-facing) — tracked in #364
gh issue create(mechanism mirrorsGhCliIssueRunner)Remaining work
Notes for reviewer
main+ runscripts/check-for-updates.sh(auto-registers the timer).