Files
ThothII/harness/tht/evidence/__init__.py
Codex 82e2c91f42
Publish documentation / publish (push) Successful in 1m27s
feat: implement memory and evidence administration with guided repairs
Add PostgreSQL-backed memory, editable evidence with source review and activation, and human-approved archive repairs across the harness, API, and UI. Include migrations, deployment support, regression coverage, and validation documentation.

Refresh permissions from validated session roles so existing administrator logins can access newly deployed archive management features.
2026-09-10 10:31:34 +02:00

115 lines
3.1 KiB
Python

"""Cohesive public entrypoint for Evidence domain capabilities."""
from tht.evidence.acquisition import acquire, discover
from tht.evidence.authoring import (
EvidenceManifest,
EvidenceMigrationReport,
EvidencePreparationError,
EvidencePreparationReport,
EvidenceResolutionReport,
EvidenceRestructurer,
PiEvidenceRestructurer,
RestructureCandidate,
RestructureRequest,
ValidationFinding,
ValidationReport,
dump_manifest,
load_manifest,
migrate_workspace_evidence,
prepare_workspace_evidence,
resolve_workspace_evidence,
validate_workspace_evidence,
)
from tht.evidence.canonical import (
CuratedEvidence,
ManualEvidenceProvenance,
dump_curated_markdown,
load_curated_tree,
parse_curated_markdown,
)
from tht.evidence.contracts import (
AcquiredDocument,
EvidenceSource,
EvidenceSourceError,
EvidenceSourceErrorCategory,
SourceObject,
canonical_provenance_uri,
normalize_aware_datetime,
validate_namespaced_value,
validate_safe_metadata,
)
from tht.evidence.local_archive import ArchiveConflict, LocalEvidenceArchive
from tht.evidence.preprocessing import EvidenceEmbedder, build_preprocessing_pipeline
from tht.evidence.search import (
ActiveEvidenceSearcher,
CorpusWorkspaceMismatchError,
EvidenceQueryEmbedder,
EvidenceResult,
EvidenceSearchContext,
EvidenceSearchOutcome,
active_searcher,
build_retrieval_entries,
render_evidence_query,
resolve_citation,
search_evidence,
validate_corpus_workspace,
)
from tht.evidence.session import EvidenceReceipt, project_session, replace_evidence_receipt
from tht.evidence.sources import build_sources
__all__ = [
"AcquiredDocument",
"ActiveEvidenceSearcher",
"ArchiveConflict",
"CorpusWorkspaceMismatchError",
"CuratedEvidence",
"EvidenceEmbedder",
"EvidenceManifest",
"EvidenceMigrationReport",
"EvidencePreparationError",
"EvidencePreparationReport",
"EvidenceQueryEmbedder",
"EvidenceReceipt",
"EvidenceResolutionReport",
"EvidenceRestructurer",
"EvidenceResult",
"EvidenceSearchContext",
"EvidenceSearchOutcome",
"EvidenceSource",
"EvidenceSourceError",
"EvidenceSourceErrorCategory",
"LocalEvidenceArchive",
"ManualEvidenceProvenance",
"PiEvidenceRestructurer",
"RestructureCandidate",
"RestructureRequest",
"SourceObject",
"ValidationFinding",
"ValidationReport",
"acquire",
"active_searcher",
"build_preprocessing_pipeline",
"build_retrieval_entries",
"build_sources",
"canonical_provenance_uri",
"discover",
"dump_curated_markdown",
"dump_manifest",
"load_curated_tree",
"load_manifest",
"migrate_workspace_evidence",
"normalize_aware_datetime",
"parse_curated_markdown",
"prepare_workspace_evidence",
"project_session",
"render_evidence_query",
"replace_evidence_receipt",
"resolve_citation",
"resolve_workspace_evidence",
"search_evidence",
"validate_corpus_workspace",
"validate_namespaced_value",
"validate_safe_metadata",
"validate_workspace_evidence",
]