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/execution is the core runtime package. It implements the deterministic execution pipeline: token issuance, cryptographic signing, policy evaluation, and attestation production.
Most users interact with this package indirectly via @parmanasystems/core. Use it directly only if you need fine-grained control over individual pipeline stages.
Install
Key exports
executeDecision(context: ExecutionContext): ExecutionAttestation
The core execution function. Runs the three-stage pipeline: verify → execute → sign.
issueToken(input): ExecutionToken
Creates an unsigned governance token binding the decision payload to its execution identity.
getRuntimeManifest(): RuntimeManifest
Returns the current runtime’s version, hash, and supported schema versions. This value is embedded in every attestation.
LocalSigner / LocalVerifier
Ed25519 signer and verifier backed by Node.js crypto. Suitable for development and testing. Use AwsKmsSigner in production.
evaluatePolicy(policy, signals): DecisionResult
Evaluates policy rules against signals and returns the matched decision. Does not sign or produce an attestation — used internally by the pipeline.
verifyExecutionToken(token, signature, verifier)
Verifies the Ed25519 signature on a governance token.
Types
Invariants
This package enforces invariants throughInvariantViolation errors. Any violation throws immediately — there is no partial or silent failure.
See How It Works for the full pipeline documentation.