orchestrata_ultimate.core.base

Reference › orchestrata_ultimate › core › base

Foundation base classes for all Orchestrata-generated code.

The foundation classes that generated and ported code in core inherits from. Domain objects derive from entity (BaseEntity: UUID identity, timestamps, dictionary round-trip). Exceptions derive from error (BaseError: code, message, context, cause chain). Persistence is described by the async repository protocol, and services share the IComponent lifecycle defaults of service. The traces module holds the @traces decorator that annotates code with requirement ids; it has no project imports, which lets every layer use it. The package root re-exports these and loads BaseService lazily. There are no entry points; start with entity and error, then the curated core narrative.

6 modules, 501 lines of code.

Modules

Module Summary LOC
__init__ Foundation base classes for all Orchestrata-generated code. 29
entity BaseEntity — identity-based domain object with UUID and timestamps. 177
error BaseError — structured exception with code, message, context. 66
repository BaseRepository — async CRUD interface for entity persistence. 80
service BaseService — service base with config, logging, and IComponent lifecycle. 77
traces Traceability decorator — layer-0 safe. 72

Dependency diagram

Package dependency diagram orchestrata_ultimate.core.base