Manuscript Offprint
arXiv:2610.34594NovaFabric: A Black-Box Recorder for AI Agents with Sealed, Replayable, Diffable and Auditable Runs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
NovaFabric: A Black-Box Recorder for AI Agents with Sealed, Replayable, Diffable and Auditable Runs
Mohsen Seyedkazemi Ardebili
An AI agent run is no longer a function call. It is a cascade of prompts, model calls, tool invocations, file and network effects and sub-agents. When such a run misbehaves, or an auditor asks what happened, logs and traces answer poorly: they are mutable, partial and cannot be re-executed. This technical report describes NovaFabric, an open-source (Apache-2.0) black-box recorder for AI agents that turns a run into a sealed, replayable, diffable and auditable evidence capsule. The design rests on two formats only. The Run Capsule is a directory of flat files and the source of truth; every database is a rebuildable index over capsules. The Evidence Bundle is the signed export for an auditor. Everything else follows existing standards: OpenTelemetry GenAI, OpenLineage, W3C PROV, in-toto/DSSE, RFC 3161 and CycloneDX. A single-node run is the smallest case of a distributed one; the schema supports a capsule hierarchy for Slurm arrays and Kubernetes jobs, though automatic parent finalization is library-only today. The report covers the architecture and the engines behind the verb chain capture, seal, replay, diff and audit: fail-closed mocked replay; a diff gate with a stable exit-code contract; DSSE signatures that bind their intent and a capsule root that commits to file names; a capsule treated as untrusted input; signer identity-trust levels with offline TSA and CRL checking; maker-checker promotion against an operator-held trust list; and a deny-by-default authorization table for every dashboard route. It presents no new experiments; the evaluation is in arXiv:2609.12582. Every count except the private ADR tally is generated by a probe script run on the public source at the vo.107.0 tag (150 top-level commands, 84 Python subpackages, 16,721 test functions), every capability carries an explicit maturity label, and honest-limits boxes state where the system stops.
Keywords: AI agents, provenance, deterministic replay, tamper evidence, audit, DSSE, RFC 3161, lineage, EU AI Act
i
ABOUT THIS EDITION
Three rules governed the rewrite:
1 Numbers are generated, not typed. Every count in this document, except the ADR count (the decision records are private), comes from a probe script (verify_facts.py) run against the source tree. It introspects the CLI, builds the HTTP apps, counts ADRs and tests, and reads the SLO catalogue. Appendix C lists the probes.
2 Every capability carries a maturity label. The project uses four labels: works today, experimental, planned and future design. Where prose and code disagreed, the code won, and the disagreement is noted.
3 Every diagram is rendered and inspected. Every figure is produced from editable Mermaid source with one shared theme. Each was checked by eye against the facts it depicts.
Editions
Second Edition · October 2026
built from v0.107.0 (the release tag;
every generated count was read
from that tag, see Appendix C)
Edition 1 · June 2026
built from v0.45.1; kept unchanged
alongside this edition for compari-
son
Author
Mohsen Seyedkazemi Ardebili
ORCID 0000-0002-1166-6559
mskazemi.github.io
github.com/MSKazemi/novafabric
Licence of the software
Apache-2.0 · Python ≥ 3.12
Copyright
© 2026 Mohsen Seyedkazemi Ardebili
ii
AT A GLANCE · v0.107.0
150
top-level nova commands,
374 runnable command
paths
84
Python subpackages, ~260K
lines of source
16,721
test functions in 1,239 test
files; 90 % coverage floor
299
Architecture Decision
Records (ADR-0001 to
ADR-0317), kept privately
214
HTTP routes on nova serve,
each classified in a
deny-by-default scope table
30
dashboard tabs in 7 journeys
11
framework adapters; 6
execution runners
31
nova export-* evidence
exporters; 6 audit profiles
THE SHAPE OF THE SYSTEM
| Layer | What it is, in one line |
|---|---|
| Record | the Run Capsule (flat files, source of truth) and the Evidence Bundle (signed in-toto ZIP) |
| Capture | SDK and wire hooks, 11 framework adapters, MCP and API proxies, 6 runners; fail-open |
| Trust | NovaSeal: DSSE signature, RFC 3161 timestamp, append-only Merkle log, identity-trust level |
| Analyse | five replay modes with a fail-closed contract; structural diff with an exit-code contract; lineage |
| Govern | OPA/Rego gates, maker-checker, hash-chained audit log, 31 exporters, erasure receipts |
| Serve & scale | deny-by-default dashboard API, multi-user server, Go collector, object store as source of truth |
Maturity labels used throughout:
works today
experimental
planned
future design
iii
Contents
1 Executive summary 1
2 The problem and the idea 4
2.1 Agents became behaviours 4
2.2 The idea: one primitive 4
2.3 Design commitments 5
2.4 What NovaFabric is not 5
3 Landscape and differentiation 6
3.1 Four adjacent families 6
3.2 An executable differentiation table 6
3.3 Related research 7
3.4 Positioning 7
4 Concepts and data model 8
4.1 Five primitives 8
4.2 The Run Capsule 8
4.3 The wire contract: Event Envelope v1 10
4.4 Distributed identity: parent and child capsules 10
4.5 Typed lineage vocabulary 10
4.6 Maturity vocabulary 11
5 Architecture 12
5.1 System context 12
5.2 Subsystem map 13
5.3 Design invariants 14
5.4 Two tiers, one format 15
iv
Contents
6 Capture runtime 16
6.1 Capture at the wire 16
6.2 Fail-open, bounded, isolated 18
6.3 The workload is untrusted input 18
6.4 Capture levels 19
6.5 Secrets, masking and redaction proofs 19
6.6 Runners: where a captured command executes 19
7 Replay and diff 21
7.1 Replay is a contract, not a button 21
7.2 The mocked-replay contract (ADR-0300, ADR-0304) 22
7.3 The safety ladder (ADR-0012) 23
7.4 Substituting non-MCP tools (ADR-0306) 23
7.5 Structural diff and the CI gate (ADR-0303) 24
7.6 Drift, equivalence and the assurance loop 25
8 Trust and evidence 26
8.1 NovaSeal: three independent proofs 26
8.2 Merkle constructions and the price of the guarantee 28
8.3 Evidence Bundles 29
8.4 WORM storage, retention and legal holds 29
8.5 Two-person control 30
9 Lineage and the knowledge graph 32
9.1 Event-derived, rebuildable lineage 32
9.2 Tiered backends behind one interface 33
9.3 Interoperability 33
9.4 The capsule knowledge graph 33
10 Governance, compliance and assurance 35
10.1 Policy engine 36
10.2 Human oversight as evidence 37
10.3 The accountability spine 37
10.4 Compliance machinery 37
10.5 Honest numbers: cost and evals 38
v0.107.0 · October 2026
V
Contents
11 Product surfaces 40
11.1 The CLI is canonical 40
11.2 The local dashboard 40
11.3 Authorization on every route (ADR-0228) 41
11.4 Server mode 43
11.5 SDKs, collector and integrations 43
11.6 Distribution and supply chain 43
12 Architecture at scale 44
12.1 The Go collector 44
12.2 Distributed runs and the fail-open arrival policy 45
12.3 Polyglot persistence with one source of truth 47
12.4 Reliability contract 47
13 Performance evidence 48
13.1 One catalogue, three kinds of number 48
13.2 Reading the capture-overhead numbers 49
14 Capability and maturity matrix 51
15 Roadmap and future work 54
15.1 Now: freeze the capsule format 54
15.2 Planned follow-ups 54
15.3 Longer horizon 55
15.4 Not planned 55
16 Engineering practice, standards and security 56
16.1 How it is built 56
16.2 Standards alignment 57
16.3 Security posture 57
17 Conclusion 59
A CLI command surface 60
B What changed since Edition 1 62
C How this document was verified 64
v0.107.0 · October 2026
vi
Executive summary
NovaFabric is the black-box recorder for AI agents. It turns every important agent run into a sealed, replayable, diffable and auditable evidence capsule.
An AI agent run is no longer a function call. It is a cascade of prompts, model calls, tool invocations, file and network effects and sub-agents, often spread across a laptop, a cluster and several providers. When such a run misbehaves, or an auditor asks what happened, the questions that matter are concrete. What exactly crossed the wire? Can the record be trusted? Can it be inspected or re-run months later? What changed between two runs, and what else did it affect? NovaFabric answers these questions with one product primitive and one verb chain (Figure 1.1).

Figure 1.1 The product verb chain. Each verb is one nova command and leaves one durable artefact behind.
One record format, from laptop to cluster. The Run Capsule is a directory of flat files. It is the source of truth, and every database in the system is a derived index that can be rebuilt from capsules. The Evidence Bundle is the signed export handed to an auditor. These are the only two top-level formats the project invents; everything else aligns with existing standards: OpenTelemetry GenAI [2], OpenLineage [3], W3C PROV [4], in-toto/DSSE [5, 6], RFC 3161 [7] and CycloneDX [8]. A single-node run is treated as the smallest case of a distributed run. The same envelope and the same capsule hierarchy are designed to carry a Slurm array or a Kubernetes job; automatic parent finalization is library-only today (Chapter 12). The system and an evaluation of it were first reported in [1]; this report describes the current release in full.
Contributions of this report. This is a reference report, not a new measurement study. It contributes: (i) one account of the architecture of the current release in which each statement about behaviour was checked against the code at the release tag (Appendix C); (ii) the contracts of the main engines stated as testable guarantees together with their limits, namely what each replay mode re-executes and refuses, the exit-code contract of the diff gate, the verdict a sealed capsule produces, and the two-person control paths; (iii) a trust model
Executive summary
that separates what a signature, a timestamp and a log entry each prove from what they do not, including the cases in which a verifier reports a capsule as intact but not trusted; (iv) a catalogue of limits, with a maturity label on every capability and honest-limits boxes, including the defects found while reading the text against the code; and (v) a method for keeping a technical report true to a moving code base: counts generated by probes, an executable differentiation table (Section 3.2) and a public script that re-derives the counts (Appendix C).
Relation to arXiv:2609.12582. The companion paper [1] presents the system at an earlier release together with an empirical evaluation (research questions RQ1 to RQ8). This report presents no new experimental campaign, and it neither restates nor extends those measurements. It describes engine changes made since that evaluation, among them a seal that binds the capsule's file names, a timestamp token that must verify before it counts as a timestamp, and mocked replay that serves recorded MCP and declared-tool results (Appendix B). They have not been re-evaluated in the companion paper's experimental setup; that re-evaluation, in particular of tool replay, is future work.
What ships at v0.107.0. The nova CLI exposes 150 top-level commands and 374 runnable command paths. Behind it sit 84 Python subpackages, about 260 thousand lines, exercised by 16,721 test functions under a 90 % coverage gate. Further surfaces:
▶ a local dashboard with 30 tabs over 214 HTTP routes, each route classified in a deny-by-default authorization table;
▶ a multi-user server mode with OIDC, RBAC, SAML, SCIM and offline tokens;
▶ a Go collector for cluster ingestion, and a TypeScript SDK;
▶ 11 framework adapters, 6 execution runners and 31 evidence exporters for regulatory and archival formats.
299 Architecture Decision Records document the reasoning. The maintainers keep them in a private design repository, so this count, unlike the others, cannot be re-derived from public sources (Appendix C); the behaviour they describe is in the code, the public docs/ tree and CHANGELOG.md.
What is new in this edition. The engines matured more than the feature list grew. Since Edition 1:
Mocked replay fails closed. Any divergence ends the replay with a non-zero exit code (ADR-0300). SDK wire records are de-duplicated into logical calls (ADR-0305). Declared Python tools can now be substituted during replay (ADR-0306).
nova diff has a stable exit-code contract and compares recorded request parameters (ADR-0303).
NovaSeal reports how far a signer's identity can be trusted (identity_trust). nova seal init creates a local CA (ADR-0301), and the verifier checks TSA chains and CRLs offline.
The dashboard server authorizes every route (ADR-0228). It declares its tenancy posture (ADR-0229), ships with a secure-by-default Helm chart (ADR-0230), and writes audit records that do not overstate who acted (ADR-0231).
Trust claims are checked end to end (v0.106). The signing intent is inside the signature, the
v0.107.0 · October 2026
Executive summary
capsule root commits to file names, nova verify checks an Evidence Bundle's signatures and subjects, maker-checker signers must chain to an operator-held trust list or CA, and batch jobs no longer inherit the submitting shell (ADR-0309-0315).
One verifier behind every trust surface (v0.107). nova verify, the dashboard's trust radar and Seal tab, and the verify routes share one verifier for capsules and one for Evidence Bundles. Every bundle member is signed. Links, FIFOs and devices that a workload plants in its capsule are removed and recorded, never followed. Every route into production is gated: registration accepts only development, HTTP, nova server and prompt promotion pass the promote_direct gate, and so does a rollback unless the target was in production before. The release also changes behaviour in many places; Appendix B points to the list.
All four at-scale lineage backends are implemented and container-verified: Postgres, KuzuDB, Apache AGE and JanusGraph.
A record-only evidence layer covers human oversight, safety cases, energy receipts, scientific reproducibility and multi-agent hand-offs.
Appendix B has the full delta.
HOW TO READ THIS DOCUMENT
Every capability is labelled works today (implemented, tested, released), experimental (released, but interface or scale validation may change), planned (roadmapped) or future design (documented intent, no implementation). Statements about the code cite the package or ADR that backs them. "Honest limits" boxes state where the system stops, so a reader never has to infer it.
v0.107.0 · October 2026
The problem and the idea
2.1 Agents became behaviours
A modern agent run assembles prompts from registries and calls foundation models whose weights and routing change without notice. It invokes tools that mutate real systems, reads and writes files, and spawns sub-agents across processes and machines. Four questions follow every incident, and with conventional tooling they are mostly unanswerable:
1 What exactly did the agent do? Not what a framework chose to log, but what crossed the network, to which endpoint, under which environment.
2 Can the record be trusted? A log anyone can edit is not evidence. Without cryptographic integrity, a tampered trace looks exactly like a genuine one.
3 Can it be inspected or reproduced later? Providers drift. "Run it again" is a new experiment, not a reproduction.
4 What changed, and what did it affect? Regression detection across model versions, and blast-radius analysis when a bad asset is found, need structured records and a lineage graph.
| Who | The moment it hurts |
|---|---|
| ML engineer, flaky production agent | “It worked yesterday, it fails today, and I cannot replay yesterday.” |
| Researcher moving laptop HPC | “My Slurm run differs from my laptop run and I cannot see why.” |
| Compliance officer | “The auditor asked which model processed this person's data on 15 March.” |
| Platform engineer | “Which deployment, which agent, which prompt version caused this regression?” |
2.2 The idea: one primitive
NovaFabric's answer is deliberately narrow:
The problem and the idea
KEY IDEA
Every important AI-agent execution becomes a sealed, replayable, diffable, auditable evidence capsule. If a system called a model, used a tool, read data or made a decision yesterday, a developer can load that run today, or in two years. They can re-execute it under a stated replay contract, compare it with another run, and export a signed bundle for an auditor.
Around that primitive the project invents exactly two top-level formats: the Run Capsule and the Evidence Bundle. It aligns everything else with existing open standards, so the record stays portable and customer-owned, and other tools can read it.
2.3 Design commitments
Local-first now, distributed-ready always. No core feature needs a server, a network connection or a cloud account. The cluster tier adds infrastructure on top of the same capsule format without changing it.
Capture never blocks the workload. By default every capture layer fails open: an error inside NovaFabric is logged and swallowed, never raised into the agent. The one exception is the opt-in strict capture mode, which refuses overlapping captures.
Framework-neutral, wire-level by default. Capture intercepts SDK and HTTP calls, so it observes what was sent rather than what a framework reported. Adapters use each framework's own extension points.
Standards inside, few verbs outside. OTel GenAI, OpenLineage, PROV, DSSE/in-toto, RFC 3161, RFC 8785, OPA/Rego and CycloneDX sit behind a small set of memorable commands.
Honesty as an engineering property. Maturity labels are part of the documentation contract, guard tests pin documented counts to the code, and a withdrawn claim is withdrawn in writing (Chapter 13).
2.4 What NovaFabric is not
The non-goals are written down and enforced in design review. NovaFabric is not an orchestrator or scheduler, a training platform, an inference server or an LLM gateway. It is not a hosted SaaS, a vector database, a labelling tool, or a real-time monitoring and alerting product. It produces evidence for compliance processes and never claims that an export is compliance.
v0.107.0 · October 2026
Landscape and differentiation
3.1 Four adjacent families
Each neighbouring family of tools solves one slice of the problem well:
| Family | Representatives | Solves | Leaves open |
|---|---|---|---|
| LLM observability | LangSmith [9], Langfuse [10] | tracing, dashboards, evals | mutable records in a service database; no replay contract; no cryptographic integrity |
| Tracing standards | OpenTelemetry GenAI | vendor-neutral spans | no capsule or replay concept; no integrity; no data-to-model lineage |
| Supply-chain attestation | in-toto [5], SLSA [11], Sigstore [12] | signed build provenance | no agent-runtime semantics, capture or replay |
| Data lineage | OpenLineage, Marquez | pipeline lineage | no model-call or agent-run semantics |
Tracing answers what happened. NovaFabric asks a stricter question: can this run be safely re-examined, and can the record be trusted? It combines the slices into one portable record and consumes or emits each family's standard, so it slots into an existing stack instead of replacing it.
3.2 An executable differentiation table
The project keeps a ten-claim differentiation table, and scripts/verify_differentiation_table.py checks every claim against the code. A test (tests/test_differentiation_table.py) runs the script and fails if any claim stops holding. At v0.107.0 it reports 10 of 10 claims PASS.
Landscape and differentiation
| ID | Claim (as checked) |
|---|---|
| D-01 | Self-contained: registry and capsule writer work with no network or cloud service |
| D-02 | Cryptographic evidence: DSSE envelopes, Merkle log, pluggable signing backend |
| D-03 | Replay contract with named modes: forensic, mocked, semantic, exact |
| D-04 | Structured cross-run diff as a first-class API (DiffReport) |
| D-05 | Policy gates plus maker-checker dual approval on promotion (OPA/Rego) |
| D-06 | WORM evidence storage adapters (S3 Object Lock, Azure immutable blobs, GCS Bucket Lock) |
| D-07 | Versioned capsule schema with a migration CLI |
| D-08 | OpenLineage emission from the lineage graph |
| D-09 | Multi-framework adapters through native extension hooks |
| D-10 | Eval-gated promotion (Rego regression gate) |
WHAT THE CHECK PROVES
The verifier is a structural check: the mechanism behind each claim exists and imports. It is not a behavioural benchmark against competitors. The behaviour is covered by the test suite (Chapters 7 to 10), and the comparison with other tools is the author's reading of their public documentation.
3.3 Related research
Three research lines sit close to the capsule. Provenance capture systems record what a computation did below the application: PASS [15], SPADE [16], Hi-Fi [17], Linux Provenance Modules [18], CamFlow [19] and ProTracer [20] capture whole-system provenance, and Davidson and Freire [21] survey the workflow side. NovaFabric records at the model, tool and file boundary of an agent run; it does not replace system-level provenance and does not compete with it. Tamper-evident logging supplies the primitives that NovaSeal composes: hash-linked timestamping [22], audit logs with forward integrity [23] and Merkle-tree logs [24, 13]. The contribution is their integration at the granularity of an agent session, not new cryptography. Agent observability and accountability is a recent and mostly proposal-stage literature: AgentOps [25], AgentSight [26] and AgentTrace [27] address observing LLM agents, a trace-based assurance framework [28] and Auditable Agents [29] address assurance and auditability, and blockchain-anchored evidence [30] and a replay harness for financial agents [31] address evidence and replay. These works are cited as context. This report does not benchmark NovaFabric against them, and a comparison on shared workloads is future work.
3.4 Positioning
NovaFabric complements agent runtimes, clouds and observability platforms. It competes only at the provider-neutral evidence, replay and audit layer. The strongest external need it serves is a neutral, portable, customer-owned, tamper-evident record of agent behaviour across models, tools, clouds and time. A provider that records its own ecosystem is not an independent witness of it; that gap is what this layer targets.
v0.107.0 · October 2026
Concepts and data model
4.1 Five primitives
Everything NovaFabric records reduces to five composable primitives:
| Primitive | Definition | Examples |
|---|---|---|
| Node | something that exists | a run, an agent, a model, a tool, an asset |
| Edge | a typed relationship | run consumed dataset; run B replayed_from run A |
| Event | something that happened | a model call, a tool call, a policy decision, a file write |
| Artefact | immutable, content-addressed bytes | a request payload, a media output, an SBOM |
| Seal | proof the bytes were not changed | DSSE signature + RFC 3161 token + Merkle inclusion |
Identifiers follow one strategy. Runs, events and lineage edges use time-sortable ULIDs, generated in capture/_ulid.py; immutable artefacts are identified by the SHA-256 of their bytes. Re-importing a capsule replaces that run's lineage edges, so the graph comes out the same. Provider identifiers are stored but never used as primary keys.
4.2 The Run Capsule
A captured run is a directory of flat files, never a database row (Figure 4.1). The capsule is the source of truth. The registry, the metadata store, the lineage graph and the knowledge graph are all derived indexes that nova can rebuild by re-reading capsules. Losing an index is a recovery task; losing capsules is a disaster.
The capsule is written in a fixed order by the shared finalize path (Chapter 6). Once the workload has exited, the capsule is treated as untrusted input: a sweep removes every symbolic link, FIFO, socket and device found at any depth, without following it, and records each removal as tampering. Content is then redacted before capsule.yaml is written. A residual rescan follows, and its result goes into redaction-proof.json. Finally capsule.yaml is rewritten with evidence_digests, a digest of every evidence file. When the capsule is sealed, nova verify checks that capsule.yaml matches the signed payload and that every file matches its digest, so an edit to any evidence file after sealing is detected. A manifest swapped for
Concepts and data model

Figure 4.1 Anatomy of a Run Capsule at v0.107.0. Dashed boxes are written only when observed or enabled.
an edited capsule.json, and a link or special file anywhere in the capsule, also fail verification. On an unsealed capsule the digests are unauthenticated and nothing checks them yet. When events were dropped under back-pressure, or a recorder failed and was swallowed, capture-health.json says so. It is itself covered by the digests, so the capsule records its own gaps.
SCHEMA VERSIONS AND CONTENT
The manifest in force is schema_version: "0.1.0" (src/novafabric/schemas/run-capsule.schema.json). The v1.0 capsule schema in schemas/ is the target of the format freeze and is marked "not yet in force" (Chapter 15).
v0.105 adds fields (host.runner, a residual-check block). As a result, nova validate from v0.104 or earlier rejects capsules written by v0.105. Readers must be at least as new as the writer. v0.107 adds three optional stream references to the schema in the same way (network_events_ref, file_events_ref, human_approvals_ref).
As built, model-call request and response content is stored at every capture level, and minimal behaves like standard: only forensic and air_gapped change what is recorded. Treat a capsule as holding full prompts and responses. Tool payloads recorded through record.tool and the ADK and OpenAI Agents adapters are kept in full only at the forensic and air_gapped levels. The MCP hook always records full arguments and results, because mocked replay serves them.
v0.107.0 · October 2026
Concepts and data model
4.3 The wire contract: Event Envelope v1
All evidence events conform to one normative, frozen wire format, whether they come from a laptop SDK or from a collector fleet. Its status is accepted, and a breaking change requires envelope_version: "2", never an in-place edit. The envelope carries:
identity: event_id, global_run_id, run_id, parent_run_id;
location: cluster, tenant and emitter node;
causality: W3C trace context;
▶ integrity: a payload_hash that commits to the payload without carrying it inline.
It ships as JSON Schema, a proto3 definition with deterministic-encoding rules for signing, normative OTLP and CloudEvents mappings, and a SHA-256 pin that the test suite verifies (schemas/event-envelope-v1/). Since the freeze the event_type enum has grown twice, both times additively and with the pin updated: the canonical Run*, ModelCall* and ToolCall* lifecycle events (ADR-0220).
4.4 Distributed identity: parent and child capsules
A distributed job becomes a tree of capsules under one global_run_id. A Kubernetes job, a Slurm array or an MPI training run all fit this shape. The as-built schema (capsule/schema.py) defines:
the capsule role (PARENT, CHILD, STANDALONE) and a separate distribution role (DRIVER, WORKER);
parent states RUNNING, COMPLETE, PARTIALLY_COMPLETE and FAILED;
a fail mode, fail-open by default, that decides whether a parent missing some of its expected children finalizes as PARTIALLY_COMPLETE or FAILED.
The arrival policy is designed for distributed reality, where children may arrive before their parent (Chapter 12).
4.5 Typed lineage vocabulary
Capture writes consumed, produced_by and replayed_from edges into lineage.jsonl. The distributed vocabulary in capsule/schema.py adds contains, spawned, delegated_to, member_of_session, wrote_memory and read_memory, each mapped to W3C PROV-DM where a counterpart exists (ADR-0044). Sessions use a deliberately separate grouping edge, so a sequence of independent runs is never mistaken for one distributed job. nova migrate additionally writes a migration_source edge (new in vo.107) that names the original capsule by run id and manifest digest.
v0.107.0 · October 2026
Concepts and data model
4.6 Maturity vocabulary
| Label | Meaning |
| works today | implemented on main, tested, shipped in a released version |
| experimental | shipped, but the interface or format may change, or scale validation is pending |
| planned | on the roadmap with a target; not yet implemented |
| future design | documented design intent; no implementation and no committed target |
v0.107.0 · October 2026
Architecture
5.1 System context
NovaFabric sits between three kinds of party. On one side are people: developers, operators and auditors. In the middle is the workload it wraps. On the other side are the external systems that workload touches, and the systems that consume NovaFabric's evidence. It observes and records; it never plans or schedules the workload.

Figure 5.1 System context. NovaFabric wraps the workload and observes its calls at the wire. It talks only to the services an operator configures: timestamp authorities, signing services, object storage and lineage or SIEM sinks.
Architecture
5.2 Subsystem map
The source tree has 84 Python subpackages under src/novafabric/, about 260 thousand lines in total. Two further components sit outside it: a Go collector (collector/) and a TypeScript SDK (packages/nova-sdk-ts). The packages group into eight domains (Figure 5.2). Each name in the figure is a real package.

Figure 5.2 Subsystem map: eight domains over 84 packages (representative packages shown). Capture writes capsules. Everything else asks questions of the record or serves it.
v0.107.0 · October 2026
Architecture
| Domain | Responsibility, and what is notable as built |
|---|---|
| Capture | wire, SDK and framework interception; runners; masking; warm daemon. Largest single package: capture |
| Evidence model & storage | capsule hierarchy, sessions, envelope, asset specs and registry, WORM and object storage, derived metadata index |
| Analyse | replay (five modes), structural diff, failure attribution, drift detectors, lineage and the capsule knowledge graph, offline query DSL |
| Trust & integrity | NovaSeal (DSSE, RFC 3161, Merkle log), evidence bundles, maker-checker, preservation, evidence-grade backup |
| Govern & comply | regulatory exporters, PII erasure key lifecycle, retention and legal holds, hash-chained audit log, cost attribution |
| Assurance & safety | eval suites and score cards, OWASP LLM checks, safety-case compiler, human-oversight and frontier-safety evidence |
| Domain facets | record-only evidence facets attached to a capsule: A2A hand-offs, context and retrieval provenance, memory, embodied, science, settlement |
| Serve & scale | CLI, local dashboard API, multi-user server, Python client, durable jobs, writer lease, evidence fabric, collector app |
5.3 Design invariants
Eleven invariants are written into the developer architecture guide (docs/architecture.md). Reviews treat them as load-bearing. Each one backs a promise made to users:
1 A capsule is portable and self-describing. It verifies with no server, network or database.
2 Capture never blocks the workload by default. If a NovaFabric component fails, the workload continues and the failure is recorded.
3 Secrets are meant to stay inside the redaction boundary. This is a design objective, not a guarantee: the scanner matches known patterns only, and its documented blind spots are listed in Chapter 6.
4 Full prompt and response capture should be opt-in. As built, this invariant is not met, and the guide says so (see the box below).
5 No silent telemetry and no update checks, ever.
6 Core local-mode features require no internet.
7 Compute-node hot paths never write to a database or graph. They write to a local spool, and something else ingests it.
8 Schema changes are additive and optional first.
9 No root containers and no privileged Kubernetes access.
10 Exactly two top-level formats: Run Capsule and Evidence Bundle.
11 CLI and route-table structure is introspected by shape, never by class identity (ADR-0250). Twice, a framework upgrade made an isinstance walk report an empty surface for a system that worked. The fact probes behind this document use the same shape-based walkers.
v0.107.0 · October 2026
Architecture
INVARIANT 4
A default nova capture of a Python workload writes request messages and response choices into model-calls.json, and mocked replay depends on those stored responses. --capture-content only governs what the OpenTelemetry span export carries. Changing the default is an open design decision. Until it changes, deploy NovaFabric as a system that stores prompts. Its redaction, masking and WORM controls exist for exactly that reason. The capture-level policy does not yet reduce what model calls store: minimal and standard behave alike, and its per-field allowlist is applied by no capture path (planned).
5.4 Two tiers, one format
The local tier runs a single process with SQLite indexes and capsules on disk. It covers capture, seal, replay, diff, lineage, policy and export without any service. The cluster tier adds a Go node collector, a message bus, an object capsule store, a Postgres metadata index under row-level security, and graph backends. It adds them around the same capsule and envelope formats (Chapter 12). Because the cluster tier changes where evidence is stored and indexed, not what it is, a capsule captured on a laptop can be verified, replayed and diffed against one captured on a cluster.
v0.107.0 · October 2026
Capture runtime
6.1 Capture at the wire
NovaFabric captures what actually crossed the boundary, not a framework's self-report. SDK hooks for OpenAI, Anthropic and MCP record logical calls. Wire hooks for httpx, requests, aiohttp and urllib3 record transport attempts; an optional httpx2 hook, installed only when that package is importable, covers the client that openai 3.x builds. An OpenTelemetry GenAI hook and a Python-tool hook complete the set (capture/hooks/). Every entry point converges on one recorder and one finalize path (Figure 6.1).
| Entry point | Mechanism and when to use it | Status |
|---|---|---|
| nova capture <cmd> | launches the command with hooks injected; zero code change. --runner picks where it executes | works today |
| SDK @agent / record | in-process decorator and façade; @record.tool(mutation_class=...) declares tools for replay | works today |
| 11 framework adapters | LangGraph, AutoGen, CrewAI, DSPy, LlamaIndex, Pydantic AI, Haystack, OpenAI Agents, Google ADK, Bedrock AgentCore, A2A, each through the framework's own hook | experimental |
| nova mcp-proxy | transparent stdio and HTTP+SSE MCP proxy for agents that cannot be instrumented | works today |
| nova api-proxy | base-URL override proxy at the egress. TLS interception is permanently rejected | works today |
| nova daemon / novacap | warm pre-fork AF_UNIX capture daemon, Linux-only and opt-in; a busy or refusing daemon makes novacap run nova capture --no-daemon instead, and a run the daemon accepted is never repeated | experimental |
| OTLP ingest, nova ingest-capsule, nova import | build or accept capsules from OTel spans, existing capsules or verified batches | experimental |
Logical calls, not wire attempts (ADR-0305). One SDK call can produce several HTTP attempts: retries, redirects, streaming. Since v0.105 those wire records are tagged record_role: transport with a shared logical_call_id. Every consumer counts logical calls only: cost,
Capture runtime

Figure 6.1 Capture data flow. Every entry point feeds the same recorder and the same finalize path, so every capsule carries the same proofs whichever way it was captured.
v0.107.0 · October 2026
Capture runtime
diff, replay, query, the knowledge graph and the exporters. A capsule written before v0.105 is read through a fallback. Its sealed model_call_count keeps the doubled figure, so the count should be re-derived from model-calls.jsonl.
6.2 Fail-open, bounded, isolated
Every capture layer fails open. An exception inside NovaFabric is logged and recorded, never raised into the workload. Since v0.107 that holds at every record site of the OpenAI, Anthropic, MCP and wire hooks: a recorder failure (an SDK object that does not serialise, a full disk) is logged as capture.record_dropped (once per hook, stream and error type) and counted in capture-health.json, and the call's own return value or exception passes through unchanged. A hook never consumes a streamed response: the requests hook once read the body to size the network event, so an SSE call returned only when the stream ended. response_size_bytes is now the size of an already-read body, else Content-Length, else null. A streamed SDK call records only into the capture that opened it; a record that arrives after that capture ended is dropped and counted (capture.stream_record_dropped), never written into another capsule. Queues are bounded. When events are dropped under pressure, capture-health.json records it, and the digests cover that file too. Since v0.102, concurrent captures in one environment are isolated from each other. Since v0.103, a strict capture mode lets an operator choose to refuse rather than degrade.
6.3 The workload is untrusted input
Under nova capture the workload writes into its own capsule directory, and with --runner docker (or Kubernetes, through kubectl cp) that directory is mounted read-write into a container. Since v0.107 finalisation therefore treats the capsule as untrusted once the workload has exited. A sweep removes every symbolic link, FIFO, socket and device at any depth without following it. Each removal is recorded in capture-health.json (tampered_entries), in redaction-proof.json and in the manifest (metadata.capture_tampered); nova verify and nova validate then fail the capsule, while capture itself still exits with the workload's own code. Every later read of a capsule file refuses links and never blocks on a FIFO. Every later rewrite, by the secret scanner, the masking pipeline or the lineage and capture-health writers, replaces the file by rename instead of writing through it. Before this, a planted link could make the scanner rewrite a file outside the capsule, and a FIFO could hang capture. Hard links are not treated as tampering, and remain a documented limit.
Schema validation of tool arguments and results follows the same rule. It never retrieves a id-relative one, a $dynamicRef or a file:// reference used to make capture send an HTTP request or read a local file at every capture level, air_gapped included. Only references inside the schema document and the bundled meta-schemas resolve. Anything else gives a null verdict with schema-unresolved.
v0.107.0 · October 2026
Capture runtime
6.4 Capture levels
Four levels exist in policies/capture_level.py: minimal (metadata only), standard (the default), forensic (full payloads) and air_gapped (full payloads; meant to forbid external calls, which it does not do yet, see the box below). The level is read from NOVA_CAPTURE_LEVEL and nowhere else. nova policy capture-level set validates a level and prints the variable to export; it persists nothing.
WHERE CAPTURE LEVELS APPLY TODAY
experimental The level separates exactly two groups: forensic and air_gapped against the rest. At those two, the record façade, the Python-tool hook and some framework adapters (LangGraph, Google ADK, OpenAI Agents) also keep payloads: tool arguments and results, state, document text. Otherwise they keep digests. minimal and standard behave identically. The per-field allowlist that describes minimal as metadata-only is applied by no capture path, and air_gapped blocks no network call (both planned). The level does not govern the SDK and wire hooks, which is why model-call content is stored at every level (Chapter 5, invariant 4). The same holds for MCP tool calls. Tool payloads from record.tool and the ADK and OpenAI Agents adapters are gated: below forensic only post-redaction digests are kept.
6.5 Secrets, masking and redaction proofs
Before any manifest is written, the finalize path scans and redacts every capsule file that ADR-0009 names (complete since v0.104) with the gitleaks-core rule pack. A residual rescan then checks the already-redacted output (v0.105) and records the result in redaction-proof.json. A pluggable, fail-closed masking pipeline (masking, ADR-0135) adds PII masking through --masker.
PATTERN-BASED SCANNING
The secret scanner is rule-based. Its documented blind spots include PEM keys, JWT and bearer tokens, passwords, connection strings, several cloud-vendor key formats and personal data in general. docs/architecture/run-capsule.md lists them, and a test keeps that list in step with the rule pack. Use the masker for data that the pattern pack does not cover. Capture levels do not help here: model-call content is stored at every level (Section 6.4), so a prompt that holds sensitive data is protected by neither the scanner nor the level.
6.6 Runners: where a captured command executes
One protocol (ADR-0025) abstracts 6 execution targets: local (the default), docker, kubernetes (a Job through kubectl), slurm (sbatch/sacct), pbs and lsf. Since v0.105 the manifest records host.runner, the OCI image digest and the Slurm scheduler context (ADR-0307). The Slurm runner can also attach sacct energy receipts. No off-host runner forwards the submitting shell. The Docker and Kubernetes runners pass an allowed set of environment variables (ADR-0270), which closed a leak in which every submit-side variable was written into the Kubernetes Job object. Since v0.106 SLURM and LSF submit from a minimal environment (ADR-0311), because sbatch and bsub copy their own environment into the job by default, and no
v0.107.0 · October 2026
Capture runtime
runner forwards a NovaFabric credential. Anything else a job needs, such as an API key, is passed explicitly with the extra_env runner option. Since vo.107 such a value is no longer put on the command line of the submit-side tool that carries it. SLURM reads its batch script from sbatch's standard input (it was --wrap). LSF pipes its script to bsub from memory, where it once wrote nova-<run>.lsf into the shared capsule directory. Docker passes -e NAME with the value in the client's own environment (a name the Docker client itself reads keeps -e NAME=value). slurm, lsf and pbs quote every argument with shlex.quote, so $, backticks and ; in a value reach the job verbatim instead of being expanded by its shell. extra_env also accepts a JSON object, and a malformed one fails the run at setup, naming the key and never the value. This is not secrecy end to end. The value is still in nova capture's own argument list, SLURM stores the batch script with the job, docker inspect shows it to anyone who can reach the daemon, and the Kubernetes Job object carries it as a literal.
v0.107.0 · October 2026
Replay and diff
7.1 Replay is a contract, not a button
Hosted models drift. Re-running a prompt next month is a new experiment, so NovaFabric does not claim byte-exact replay of remote LLM calls. Instead each replay mode states exactly what it guarantees (replay/_flags.py, replay/_replayability.py):
| Mode | Re-executes? | Guarantee | Status |
|---|---|---|---|
| forensic | no | read-only inspection of the record; works on every capsule | works today |
| semantic | no | scores the recorded responses by text similarity (difflib), not by meaning | works today |
| exact | no | an eligibility report: a deterministic env. lock and a seed on every call | works today |
| mocked | yes | re-runs the recorded command with model and MCP results served from the capsule | works today |
| intervention | yes | counterfactual replay (ADR-0086); model-call substitutions reach the re-run workload, tool-call substitutions change only the output capsule | experimental |
Replay and diff

Figure 7.1 Replay modes split by whether they re-execute the recorded command. The three read-only modes work on every capsule.
7.2 The mocked-replay contract (ADR-0300, ADR-0304)
Mocked replay installs an in-process dispatcher in the re-executed workload (Figure 7.2):
Served from the capsule: OpenAI Chat Completions and Responses, and Anthropic Messages, sync or async, streamed or not. Recorded SDK errors are re-raised. MCP ClientSession.call_tool results are served too.
Refused, not approximated: unsupported SDK surfaces, for example messages.stream(), beta.messages and raw-response wrappers. A support matrix is generated from replay/_support_matrix.py.
Fail-closed by default: any divergence ends the replay with exit code 1 and a Replay Divergence record. This covers a call with no recorded response, an unmatched tool call, and a recorded response left unconsumed. --permissive restores warn-and-continue and still records every divergence. Under --permissive, an unsupported model surface goes live to the real provider.
Exit codes are part of the contract: 0 success; 1 failure or abort (unless the replayed command itself exited non-zero, in which case its own code is returned); 2 environment mismatch, or a file the replay needs (capsule.yaml, replay.yaml, env.lock, a call stream) that is present but unusable, such as a link, a FIFO or a directory, so nothing ran; 3 a tool override that cannot be enforced, so the replay refuses to start; 124 the replayed command did not finish within 600 s and was killed (ReplayTimeout, which the CLI prints because a command can exit 124 itself); otherwise the replayed command's own exit code.
v0.107.0 · October 2026
Replay and diff

Figure 7.2 The mocked-replay contract: each intercepted call is served, run live or refused, and any divergence fails closed unless --permissive.
7.3 The safety ladder (ADR-0012)
Anything not served from the capsule is classified by mutation class. It runs live only if the operator passed the matching flag, and never against a replay.yaml allow: false, even under --permissive. Since vo.106 the OPA replay_mutating policy is evaluated whenever any write-permitting flag is passed (--allow-mutating, --allow-external-side-effects or --allow-unknown-mutation). A deny, or a policy-engine error, refuses the replay before anything runs:
| Mutation class | Flag that permits it |
|---|---|
| none | always permitted |
| read-only | --allow-readonly |
| idempotent-write, non-idempotent-write | --allow-mutating |
| external-side-effect | --allow-external-side-effects |
| unknown (every MCP call is gated as unknown) | --allow-unknown-mutation |
7.4 Substituting non-MCP tools (ADR-0306)
experimental Python tools declared with @record.tool(mutation_class=...) can be substituted from the capsule, and replay.yaml tool_overrides are enforced inside the replayed process (slices 1-2, vo.105). Since vo.106 Google ADK (make_tool_plugin, a documented hook) and OpenAI Agents (wrap_tools) tool calls are captured and served too (slices 3-4), along with nested record.tool boundaries and MCP matching after redaction.
REPLAY BOUNDARIES
Capsules captured inside a framework call (capture_mode: sdk-decorator) or imported from
v0.107.0 · October 2026
Replay and diff
OTel spans record no runnable command. Mocked replay refuses them up front with a precise reason (ADR-0306, open question 7). Intervention replay does not refuse them: it emits the counterfactual streams without re-executing and says so in the result. Forensic and semantic replay work as usual.
record.tool and adapter tool results captured below the forensic level hold digests, not payloads, so they cannot be served (tool_result_not_servable).
The OpenAI Agents seam (on_invoke_tool) is undocumented upstream and has been verified against openai-agents 0.17.x only.
▶ Network connections during replay are reported, not blocked.
7.5 Structural diff and the CI gate (ADR-0303)
nova diff compares two capsules structurally, not textually (diff/_align.py, Figure 7.3). Model calls are paired in three steps:
1 by parent_span_id, when it is unique on both sides;
2 by longest-common-subsequence anchors on identical requests;
3 by position between those anchors.
A changed prompt therefore shows as one changed pair, not as one call removed and another added. Tool calls pair by name and argument hash, then by position among calls with the same name. Since v0.105 every recorded request parameter (temperature, seed, top_p, ...) is compared, and a change marks the pair request_changed.

Figure 7.3 Diff alignment and the exit-code contract that makes nova diff a CI gate.
v0.107.0 · October 2026
Replay and diff
The exit code is a published contract. Exit 1 is reserved for “the comparison ran and found a difference” under --assert-no-regressions or --assert-same-shape. Exit 2 means the capsules could not be compared at all, for example an unresolved reference, an unreadable or malformed capsule. yaml or env.lock, or a record file that is a symbolic link or a FIFO, which the diff never follows (v0.107). Exit 3 means the --significance gate (a sequential probability ratio test) accepted the regression hypothesis. A pipeline can therefore tell “the model changed” apart from “the baseline is missing”.
7.6 Drift, equivalence and the assurance loop
experimental Offline detectors (nova drift collect|detect|silent-failure|root-cause|fingerprint, ADR-0147) gather evidence about drift and never rule on it: they exit 0 unless the input is bad. The verdicts come from separate commands that exit 1 on failure: nova replay-equivalence check (ADR-0144), nova assure-baseline, nova assure-canary, nova assure-alarm and nova assure-run. The split is deliberate. An evidence system should separate collecting facts from deciding policy, and NovaFabric never schedules the loop itself.
v0.107.0 · October 2026
Trust and evidence
8.1 NovaSeal: three independent proofs
NovaSeal (ADR-0041, trust/novaseal/) binds three proofs to a capsule's canonical manifest. The manifest already carries evidence_digests over every evidence file, so tampering with any file breaks at least one proof (Figure 8.1). Since v0.107 the seal also records which manifest file it was made over, so renaming capsule.yaml to an edited capsule.json fails verification, and readers of a sealed capsule use the signed payload. One verifier (verify capsule) now sits behind nova verify, the trust radar, the dashboard Seal tab and POST /api/runs/{id}/verify, so a tampered or transplanted capsule can no longer read attested on one surface while the command line fails it.
1 Who: a DSSE signature. Backends: local ECDSA P-256 (works today); AWS KMS, GCP KMS and Azure Key Vault (experimental); a mock backend for tests. Sigstore keyless signing (ADR-0071, experimental) is a separate path, deliberately outside the SigningBackend protocol. Cloud key-wrapping for envelope encryption is also available (ADR-0185, experimental).
2 When: an RFC 3161 timestamp token. Multi-TSA fallback, a nonce store against replay, and offline verification of the TSA chain with CRL checks (ADR-0070, experimental). A token that cannot be verified is not a timestamp. Until v0.107 the fallback for a token that the strict parser rejects accepted an unverifiable signature, and one non-DER byte let a genuine token with a swapped imprint verify. It now requires a verifying TSA signature, a signed messageDigest equal to the hash of the TSTInfo, and the imprint read by position.
3 Where in history: a Merkle-log leaf. An append-only log per tenant, in SQLite by default or Postgres. Append-only behaviour is enforced by database triggers and rules. Tree heads record the root together with the tree size.
nova verify reports signature_ok, timestamp_ok and log_integrity_ok, and, since v0.107, timestamp_trust and sealer_log. Since v0.105 it also reports identity_trust (experimental): one of self-asserted, local-ca-pinned, ca-anchored or none. A signature alone proves possession of a key. identity_trust states how far that key is bound to a real identity. nova seal init (ADR-0301) creates a local CA for the local-ca-pinned level. Sealing remains opt-in.
Intact is not trusted. Since v0.107, timestamp_trust separates a token's integrity from the trust placed in its time. It is anchored when the TSA chain reaches an anchor the verifier supplied (--tsa-ca-bundle); unanchored when the token is intact and bound to the envelope but no
Trust and evidence

Figure 8.1 The trust chain. Who signed, when it was signed and where the signature sits in history are proven independently and checked together by nova verify.
anchor was consulted, because anyone can mint a TSA certificate and sign any time, so its genTime is a claim and the output prints UNANCHORED; absent, since timestamping is opt-in; or invalid. timestamp_ok and the exit code keep their meaning. The Merkle check reports where its result came from. On a host whose log holds other seals by the same signer under the same root version, an entry missing from that log fails verification even when the capsule carries a valid inclusion proof. A carried proof alone shows only that the capsule's log metadata is self-consistent, because its tree head is neither signed nor witnessed. The sealer's log is recognised by signer, not by the writer-controlled root_version in log-entry.json: a record that claims a newer version than the log fails, and one that claims an older version is checked against the retired logs listed under previous_merkle_dbs in novaseal.yaml, otherwise reported as sealer_log: unverifiable-other-version.nova verify --strict exits 1 on that state, on an unanchored timestamp and on every other passing claim that rests on no anchor (unanchored_claims, for example a self-asserted signer).
Since v0.106 the signing intent (authored, reviewed, approved; FDA 21 CFR §11.50) is bound inside the signed payload (ADR-0309). An edited intent label fails verification, and a seal made before v0.106 reports its intent as label-only, never as signed.
v0.107.0 · October 2026
Trust and evidence
Further trust primitives (all experimental):
▶ a forward-secure key ratchet (nova seal ratchet);
Merkle consistency proofs, a Merkle Mountain Range and witness co-signing of tree heads;
▶ a hybrid, crypto-agile signature envelope;
did:key identifiers with Verifiable Credentials;
▶ delegation (“acted-as”) chains and per-tenant key-encryption keys;
an adversary-anchored ledger (nova ledger anchor|verify|status); without --merkle-db, a passing nova ledger verify shows only that a checkpoint's Merkle block is self-consistent, and exit 8 reports a checkpoint whose Merkle block does not verify.
8.2 Merkle constructions and the price of the guarantee
Three Merkle constructions coexist, and they are not interchangeable:
evidence/merkle.py is an RFC 6962-style [13, 14] tree over the files of a capsule or evidence bundle. Since v0.106 each leaf commits to the file's relative path as well as its content (v2 leaves, ADR-0310), so renaming a file changes the root. Roots recorded earlier still verify, and v1 and v2 leaves are hashed under separate domain bytes, so accepting v1 cannot be used as a downgrade;
trust/novaseal/merkle.py is the append-only signing log;
trust/novaseal/mmr.py is a Merkle Mountain Range.
Mixing leaves or combiners across them silently yields a wrong root.
VERIFICATION COST: A WITHDRAWN TARGET (ADR-0268)
Log verification recomputes the root from every stored leaf hash. That full recomputation is the tamper detection for the stored hashes. The cost is linear and measured. Computing the root alone takes 1361 ms in-process for one million leaves. End-to-end it takes about 1.9 s on a CI runner with Postgres 16. The earlier target of “p99 < 200 ms at 1M entries” was never met by any release. It has been withdrawn rather than deferred, and the release note that claimed it is struck through, not deleted. A faster certificate-transparency-style path would give a weaker guarantee, so adopting it requires a new ADR. Treat full verification as a scheduled audit of roughly 1.2–2 s per million entries, not as an interactive check.
READING A LOG ROOT
The signing-log root is versioned (ADR-0313). A log created from v0.106 on writes a v2 root, the RFC 6962/9162 Merkle Tree Hash, which commits to the tree size. A log created earlier stays v1 for its whole life. v1 pads an odd level by duplicating its last node, so [a,b,c] and [a,b,c,c] share a root. Every root is therefore carried with its tree_size and root_version: nova verify fails a log entry that records a root without its tree size, and consistency proofs require both sizes. Releases before v0.106 cannot verify the inclusion proof of a v2 seal, except at power-of-two tree sizes.
v0.107.0 · October 2026
Trust and evidence
8.3 Evidence Bundles
nova export-evidence packages one capsule, or since vo.102 a set of capsules, into a ZIP for an auditor. The ZIP holds in-toto Statement v1 attestations, each signed as a DSSE envelope, plus an RFC 3161 token when requested. The bundle schema carries a timestamp_status and an admissibility_status (self-authenticating, requires-foundation or incomplete, ADR-0095). That status tells a reader what the bundle can prove on its own and what still needs a witness.
Since vo.106, nova verify <bundle>.zip runs the bundle's whole verification recipe. It recomputes manifest_hash and every artifact digest, verifies the DSSE signature of each attestation, and checks each statement's subject against the manifest. The run statement's subject is also recomputed from the bundle's own run-capsule/ copy, so a capsule file edited after export fails even when every digest has been repaired. The signing key ships inside the bundle, so a pass on its own proves internal consistency, not identity: --public-key pins the expected signer, and without it the output says the signer is not pinned. A bundle's RFC 3161 token is checked only when a --tsa-ca-bundle anchor is given; otherwise the command says that its time is not trusted.
Since vo.107 every member is signed. A members statement (attestations/bundle.intoto.json) covers every file and the manifest's fields, so rewriting README.md, the bundled schemas or verifier_instructions fails verification, --public-key included. A bundle built before it verifies as “signed content only” (members_signed: false) and is never shown as fully verified. A bundle’s runs come only from its verified signatures, so a fabricated, relabelled or stripped run, a duplicate ZIP member, or a run statement that signs no predicate.run_id fails. POST /api/evidence/{id}/verify in nova serve runs this same verifier, where it once reported valid: true for tampered bundles. Server-side signer pinning uses an operator trust list, NOVAFABRIC_EVIDENCE_TRUSTED_KEYS, and reports signer_trust as anchored, unanchored or untrusted; the command line pins with --public-key. Export never follows a symbolic link: nova export-evidence refuses a capsule that contains one (exit 1, nothing written), because the link’s target, any file the exporting user can read, would otherwise be copied into the signed bundle past redaction. The capsule Merkle root and in-toto subjects do not follow links either.
8.4 WORM storage, retention and legal holds
Records can be made tamper-resistant at the storage layer as well as cryptographically. WORM adapters cover S3 Object Lock in COMPLIANCE mode, Azure immutable blobs and GCS Bucket Lock (storage/). The object capsule store adds S3-compatible backends, including Ceph (object capsule store/worm/). A retention sweep that respects WORM locks (nova retention) and legal holds (nova hold create|list|release) complete the lifecycle. Since vo.107 the CLI and the API share one legal-hold store (registries/<r>/holds.jsonl under NOVAFABRIC_HOME). A hold is registry-wide, so any active hold refuses nova capsule delete (--force included) and the retention sweep, and stops PII erasure: the key is kept and nova pii erase exits 3 (GDPR Art. 17(3)(e)). nova retention apply re-reads holds and WORM locks
v0.107.0 · October 2026
Trust and evidence
before every action, and releasing a hold through nova serve needs the admin scope. The nova-worm-conformance package is a behavioural suite for storage targets.
8.5 Two-person control
Maker-checker is enforced in two places (Figure 8.2), and a third, protected labels, follows the registry's rules:
Registry promotion (ADR-0058, ADR-0312). nova promote propose and nova promote approve require --identity. Since vo.106 each signature is verified with the public key that an operator-held signer trust list (NOVAFABRIC_PROMOTE_SIGNERS, or promote-signers.yaml under NOVAFABRIC_HOME) binds to that identity and its proposer or approver role. Separation of duties compares the bound identities, and an approval is bound to one proposal. Only then does the transition pass the OPA policy gate and the eval-score gate. A direct promotion into production needs an explicit allow from the promote_direct policy, which the shipped default denies. Since vo.107 every other route into production passes the same gate (403 without an allow; force does not bypass it): both servers' HTTP promote routes and nova prompt promote; registration accepts only development; and nova rollback skips the gate only for a version the append-only status history shows was in production.
Capsule attestation (ADR-0059, ADR-0315). The approval envelope binds the RFC 8785 canonical digest of the proposal envelope. nova seal verify runs five checks offline, each with its own exit code. It verifies the proposal envelope and its signer against policy, then the approval envelope and its signer. It checks that the bound digest matches, that the approver is not the proposer (exit 6), and that the timestamps are in order. Since vo.106 every proposal, approval, signed policy and bypass signer must chain to a pinned CA (--ca-bundle or NOVAFABRIC_PROMOTE_CA_BUNDLE); with no trust root, verification refuses with exit 3. A bypass (nova seal bypass) counts only when it is signed by an approver in the current policy, for this capsule, and is unexpired by its signed valid_until. Since vo.107 it is also refused unless its seal.bypass.create audit entry is written, and a bypass made earlier stops counting until it is re-created.
Protected labels (ADR-0114, experimental). nova label propose-move and nova label approve-move need an existing keyring key that the same trust list binds to the proposer or approver role. Before vo.107 approval minted a key for any unseen identity, so one person could satisfy both roles by passing a second --identity. Separation of duties now compares the bound identity and the key fingerprint, and only approvals that verify are counted. Relaxing a protection (--unprotect, fewer required approvals, a changed or removed --policy-ref) only proposes the change, and a trust-listed checker approves it with nova label approve-move; strengthening stays single-actor.
WHAT TWO-PERSON CONTROL PROVES
Since vo.106 registry promotion and capsule attestation, and since vo.107 protected labels, bind each signature to an identity the operator has vouched for. That binding is exactly as strong as the operator's trust list or pinned CA: whoever controls them decides which key counts as which person. Login-level authentication of the signer (OIDC in server mode, Sigstore) is not yet part of the check.
v0.107.0 · October 2026
Trust and evidence
--insecure-self-signed (or NOVAFABRIC_PROMOTE_INSECURE_SELF_SIGNED=1) accepts self-signed attestation signers for development. A regulated deployment must not set it.
Proposals stored before v0.106 read as unverified and cannot be approved; a new nova promote propose supersedes them.
Capsule attestation (ADR-0059)
nova seal propose
DSSE #1
nova seal approve
DSSE #2 binds the
RFC 8785 digest of #1
nova seal verify
five checks
all pass
any fails
exit 0
exit 3–9
6 = self-approval
8, 9 = missing half
Registry promotion (ADR-0058)
nova promote propose
maker identity + key
nova promote approve
checker identity + key
same bound identity
or key?
yes
no
SoDViolationError
OPA gate,
then eval gate
allow
deny
promoted
audit-logged
denied
audit-logged
Figure 8.2 Maker-checker. The order is as built: the separation-of-duties check, then the policy gate, then the transition. Every outcome is audit-logged.
Every policy decision, promotion, approval, hold and deletion is appended to a SHA-256 hash-chained audit log. Since v0.107 concurrent appenders are serialised with a file lock, so the chain cannot fork. The log exports as JSONL, OCSF or CEF for a SIEM (nova audit-log export, ADR-0191).
v0.107.0 · October 2026
Lineage and the knowledge graph
9.1 Event-derived, rebuildable lineage
Lineage is not a separate system of record. Capture writes typed edges into each capsule's lineage.jsonl, and a graph store indexes them. The store can always be rebuilt from the capsules. Every edge carries a unique ULID identifier, and importing a capsule replaces the edges the store holds for that run instead of adding to them, so importing the same capsule twice leaves the same graph (Figure 9.1). Since vo.107 the importer and the writer read and rewrite a capsule's lineage and source streams through the no-follow layer (Chapter 6): a symbolic link or special file at lineage.jsonl, assets.jsonl or capsule.yaml is an error rather than an empty result, so a lineage index never reports zero edges over a record it could not read.

Figure 9.1 The lineage vocabulary: capture-time edges (top) and the distributed, session and memory vocabulary (ADR-0044, ADR-0122, ADR-0143).
nova lineage answers the questions an incident raises:
▶ provenance: what led to this run?
blast-radius: what is downstream of this asset?
▶ replay-chain: which runs replay which?
Lineage and the knowledge graph
▶ time-travel: what did the graph look like at time t?
▶ root-cause: which upstream change explains this failure?
The memory edges serve one specific purpose: when a memory item is poisoned, they distinguish who wrote the bad item from who read it.
9.2 Tiered backends behind one interface
| Backend | Role | Status |
|---|---|---|
| SQLite (recursive BFS) | local default, below about 1M edges | works today |
| Postgres WITH RECURSIVE | server-mode tier (vo.68) | experimental |
| KuzuDB (embedded) | the 1M-1B edge production candidate; bulk COPY write path (vo.94) | experimental |
| Apache AGE (openCypher) | Postgres-native graph tier (vo.69) | experimental |
| JanusGraph (Gremlin) | distributed billion-edge tier (vo.70) | experimental |
All four at-scale backends are implemented, and testcontainers verify them against live servers. No NotImplementedError stubs remain in lineage/backends/. Since vo.102 one shared behavioural contract test runs against every backend. That matters: JanusGraph's first live run exposed two real bugs that unit tests against mocks had missed. In the cluster tier, nova lineage consume derives SPAWNED_BY edges from canonical RunStarted events on NATS that carry a parent_run_id. Deduplication by event_id happens here, downstream of the collector. Since vo.95 (ADR-0220) the producer-to-consumer path is verified end-to-end. A test runs a real parent and child capture, feeds the resulting spool segments to the consumer and asserts the edge. The NATS JetStream transport itself is covered by mocked tests.
9.3 Interoperability
AI lineage lands in existing data catalogues instead of a new silo:
▶ nova lineage emit-openlineage emits OpenLineage RunEvents;
▶ nova lineage export-prov exports W3C PROV-JSON or PROV-N;
▶ fine-grained row and transformation facets (vo.77) carry column-level detail.
9.4 The capsule knowledge graph
experimental A separate KuzuDB knowledge graph (kg/, ADR-0067) aggregates entities across runs: which agents call which models, which tools co-occur, which MCP servers provide them. It includes an alias table and a human review queue for entity resolution (nova kg alias, nova kg entity-queue). Phase 1 of the Security Provenance Knowledge Graph (ADR-0111) adds nova kg detect, nova kg attack-path and nova kg blast-radius, which reason over security-relevant paths through tools, credentials and data. Hybrid hunting, temporal
v0.107.0 · October 2026
Lineage and the knowledge graph
validity and an RDF store are planned. Since v0.107 the knowledge-graph consumer never follows a link: a linked directory or ZIP is not a candidate and a linked event stream is not ingested. In nova serve, the capsule_path of the KG-ingest and lineage-import routes is a bare run id or a path inside an allowlist of roots ($NOVAFABRIC_HOME, the capsule directory, and any added through NOVAFABRIC_SERVE_PATH_ROOTS); .. segments, symlink escapes and the server's own secrets, such as its token stores, are refused (403).
v0.107.0 · October 2026
Governance, compliance and assurance
The governing principle: humans approve policies, risk boundaries and exceptional actions; machine-enforced policy governs and records everything else. Every decision leaves evidence (Figure 10.1).

Figure 10.1 Governed actions. A policy decision and any human control both land in the hash-chained audit log, which exports to a SIEM.
Governance, compliance and assurance
10.1 Policy engine
Promotion, evidence export, replay with any write-permitting flag and protected labels are gated by OPA/Rego policies (policy/, default policies in policies/novafabric/default/). Decisions are explainable (nova policy explain), testable (nova policy test) and can be signed (nova policy sign). OPA runs as an external opa binary with a 30-second timeout. NovaFabric embeds no policy runtime, which keeps the dependency licence tier clean and the policy language standard. Since v0.107 every opa process NovaFabric starts inherits no environment and runs with capabilities that remove opa.runtime, http.send and net.lookup_ip_addr, so Rego cannot read the server's secrets or reach the network. If the restricted capabilities cannot be derived from the installed binary, nothing is evaluated and the caller is denied (policy/_opa_sandbox.py). Under nova serve, caller-supplied Rego (policy_source, or bundle_path on the test route) needs the admin scope.
Every route into production is gated. works today A new asset enters the registry as development: nova register, POST /api/assets and POST /v0/assets refuse a spec that declares any other status: (HTTP 422 on both routes, with the error code registration_status_not_allowed on nova server; exit 1 on the CLI). Every other move into production then goes through the promote_direct policy action or maker-checker: nova promote direct, nova rollback, nova prompt promote, both nova serve promote routes and PUT /v0/assets/{id}/promote on nova server. A refusal is HTTP 403, and force does not bypass it. Rollback restores without a policy decision only a version that the append-only asset_status_history table shows was in production, bound to the asset id and the spec's SHA-256. A version that was ever in production can never be registered again.
Protected labels and legal holds. Moving a protected label is a maker-checker step (nova label propose-move, nova label approve-move; experimental). Both roles need an existing keyring key bound to them in the signer trust list (nova promote keygen), and separation of duties compares the bound identity and the key fingerprint, so a second --identity cannot make one person both. Relaxing a protection (--unprotect, fewer approvals, a changed policy reference) is itself only a proposal that a trust-listed checker must approve. works today Legal holds live in one store, registries/<registry>/holds.jsonl, for the CLI and the API. A hold blocks capsule deletion (--force included), PII erasure and the retention sweep, and nova retention apply re-reads holds and WORM locks before every action. Placing a hold needs operate under nova serve; releasing one needs admin.
WHERE POLICY GATES STOP
If opa is not on PATH, get_policy_engine() warns and returns a NoopEngine that allows every request (policy/init.py). Local mode stays usable on a machine without OPA, but policy gates are then off. The one deliberate exception is promote_direct: a no-op “allow” is not an explicit allow, so single-actor promotion into production is refused until OPA is installed (registry/service.py). A regulated deployment must install OPA and treat that warning as a configuration error.
v0.107.0 · October 2026
Governance, compliance and assurance
10.2 Human oversight as evidence
experimental The hitl package (ADR-0150) records human-agent accountability as first-class evidence, with each record handled by its own commands:
conversation provenance, decision context, overrides and rationale (nova hitl);
▶ consent receipts and their withdrawal (nova consent);
hand-offs and “acted-as” delegation.
All of it is record-only: NovaFabric documents who decided what, and does not decide for them. A five-level approval taxonomy (Lo to L4) and a human-impact ledger are future design; today only HumanApprovalEvent exists in code.
10.3 The accountability spine
experimental Four mechanisms, shipped in v0.55–0.56, bind a run to claims an outside party can check:
▶ Energy-anchored receipts (nova energy probe|attest|verify|report): RAPL sampling and Slurm sacct energy, attached as evidence.
Adversary-anchored ledger (nova ledger).
Replay attestation (nova evidence attest-replay): since v0.105 a diverged mocked replay attests mismatch. Since v0.106 --mode exact refuses, and signs nothing, for a run that is not exact-eligible, because exact mode re-executes nothing.
Safety-case compiler (nova safety-case build|export|verify, ADR-0095): Claims-Arguments-Evidence cases from templates for a generic frontier case, EU AI Act Annex IV and NIST AI RMF.
LEDGER ANCHORING
The only anchor the ledger writes today is a local finalize anchor (method: "none"), which the verifier accepts. External anchoring to a TSA or a transparency log is not yet in the ledger package. Until it is, the ledger proves internal consistency, not independent witness. Likewise, without --merkle-db, nova ledger verify exit o shows only that a checkpoint's Merkle block is self-consistent; with it, the supplied log must hold the checkpoint.
10.4 Compliance machinery
31 nova export-* commands turn capsules into the artefacts that regulatory and archival processes consume. All regulatory exporters are experimental ; the core evidence bundle is works today . Since v0.107 no exporter follows a symbolic link: a capsule that contains one is refused and nothing is written, and a required capsule file that is a link, FIFO, directory or oversize is an error, never empty output.
v0.107.0 · October 2026
Governance, compliance and assurance
| Area | Exporters (nova export-...) |
|---|---|
| EU AI Act | annex-iv, public-annex-viii, compliance (ISO 42001, NIST GenAI profile, GPAI Art. 53, post-market monitoring) |
| Risk & governance | nist-rmf, model-risk (SR 26-2 / SR 11-7), model-independence, control-attestation, rai-scorecard, system-card |
| Privacy & security | ropa (GDPR Art. 30), hipaa-proof, nis2, whistleblower |
| Finance & regulated records | adverse-action (ECOA / Reg B), cat, part11 (21 CFR Part 11), retention |
| Public sector | public-disclosure, public-incident, transparency-register, foia, citizen-explanation, election-disclosure, accessibility-claim |
| Provenance & archival | evidence, aibom (CycloneDX 1.7), c2pa, rocrate, rocrate-science, examiner (BagIt, FDA PCCP, ISO 42001), blob |
nova audit scores evidence coverage against 6 built-in profiles: EU AI Act high-risk, GDPR, ISO 42001, NIST AI RMF (the default), scientific reproducibility and SOC 2 Type 2.
GDPR Art. 17 crypto-shredding. experimental nova pii erase destroys a data subject's AES-GCM data-encryption key and issues an erasure receipt (ADR-0069). The design makes ciphertext unreadable without touching the immutable capsule. Since vo.106, nova capture --pii-subject <id> encrypts detected PII and every literal occurrence of the subject id under that subject's key at capture time (ADR-0314, requires NOVA_PII_PEPPER). After erasure those tokens cannot be opened and readers render [erased]. Erasure makes PII unreadable only in capsules captured that way; binary or oversize artifacts, media blobs and in-process (adapter or decorator) capsules are not covered, and they still need the masker, capture levels and retention to meet an erasure obligation. If the key is unavailable at capture, the PII is masked and never stored in plaintext. A legal hold wins over erasure (GDPR Art. 17(3)(e)): while any hold is active in any registry, nova pii erase keeps the key, writes a held receipt and exits 3 (the REST route answers HTTP 409). Holds are registry-wide today, so one active hold defers every erasure until it is released. The nova erasure group used to report success without doing anything. It now fails loudly and points to the working path, a deliberate correction recorded in its module docstring.
Supply chain and MCP. nova mcp scans MCP servers for supply-chain risk. nova dataset and nova toolschema record signed dataset provenance cards and tool-schema evidence. nova assure checks evidence against the OWASP LLM Top-10 (2025).
10.5 Honest numbers: cost and evals
Absent is not zero (ADR-0234). An unpriced model used to report $0.00, which reads as “free”. Cost aggregates now track unpriced_calls and unpriced_models. An aggregate that cannot be computed honestly refuses, with a reason and a remedy, instead of rendering a number. nova cost estimate reports unpriced models in their own basis: "unpriced" row, kept out of the totals.
v0.107.0 · October 2026
Governance, compliance and assurance
Evals are promotion gates, not scores. Eval suites (MMLU, TruthfulQA, GAIA, SWE-bench, Agent-Bench, smoke) feed the Rego regression gate on promotion. Since vo.106 (ADR-0308), container suites require a user-supplied image and digest. No NovaFabric eval image is published, and an unset variable now fails before Docker is touched, naming exactly what is missing.
v0.107.0 · October 2026
Product surfaces
11.1 The CLI is canonical
works today The CLI is the reference interface. Every other surface either calls the same library code or shows the equivalent command. At v0.107.0 it registers 150 top-level commands and 374 runnable command paths; Appendix A lists them all. Two guard tests keep the documentation in step. One requires every top-level command to have a section in docs/cli-reference.md. The other forbids a documented heading for a command that no longer exists. The story still fits in six lines:
nova capture python my_agent.py # record a run as a capsule nova validate <run-id> # check the capsule schema nova replay <run-id> --mode mocked # re-run under a stated contract nova diff <run-a> <run-b> --assert-no-regressions # CI gate nova verify <run-id> # signature, time, log, trust nova export-evidence <run-id> # signed bundle for an auditor
11.2 The local dashboard
experimental nova serve starts a local FastAPI server with a single-page dashboard (ui/dashboard/). It reads the same capsules and indexes as the CLI. Its 30 tabs fall into 7 journeys:
| Journey | Tabs |
|---|---|
| Overview | Home, Analytics, Cost, Dashboards |
| Runs & debug | Runs, Diff, Capture |
| Govern & promote | Registry, Governance, Eval, Risk, Policy, Holds |
| Provenance & trust | Lineage, KG, Evidence, Seal, Spine, Audit |
| Compliance | Compliance, Incidents, Schema |
| Platform | Infra, Storage, Ops, Alerts, Admin, Commands |
| Reports & export | Reports, Export |
The Commands tab is a CLI command builder, and each tab shows the CLI equivalent of its actions. Dashboards are portable, versioned JSON files (nova dashboard, ADR-0235). They can
Product surfaces
be diffed, reviewed and committed like code. Optional live topology views, behind --topology and --tv5, stream fleet graphs over WebSockets.
11.3 Authorization on every route (ADR-0228)
214 HTTP routes are mounted by default. Each is classified in one declarative (method, path) table, ROUTE_SCOPES, with 225 entries covering the optional topology and TV-5 routes too (Figure 11.1). Scopes nest: admin includes operate, which includes read. audit is orthogonal: it grants audit and read access and nothing else.
DENY BY DEFAULT
A route missing from the table is denied to every caller, an admin and an anonymous request included (since v0.107; before, an anonymous request fell through to the route's own authentication, which an unclassified route might not have). Denials are audited. On a classified route, an unauthenticated request still reaches that route's own authentication dependency, which answers 401. A completeness guard test fails the build if any mounted route is unclassified, so a new endpoint cannot ship ungoverned by accident.
A stored token scope that is not recognised (a typo, another case, padding) now grants nothing; before v0.107 it fell back to admin. Only a record with no scope field at all is still treated as legacy admin (ADR-0228 D4). WebSocket routes are outside the table and keep their inline Host and token check.
The neighbouring ADRs harden the same surface:
ADR-0229, tenancy posture. Every store declares itself tenant-aware, tenant-agnostic or unsafe, and the declaration is checked against the real schema. Multi-tenant mode is refused at startup while any store on a read path is unsafe. This is stricter than the ADR's original plan of returning 503 per endpoint, because a partly scoped API that looks healthy is worse than one that refuses to start.
ADR-0230, secure-by-default chart. The Helm chart defaults to authenticated server mode. Rendering it with insecure: true fails unless the operator writes a literal acknowledgement string.
ADR-0231, audit enrichment. Records carry actor.identity_source (shared-token, credential or federated). A shared token is no longer exported to a SIEM as if it were a named user.
What the server refuses to be used for (v0.107). Four boundaries close ways for a low-privilege token to reach the host.
Caller-supplied Rego needs admin. POST /api/policy/check with policy_source, and bundle_path on /api/policy/test, return 403 to a lesser credential. Every opa runs with no inherited environment and without opa.runtime, http.send and net.lookup_ip_addr (Chapter 10). Before v0.107 a read token could read the server token through Rego and become admin. GET /api/policy/explain is audit-scoped with exact matching.
Request-body paths are allowed. A path in a request body (evidence export, capsule migrate, policy sign and test, KG and lineage capsule_path, metadata rebuild) is resolved
v0.107.0 · October 2026
Product surfaces

Figure 11.1 Request authorization in nova serve.
and must lie inside a root. Writes go only to NOVAFABRIC_HOME/evidence and NOVAFABRIC_HOME and the capsule directory. Token stores, dek.db, ratchet state, the audit logs and (for source reads) key material are refused even inside a root. A . . segment or a symlink escape is a 403. NOVAFABRIC_SERVE_PATH_ROOTS adds roots; the old NOVAFABRIC_SERVE_ALLOW_ANY_PATH switch is no longer honoured.
The token never reaches a log. The audit log, the SIEM export and GET /api/admin/tokens carry a 12-hex-character SHA-256 fingerprint, not the token's first eight characters; earlier records keep the prefix, as the chain is not rewritten.
Capsules are not followed through links. No nova serve route follows a symbolic link in a
v0.107.0 · October 2026
Product surfaces
capsule; hard links remain a documented limit.
11.4 Server mode
experimental nova server start runs the multi-user /v0 API, 79 routes in its default configuration, specified in api/openapi.yaml. It provides:
OIDC bearer validation against a JWKS cache (asymmetric algorithms only) and RBAC with roles reader <writer <admin plus a separate auditor;
Ed25519 offline tokens for air-gapped and Slurm sites (ADR-0018);
hashed API keys, SAML 2.0 SP, SCIM 2.0, step-up authentication, webhooks, usage metering, quotas and rate limiting.
Since v0.107 POST /v0/evidence takes no filesystem path from the client: it refuses output_path (400) and writes only <evidence dir>/<run_id>.zip, and every id that becomes a file name, from a request, manifest, event or capsule.yaml, must be one path segment. A sym-linked store entry is refused. Moving an asset into production through PUT /v0/assets/{id}/promote needs a promote_direct allow (Chapter 10).
nova login is demo-only: it runs the RFC 8628 device flow against demo endpoints that exist only when the server sets NOVAFABRIC_SERVER_DEMO_DEVICE_GRANT=1 (off by default), never contacts an identity provider, and stores a token the server's API does not accept. Against a real server use an IdP-issued bearer token, an API key or nova server issue-token.
11.5 SDKs, collector and integrations
Python: the in-process SDK and record façade, plus a typed client for the /v0 API (client/, experimental).
TypeScript: @novafabric/sdk, with types generated from the OpenAPI contract and no runtime dependencies (experimental).
Go collector (collector/): four binaries: collector, HPC hub, spool forwarder and verifier (Chapter 12).
Claude Code plugin (integrations/claudede-plugin): skills that instrument an agent project and deploy NovaFabric.
11.6 Distribution and supply chain
PyPI: novafabric (Apache-2.0, Python ≥ 3.12), published by OIDC Trusted Publishing with SLSA provenance and a CycloneDX SBOM.
Container image: ghcr.io/mskazemi/novafabric (amd64, arm64), keyless-cosign signed, with SBOM and provenance, Trivy-scanned at release; the Helm chart goes to an OCI registry with the version from the release tag.
v0.107.0 · October 2026
Architecture at scale
Light at the edge. Heavy in the service plane. Distributed by child capsules. Scalable by aggregation.
All cluster-scale phases, 0 to 6, are implemented and shipped as experimental. Compute nodes do computation. On the cluster path a compute node writes Event Envelope v1 records, each with its payload and the SHA-256 of that payload, to a local spool and never blocks; signing, deduplication, routing and indexing happen on dedicated service nodes (Figure 12.1). The envelope does not decide what a payload contains: that is decided at capture (Chapter 6), where prompts and responses are stored at every capture level today.
12.1 The Go collector
experimental The collector (collector/) implements a demanding HPC constraint: a Lustre-safe spool. On a parallel filesystem, rename is the only atomic primitive, so the spool uses no flock and no mmap. It syncs each segment to disk (fsync) before the rename commit, evicts FIFO, and returns back-pressure as an error instead of blocking the agent. A custom OpenTelemetry Collector processor canonically encodes each batch and signs it with Ed25519. It refuses to forward an unsigned batch when the key service is unreachable. In the HPC profile, a Slurm Prolog starts a per-job NATS leaf and signing happens at the cluster hub. Compute nodes therefore have no key-service dependency, and air gaps hold. Where the Go binary is not deployed, a small Python receiver (collector_app, POST /capsule) feeds capsule events into the evidence-fabric accumulator. It has no spool and no signing, so it is a lightweight ingest path, not a replacement for the collector. Since v0.107 it authenticates. With NOVA_COLLECTOR_TOKEN set, every POST /capsule must carry the token in X-Nova-Token, from any address, and the comparison is constant-time. Without a token it serves only a loopback caller with a localhost Host header and no proxy header, and logs a warning at startup. A same-host reverse proxy that adds no forwarding header is indistinguishable from a local caller, so the token must be set whenever anything proxies to it. The tenant belongs to the authenticated caller (NOVA_COLLECTOR_TENANT, default default); a body or event that names another tenant is refused with 403, so one collector and one token serve one tenant, and a malformed event is refused with 422 and stores nothing from its batch.
Batch-scheduler runners. experimental The Slurm and LSF runners put the job script on the sub-
Architecture at scale

Compute plane. Agents, pods and Slurm ranks emit Event Envelope v1 to a local spool, hash their payloads and never block.
Node collector. A Lustre-safe spool batches, compresses and forwards.
Cluster collector. Drops envelopes of an unknown version, batch-signs with Ed25519 and routes over NATS JetStream (primary) or Kafka. Delivery is at-least-once, and consumers deduplicate by event_id.
Regional evidence plane. The object capsule store holds the truth under WORM. A Postgres metadata index runs under row-level security, alongside the lineage graph and cost analytics.
Global query plane. Federated provenance across regions, future design.
Figure 12.1 Deployment planes, from compute node to global query.
mit command's standard input (sbatch, bsub), so it appears in no process argument list and in no file in the shared capsule directory. Slurm, LSF and PBS quote every argument with shlex.quote: a $, backtick, ; or & in a command argument or an extra_env value reaches the job literally and is neither expanded nor executed, as with the local runner. The Slurm and LSF submit commands start from a minimal environment, not the user's shell (ADR-0311).
12.2 Distributed runs and the fail-open arrival policy
experimental A distributed job must not lose 999 workers' evidence because its driver crashed. The parent/child capsule model is therefore designed to accept every valid child capsule, even when its parent never arrives (Figure 12.2). After the configurable pending_parent_timeout (default 24 h), an orphan child is linked to a synthetic ORPHAN_PARENT placeholder. The placeholder's identifier is derived deterministically from the missing parent_run_id, so every orphan of the same parent resolves to the same placeholder. If the real parent arrives late, it replaces the placeholder idempotently. A parent finalizes on arrival counts. If every expected child arrived, it is COMPLETE; if none arrived, FAILED. If only some arrived, it is PARTIALLY_
v0.107.0 · October 2026
Architecture at scale

Figure 12.2 The designed child-arrival, orphan and parent-finalization model (capsule/orphan.py, capsule/writer.py, capsule/validator.py); see the box below for what is wired.
COMPLETE under the default fail-open mode and FAILED under fail-closed. A child's own FAILED status does not change this outcome; it is recorded on the child. When the parent declares no expected count, it is COMPLETE once any child has arrived.
WHAT IS WIRED TODAY
This state machine (ParentCapsuleTracker, OrphanManager) is tested library code. No runtime path calls it. nova capture does not count arrivals, finalize a parent or write an ORPHAN_PARENT placeholder, and the CapsuleWriter that writes the parent manifest is not the one nova capture uses. What does run: nova run show --with-children assembles the child tree and lists children whose parent is absent, under a synthetic root that exists in memory only. nova run validate-distributed (and POST /api/runs/{id}/validate-distributed) reads a parent manifest's recorded status and maps it to exit 0, 2 or 1. nova server refuses a child upload whose parent is absent (409, parent_not_found) until the child is 24 h old. A parent therefore reaches a
v0.107.0 · October 2026
Architecture at scale
terminal status only if something outside nova capture finalizes it.
12.3 Polyglot persistence with one source of truth
experimental Each backend serves the workload it fits best (ADR-0022), and one rule holds: the object capsule store is the truth, and everything else is rebuildable (Figure 12.3).
put_capsule is a five-step WORM protocol with optional zstd dictionary compression.
get_capsule pins SHA-256 and walks an Iceberg-style manifest chain by default, raising ChainIntegrityError on a broken link.
The Postgres metadata store enforces tenant isolation by SET LOCAL at the start of every transaction, under a dedicated non-superuser application role. Its security gate tests run as that role, because a superuser bypasses row-level security.

Figure 12.3 Production storage stack. Dashed arrows are rebuilds, and SQLite remains the zero-setup local default.
Every backend in the stack is licensed Apache-2.0, MIT, BSD or PostgreSQL under a default-deny dependency policy (ADR-0024). The whole stack can run self-hosted and air-gapped. A cache tier will use Valkey rather than a source-available alternative (planned).
12.4 Reliability contract
The pipeline assumes distributed reality: at-least-once delivery, duplicates, out-of-order events, missing children and untrusted clocks. If the collector is unreachable, events spool locally. If the signing service is down, the batch is refused rather than forwarded unsigned (fail-closed). If an index is lost, it is rebuilt from capsules. If NovaFabric itself fails, the workload continues.
v0.107.0 · October 2026
Performance evidence
13.1 One catalogue, three kinds of number
Every published performance number lives in one file, tests/bench/slo_catalog.toml (ADR-0248). The user-facing docs/slo.md is generated from it, and a drift test keeps the two identical. Each entry carries exactly one status:
- CI-gated : a CI or nightly gate enforces it. The gate test reads its threshold from the catalogue, so the published number and the enforced number cannot disagree.
measured : observed on stated hardware. It carries a revalidate_by date, and once that passes, a stale claim fails the suite instead of fossilizing. A claim that cannot be re-measured in time is demoted to target rather than renewed.
target : an aspiration, explicitly not a promise.
At v0.107.0 the catalogue holds 21 entries: 10 gated, 8 measured and 3 target. The table below is generated from it.
WHY THIS MATTERS
A recorder for evidence has to hold its own claims to an evidentiary standard. In this catalogue the published number and the enforced number are the same number. Measured numbers expire. A claim that turned out false was withdrawn in writing, and the original sentence was struck through rather than deleted. A reviewer can check every row below against one file and one test run.
| Catalogue entry | Value | Status | Backing |
|---|---|---|---|
| capture.trivial-run.p95 | 2 s | CI-gated | tests/bench/test_capture_overhead_gate.py (ci:capture-overhead-gate) |
| seal.seal-call.median | 50 ms | CI-gated | tests/seal/test_benchmark.py (ci:seal-latency-gate) |
| dashboard.runs-page.p95 | 100 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| dashboard.runs-search-page.p95 | 100 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| dashboard.analytics-summary.p95 | 250 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
Performance evidence
| Catalogue entry | Value | Status | Backing |
|---|---|---|---|
| dashboard.report-throughput.p95 | 300 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| dashboard.report-executive-summary.p95 | 300 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| dashboard.report-run-history-page.p95 | 300 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| dashboard.report-run-history-deep-keyset.p95 | 300 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| dashboard.audit-tail.p95 | 100 ms | CI-gated | tests/bench/test_dashboard_scale_gate.py (nightly:dashboard-scale) |
| seal.seal-call.p99 | 200 ms | target | alarm only, not a promise |
| lineage.kuzu-blast-radius.p99 | 45.5 ms | target | alarm only, not a promise |
| collector.seal-batch.throughput | 295,000 events/s | target | alarm only, not a promise |
| query.persistent-index.speedup | 5.1x | measured | workstation |
| capture.absOLUTE-overhead.mean | 4.56 s | measured | Azure D8s_v5 |
| topology.recluster.per-node | 17.7 ms/node | measured | Azure D8s_v5 |
| topology.cluster-load.p99 | 2 ms | measured | Azure D8s_v5 |
| policy.decision.p99 | 29 ms | measured | Azure D8s_v5 |
| lineage.bulk-copy.throughput | 1,340 edges/s | measured | Azure D8s_v5 |
| metadata.rls-overhead.p50 | 7.4% | measured | Azure D8s_v5 |
| collector.marginal-per-event | 0.55 ms | measured | Azure D8s_v5 |
13.2 Reading the capture-overhead numbers
Two capture figures differ by an order of magnitude, and both are correct. They measure different things:
The gated trivial run (python -c pass with fast-emit hooks) had a median of 168.8 ms (n = 30) when it was last characterized. It is gated at p95 < 2 s.
The measured full-capture mean of 4.56 s is a fixed cost that stays flat across a 61.8× range of workload sizes. Per intercepted call, the marginal cost is about 0.41–0.55 ms: 3.6 % on an 11.5 ms call and 0.5 % on a 102 ms call.
Part of the fixed cost depends on which SDKs are installed in the environment. The default hook installer imports every present target SDK at interpreter start purely to patch it (about 717 ms for openai and 340 ms for mcp, measured with -X importtime), even when the workload never calls them. --fast-emit patches an SDK only when the workload itself imports it. When it shipped in vo.54 it took a compute-only workload from 2068 ms to 464 ms, and an import openai workload from 2223 ms to 1509 ms. For long-running agent workloads the marginal cost dominates. For very short commands the fixed cost does, and the warm capture
v0.107.0 · October 2026
Performance evidence
daemon exists for that case.
WHERE THE NUMBERS STOP
The ADR-0021 budget of ≤50 ms for a no-op capture is a target. No measured figure meets it today.
The 295,000 events/s collector batch-signing figure comes from the Phase 2 acceptance run on a workstation, built without the race detector. CI runs the collector under the race detector and enforces only the latency bound. No re-measurement was available before its revalidation date, so since v0.107 the catalogue lists this figure, and the KuzuDB blast-radius figure, as target, no longer as measured. The project makes no cluster-scale throughput claim beyond these.
The measurements from the 2026-08-28 cloud campaign (the full-capture mean, the marginal cost per call, the lineage bulk-copy rate and the topology recluster cost among them) cannot be renewed as they stand, because equivalent virtual machines are no longer available to the project. Before 2027-03-01 each is either re-measured on other stated hardware, as a new measurement, or demoted to target.
The lineage bulk-copy path measured 1,340 edges/s, below its own 10,000/s objective. Topology re-clustering crosses its 30 s objective at about 1,700 nodes. Both are published, not hidden.
The NovaSeal log-verification target is withdrawn (Chapter 8). The seal p99 of 200 ms is an alarm, not a gate: three of 55 shared-runner runs stalled past it.
v0.107.0 · October 2026
Capability and maturity matrix
The project describes itself as beta. The README lists as stable: local capture, replay, diff, SQLite lineage, the trust layer, the asset registry, policy and approval gates, and the standard eval suites. Server mode, the cluster tier and every cohort shipped since vo.59 are experimental. The Run Capsule and Evidence Bundle formats are not yet frozen. The condensed matrix:
| Capability | Status |
|---|---|
| Wire and SDK capture, record façade, secret scan, residual rescan, redaction proof | works today |
| MCP and API capture proxies | works today |
| Runners: local, Docker, Kubernetes, Slurm, PBS, LSF; scheduler context in manifest | experimental |
| Framework adapters (11) | experimental |
| Warm capture daemon, OTLP ingest, sessions, computer-use capture | experimental |
| Replay: forensic, semantic, exact eligibility, mocked (fail-closed) | works today |
| Replay: intervention; non-MCP tool substitution (ADR-0306) | experimental |
| Structural diff and exit-code contract; parameter diff | works today |
| Drift detectors, replay equivalence, assurance verdicts | experimental |
| NovaSeal local profile: DSSE P-256, RFC 3161, Merkle log | works today |
| identity_trust levels, nova seal init local CA | experimental |
| Cloud KMS signing, Sigstore, key ratchet, MMR, witnesses, hybrid signatures, did:key/VC | experimental |
| Post-quantum signing (ML-DSA) | future design (registry slot only) |
| HSM / PKCS#11 signing backend | future design |
| Evidence Bundle (single and multi-capsule), admissibility status | works today |
Capability and maturity matrix
| Capability | Status |
|---|---|
| WORM adapters, retention sweep, legal holds (one store for CLI and API; the retention crypto-shred action is experimental) | works today |
| Maker-checker promotion and capsule attestation (signers bound by an operator trust list or pinned CA) | works today |
| Protected labels: maker-checker moves and relaxations (nova label) | experimental |
| Hash-chained audit log; SIEM export (JSONL, OCSF, CEF) | works today / experimental |
| Lineage on SQLite; OpenLineage and W3C PROV export | works today |
| Lineage on Postgres, KuzuDB, Apache AGE, Janus-Graph; NATS lineage consumer | experimental |
| Capsule knowledge graph; Security Provenance KG phase 1 | experimental |
| Cross-site lineage federation | experimental (prototype; sovereignty review open) |
| OPA/Rego policy gates (opa sandboxed: no environment, no http.send); eval-gated promotion; a promote_direct gate on every route into production (a rollback to a version that was live before excepted) | works today |
| Human-oversight evidence (HITL, consent), safety-case compiler, accountability spine | experimental |
| Approval taxonomy Lo-L4, human-impact ledger | future design |
| GDPR crypto-shredding: key lifecycle and receipts (nova pii erase) | experimental |
| Per-subject PII encryption at capture (--pii-subject, ADR-0314) | experimental |
| Regulatory exporters (31 commands), audit profiles (6) | experimental |
| Cost attribution with unpriced-model honesty | experimental |
| Local dashboard (30 tabs) with route authorization | experimental |
| Server mode: OIDC, RBAC, offline tokens, SAML, SCIM, API keys | experimental |
| Go collector, object capsule store, Postgres metadata under RLS | experimental |
| Parent/child capsules: tree view, nova run validate-distributed, parent check on upload | experimental |
| Parent/child arrival counting, orphan placeholder and finalization (library only; not called by nova capture) | experimental |
v0.107.0 · October 2026
Capability and maturity matrix
| Capability | Status |
|---|---|
| Multi-tenant dashboard serving | refused at startup until all stores are tenant-safe |
| Global query plane, cell-based fabric, multi-region log sovereignty | future design |
Three standing rules apply. No format is frozen before the v1.0 freeze. No million-agent readiness is claimed. NovaFabric produces evidence for compliance workflows and never certifies compliance.
v0.107.0 · October 2026
Roadmap and future work
15.1 Now: freeze the capsule format
The single highest-leverage step is the v1.0 capsule-format freeze. The target schema already exists (schemas/run-capsule.schema.json, run-capsule-v1), and nova migrate converts v0.1.x capsules to v1.0 in a copy. The freeze is gated on sign-off by independent design partners. The maintainer's own validation explicitly does not count, so the gate cannot be satisfied from inside the project. Once frozen, the format falls under the published stability policy and the RFC process, and becomes a candidate for implementation by other tools.
15.2 Planned follow-ups
▶ An identity_trust level for Sigstore-signed capsules.
▶ Validating --ca-bundle chains at the RFC 3161 time rather than at verification time.
Binding maker-checker signers to authenticated (OIDC or Sigstore) identities. Today they are bound to an operator trust list. The protected-stage promotion gate itself no longer waits on this: since v0.107 the HTTP and dashboard promote routes, nova server promotion and nova prompt promote go through promote_direct, and so does a rollback unless its target was in production before.
Capsule-scoped legal holds. Holds are registry-wide today, so any active hold defers every PII erasure, because one subject key covers all of that subject's capsules.
▶ An opt-in “seal or abort” capture mode.
Capture-level enforcement in the SDK and wire hooks, which would close invariant 4. Today the minimal and standard levels do not reduce capture; only forensic and air_gapped change behaviour (experimental).
Tool substitution for LangChain/LangGraph, Pydantic AI, LlamaIndex and CrewAI (ADR-0306).
Kubernetes secretKeyRef pass-through. Recording PBS/LSF job ids, the Slurm node list and the Kubernetes pod and node (ADR-0307).
▶ An external anchor writer for the adversary-anchored ledger.
Roadmap and future work
15.3 Longer horizon
Post-quantum signing. A hybrid, crypto-agile envelope already ships (experimental), and ML-DSA has a reserved registry slot. Migration follows the NIST depreciation calendar for classical signatures (IR 8547): co-sign, then flip primacy, then retire.
▶ Federation. Cross-organization provenance with cryptographic trust between clusters that share no infrastructure. Today there is a stateless fan-out query coordinator; the protocol is future design.
▶ Workload identity. SPIFFE/SPIRE and broader DID/VC identity beyond today's did:key slice.
Cell-based fabric. Operationally independent cells under regional and global control planes, with placement driven by residency, cost and carbon.
15.4 Not planned
Real-time monitoring and alerting, a hosted SaaS, and a prompt playground are out of scope by decision. They belong to adjacent tools that NovaFabric integrates with.
v0.107.0 · October 2026
Engineering practice, standards and security
16.1 How it is built
Quality gates. pytest with a 90 % coverage floor (--cov-fail-under=90 in CI), mypy in strict mode, and ruff. The suite has 16,721 test functions in 1,239 files, run in load-aware parallel tiers. The collector CI runs go vet, the race detector, coverage and govulncheck. A dedicated security gate covers the metadata store.
20 CI workflows. Unit and container tiers, nightly scale gates, licence policy, pip and npm audit, MCP conformance, OpenSSF Scorecard, and signed releases to PyPI, GHCR and an OCI Helm registry.
Decision discipline. 299 ADRs, numbered up to ADR-0317 and kept in the maintainers' private design repository, record every consequential decision. A redesign must be justified by a blocked capability, a failing test or benchmark, an insufficient simpler migration, an ADR, and preserved compatibility.
Documentation as a tested artefact. Guard tests fail when documented counts drift from the code. This covers the CLI reference, the SLO page, the route table and the differentiation table. Every doc mentioning a future feature must carry one of the four maturity labels.
Licence policy (ADR-0024). Tier A (Apache-2.0, MIT, BSD, PostgreSQL, ISC, PSF, CCo) is allowed. Tier B (LGPL dynamic, MPL-2.0, EPL-2.0) needs review. GPL, AGPL, SSPL, BSL, Elastic and source-available licences are rejected unless explicitly waived.
Engineering practice, standards and security
16.2 Standards alignment
| Standard | Where it is used | Level |
|---|---|---|
| in-toto Statement v1, DSSE | evidence bundles, seals, promotion attestations | works today |
| RFC 3161, RFC 8785, RFC 6962-style proofs | timestamps, canonical digests, Merkle proofs | works today |
| JSON Schema 2020-12 | capsule, envelope and bundle schemas | works today |
| OpenTelemetry GenAI semconv | model and tool call payloads; normative envelope mapping | works today |
| OTLP trace and log ingest | capsules built from external OTel telemetry | experimental |
| OpenLineage, W3C PROV-JSON / PROV-N | lineage emission and export | works today |
| W3C PROV-O, SHACL, open-Cypher | semantic knowledge-graph surfaces | experimental |
| SLSA provenance | release artefacts | works today |
| CloudEvents 1.0 | alternative envelope mapping (normative in Envelope v1) | experimental |
| CycloneDX 1.7 AI/ML, C2PA, RO-Crate, BagIt | AIBOM, provenance marking, archival | experimental |
| MCP (incl. server cards) | tool-call capture, proxy, scanner, conformance | experimental |
| OIDC, RFC 8628, SAML 2.0, SCIM 2.0 | server-mode identity | experimental |
| EU AI Act, NIST AI RMF, ISO/IEC 42001, GDPR, NIS2, HIPAA | exporters and audit profiles | experimental |
16.3 Security posture
No network surface by default. Server mode, webhooks, SCIM, SAML, OTLP ingest and remote runners are all opt-in. Settings that disable a safety control are explicit environment variables, and each one is listed.
Secrets are meant to stay in the redaction boundary. Scan, redact, residual rescan, redaction proof; the scanner knows patterns, not secrets, so this is an objective with stated limits (Chapter 6), not a guarantee. Off-host runners never forward the submitting shell: Docker and Kubernetes pass an allowlist (ADR-0270), SLURM and LSF submit from a minimal environment (ADR-0311), and no runner forwards a NovaFabric credential. Anything else a job needs is passed explicitly with extra_env. Since v0.107 such a value stays off the command lines the runner starts: Slurm and LSF send the job script on standard input, Docker passes -e NAME with the value in the client's environment (except a name that steers the client itself, such as PATH or DOCKER_*) and Slurm, LSF and PBS quote with shlex.quote.
The capsule is untrusted once the workload has run. A sweep after the workload removes every symbolic link, FIFO, socket and device at any depth without following it, records the tamper in the signed manifest (capture_tampered) and pins the capsule directory. nova
v0.107.0 · October 2026
Engineering practice, standards and security
verify and nova validate fail such a capsule, and exporters, nova serve routes and backups never follow a link. A capture hook that fails never reaches the workload (fail-open, counted in capture-health.json), and schema validation never retrieves a remote $ref, even at air_gapped.
One verifier per artefact. nova verify, the trust radar, the Seal tab and POST /api/runs/{id}/verify share one capsule verifier, and nova verify <bundle>.zip and POST /api/evidence/{id}/verify share one bundle verifier, so a tampered capsule cannot read as attested on one surface and fail on another. A bundle's members are all signed, and signer trust is pinned with NOVAFABRIC_EVIDENCE_TRUSTED_KEYS.
No root containers, no privileged Kubernetes. The shipped image’s user id is pinned to the chart’s by a guard test. The chart is secure by default (ADR-0230).
Supply chain. Keyless-cosign-signed images with SBOM and provenance, Trivy release scans, pip/npm audit gates whose waivers expire, and OIDC Trusted Publishing to PyPI.
▶ Disclosure. Private reporting with acknowledgement within five business days and severity-based fix targets (SECURITY.md).
STATED SECURITY BOUNDARIES
No FIPS validation is claimed, and Ed25519-only surfaces have no FIPS-approved path. ML-DSA is not implemented. The SAML implementation is still awaiting a dedicated security-architecture review. Secret scanning is pattern-based (Chapter 6). Hard links inside a capsule are not detected by the exporters. An extra_env value given as --runner-option extra_env=K=V is still in nova capture's own argument list. A same-host reverse proxy that adds no forwarding header looks local to the cluster collector, which is why it needs a token whenever anything proxies to it. Audit records written before vo.107 still hold the first eight characters of the nova serve token, because the hash-chained log is not rewritten.
v0.107.0 · October 2026
Conclusion
AI systems became consequential before they became accountable. NovaFabric's working assumption is that the unit of accountability can be a sealed, replayable evidence capsule. Whether that assumption holds beyond one project depends on independent verifiers, design partners and adopters; none of that evidence is in this report.
Between Edition 1 and this edition the important change is not the larger command count. It is that the engines now refuse rather than approximate:
mocked replay fails closed on any divergence;
▶ the diff gate distinguishes “changed” from “could not compare”;
▶ the dashboard denies any route it has not classified;
▶ multi-tenant serving refuses to start while a store is unsafe;
▶ a cost aggregate refuses rather than print a misleading zero;
an erasure command that could not erase now says so, and nova pii erase reaches PII encrypted at capture (experimental, opt-in per subject) and defers while any legal hold is active;
a signature, an Evidence Bundle or a maker-checker approval no longer passes on a claim it does not cover, and the dashboard's trust views run the same verifier as nova verify;
a link or special file planted in a capsule by the workload is removed and recorded, never followed, and fails verification;
▶ a performance target that could not be met was withdrawn in writing.
A system whose job is to make other systems tell the truth needs exactly this property.
The remaining work is clear and written down. Freeze the capsule format with independent design partners. Bring prompt capture under the capture-level policy. Re-measure the numbers that are due for revalidation. Grow the cluster tier from experimental to proven on real HPC hardware. Every item has an ADR, a roadmap entry and a maturity label.
Source, documentation and releases: github.com/MSKazemi/novafabric
Author: Mohsen Seyedkazemi Ardebili · mskazemi.github.io
A
CLI command surface
All 150 top-level nova commands at v0.107.0, generated from the Typer application by novafabric.cli.introspect. A superscript gives the number of runnable sub-command paths under a group; a name without one is a single command. In total there are 374 runnable paths.
a2a-card a2a-objects aibom annotate api-proxy approve asset assure assure-alarm assure-baseline assure-canary assure-case assure-coverage assure-impact assure-run audit audit-log backup capsule capture capture-ui classify collector comment consent cost daemon dashboard dataset db diagnose diff doctor drift dsar embodied energy erasure euaiact eval events evidence experiment export export-accessibility-claim export-adverse-action export-aibom export-annex-iv export-blob export-c2pa export-cat export-citizen-explanation export-compliance export-control-attestation export-election-disclosure export-evidence export-examiner export-foia export-hipaa-proof export-model-independence export-model-risk export-nis2 export-nist-rmf export-part11 export-public-annex-viii export-public-disclosure export-public-incident export-rai-scorecard export-retention export-rocrate export-rocrate-science export-ropa export-system-card export-transparency-register export-whistleblower forensics graph hitl hold import incident ingest-capsule init insights inspect insurance kg label ledger lineage lineage-store list login logout mcp mcp-proxy media memory memstore merkle-tree migrate migrate-format migrate-schema migrate-to-postgres new-run-id passport pii policy preservation pricing promote prompt provenance query rebuild-metadata-db redact redaction-xray register replay replay-equivalence report restore retention rollback run safety safety-case scan-secrets schema science score seal search serve server session settlement storage subject-proof suggest-register
CLI command surface
support-bundle toolschema trend trust-path trust-radar unregister validate
verify verify-envelope view
Selected groups
| Group | Sub-commands |
|---|---|
| nova seal | init, sign, verify, propose, approve, bypass, log verify, ratchet init / rotate / status |
| nova lineage | provenance, blast-radius, replay-chain, root-cause, time-travel, import, consume, metrics, export-prov, export-graph, emit-openlineage |
| nova kg | init, build, build-provenance, ingest, query, status, audit, detect, attack-path, blast-radius, alias, entity-queue |
| nova policy | test, explain, sign, list, capture-level get / set |
| nova promote | direct, propose, approve, keygen |
| nova label | set, get, list, history, protect, propose-move, approve-move, status |
| nova hold | create, list, release |
| nova audit | map, report, verify, bundle, coverage |
| nova eval | run, agent, compare, list, offline, cost, contamination-check, card, score, export-inspect, import-inspect |
| nova server | start, issue-token, revoke-token, assign-role, revoke-role, api-key, saml-metadata, scim-map-group, list-scim-events, usage, flush-jwks-cache |
| nova session | new, add, list, show, replay, export, import, reindex, verify-bundle |
| nova evidence | attest-replay, bind, bind-custody, check-admissibility, completeness |
| nova retention | plan, apply, status, explain |
| nova run | new-run-id, show, lineage, validate-distributed |
v0.107.0 · October 2026
B
What changed since Edition 1
Edition 1 described v0.45.1 (June 2026). The most significant additions since then, taken from CHANGELOG.md:
| Version | Change |
|---|---|
| v0.49 | CloudEvents envelope interop; span taxonomy grows to 33 event types; nova diagnose failure attribution; significance gate on promotion |
| v0.50 | intervention (counterfactual) replay; forward-secure key ratchet; Merkle consistency proofs; column-level lineage |
| v0.52 | warm capture daemon (nova daemon) |
| v0.55–0.56 | the accountability spine: energy receipts, adversary-anchored ledger, replay attestation, safety-case compiler, admissibility binding |
| v0.59 | session capsules and session replay; multi-modal media capture; agent execution graph; OTLP trace ingest; first SAML/SCIM slices; local pricing catalogue |
| v0.61 | offline drift detectors and the first assurance-loop slices |
| v0.64 | additive capsule facets container; evidence-grade backup and restore of every local store |
| v0.68–0.70 | Postgres, Apache AGE and JanusGraph lineage backends become real |
| v0.71–0.72 | AWS, GCP and Azure KMS key-wrapping (envelope encryption) |
| v0.75–0.91 | witness co-signing, delegation chains, MMR, did:key/VC, hybrid signatures, jurisdiction site-seals, pinned x509 identity |
| v0.80–0.89 | EU AI Act (Art. 12/50/72, GPAI Art. 53), ISO 42001/42005 and NIST GenAI exporters; nova export-compliance |
| v0.101 | enterprise programme ADRs 0240–0249: air-gap bundle, residency routing, step-up auth, per-tenant KEKs, writer lease with fencing, listener TLS, durable jobs, SLO catalogue |
| v0.102 | nova replay-equivalence, nova assure-*, drift collection, diff --graph-shape/--media, evidence cart, offline TSA chain and CRL checks, LlamaIndex / Pydantic AI / Haystack adapters, isolated concurrent captures, secure-by-default chart |
| v0.103–0.104 | governed capsule delete; OTLP logs ingest; strict capture mode; secret scanner covers every ADR-0009 file |
What changed since Edition 1
| Version | Change |
| v0.105 | fail-closed mocked replay with MCP, async, streaming, Responses API and recorded errors (ADR-0300/0304); SDK wire records as transport (ADR-0305); record.tool and tool overrides (ADR-0306); diff exit-code contract and parameter diff (ADR-0303); residual secret rescan; scheduler context in manifest (ADR-0307); nova seal init and identity_trust (ADR-0301) |
| v0.106 | signing intent inside the signature (ADR-0309); capsule Merkle root commits to file names (ADR-0310); SLURM/LSF jobs submit from a minimal environment (ADR-0311); registry signer trust list and gated direct promotion (ADR-0312); size-committing log roots (ADR-0313); per-subject PII encryption at capture (ADR-0314); maker-checker trust root (ADR-0315); nova verify checks Evidence Bundle signatures and subjects; exact attestation refuses ineligible runs; ADR-0306 slices 3-4 (Google ADK, OpenAI Agents); ADR-0308 eval images |
| v0.107 | two Po fixes: caller-supplied Rego on nova serve needs admin and every opa runs with no inherited environment and without opa.runtime/http.send; POST /v0/evidence no longer takes a client path. Capsule treated as untrusted after the workload (post-run sweep of links, FIFOs and devices; no exporter or nova serve route follows a link; nova export-evidence refuses a capsule containing a symlink); capture never fetches a schema $ref, and capture hooks are fail-open. One verifier per artefact behind nova verify, the trust radar, the Seal tab and the verify routes; every Evidence Bundle member signed, signer trust pinned by NOVAFABRIC_EVIDENCE_TRUSTED_KEYS; timestamp_trust separates an anchored from an unanchored RFC 3161 token; --strict for nova verify. Every route into production gated (registration accepts only development; HTTP, nova server and prompt promotion go through promote_direct, and so does a rollback unless the target was in production before); protected-label maker-checker, and relaxing a protection, bound to the signer trust list; one legal-hold store that blocks erasure, deletion and the retention sweep; nova serve path allowlist; authenticated, tenant-scoped collector. Behaviour changes in many places; the CHANGELOG lists them under “Changed, BREAKING” |
Corrections to Edition 1
Edition 1 was accurate for its time, but five statements no longer hold:
Capture levels. Edition 1 listed seven capture levels. The policy enumeration in code has four: minimal, standard, forensic and air_gapped. Only the last two change what is recorded today; the metadata-only allowlist of minimal is applied by no capture path.
Merkle-log verification. The “sampled fast path, p99 < 200 ms at 1M entries” claim is withdrawn (ADR-0268). Full recomputation is the guarantee.
Parent/child capsules. The orphan timeout is 24 h, not 300 s. The roles are PARENT, CHILD and STANDALONE, with a separate DRIVER / WORKER distribution role; there is no COORDINATOR.
Seal latency. Edition 1 listed “NovaSeal seal latency p99 < 200 ms” as CI-gated. Today the gate is the median (< 50 ms). The p99 is an alarm only, because shared CI runners occasionally stall past it.
Approval taxonomy. The L0–L4 approval taxonomy and the human-impact ledger are future design, not experimental code.
v0.107.0 · October 2026
C
How this document was verified
Generated numbers
Every count in this document is a LaTeX macro written by verify_facts.py. The script runs before each build against the public repository at the release tag, except the ADR row, which reads the maintainers' private decision records. A probe that returns nothing stops the build.
| Fact | Probe | Value |
|---|---|---|
| CLI surface | cli.introspect.top_level_command_names() / command_paths() | 150 / 374 |
| Exporters | command paths starting export- | 31 |
| Subpackages, size | directories and *.py line count under src/novafabric | 84 / 260K |
| Tests | test_*.py files; def test_functions under tests/ | 1,239 / 16,721 |
| ADRs (private design records) | design/adr/NNNN-*.md, highest number | 299 / 0317 |
| Dashboard | NAV_GROUPS in ui/dashboard/.../Sidebar.tsx | 30 / 7 |
| HTTP routes | serve.introspect.route_methods() on both app factories | 214 / 79 |
| Authorization table | len(serve.authz.ROUTE_SCOPES) | 225 |
| Runners, adapters, audit profiles | runner registry; adapter modules; profile YAML files | 6 / 11 / 6 |
| SLO catalogue | tests/bench/slo_catalog.toml by status | 10/8/3 |
| CI workflows | .github/workflows/*.yml | 20 |
| Differentiation | scripts/verify_differentiation_table.py --format json | 10/10 |
Reproducing the counts. The script reproduce_counts.py, shipped with this report's source, runs the same probes against a clone of the public repository (git checkout v0.107.0) and prints one line per fact; on that tag it prints the values in the table. Every count can be re-derived this way except the ADR row: the decision records live in a private repository, so that figure is the maintainers' statement and not an independently checkable one. The build script verify_facts.py differs from the public script only in writing the LaTeX macros, the command appendix and the SLO table.
How this document was verified
Checked by hand against the code
Qualitative statements were read against the implementation rather than taken from the documentation. Examples:
▶ replay modes and the re-execution split (replay/_flags.py, replay/_replayability.py);
▶ the safety-ladder flags; the capture-level enumeration;
the parent/child roles, states and 24-hour orphan timeout (capsule/schema.py, capsule/orphan.py);
▶ the lineage edge vocabulary;
the order of the separation-of-duties check and the policy gate in promotion (registry/service.py);
▶ the five attestation checks and their exit codes (promote/verifier.py);
▶ the OPA fallback (policy/init.py); S3 Object Lock mode;
the signing-log root versions (trust/novaseal/merkle.py), re-executed: under the legacy v1 root the leaf lists [a, b, c] and [a, b, c, c] share a root, so a v1 root is verified only with its tree size, and under the v2 root, which every new log uses, they differ;
the nova erasure correction (both subcommands are marked not implemented; erasure is nova pii erase);
the six v0.106 security fixes (signing intent, capsule-root renames, Evidence Bundle verification, bypass trust, exact attestation, SLURM/LSF environment), each attacked end to end against the code and found blocked.
Every nova command named in the text was checked against the generated command list. As a final step, a separate AI-assisted review pass was given only the finished text and the source tree and cross-checked about 85 claims against the code. Each discrepancy it raised was re-verified against the code and corrected before release, among them the strength of the maker-checker identity binding, the wiring of crypto-shredding, the replay-flag policy gate, parent finalization semantics and collector deduplication.
Update to v0.107.0
The second edition was first validated against v0.106.1. For v0.107.0 every chapter was read again against the code at the v0.107.0 tag and against the CHANGELOG entry for that release; this was a claim-by-claim comparison of the text with the code, not a new adversarial review. Earlier known gaps were re-checked individually in the code: the registry maker-checker verifies both signatures against the signer trust list and compares bound identities (registry/service.py, registry/signers.py); the promote verifier requires its signers to chain to a pinned trust root (promote/verifier.py); per-subject PII encryption at capture is wired and erasure reaches it, but remains experimental and is deferred while any legal hold is active; the replay policy gate covers every write-permitting ladder flag (replay/_engine.py); parent finalization still counts arrivals, not child status (capsule/writer.py); and the MCP hook still records full arguments and results at every capture level, because mocked replay serves them. The generated counts were read from the v0.107.0 release tree, not from a working
v0.107.0 · October 2026
References
tree that may have moved on.
Authorship
AI assistants were used in preparing this document and in the review pass described above.
Diagrams
All sixteen figures are Mermaid sources in figures/*.mmd, rendered with the mska-flowchart toolchain and one shared theme (figures/mermaid-config.json). Each was inspected as a raster image before being printed to a vector PDF. Layouts were reworked until every label prints at 7 pt or more. Three figures were corrected against the code: maker-checker (the policy gate runs after the separation-of-duties check, not before), the cluster planes (deduplication happens downstream of the collector) and parent finalization (arrival counts, not child status).
Typography
Source Serif 4 (text), Inter and Inter Display (headings, diagrams) and JetBrains Mono (code), all SIL Open Font Licence, bundled in fonts/; typeset with XeLaTeX.
v0.107.0 · October 2026
References
[1] M. Seyedkazemi Ardebili. NovaFabric: Tamper-Evident, Replayable Evidence for Autonomous AI Agent Runs. arXiv:2609.12582, 2026. https://arxiv.org/abs/2609.12582
[2] OpenTelemetry Authors. Semantic Conventions for Generative AI Systems. Living specification, 2026. https://github.com/open-telemetry/semantic-conventions-genai
[3] OpenLineage Project, LF AI & Data Foundation. OpenLineage: An open framework for data lineage collection and analysis. Specification, 2026. https://openlineage.io/
[4] World Wide Web Consortium. PROV-DM: The PROV Data Model. W3C Recommendation, 2013. https://www.w3.org/TR/prov-dm/
[5] S. Torres-Arias, H. Afzali, T. K. Kuppusamy, R. Curtmola and J. Cappos. in-toto: Providing farm-to-table guarantees for bits and bytes. In 28th USENIX Security Symposium, pp. 1393–1410, 2019.
[6] Secure Systems Lab and SLSA Community. DSSE: Dead Simple Signing Envelope, 2021. https://github.com/secure-systems-lab/dsse
[7] C. Adams, P. Cain, D. Pinkas and R. Zuccherato. Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP). RFC 3161, IETF, 2001. doi:10.17487/RFC3161
[8] OWASP Foundation. CycloneDX Bill of Materials Standard. Specification (standardised as ECMA-424). https://cyclonedx.org/specification/overview/
[9] LangChain, Inc. LangSmith: Agent and LLM Observability, 2026. https://docs.langchain.com/langsmith/observability
[10] Langfuse. Langfuse: Open Source LLM Observability, 2026. https://langfuse.com/docs/observability/overview
[11] Open Source Security Foundation. SLSA: Supply-chain Levels for Software Artifacts, 2023. https://slsa.dev/
[12] Z. Newman, J. S. Meyers and S. Torres-Arias. Sigstore: Software Signing for Everybody. In Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security (CCS), 2022.
[13] B. Laurie, A. Langley and E. Kasper. Certificate Transparency. RFC 6962, IETF, 2013. doi:10.17487/RFC6962
[14] R. C. Merkle. A Digital Signature Based on a Conventional Encryption Function. In Advances in Cryptology – CRYPTO '87, LNCS 293, pp. 369–378. Springer, 1988.
[15] K.-K. Muniswamy-Reddy, D. A. Holland, U. Braun and M. Seltzer. Provenance-Aware Storage Systems. In Proc. 2006 USENIX Annual Technical Conference, 2006.
References
[16] A. Gehani and D. Tariq. SPADE: Support for Provenance Auditing in Distributed Environments. In Middleware 2012, 2012.
[17] D. J. Pohly, S. McLaughlin, P. McDaniel and K. Butler. Hi-Fi: Collecting High-Fidelity Whole-System Provenance. In Proc. 28th Annual Computer Security Applications Conference (ACSAC), 2012.
[18] A. Bates, D. J. Tian, K. R. B. Butler and T. Moyer. Trustworthy Whole-System Provenance for the Linux Kernel. In Proc. 24th USENIX Security Symposium, 2015.
[19] T. Pasquier et al. Practical Whole-System Provenance Capture. In Proc. 2017 Symposium on Cloud Computing (SoCC), 2017.
[20] S. Ma, X. Zhang and D. Xu. ProTracer: Towards Practical Provenance Tracing by Alternating Between Logging and Tainting. In Proc. NDSS, 2016.
[21] S. B. Davidson and J. Freire. Provenance and Scientific Workflows: Challenges and Opportunities. In Proc. ACM SIGMOD, 2008.
[22] S. Haber and W. S. Stornetta. How to Time-Stamp a Digital Document. Journal of Cryptology, 1991.
[23] B. Schneier and J. Kelsey. Secure Audit Logs to Support Computer Forensics. ACM Transactions on Information and System Security, 1999.
[24] S. A. Crosby and D. S. Wallach. Efficient Data Structures for Tamper-Evident Logging. In 18th USENIX Security Symposium, 2009.
[25] L. Dong, Q. Lu and L. Zhu. AgentOps: Enabling Observability of LLM Agents. arXiv:2411.05285, 2024.
[26] Y. Zheng, Y. Hu, T. Yu and A. Quinn. AgentSight: System-Level Observability for AI Agents Using eBPF. arXiv:2508.02736, 2025.
[27] A. AlSayyad, K. Y. Huang and R. Pal. AgentTrace: A Structured Logging Framework for Agent System Observability. arXiv:2602.10133, 2026.
[28] C. Paduraru, P.-L. Bouruc and A. Stefanescu. A Trace-Based Assurance Framework for Agentic AI Orchestration: Contracts, Testing, and Governance. arXiv:2603.18096, 2026.
[29] Y. Nian et al. Auditable Agents. arXiv:2604.05485, 2026.
[30] A. Brömme. A Black Box for Agentic Processes: Blockchain-Anchored Evidence for AI Agent Communication, Human Oversight, and GRC Audits. arXiv:2609.04017, 2026.
[31] R. Khatchadourian. Replayable Financial Agents: A Determinism-Faithfulness Assurance Harness for Tool-Using LLM Agents. arXiv:2601.15322, 2026.
v0.107.0 · October 2026