Skip to content

backdraft 0.15.0

Choose a tag to compare

@spencerbraun spencerbraun released this 23 Oct 13:13
· 12 commits to main since this release

A week on drift: the record and the artifact now know when cited words only moved, locate can make the swap, and a dry run says what an ingest will cost before it runs.

  • bind writes moved_to on a drifted citation whose cited words stand unchanged at exactly one place in the source's current snapshot, and the artifact's card says where they stand instead of word-diffing them against the unrelated paragraph that took over their address. The status stays drifted; the key is optional under artifact-v1, so every record without one is byte-identical apart from the legend. The footnotes projection and the artifact skill follow.
  • backdraft locate <doc.md> --apply writes each moved citation's new token over its old one inside that claim's link — whole ;-separated pieces only, through a temporary file and a rename — and touches nothing else: not an ambiguous or gone citation, not prose, not the registry or the ledger. It refuses at exit 1, writing nothing, if the document changed while it was reading. The plain run's closing line now names --apply rather than telling you to edit tokens by hand.
  • backdraft session show --in <slug> lists, per page, the chunks this session was shown and the ones it was not (p1 shown c1-c25 not shown c26-c57) and closes with the read that covers the first gap — the question to ask after losing context mid-document, instead of re-reading from the top. A sheet reports whether its page was shown and a count of cells. Mints nothing.
  • backdraft ingest --dry-run ends each line with the extractor that would run, chosen the way the ingest chooses it, so a PDF says before the batch whether it goes to vlm — a vision-model call per page — or to the free text layer; an unknown --extractor or a --config key the chosen one never reads fails the dry run with the ingest's own reason. A source already ingested says what it was extracted with and whether this run would re-extract it.

1686 tests.