citation-harvest discover
Build or extend a paper's harvest manifest.
Invocation#
lem-cli citation-harvest <id-or-title> discover [--limit <n>] [seed phrase ...]Inputs and options#
- --limit <n> sets a positive per-source discovery limit; otherwise LemCitationHarvest.defaultDiscoveryLimit is used.
- Every bare word after discover is another seed phrasing. Discovery also reads the paper's bibliography and queries OpenAlex and Semantic Scholar.
Output and state#
Merges discovered candidates into manifest.json and prints discovered, added, skipped, manifest, by_source, notes, file, and next. Existing rows are deduplicated and retained.
Refusals#
- --limit without a positive integer refuses with “--limit needs a positive number”.
- Any other dash-prefixed argument refuses with “unknown discover option: <option>”.
- Discovery and file errors are surfaced as a refusal with their exact error description.