Skip to main content
[AVAILABLE] for credential isolation, wired into the default server. [PARTIAL] for the separate ExecutionPermit model described below, real and tested, not reachable from packages/api or packages/runtime today.

Purpose

Authenticates a calling gateway, issues single-use session credentials, and routes a verified release to a connector, auditing every step. See Credential isolation and Gateway attestation for the concepts.

Install

Key exports: the wired credential-isolation path

A second, separate model in this package: ExecutionPermit

This is not the same thing as “Execution Permit,” an earlier prototype name for Execution authorization (packages/shared/src/domain/execution-permit.ts, added and deleted the same day, see the Glossary). That file is gone. This is a different, currently real, ExecutionPermit:
ExecutionPermitBuilder and ExecutionDecision (also exported from this package) build this artifact. It’s consumed by @parmana/receipt’s ExecutionReceiptBuilder, and exercised end to end by examples/tutorials/53-execution-permit/ through 56-complete-execution-flow/. Nothing in packages/runtime or packages/api imports @parmana/receipt or this ExecutionPermit model. It is real, tested, hybrid-signature-capable code, running in a parallel path the default server and the main Execution trust record pipeline never touch.

Minimal example

Full runnable version: Issue and verify session credentials.

Next

Issue and verify session credentials

Issue, consume, expire, reuse-reject, and revoke, run live.

@parmana/receipt

The other half of the unwired ExecutionPermit path.