aeat.application.operator_surface._crud_registry module

Registered noun-group catalogue for the CRUD verb contract.

Every mutating noun-group in the operator-facing CLI registers a MutatingNounGroupContract. The catalogue exposed here is the single source of truth consumed by cross-cutting conformance tests.

Registered entries:

  • aeat app ledger evidence (locked CRUD reference shape)

  • aeat app ledger invoice (link-orthogonal CRUD, –kind issued|received)

  • aeat app ledger ratios (key-value-as-record exception)

  • aeat app ledger inventory (lifecycle operations)

  • aeat config auth apoderado (lifecycle operations)

Each entry documents the noun-group’s intended verb set plus its declared exception class. The conformance harness in aeat.application.operator_surface.tests.test_crud_registry (and any future CLI surface tests) consumes BUILTIN_CRUD_CATALOGUE to detect drift between shipped Typer subgroups and the locked design.

get_builtin_catalogue()[source]

Return the shipped CrudContractCatalogue.

Indirection through a function lets future code substitute a catalogue per test fixture without mutating module-level state.

Return type:

CrudContractCatalogue