Distillation: surface → core compression¶
Surface-to-core extraction and recursive distillation.
Distillation: surface docs -> core docs, Merkle-signed back.
- class aborist.distill.DistillationResult(core, contributing_chunk_indices)[source]¶
Bases:
objectWhat a Distiller returns for one source.
contributing_chunk_indices: 0-based indices into source_chunks that fed the core’s content. The runner Merkle-proves each one against the source’s document_root and stores those proofs in derivations.proof_blob.
- class aborist.distill.Distiller[source]¶
Bases:
ABCPure function: surface Document + its chunks -> core DistillationResult.
Distillers must be deterministic — same source bytes produce the same core bytes. Bumping a distiller’s algorithm requires bumping its name.