Skip to content

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

@radu-mocanu

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.

Metadata

Metadata

Assignees

Labels

governanceLinks to new governance feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions