TETHESIS
GUARANTEES

Engine guarantees and failure semantics

InvariantDB exposes enforceable data and transaction contracts. Their scope depends on the configured graph, policy, feature and operation. A protected write may commit, be held for approval or be refused; a query may return a governed result or an explicit failure.

Temporal integrity

Every version records when it was true and when it was saved. A write can require that what it read hasn’t changed.

Decision traceability

A decision keeps links to the evidence it used and the credential that made it.

Historical replayability

Reconstruct retained graph state on either clock and replay recorded agent context.

Concurrency control

Conditional writes, fenced leases, and supported tracked reads checked at commit.

Access control

Graph, label, relationship-type, individual-node and property permissions across supported reads, searches and exports.

Explicit authorization

Held writes and approval requirements, configured per graph.

Dependency awareness

Find recorded downstream dependencies, detect stale derived state and evaluate hypothetical changes in isolation.

Data protection

Values sealed per person; destroy the key and they can’t be read.

Operational continuity

Acknowledged writes survive a crash. Consumers resume from where they stopped.

TEMPORAL INTEGRITY

Changes based on facts that still hold

Every node and relationship version stores a valid time and a recorded time. The recorded time is set by the server and can’t be backdated. A write can carry conditions, checked under the graph’s write lock right before it commits: if the record changed since you read it, nothing is written.

// Commit only if an-512 hasn't changed since you read it. POST /graphs/vault/cypher { "query": "MATCH (a:Analysis {id: $id}) SET a.raw = $merged", "conditions": [ { "node": "an-512", "rev": "1792310400123456789" } ] } // Someone saved an-512 after your read -> 409 CONDITION_FAILED. Nothing written.

A backdated correction that would overwrite later-dated values is refused, with the versions it would have changed named.

DECISION TRACEABILITY

Reconstruct what was known, why, and who acted

Link a decision to the beliefs, documents and records it used. Supported authenticated write paths record the credential that made the write, which the request cannot set; consult release and route coverage. Each property keeps the actor, source and reason the writer gave.

CALL db.derivedFrom('decision-2026-03-05', 4) YIELD sourceStrId, depth, kind; MATCH (d:Decision {id: 'decision-2026-03-05'}) CALL db.propertyProvenance(d, 'status') YIELD value, txnAt, actor, reason, principal;

Decisions can be typed — with declared fields and evidence requirements — so a decision that doesn’t fit is refused rather than stored half-formed.

HISTORICAL REPLAYABILITY

Reproduce the context of a decision

Ask any query as of a past valid time, a past recorded time, or both. Training and backtest rows can be built as of each entity’s own time, so they never see facts recorded later. An agent run is recorded step by step and can be read back as of any step, with the memory as it stood then.

MATCH (b:Belief {id: 'belief-99'}) AT RECORDED '2026-03-05' AT VALID '2026-03-11' RETURN b.claim, b.confidence;

Write receipts are available on the hosted service, turned on per graph: a signed receipt for each commit that you can check offline.

CONCURRENCY CONTROL

Coordinate workers through constraints the engine enforces

Conditions guard a write. A lease gives one agent a key for a time it chooses, with a fencing token that grows for each new holder. Supported tracked read sessions refuse protected writes if covered reads have changed. Tracked read validation applies to supported read-session shapes. Future-dated single-label reads are covered by the reported fix; transaction-integrated tracking and relationship-read tracking require separate version verification. Use explicit revision conditions where tracking coverage is unavailable.

// Planner-1 takes the task for 300s and gets token 17. POST /graphs/ops/leases/acquire { "key": "task:42", "ttlSeconds": 300, "holder": "planner-1" } // -> { "state": "held", "token": "17" } // A slow model call outlasts the lease; planner-2 takes the key (token 18). // When planner-1 finally writes with token 17, the write is refused.

Supported writes may carry an idempotency key. Use the documented retry envelope and mutation scope.

ACCESS CONTROL

Govern what people and agents can read and write

An access policy allows or denies read and write at graph, label, relationship-type, individual-node and property scopes. Supported reads, counts and searches enforce configured record visibility within their documented scope. Field rules hide single properties and can require a stated purpose.

"email": { "acl": { "read": ["support", "billing", "compliance"], "write": ["support", "admin"], "purpose": ["account_servicing", "fraud_detection"] } }

email is readable by support, billing or compliance, and only when the caller states one of the two purposes. Search filters first: records a caller can’t read are left out before ranking, and covered field-access events go into their own hash chain (db.verifyAclChain).

EXPLICIT AUTHORIZATION

Protected changes take effect only when authorized

Held writes and approval requirements, configured per graph. Turn on a per-graph policy and a protected change is held until a second person approves or rejects it, with separation of duties — it takes effect only when it is authorized.

DEPENDENCY AWARENESS

Know what needs another look when evidence changes

Records keep links to what they were derived from. When a source changes, the impact query walks those links backwards and returns every record that rests on it — direct or derived — with how far away it is.

CALL db.impact(['src:market-feed'], {dependsOn: [{type: 'DERIVED_FROM'}]}) YIELD record, class, depth RETURN record.id, class, depth;
DATA PROTECTION

Encryption and cryptographic erasure

Declare which properties hold personal data. Each value is sealed under a key for its subject. Destroy the key and the values can’t be read, now or at any past time cut. The audit chain still verifies, and a signed erasure receipt can be checked without the server.

It deletes nothing. Values written before the property was declared, undeclared properties and backups taken earlier are not covered. Cryptographic erasure, in full →

OPERATIONAL CONTINUITY

Preserve workflow state across interruptions

A write is acknowledged only after it’s synced to the write-ahead log, and acknowledged writes survive a crash. The change feed returns committed changes in commit order from a position you keep, or one the server keeps for you, so a consumer can resume from its recorded checkpoint within the documented feed contract. Deduplicate and reconcile external effects separately.

GET /graphs/ops/changes?after=cp1.…&limit=500&waitMs=20000
REFUSALS

A refusal is an answer

When a guarantee doesn’t hold, the database answers with a code, writes nothing, and says whether a retry can help.

SituationAnswer
The record changed since you read it409 CONDITION_FAILED
Something your session read has changed409 READ_SET_CHANGED
Your lease expired or passed to another agentwrite refused, nothing written
A backdated write would erase later valuesWRITE_WOULD_REPLACE_LATER_VERSIONS
A past read would be incomplete400 TEMPORAL_READ_LIMIT
ADDITIONAL CONTRACTS

Retrieval, simulation and cryptographic evidence

MECHANISMCONTRACT / BOUNDARY
Exact retrievalExact nearest-neighbor results over the eligible search space; approximate retrieval is explicit and does not promise exact top-k.
Historical reconstructionRetained state can be queried on both clocks, subject to permissions, retention, erasure and query limits.
Counterfactual evaluationIsolated graph overlays and transaction-based simulation evaluate alternatives without committing hypothetical changes to authoritative state.
Cryptographic integrityHash-chained history, provenance and ACL event evidence; signed external anchors and offline verification establish an independent verification boundary.
WORMLicensed irreversible API mode refuses covered updates and deletes while allowing new records. Erasure is refused while WORM is engaged.
Cross-region callsGoverned cross-graph access across servers and regions. Graph-local transaction guarantees do not establish a globally atomic commit.
Engine guarantees do not imply correctness of source facts, models or external side effects, nor regulatory certification. The scope of each control matters.
AGENT CONTROL BOUNDARIES

Engine contracts and runtime controls.

Server-enforced authority, held approvals, stale-approval refusal, kill switch, break-glass, delegated credentials and per-operation budgets support bounded execution. Optional trust stamps are disabled by default. The Python and Node SDK harness adds tool policy, trust-tier fencing and a scoped run lifecycle. These client-side controls do not replace server enforcement.

Technical references

For the complete enterprise evaluation context, see the Trust Center.