discover_continue
Apply fit-check scores from an AI judge to filter high-confidence candidates and produce a papers_input.json file for ingest into the vault. Use after running discover_new.
Instructions
Apply fit-check scores from an AI judge and produce a papers_input.json ready for ingest.
Second half of the interactive discovery flow. The user runs
discover_new first (which emits a search-results stash + a
scoring prompt), pastes the prompt into an AI of choice, then
feeds the AI's scored output back through this tool. The scored
candidates are filtered by threshold and written to
papers_input.json in the cluster's discover-stash directory,
ready for the standard ingest pipeline (research-hub auto or
research-hub clusters ingest).
When to use:
You have a JSON list of fit-check scores from an AI judge and want to admit only the high-confidence candidates into the vault.
You're running the two-phase discovery flow because the topic boundaries are fuzzy and you want a human / AI in the loop on which papers belong.
When NOT to use:
You haven't run
discover_newyet — there's no stash to apply scores against. Rundiscover_newfirst.You already have a fully-resolved list of DOIs to ingest; skip discovery and call
add_paperper item, orauto_research_topicfor the one-shot path.You want to re-score an EXISTING ingested cluster's papers; use
fit_check_emit+fit_check_apply(the post-ingest re-scoring path).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_slug | Yes | Slug of the cluster whose discover stash will be consumed. Must match the slug passed to ``discover_new``. | |
| scored | Yes | Either a flat list of score dicts (each with at least ``slug`` + ``score``), or a wrapping dict like ``{"scores": [...]}`` — both shapes accepted. Score values are 0-5 integers; entries missing a score are treated as score 0. | |
| threshold | No | Minimum score (inclusive) for admission. Defaults to ``None`` — when ``auto_threshold=False`` this falls back to the cluster's configured default (typically 4). | |
| auto_threshold | No | When ``True``, ignore ``threshold`` and pick a cutoff automatically from the score distribution (a bimodal gap heuristic). Default ``False`` (use explicit ``threshold``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||