Unsterwerx

reconstruct

Reconstructs a document from the canonical store and outputs it as markdown or PDF. The output format is auto-detected from the file extension or can be specified with --format.

Usage

bash
unsterwerx reconstruct [OPTIONS] --output <OUTPUT> <DOCUMENT_ID>

Arguments

ArgumentRequiredDescription
DOCUMENT_IDYesDocument ID (UUID) to reconstruct

Options

OptionShortTypeDefaultDescription
--output-opathrequiredOutput file path
--atstringPoint-in-time timestamp (ISO 8601) for temporal reconstruction
--format-fstringautoOutput format: markdown or pdf. Auto-detected from output extension if omitted

Examples

Reconstruct as markdown

bash
unsterwerx reconstruct a1b2c3d4-... -o output.md
Reconstructed: output.md

Reconstruct as PDF

bash
unsterwerx reconstruct a1b2c3d4-... -o output.pdf -f pdf
Reconstructed: output.pdf

Temporal reconstruction

Reconstruct the document as it existed at a specific point in time:

bash
unsterwerx reconstruct a1b2c3d4-... -o output.md --at 2026-02-20T00:00:00Z

Notes