aeat.application.review package

Application facade for the read-only operator review queue.

Callers import review enums, models, adapters, and projections exclusively from application.review; private underscore modules remain implementation details. The canonical CLI surface is aeat app review queue and show. Those commands are read-only: queue adapters load bucket-scoped source records, derive severity, and emit typed rows without mutating ledger, invoice, filing, or modelo state.

Internally, ReviewQueue aggregates the three concrete ReviewItem variants: TransactionReviewItem, InvoiceReviewItem, and FindingReviewItem. The operator-facing projection layer maps those internal kinds into ReviewQueueRow values using the accepted --kind / --source-kind vocabulary exposed by ACCEPTED_KINDS: ledger_transaction, purchase_invoice_evidence, payable_invoice, collectible_invoice, and modelo_finding. live_notification and sync_divergence remain reserved vocabulary until concrete review sources are wired.

The exported update_ledger_review() and update_invoice_review() helpers append workflow-attention history only. Durable ledger facts, invoice facts, filing findings, and bucket events stay owned by their source application surfaces.

See also

ReviewQueue

Cross-source aggregator over read-only adapters.

ReviewQueueReport

Application report consumed by the CLI review renderer.

ReviewQueueRow

Operator-facing queue row with owner surface and next command metadata.

ReviewItem

Internal discriminated union emitted by source adapters.

ReviewItemKind

Internal adapter-kind enum, distinct from accepted operator kind strings.

ACCEPTED_KINDS

Accepted operator --kind values after source-kind projection.

Submodules