Skip to content
Method · Evidence Integrity

What “database-enforced”
Means Here, Exactly.

ORDR-DESK describes its record as database-enforced in several places on this site. That word covers a wide range of guarantees, and it is worth very little without a list of which ones we actually enforce. This is that list, read out of the database migrations and the reconciliation job rather than out of the marketing copy.

What is enforced

Defined in the database schema

Signal versions and events cannot be updated or deleted

Row-level database triggers on signal_versions and signal_events

Both tables carry a before-update-or-delete trigger that raises an exception reading "Signal ledger rows are immutable". This is enforced inside the database, not in application code, so it holds for every writer including our own server workers. Those two tables, and only those two: the limits below name what the trigger does not cover, because the scope of this guarantee is narrower than the phrase "append-only ledger" suggests.

A signed-out visitor cannot read or write any of it

All privileges revoked from the anon role

The anon role holds no privilege on signals, signal_versions, signal_targets or signal_events. A signed-in session is granted select on all four, insert and update on signals and signal_versions, and insert on signal_targets. Row-level security limits signals inserts and updates to the analyst who authored the row and holds the signals.manage capability, and the signal_visibility_guard trigger on signals rejects any browser update that would touch a signal outside an unpublished draft, with the error "Use the authorized signal lifecycle transaction". signal_versions inserts are checked against the editing user and the staff signals.revise capability, not against the signal's author, and any update that reaches signal_versions is rejected outright by the trigger above. signal_targets accepts inserts only for the user's own draft signal. signal_events accepts no browser writes.

Performance snapshots are revisioned, never overwritten

Monotonic revision plus supersedes_snapshot_id on every insert

Recomputing a period inserts a new row whose revision is the previous revision plus one and whose supersedes_snapshot_id points at the row it replaces. Nothing updates an existing snapshot, so a figure we published in the past stays readable at the revision that published it, alongside the figure that replaced it and the link between them.

Every performance snapshot records a digest of its inputs

SHA-256 over every source field the snapshot is computed from

Each snapshot stores a source_fingerprint: a SHA-256 over the sorted source signals, covering id, direction, status, the triggered, completed, winner, loser and breakeven flags, the recorded return, and the target-hit events. Recomputing that digest over the same rows reproduces the same value, so any change to an input the figures depend on produces a different fingerprint. The digest is also the job's skip condition, which is why its coverage has to match the summary's inputs exactly rather than approximately.

A market event is recorded once, not once per retry

SHA-256 idempotency key on each market event the monitor writes (trigger, target, stop, invalidation, expiry)

Each market event the monitor writes (trigger, target, stop, invalidation, expiry) carries a SHA-256 key derived from the signal id, the event type, the provider's market timestamp, and the target ordinal. A worker that retries after a network failure cannot append the same trigger twice, so the market-event count is a count of things that happened rather than a count of times we asked.

What this does not guarantee

Stated plainly

The signals table itself is not immutable

The signals trigger limits browser sessions to drafts; no trigger on signal_targets

The immutability triggers cover signal_versions and signal_events. The signals row -- its status, trigger price and close price -- and the signal_targets rows that record which target was hit and at what price carry no such trigger. A browser session may update a signals row only while it is an unpublished draft; the signal_visibility_guard trigger rejects any other browser update. After publication the row and its targets still change: through the publish, revise and cancel functions, which run with the database owner's privileges so the guard's limit on browser sessions does not apply to them, and through our server workers, which can update both tables directly. These are the outcome-bearing fields the published performance figures are computed from, which makes this the most load-bearing gap on this page.

Records are not chained to each other

No hash chain

No record stores the digest of the record before it. The immutability above is enforced by the database, not by a structure that would make tampering self-evident to you. Someone with direct database ownership could, in principle, disable a trigger. We would know; from the outside, you would not.

Nothing is digitally signed

No signature, no key, no verifiable authorship

There is no private key signing published theses, triggers, or performance figures, and therefore no signature you could verify against a public key. Where the site says a thesis is recorded in a version, read it as: written to a version record the database rejects updates and deletes to.

Nothing is anchored outside our infrastructure

No Merkle root, no external timestamping, no public chain

No digest of the ledger is published to a blockchain, a transparency log, or any third party. The record's integrity currently rests on our database configuration. An external anchor is the thing that would let you verify our history without trusting us, and we have not built it.

No independent audit has been performed

No third-party attestation of any kind

No external auditor has examined the ledger, the reconciliation job, or the published performance figures.

Why publish the gaps.

A performance claim is worth what its weakest link is worth, and a reader cannot price that link without being told where it is. The immutable version and event history is real, the revisioned snapshots are real, and the input digest is real; the triggers on signal_versions and signal_events do not extend to the signals row or its targets, a browser session may edit a signal only while it is a draft, and the hash chain, the signatures, and the external anchor are not built yet. Naming both halves accurately is the only version of this page that helps you decide how much of our record to take on trust.