Skip to main content
[PARTIAL]. Real semantic re-evaluation, for one execution at a time, not reachable from POST /replay or any other route. See Replay for the full disambiguation from the unrelated POST /replay route.

Purpose

Re-runs PolicyEngine.evaluate() against a trust record’s recorded signals and compares the outcome to what was originally decided, this is genuine semantic verification, not a signature or hash recheck.

Install

Key exports

ReplayResult shape

Minimal example

Full runnable version: examples/tutorials/06-replay/run.ts.
Not reachable from the server. Confirmed by grep: nothing in packages/api or packages/runtime imports @parmana/replay. POST /replay is an unrelated route, a signature recheck via ExecutionTrustApplication.replay(), see REST API Introduction. Don’t assume calling the HTTP route exercises this package.

Next

Replay

The full disambiguation between this package and the unrelated HTTP route.

Policies and the decision

The PolicyEngine this package re-invokes.