VVeritia documentation

Architecture & security

Provider onboarding (Phase 0)

How a provider registers, how its tools are discovered and reviewed without any AI, the difference between technical constraints and governance ceilings, and how schema changes are handled.

Built from 3 source documents

The steps

StepWhoActionProduces
0.1ProviderCreates an account; declares its MCP endpoint, its discovery endpoint, optionally a discovery credential (if discovery is not public)provider_id (UUIDv4, non-guessable)
0.2VeritiaCalls MCP tools/list (after initialize)Raw tool list: name, description, inputSchema, annotations
0.3VeritiaDeterministic parse — plain code, no AI model: reads annotations.readOnlyHint (indicative only) and per-parameter JSON-Schema keywords (maximum, minimum, enum, pattern)Candidate structure
0.4Veritia → providerReview screen: what was understood per tool; optional governance-ceiling fields; explicit warning when a bounded parameter is left without a ceiling; the provider must click "J'accepte". A "Re-check now" button re-runs 0.2.Explicit confirmation
0.5VeritiaFreezes the confirmed version (schema hash + timestamp + who clicked)Confirmed schema cache — the source of the mandate form
0.6VeritiaPeriodic polling of tools/list (e.g. daily). The confirmed version keeps serving new mandates without interruptionDetected diff
0.7Veritia → providerE-mail + link to an authenticated differential review screen; same confirmation mechanicsRe-confirmation
0.8VeritiaCross-checks the diff against active mandates (removed tool, or a ceiling now below a declared value)List of affected mandates → dashboard annotation + e-mail to the human (on by default, can be switched off)

Technical constraint vs governance ceiling

The review screen shows both side by side, but they come from different sources:

Technical constraintGovernance ceiling
Where the number comes fromRead as-is from the provider's real tools/list, e.g. "amount": {"type":"number","maximum":1000}Typed by the provider on Veritia's review screen — exists nowhere else
What it describesWhat the provider's API accepts, on every channelWhat the provider accepts for agent mandates specifically
Example1000 €500 € (≤ 1000)
To change itFix its own server's inputSchema, then let Veritia re-read itType another value on the dashboard — effective immediately
Why the differenceDescribes an external system → must stay re-verifiable at its source (that is what polling checks)A preference communicated directly → nothing external to re-check

Which field the review screen offers (by JSON-Schema type)

  • number / integer → optional ceiling, always offered; bounded by maximum if declared (can only tighten).
  • string with enum → restrict to a subset. (In the POC mandate form this became a single-select "largest value allowed".)
  • string without enum → optional "restrict to these values".
  • boolean → nothing.
  • Plus one schema-independent field: maximum mandate validity (e.g. 30 days).

Stored server-side as JSON chosen by Veritia (never written by the provider), e.g. { provider_id, max_mandate_validity_days, tool_governance: { transfer_funds: { amount: { ceiling, currency } } }, schema_version, confirmed_by, confirmed_at }.

How it is used later

When generating the mandate form (2.5), each field's bound is min(technical maximum, governance ceiling). It is only an input bound: the human chooses any value under it, and that value becomes disclosed_scope. Governance rules are never consulted at call time (Phase 4 never passes through Veritia); the provider applies its real rules then.

When the provider changes something

  • The mandate already issued is cryptographically frozen — it keeps showing the old scope.
  • Nothing breaks at execution by construction: disclosed_scope was never a guarantee; the provider applies its current real rules. A €90 call on a "€100" mandate after the provider lowered its cap to €50 is simply refused, like any breach of its own rules.
  • What changes is the human experience: annotate the mandate on the dashboard + e-mail by default (switchable off, global setting). No automatic revocation (one affected tool out of several would be disproportionate).
  • A ceiling change on the permanent provider dashboard is cross-checked synchronously (old and new value are both known at save time). Loosening affects nobody.

Who may call the discovery endpoint

Two different callers, two different credentials:

  1. Veritia itself (0.2, 0.6, "Re-check now") — before any human or agent exists, so there is no mandate to present. If the provider protects discovery, it gives Veritia a separate API credential (API key or OAuth client credentials), kept server-side like Veritia's own private key. Not a fourth key pair — tools/list only describes tools.
  2. The local tool at start-up — a mandate already exists, so discovery is just an authenticated MCP call with the mandate (+ proof if the provider wants it).

A provider may also leave discovery public (as the POC does).

Who on the provider side may click "J'accepte"?

OptionPrincipleForAgainst
A. Named accountsAny declared account can clickTrivial, standard SaaSWeak evidence: "someone logged in clicked"
B. A + restricted roleOnly a "Compliance / integration admin" roleAlmost free on top of ANo stronger identity proof
C. Enterprise SSOClick authenticated by the provider's own IAMAccess removed when people leaveBespoke per provider
D. itsme / itsme Sign (QES)The person confirming authenticates or signs with itsmeSame trust root on both sides; strong evidenceitsme support for "acting for a company" unverified; heavy for minor re-confirmations
E. Maker-checkerTwo people approveFamiliar in financeFriction
F. Two speedsB/C for routine re-confirmations; D for registration and significant tighteningFriction where evidence matters"Significant" must be defined

F looks most promising; nothing decided. The POC uses A (admin@bqt.example).

Still open

Grace period before a ceiling tightening takes effect; exact diff granularity that forces re-confirmation and escalation if a provider never answers; immutable provider-side audit trail of registrations and ceiling changes; basic consistency checks at ingestion (e.g. warn if a tool named transfer has no bounded amount); whether to block registration of tools without usable inputSchema.properties; adopting RFC 9728 metadata. See open questions.

Generated 2026-11-30 by documentation/build.mjs · edit the Markdown, never this HTML.