Skip to content
AnantCausal
Governance

Control who can change a model, and prove who did.

A model that drives decisions needs the controls of any system that drives decisions: named people, reviewed changes, a trail that shows tampering, and sources you can re-check.

These are enforced where the caller is identified, not route by route, so a new endpoint is read-only to a viewer without anyone remembering to say so.

Identity and access

Bring your own sign-in and your own directory.

Single sign-on, provisioning, second factors and read-only access.

From your directory to the audit trail

  1. Your identity providerLane: Your sideLeads to: Single sign-on (sign in); Provisioning (members)
  2. Single sign-on: OpenID Connect with PKCELane: AnantCausalLeads to: Roles
  3. Provisioning: SCIM 2.0 create and removeLane: AnantCausalLeads to: Roles
  4. Roles: Admin, user, viewerLane: AnantCausalLeads to: Hash-chained audit trail (every action)
  5. Hash-chained audit trail: Verify and exportLane: AnantCausal
  6. Keyexternal: Yours, outside the platform; cylinder: Each row commits to the one before
People and their access come from your identity provider, and every sign-in, change and approval that follows is written to an audit trail where each row commits to the one before.

Roles: admin, user, viewer

A viewer can read and is refused every write. The check lives in one place, where the caller is resolved, and a test fails if any route is reachable without authentication and is not listed with a reason.

What this does not establish: Roles are per project; they do not express finer permissions than that, except the approver flag.

Single sign-on (OpenID Connect)

Authorization-code flow with PKCE. An ID token is accepted only with an asymmetric signature from the provider's keys and a matching issuer, audience, expiry and nonce, for an email in your allowed domains. First sign-in never creates an admin, and you can enforce SSO while admins keep a way back in.

What this does not establish: Your identity provider owns the second factor for SSO sign-ins. A provider that omits email verification is treated as verifying, which is safe only for a directory you control.

User provisioning (SCIM 2.0)

Create, deactivate and delete members from your directory. A removed person's sessions and keys stop on their next request, because the role is read from the membership every time.

What this does not establish: Users only: no groups and no bulk operations.

Second factor and lockout

Authenticator-app codes with single-use recovery codes, which a project can require of every password sign-in. After repeated failures an address is locked for a window, and the response never reveals whether an account exists.

What this does not establish: Lockout can be used to keep a known address locked for a while; administrators remain reachable by API key. API keys carry no second factor.

Audit

A trail that shows when it has been altered.

Sign-ins, membership and key changes, SSO, SCIM and second-factor events, approvals and exports are all recorded.

Hash-chained audit with verification and export

Each row commits to the one before it, and a verification call finds an edit or a deletion in the middle. Export as NDJSON or CSV, with spreadsheet formulas neutralized.

What this does not establish: It does not stop someone with database write access who recomputes every later row, and removing the newest rows is invisible unless a head was recorded earlier. Verify on a schedule and keep the output where database administrators cannot write.

Tenant isolation in the database

Every query filters by the caller's project, and row-level security additionally confines each session to its project in PostgreSQL. It is on in our hosted service and a setting in a self-hosted deployment.

What this does not establish: It protects against bugs in the application, not against someone who can run arbitrary SQL as the application's role.

Model governance

Review a model like any other change.

Structure proposed by a language model, by a colleague or by a data algorithm is still a proposal until a named person reviews it.

Named review of a revision

Ask named members to review a specific revision. Only the person asked can answer, an administrator cannot answer for them, and a rejection needs a reason. Verdicts are never averaged: a revision is unreviewed, in review, approved, rejected, or contested when reviewers disagree, with who said what. An approval belongs to one revision and does not carry to the next. An opt-in policy requires that a decision be approved only on a model revision that stands approved.

What this does not establish: A review records a judgment. It does not make the model correct.

Citations for causal claims

Attach a source, with title, address and quote, to an edge. Uncited edges are counted, and a re-check reads the source again and says whether it is unchanged, changed or unreachable.

What this does not establish: Citations are per edge, not per probability, and re-checking reads the public web only.

A business glossary of variables

Every variable in use across your models, with a pinned definition, unit, owner and allowed states. The catalog reports models that disagree about the same variable.

What this does not establish: It reports disagreement; it does not resolve it.

Structure from data, as a proposal

Run causal discovery on a dataset and lay the result against a model: confirmed, opposite direction, not supported, or suggested. It writes nothing to any model.

What this does not establish: Discovery finds structures consistent with the data, not causes. Its output is evidence for a reviewer.

Model changes you can attribute

Models carry revisions with provenance on every probability. Cloning keeps where a copy came from, and the platform separates a world that moved from a model that was edited.

What this does not establish: Provenance says where a number came from; it does not say the source was reliable.

If a regulator, an auditor or a board asks who changed the model and why a decision rested on it, the answer should be a query, not a search through email.