plexus.rubric_memory.preparation module

class plexus.rubric_memory.preparation.PreparedRubricMemoryCorpus(corpus_root: Path, prepared_root: Path, manifest_path: Path, fingerprint: str, retriever_id: str, status: str, source_file_count: int, sources: list[dict[str, Any]])

Bases: object

A prepared Biblicus corpus built from rubric-memory sources.

__init__(corpus_root: Path, prepared_root: Path, manifest_path: Path, fingerprint: str, retriever_id: str, status: str, source_file_count: int, sources: list[dict[str, Any]]) None
corpus_root: Path
fingerprint: str
manifest_path: Path
prepared_root: Path
retriever_id: str
source_file_count: int
sources: list[dict[str, Any]]
status: str
class plexus.rubric_memory.preparation.RubricMemoryPreparedCorpusManager(cache_root: str | Path | None = None)

Bases: object

Prepare rubric-memory sources into a reusable Biblicus corpus.

SIDECAR_SCHEMA_VERSION = 'rubric-memory-sidecar-v1'
__init__(cache_root: str | Path | None = None)
infer_source_timestamp(relative_path: Path | PurePosixPath) datetime | None
prepare(*, corpus_sources: Sequence[LocalRubricMemorySource | S3RubricMemorySource], retriever_id: str = 'scan', force: bool = False) PreparedRubricMemoryCorpus