mud_server.services.policy.paths

Filesystem path resolution helpers for policy publish/import workflows.

Functions

resolve_policy_export_root(*[, cwd])

Resolve the policy export repository root.

Module Contents

mud_server.services.policy.paths.resolve_policy_export_root(*, cwd=None)[source]

Resolve the policy export repository root.

Resolution order: 1. MUD_POLICY_EXPORTS_ROOT environment variable 2. sibling repo next to the active CLI repo root (derived from cwd) 3. sibling repo next to PROJECT_ROOT (historical default)