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.
Why governance requires determinism
Probabilistic systems — ML models, heuristics, A/B test allocations — are designed to produce different outputs for the same inputs under different conditions. That is a feature for prediction. It is a fatal flaw for governance. A governance system has one requirement that probabilistic systems explicitly violate: given the same inputs and the same policy version, the decision must always be the same — and that sameness must be provable. Without determinism you cannot:- Re-run a historical execution to verify it produced the correct outcome
- Prove to an auditor that a specific decision was made by a specific policy
- Detect whether a decision was modified after the fact
- Replay an execution for forensic investigation
Input canonicalization
Raw JavaScript objects are not stable.{ b: 2, a: 1 } and { a: 1, b: 2 } are semantically identical but produce different JSON strings. Parmana Systems’s canonicalization recursively sorts all object keys before hashing or signing:
- The
execution_fingerprintis a stable identity for a logical decision - The
signatureover the attestation is reproducible - Anyone can independently recompute the expected fingerprint from original inputs
Policy version pinning
ThepolicyId and policyVersion are embedded in every attestation. This means:
- A decision made under
claims-approval/v1cannot be retrospectively claimed to have been made underclaims-approval/v2 - Policy evolution is explicit — new version, new ID, new decisions
- Historical attestations remain verifiable even after policies are upgraded
policy:immutability CI check enforces that existing policy files are not modified — only new versions are added.
Replay protection
Theexecution_fingerprint is the SHA-256 of (policyId + policyVersion + canonical signals). The replay store tracks which fingerprints have been executed.
If the same (policyId, policyVersion, signals) tuple is submitted a second time, the runtime rejects it with a replay violation before any evaluation occurs.
Replay store implementations
| Implementation | Use case |
|---|---|
MemoryReplayStore | In-process; appropriate for unit tests and single-process development |
RedisReplayStore | Distributed; appropriate for multi-instance production deployments |
ReplayStore interface — you can swap them without changing any other code.
Runtime provenance
Every attestation includesruntimeVersion and runtimeHash — a hash of the runtime binary state at execution time. This means:
- An attestation produced by runtime version
1.65.0can be verified to have come from that specific runtime - If the runtime is replaced or tampered with between execution and verification, the
runtimeHashmismatch is detectable - Independent verification does not trust the runtime — it verifies the attestation standalone
What determinism does NOT cover
Parmana Systems guarantees determinism within the governance pipeline. It does not govern:- The process that produces input signals (your application code, AI model, external APIs)
- The downstream action taken after a
completedattestation (your system’s responsibility) - The security of the signing key itself (use AWS KMS or equivalent HSM in production)