Skip to content
Open the portal
Developer docs

The verifier

EngineersCompliance & legal6 min read

stratl is a single Go binary with no dependencies at run time. It needs no account and makes no network calls to verify. It is also compiled to WebAssembly and runs unchanged inside the portal’s Verify page.

macOS, with Homebrew:

Terminal window
brew install --no-quarantine metricall-ai-lab/tap/stratl

The binary is not yet notarised with Apple, so without --no-quarantine macOS shows “Apple could not verify stratl” on first run; xattr -d com.apple.quarantine "$(readlink -f "$(which stratl)")" clears it.

Linux, Windows, or macOS without Homebrew: download the archive for your platform and the checksums file from the releases page, check it, and unpack it.

Terminal window
shasum -a 256 --ignore-missing -c stratl_0.1.0_checksums.txt
tar xzf stratl_0.1.0_linux_amd64.tar.gz # Windows: unzip the .zip
./stratl --version

Every archive holds the licence and the binary, and has a software bill of materials beside it on the releases page (<archive>.sbom.json, SPDX), covered by the same checksums file. The binary makes no network calls and needs no account.

Command Does
stratl verify <bundle.zip | bundle-dir | record.json> Runs every check that can run on the input and prints one line for each: ✓ passed, ✗ failed, – skipped. Exit status 0 only when every check that ran passed
stratl inspect <record.json> Prints the record’s decision_id and its record_hash (SHA-256 over the RFC 8785 form), for producers checking their own canonicalisation against Stratl’s. It does not print the canonical bytes yet
stratl keys Not implemented yet. It will fetch a workspace’s published public key; today, curl https://api.stratl.ai/v1/keys/<key_id> returns it, with no account
stratl audit Not implemented yet. It will read a Langfuse or OpenTelemetry export offline and report which traces would become well-formed decisions and which lack a business subject
Terminal window
stratl verify DEC-F84F5B5EA3E2CD9347A3B4990F.stratl.zip
DEC-F84F5B5EA3E2CD9347A3B4990F
Assurance: observed · Key custody: stratl · Storage custody: stratl
✓ record parses (SRF 0.1)
✓ record hash matches, RFC 8785 + SHA-256 (29335033cace…)
✓ public key present (keys/public.jwk, P-256)
✓ key id matches RFC 7638 thumbprint (_CNzYA9t0haW…)
✓ signature valid (ES256 over canonical bytes)
✓ chain link present (seq 7, prev b8356b4fdb17…)
✓ manifest file hashes match (12 files)
✓ checkpoint parses (seq 3, 5 leaves)
✓ checkpoint signature valid (ES256, key _CNzYA9t0haW…)
✓ record included in checkpoint root (RFC 6962, leaf 2 of 5, root 6974aa4481cf…)
✓ RFC 3161 timestamp imprint matches statement; issued 2026-11-13T12:49:05Z by www.freetsa.org
✓ artifacts match their fingerprints (9 of 9 referenced originals present)
Record integrity: VALID

Each check is one line: ✓ passed, ✗ failed, – skipped because the input does not carry what the check needs. The leaf number counts from zero, as in checkpoint.json. The last line is Record integrity: VALID or INVALID; on INVALID the command also prints Error: verification failed and exits with status 1.

A folder that is an unzipped bundle behaves like the zip. A record.json with its keys/public.jwk beside it passes the six record and signature checks and skips the rest. A record.json entirely on its own is reported INVALID: there is no key to check the signature against, so “public key present” and “signature valid” fail. Verify a record with its key, or better, the bundle.

Both carry a signed manifest rather than a single record. Recompute each file’s SHA-256 against manifest.json, verify manifest.sig.json (ES256 over the RFC 8785 form of the manifest) with keys/public.jwk, then stratl verify each bundle under bundles/ in a subject pack. stratl verify does not take a pack itself: given one, it reports that the bundle has no decision.json. Evidence outputs.

make wasm-export in the backend compiles the verifier to WebAssembly and copies it into the portal repository, where the Verify page loads it. The checks, their names and their order are identical, which is why the portal page lists them before running. A bundle dropped on the page never leaves the browser.

A bundle carries the key it needs. Independently, GET /v1/keys/{key_id} returns any key by id without authentication, and a record may name that URL in custody.key_id_url. stratl keys fetches from it. A verifier can therefore compare the key in a bundle, the key at the URL and the key in the customer’s own bucket.