reprocess

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

reprocess — One-shot script to reprocess existing ready pieces through docpipe + BufferWriter. Run once after deploying the new sas_ingester with MarkdownConverter + BufferWriter support.

Usage:

reprocess -db /path/to/sas_ingester.db -chunks /path/to/chunks -buffer /path/to/buffer/pending

What it does:

  1. Lists all pieces with state=ready that have no markdown yet
  2. For each: assemble chunks → docpipe.Extract → store markdown + write .md to buffer
  3. Skips pieces that already have markdown (idempotent)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL