Compatibility: Pactmark 0.1.x. The
pactmark binary is owned by @pactmark/cli and operates
over injected host adapters. Commands validate unknown input and authority before mutation.Usage
Development
Local development loop
Runs the project’s development entrypoint.
Build the agent manifest
Reads
AGENT.md and optional skills/* inputs, then atomically writes
.pactmark/generated/agent-manifest.json.Execute a run
Inspection
Current projection
Status, sequence, waiting ids, artifact and verification ids, terminal error code.
Event stream
Verify without executing
Verifies a terminal run from stored events and artifacts without executing any tool or model.
If a run cannot be replayed, its history is not intact.
Verify audit bindings
Checks that authority and decision records resolve consistently.
Diagnostics
doctor fails when required durability, sandbox, credential, policy or registration
evidence is absent. On a fresh memory-backed project it should fail — read the gaps as a checklist.
Evidence
evidence verify re-checks internal references; a missing or incompatible record surfaces as
KAF_EVIDENCE_INVALID_REFERENCE.
Migrations
Effects
effects compensate starts a separate authorised compensation run. It is not an undo.
Tests and evals
Scripting it
.status and .terminalErrorCode, never on printed prose.
Error reference
The codes your scripts should branch on.
HTTP API
The same surfaces over the wire.