Lem/Docs

citation-harvest plan

Deal extracted papers into round-robin reading batches.

Invocation#

Shell
lem-cli citation-harvest <id-or-title> plan [--batches <n>]

Inputs and options#

  • --batches <n> selects a positive batch count; unstated, the whole readable corpus is one batch.
  • Only manifest entries with extracted text enter the plan.

Output and state#

Writes the batch plan and prints batches, papers, smallest, largest, and file.

Metadata and readable-key selection use the same strictly decoded manifest snapshot, retaining the first stored row for duplicate keys.

Refusals#

  • --batches without a positive integer refuses with “--batches needs a positive number”.
  • Planning and file errors are surfaced as a refusal.
  • An unreadable or malformed manifest refuses with its path and cause before existing batches are replaced; a later permissive reread cannot turn that admitted snapshot into an empty plan.
  • Other plan arguments are currently ignored rather than refused.