pub mod candidate;
pub mod declarations;
pub mod enter;
pub mod envelope;
pub mod event;
pub mod extraction;
pub mod fact;
pub mod kind_decl;
pub mod outcome;
pub mod payload;
pub mod proposal;
pub mod recall;
pub mod recall_query;
pub mod revision;
pub mod scope;
pub mod source;
pub mod statement;
pub mod status;
pub mod subject;
pub mod version;
pub use candidate::{FactCandidate, FactCandidateBuilder};
pub use declarations::{
ActorFilter, BaseImportance, BrainDeclError, BrainDocs, FillOrder, FilterDecl, FiltersDoc,
Granularity, ImportanceConfig, InContextImportance, InterestDecl, InterestDelivery,
InterestMatch, MAX_LINKS_DEPTH, MAX_SUBJECT_LIMIT, ModelHint, QuorumUnit, Recency,
RetrievalDoc, SynonymsDoc, SynonymsError, TierWeights, TopicDecl, TopicsDoc, UsageWeights,
WorkflowProfileDecl, validate,
};
pub use enter::{EnteredFact, EnteredStatus};
pub use envelope::{BrainEnvelope, Pathway, PathwayWeight};
pub use event::{
BRAIN_CONSUMER, BRAIN_EVENT_VERSION, BrainEvent, BrainEventKind, BrainEventKindError,
};
pub use extraction::{
BRAIN_CONSOLIDATE_PURPOSE, BRAIN_EXTRACT_PURPOSE, BrainModelRequest, BrainModelResponse,
BrainPrompt, ExtractionInput, ExtractionOutput, ExtractionRecord, SourceNode, SourceText,
StrictJsonSchema,
};
pub use fact::BrainFact;
pub use kind_decl::{ExtractorDecl, FieldDecl, FieldType, KindDecl, Materiality, SUBJECT_FIELD};
pub use outcome::{BrainOutcome, CITED_IN_RESPONSE, OutcomeObservation, USER_CORRECTED_FACT};
pub use payload::{CommentAnchorRef, CommentResolved, RevisionLanded, SessionTurnClosed};
pub use proposal::{BrainProposal, ProposalDraft, ProposalKind, ProposalStatus};
pub use recall::{
FactRef, InjectionPlan, RecallAudit, RecallCtx, RecallQuery, RecallRerank, RerankedFact,
RetrievalTier, ScoredFact, StoredBlock, TierRank, WithheldFact, WithheldReason,
};
pub use revision::{FactRevision, RevisionChange};
pub use scope::{FactScope, ScopeLevel, UnknownScopeLevel};
pub use source::{
DOCUMENT_SUBJECT_KIND, EXTERNAL_SUBJECT_PREFIX, FactSource, SourceClass, SourceSpan,
};
pub use statement::{
StatementError, identity_hash, placeholders, render_statement, statement_hash,
};
pub use status::{FactStatus, UnknownFactStatus};
pub use subject::{MAX_SUBJECT_ID_LEN, MAX_SUBJECT_KIND_LEN, SubjectKey, SubjectKeyError};
pub use version::{BRAIN_CODE_VERSION, PipelineVersionInputs};