Skip to content

What the forge records

Every landing, sign-in and birth becomes a signed receipt, and every read is recorded, in tamper-evident logs that compliance reports are built from.

The forge keeps a record of what it does that anyone it gives a copy to can check, without trusting the forge itself. Each record is a receipt: a statement of what happened, signed by the forge. Receipts are kept in a log that cannot be rewritten without anyone noticing, and the compliance reports an auditor asks for are built from that log.

From what happened to evidenceEach event, such as a landing, a sign-in, a birth or a read, becomes a receipt the forge signs. Receipts go into a log, a Merkle tree; signed checkpoints of its size and root prove no entry changed; compliance reports in OSCAL are built from the receipts.Eventa landing, a sign-in,a birth, a readReceiptwhat happened,signed by the forgeLoga Merkle tree ofevery receiptCheckpointthe log's size androot, signedReportOSCAL, builtfrom the receiptsEach organization and each repository keeps its own log.From what happened to evidenceEach event, such as a landing, a sign-in, a birth or a read, becomes a receipt the forge signs. Receipts go into a log, a Merkle tree; signed checkpoints of its size and root prove no entry changed; compliance reports in OSCAL are built from the receipts.Eventa landing, a sign-in, a birth, a readReceiptwhat happened, signed by the forgeLoga Merkle tree of every receiptCheckpointthe log's size and root, signedReportOSCAL, built from the receiptsEach organization and repository keeps its own log.
An event becomes a signed receipt, the receipt joins a Merkle-tree log, signed checkpoints seal the log, and reports are built from the receipts.

Receipts

The forge writes a receipt for each landing, sign-in, agent birth and stop, role grant, approval and purge. Reads of a repository’s files are recorded too, and anchored in the log. A receipt is an in-toto statement in a DSSE envelope, signed by the forge. Each kind’s fields are described in FORGE-RECEIPTS.md in the forge’s source.

The log

Receipts are appended to a log built as Certificate Transparency’s logs are (RFC 9162): a Merkle tree, whose checkpoints state its size and root hash, signed. A checkpoint commits to every entry before it, so changing or removing a past receipt would change every later checkpoint. The platform, each organization and each repository keep their own logs.

Reports

An administrator can build a compliance report from the receipts of a period. Land a change on a development server, then report on it:

$ af-server --dev
...
$ source ~/af-dev/dev/env
$ af workspace add ~/demo
...
$ cd ~/demo
$ af new -m "Add a greeting"
...
$ echo "Hello" > greeting.txt
$ af submit
Submitted commit 26dd09e116d1741350fdb79e5b993bd3b085805e8cb91e32a3f9fd30e8f30da0, 1 edit in its last snapshot
$ af main
26dd09e116d1741350fdb79e5b993bd3b085805e8cb91e32a3f9fd30e8f30da0
$ af report soc2 --from 2026-01-01T00:00:00Z --to 2100-01-01T00:00:00Z --out ~/reports
wrote /home/you/reports/soc2-report.json and /home/you/reports/soc2-report.html; the report's receipt is entry 3 of the log
$ ls ~/reports
soc2-report.html
soc2-report.json

The JSON is OSCAL assessment results, valid against NIST’s schema; the HTML is the same report to read. It has a finding for each control the framework asks about, with what the forge examined and every record that falls short. The report is itself recorded: its receipt names the document’s SHA-256.

On a development server, the identity finding is not satisfied, and that is correct: its developer signs in without an identity provider, and the report lists each such sign-in as an exception. Reports on development servers are never evidence.

Frameworks: soc2, iso27001, pci-dss, hipaa and nist-800-53. Compliance reports explains what each control examines and how to read a report; see also af report.

Type to search…

↑↓ navigate↵ selectEsc close