Expand description
Environment scoping for WeftOS governance.
Environments (development, staging, production) define governance scopes with different risk thresholds, capability sets, audit levels, and learning policies. The same agent identity operates across environments but with capabilities scoped to each environment’s governance rules.
§Design
All types compile unconditionally. Environment-scoped governance
enforcement requires the kernel’s capability checker and is wired
in the boot sequence. The self-learning loop (SONA integration)
requires the ruvector-apps feature gate.
Structs§
- Environment
- An environment definition with its governance scope.
- Environment
Manager - Environment manager.
- Governance
Branches - Active governance branches (three-branch separation).
- Governance
Scope - Governance scope defining rules for an environment.
Enums§
- Audit
Level - Audit trail detail level.
- Environment
Class - Environment class determines base governance rules.
- Environment
Error - Environment management errors.
- Learning
Mode - SONA learning mode.
Type Aliases§
- Environment
Id - Unique environment identifier.