Package-level declarations

Types

Link copied to clipboard
sealed interface ArtifactOutcome

The outcome of ingesting a single artifact within a batch.

Link copied to clipboard
data class IngestedArtifact constructor(val sourceId: String, val locator: SourceLocator, val text: String, val contentHash: String? = null, val trust: AuthorityTier = AuthorityTier.UNKNOWN, val createdAt: Instant? = null, val ingestedAt: Instant? = null)

A normalized unit of source material handed to DICE at the front door.

Link copied to clipboard
data class IngestionBatch constructor(val artifacts: List<IngestedArtifact> = emptyList())

A group of IngestedArtifacts submitted together through the ingestion handoff.

Link copied to clipboard

The front-door handoff for turning normalized source material into propositions.

Link copied to clipboard
interface IngestionLedger

A lean deduplication ledger recording which content hashes have been seen.

Link copied to clipboard
data class IngestionResult(val outcomes: List<ArtifactOutcome>)

The aggregate result of ingesting a batch, with one ArtifactOutcome per artifact.

Link copied to clipboard

In-memory IngestionLedger backed by a concurrent set of seen hashes.