Documentation Index
Fetch the complete documentation index at: https://parmanasystems.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
@parmanasystems/governance manages the full lifecycle of governance policies — creating, validating, versioning, and bundling them for deployment.
Install
Key exports
createPolicy(input): Policy
Validates and creates a new policy definition from raw JSON input.
upgradePolicy(existing, updates): Policy
Creates a new policy version from an existing policy, enforcing schema compatibility rules.
validatePolicy(policy): ValidationResult
Validates a policy against the governance schema — checks required fields, signal types, rule structure, and catch-all rule presence.
generateBundle(policy): Bundle
Packages a validated policy into a versioned bundle artifact ready for signing.
evaluatePolicy(policy, signals): DecisionResult
Evaluates policy rules against governed signals. First-match semantics — rules are evaluated in order.
Policy immutability
Parmana Systems enforces policy immutability at the CI level. Thepolicy:immutability script validates that existing policy files have not been modified — only new versions can be added.
CLI integration
Use theparmana CLI to work with policies during development: