mud_server.services.policy.runtime_resolution

Runtime-facing policy resolution helpers.

This module resolves effective policy payloads from canonical Layer 3 activation pointers only. It intentionally does not map legacy file paths.

Functions

resolve_effective_prompt_template(*, scope[, ...])

Resolve effective canonical prompt policy for one scope.

resolve_effective_axis_bundle(*, scope)

Resolve canonical manifest+axis bundle payloads for runtime callers.

resolve_effective_image_policy_bundle(*, scope)

Resolve image-policy diagnostic bundle from canonical DB activations.

Module Contents

mud_server.services.policy.runtime_resolution.resolve_effective_prompt_template(*, scope, preferred_policy_id=None)[source]

Resolve effective canonical prompt policy for one scope.

mud_server.services.policy.runtime_resolution.resolve_effective_axis_bundle(*, scope)[source]

Resolve canonical manifest+axis bundle payloads for runtime callers.

mud_server.services.policy.runtime_resolution.resolve_effective_image_policy_bundle(*, scope)[source]

Resolve image-policy diagnostic bundle from canonical DB activations.

This keeps the existing route response shape while changing the source of truth from filesystem manifest parsing to canonical DB policy rows.