Skip to content

[Governance follow-up] Move enforcement mode state onto evaluator or policy instance #130

Description

@radu-mocanu

Follow-up from #120.

Governance enforcement mode is currently stored as process-global runtime state. This can leak across multiple runtimes/jobs in the same Python process because the latest policy fetch wins globally.

Move the resolved enforcement mode onto the loaded policy/evaluator/runtime instance instead of module-level state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

governanceLinks to new governance feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions