orchestrata_contracts.env

Reference › components › contracts › orchestrata_contracts › env

orchestrata_contracts.env package.

The env subpackage of contracts holds environment and endpoint resolution shared by every component. Its module docstrings describe whole-module lifts of the frozen single-package code (decisions D-C3 and D-C6): env_bootstrap (function-only), infra_config (the largest, 396 lines) and infra_env_rule. Two small modules hold lifted functions: kg_endpoint carries resolve_kg_database from the old graph factory (AD-25), and redis_endpoint carries _require_infra, resolve_redis_host and resolve_redis_port. Placing them here lets components resolve Redis and graph endpoints without importing each other.

6 modules, 743 lines of code.

Modules

Module Summary LOC
__init__ orchestrata_contracts.env package. 2
env_bootstrap orchestrata_contracts.env.env_bootstrap — whole-module lift of frozen core.env_bootstrap (function-only, D-C3/D-C6). 171
infra_config orchestrata_contracts.env.infra_config — whole-module lift of frozen core.infra_config (D-C3). 396
infra_env_rule orchestrata_contracts.env.infra_env_rule — whole-module lift of frozen core.infra_env_rule (D-C3). 92
kg_endpoint orchestrata_contracts.env.kg_endpoint — the functions resolve_kg_database of frozen core.graph_factory (AD-25). 45
redis_endpoint orchestrata_contracts.env.redis_endpoint — the functions _require_infra, resolve_redis_host, resolve_redis_port of… 37

Dependency diagram

Package dependency diagram orchestrata_contracts.env