Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Concept Affinity Table

Auto-generated by cargo run -p xtask-mcpb -- generate-type-tables. Maps domain concepts to their implementing types and modules.

Domain Concepts

ConceptPrimary TypeModuleRelated TypesDerives
TransactionTransactionInputingestIngestedTransaction, JournalTransaction, SampleTransactionDebug, Clone, PartialEq, Eq, Serialize, Deserialize
ClassificationClassificationOutcomeclassifyClassifiedTransaction, ClassificationBatch, ReviewFlagDebug, Clone, PartialEq
ValidationIssuevalidationDisposition, IssueSource, MetaCtx, StageResult<T>Debug, Clone, PartialEq, Serialize, Deserialize
Pipeline StatePipelineState<S>pipelineType-state markers: Ingested, Validated, Classified, Reconciled, Committed, NeedsReviewDebug, Clone, Serialize, Deserialize
Legal RuleLegalRulelegalTransactionFacts, Z3Result, LegalSolver, JurisdictionDebug, Clone, Serialize, Deserialize
ConstraintVendorConstraintSetconstraintsConstraintEvaluation, ConstraintStrength, InvoiceConstraintSolverDebug, Clone, Serialize, Deserialize
VerificationMultiModelVerifier<C>verifyRepairProposal, ReviewResult, VerificationOutcome, ModelClientDebug, Clone, Serialize, Deserialize
WorkflowWorkflowTomlworkflowStateDecl, TransitionDeclDebug, Clone, Deserialize, Serialize
CalendarBusinessCalendarcalendarScheduledEvent, RecurrenceRule, CalendarError
OperationLedgerOperation (trait)ledger_opsOperationContext, OperationResult, OperationKind, OperationDispatcher
DocumentDocumentRecorddocumentDocType, DocumentStatus, XeroLink, XeroEntityTypeDebug, Clone, PartialEq, Eq, Serialize, Deserialize
ShapeDocumentShapedocument_shapeStatementVendor, ColumnMapDebug, Clone, Serialize, Deserialize
Rule RegistryRuleRegistryrule_registryReqIfCandidate, DocumentChunk, SemanticRuleSelector
WorkbookTxProjectionRowworkbookREQUIRED_SHEETS constantDebug, Clone, PartialEq, Eq, Serialize, Deserialize

Module Dependency Graph

ingest ──┬──> journal
         ├──> classify (via SampleTransaction)
         └──> workbook (via TxProjectionRow)

classify ──> ledger_ops (via ClassifiedTransaction → OperationContext)
           ──> rule_registry (via ClassificationEngine)

validation ──> pipeline (via Issue, MetaCtx → PipelineState<S>)

legal ──┬──> pipeline (via Jurisdiction)
        └──> calendar (via Jurisdiction)

constraints ──> validation (via ConstraintEvaluation → Disposition)
              ──> pipeline (via ConstraintStrength)

verify ──> classify (via ModelClient trait)

workflow ──> pipeline (via state machine definition)

document ──> ingest (via DocType detection)
           ──> document_shape (via vendor classification)