Repository navigation
Research loop phase 1: the research agent (skill, checker, first session on MetaSoar) - #110
Merged
Merged
Conversation
…17 to E-17d recorded gates-likelihood-readout-27-31b-matches-jev now has two assessments for system:default/metasoar: did-not-transfer for LFM3 1.7B (unchanged) and replicated for Inkling 2 Mini, about 26B (E-04a falsifier not met: 0.810 against 0.843, paired -3.3 [-6.5, -0.3]). New own observations: e04a-inkling-pooled-accuracy, and the handler ladder (a new role, intent-handler, and option, handler-ladder) with one claim each for E-17, E-17b, E-17c and E-17d. New quotes are from MetaSoar at 22feddc (its main); check.py --metasoar passes (43 quotes). The seven predicted probabilities are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KhsqyyPmp7iKCkTFcXs6sh
…tated, stale links fixed - pyproject (0.8.0) and the plugin (0.9.0) both to 0.10.0; uv.lock's own entry only (uv lock --check passes). - CHANGELOG.md: a draft for 0.10.0, not tagged. - README: on GitHub only the container keeps the held-out answers from the candidate (same runner, root inside, Docker's default capabilities); a Limits bullet says so. MCP tools 13, not 11; the schemas line current. - BRIEF.md and CLAUDE.md: rebuild 6 is at the tag archive/rebuild-6 (the branch is gone). NOTICE: the first iteration is at commit cc3b77d (the branch first-iteration is gone). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KhsqyyPmp7iKCkTFcXs6sh
OpenReplicant
added a commit
that referenced
this pull request
Nov 27, 2026
…ching, trial plans, its actions found.yaml joins the catalog (a missing catalog file is skipped, so main still builds). From research/: queue.json becomes queue.html (next to test, best first, with steering buttons), watch.yaml and seen.jsonl a Watching section on the roles page, index.json a cross-check against the claim files. A claim page shows assessments[].trial (plan, cost, needs, code) and its place in the queue. Buttons write research-action: dispute, propose-role and propose-option, which the agent's parser reads first; the labels stay the three planned ones. --root builds another checkout. Tests: every button's action is one the agent reads; queue, watch, seen and the trial plan render and escape (skipped until the schema has assessments[].trial). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KhsqyyPmp7iKCkTFcXs6sh
…half, and a first session on MetaSoar morphogen/research.py: watch arXiv per topic of research/watch.yaml (the API, one request every 3 s, a generic User-Agent); fetch a paper's arXiv HTML into a cache outside the repository (Docling for the PDF only when there is no HTML and it is installed) and turn it into text with element anchors; write EvidenceClaim files from a model's draft only when the quote occurs in the paper's text, the role is on the map, the file validates and the claim is not held already (same paper, same quote); keep catalog/found.yaml equal to the claims; read steering issues (the claim site's research-action/research-claim lines first, then research:* labels or title prefix; applied only from owners, members and collaborators); rank by bits of information in the outcome over the trial's hours. skills/research-loop: one session, and a GitHub Actions template outside .github/workflows (nothing enabled). schemas/evidence-claim.v1.json: one optional field, assessments[].trial (backward compatible). demos/research-loop: three roles from MetaSoar's open questions, 46 papers seen, 4 read, 10 checked claims, 6 options, the queue and an index for the claim site. tests/test_research.py: quotes, HTML, feed, dedupe, schema, steering, ranking, and the demo's own check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KhsqyyPmp7iKCkTFcXs6sh
OpenReplicant
force-pushed
the
claude/research-agent
branch
from
November 27, 2026 16:35
b7009ca to
9aec6fb
Compare
OpenReplicant
marked this pull request as ready for review
November 27, 2026 18:06
This branch was successfully deployed
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.
Builds on #109 (
claude/release-prep): merge #109 first. This branch is rebased onto it, so until #109 is merged GitHub shows #109's two commits in this diff; this PR's own change is the last commit. The base branch stays main.Phase 1 of
docs/research-loop.md: a research agent that finds recent papers for the map's roles and open questions, catalogs their gain-of-function claims with quotes checked against the paper, predicts transfer to our system, and ranks what to test next. It is steered by GitHub issues.What runs end to end
skills/research-loop/SKILL.md: one session. The model does the triage, extraction and prediction.python -I -m morphogen.researchhandlessteer,watch,triage,fetch,catalog,rankandcheck.catalogwrites a claim only if its quote occurs in the paper's text (NFKC, with quotes, dashes and whitespace made plain), its role is on the map, it validates against the schema, and it is not already held (same paper, same quote). The checker refuses everything else and gives a reason.$MORPHOGEN_RESEARCH_CACHE) and parsed by the stdlib HTML parser. Scripts, nav and the bibliography are dropped. Paper text is never executed and never committed.check --fetchre-fetches papers to re-check quotes.demos/research-loop:escalation-gateandtable-qa. Each has its quote at22feddc, verified bycheck.py --metasoar. The handler-ladder papers are claims on Release prep: 0.10.0, the catalog judge's first live run, isolation stated, research loop updated #109'sintent-handlerrole. This branch's ownhandler-ladderrole was the same role, so I dropped it (Release prep: 0.10.0, the catalog judge's first live run, isolation stated, research loop updated #109'shandler-ladderis an option, and it stays).table-qais now a subcomponent ofintent-handler.catalog/found.yaml), plusresearch/queue.jsonandresearch/index.json.check --fetchre-matched all 10 quotes.Schema change (backward compatible)
schemas/evidence-claim.v1.jsongains one optional field,assessments[].trial(plan,cost_hours,needs,code), which the ranking needs. Every claim that was valid before is still valid; a test checks every demo claim, including phase 0's and #109's.For the claim site (#108)
demos/research-loop/claims/arxiv-<id>/<name>.yaml.sources.claimsstays as it is.demos/research-loop/catalog/found.yamltosources.catalog; the options the agent finds go there.research/index.jsonlists every claim and its file.queue.json,seen.jsonl,steering.jsonlandwatch.yamlare described indemos/research-loop/README.md, "Files a website reads".research-action:(prioritise, reject, dispute, question, propose-role, propose-option),research-claim:andclaim-file:are read first. Labels and a[research:...]title prefix are the fallback. Only owners, members and collaborators are applied; every issue is recorded.To turn it on (nothing is enabled here)
research:prioritise,research:rejectandresearch:question.CLAUDE_CODE_OAUTH_TOKEN(fromclaude setup-token).skills/research-loop/research-session.ymlto.github/workflows/, run it once by hand, and uncomment itsscheduleonly afterwards. Alternatively, use a Claude Code/scheduletask, as described indocs/research-loop.md, "Phase 1: running it".Open questions
prediction.bysays so) and want the owner's review before any trial lands.pd-program-beats-ppo, is ranked first because its test is E-18 itself, which is already running.trialcost, so they have no score.morphogen/research.pysits in the core package. The judge never imports it, but it could move to its own package.After the rebase:
rankwas re-run (index and queue now include #109's 5 claims, 40 in all);check.py --metasoarpasses (46 quotes);check --fetchre-matched all 10 arXiv quotes; the full suite passes (324, 12 skipped);claude plugin validatepasses with the warnings that were already there.🤖 Generated with Claude Code
https://claude.ai/code/session_01KhsqyyPmp7iKCkTFcXs6sh