VVeritia documentation

Decisions & open questions

Decision log

Every recorded decision, in chronological order, with where it is documented. Rejected alternatives are kept so they are not reintroduced by accident.

Built from 11 source documents

Legend: Product applies to the target product · POC a proof-of-concept choice, not a product decision · Rejected an alternative explicitly dropped.

August 2026 — defining the product

DateDecisionScopeWhere
08-12Role split: owner, issuer (the platform), identity guarantor (itsme/eIDAS), trust guarantor = itsme as QTSP, verifier (bank), agent. (The QTSP nuance later faded — now open question #2.)Productfirst session
AugAgent validated by an IP whitelist → agent identified by its own key; every request signed (proof of possession)Rejected → Producttranscript "Nouveau Flow"
AugBank approves each mandate; status EN_COURS → mandate valid immediately, verified cryptographically at call timeRejected → Producttranscript
AugMandate number / token sent by e-mail → shown on screen; e-mail only notifiesRejected → Producttranscript
AugThe human manages and revokes mandates on the platform, never through the bankProducttranscript
AugPlatform = identity broker (Keycloak recommended), RFC 8693 token exchange → signed JWT with sub / act / cnfProducttranscript, CLAUDE.md
AugThree deliverables: web platform, local MCP server, SDK (Python + TS) — SDK and local server are alternativesProducttranscript "Nos 3 applications"
AugLocal tool is tool-agnostic (dynamic discovery); one isolated instance per providerProducttranscript
Aug1 human + 1 agent = 1 mandate; sharing deliberately unsupportedProducttranscript §5
AugVeritia never holds agents' private keys; three independent key pairsProducttranscript
08-20Primary goal = authentication / proof, not authorisation; not a PISP; "mandate" knowingly not in the legal sense; overlay before QTSPProductsynthesis §3, critical review §7
08-20V1 first use case read-only; itsme as login (QES = V1.1); agent key Ed25519Product (working hypotheses 🔶)spec hypotheses
08-20Binding mcp_constraints in the token removedRejectedspec §4bis
08-21Scope returns as disclosed_scope, binding: false — information, never a guarantee (legal validation pending)Product 🔶spec §4bis
08-21PoP signs method + URL + body + time + unique nonceProductspec hyp. 6
08-21aud added and checked by the provider (token confusion)Productspec 4.6c-bis
08-21Revocation checked on every call (V1)Product 🔶spec hyp. 3
08-21Phase 0: deterministic review screen + explicit "J'accepte"; technical constraint vs governance ceiling; provider cannot edit a technical constraint on our screenProductspec Phase 0
08-21Schema freshness by polling, not push; e-mail + differential review; affected mandates annotated + e-mail by default (human can switch off); no automatic revocationProductspec 0.6–0.8
08-21Mandate form bounds = min(technical, governance) — an input bound, not a valueProductspec Phase 0
08-21Provider webhooks every call to Veritia — not in V1 (would put transaction data at Veritia)Rejected (V1)spec §4ter
08-21Phase 2 returns a ready-to-use config (mandate + endpoint)Productspec
08-24No public provider catalogue — non-guessable link distributed by the providerProductspec, synthesis §3

September 2026 — detailed design and POC

DateDecisionScopeWhere
09-04itsme: keep pseudonymous sub, auth time, assurance level; discard raw tokens; no national register number in V1Productitsme
09-06Account linking by signed identity hand-off → provider_account_ref; Variant 1 (silent OIDC) recommended (legal validation pending)Product 🔶account linking
09-07Clone IAMDevBox/keycloak-spring-boot-oauth2 as the fake bank; isolated route (option B)POCarchitecture §9
09-07Fake itsme screen; provider admin = named account (option A); aud = canonical MCP URI; fail-closed; one provider; local tool on the same machine as Claude DesktopPOCarchitecture §10
09-07PoP wire format DPoP + bsha, no DPoP-Nonce; Spring AI MCP server (Streamable HTTP)POC (product format still open)architecture §11
09-09provider_account_ref un-mocked: real PDS-signed assertion (Variant 2)POCcontracts §8
09-09Version pins: Spring Boot 3.5.13, spring-ai-bom 1.1.8, MCP TS SDK 1.30.0, protocol 2025-11-25POCspike notes
09-14SPA front door: landing page + persona chooser; header shows only the connected personaPOCplatform §B3
09-18Onboarding via one-time setup code + the tool's own config.json; auto-editing AI clients' configs not built; static per-client recipesProductcontracts §9
09-19One key per AI client → one agent.key per machine, one named folder per mandatePOC — product strategy reopened 2026-11-30contracts §9
09-19Replace, not accumulate; agent_label unique per human across providers; default <provider>-<firstname>Productcontracts §9.4
09-25Discovery (initialize/initialized/tools/list) exempt from the filter; tools/call neverPOCcontracts §2
09-25Outil Local runs natively on Windows; wsl.exe launch kept as fallbackPOCarchitecture §12.0

October–November 2026

DateDecisionScopeWhere
10-09Trace Prestataire exposed read-only (GET /mcp-audit/:jti), fetched by the browser, never through the platformPOCcontracts §8.6
10-10/11Mandate wizard step 1 "install the local tool", shown on every visit (no fake client-side check)POCplatform §B5-pre
10-12tool_constraints — per-tool caps on request parameters, enforced by the tool handlerPOCcontracts §1.1
10-12init --show; Claude Desktop recipe uses the in-app Edit Config button (Windows path unreliable)POCoutil-local §3.2, platform §B5bis
11-30Product name Veritia (npm @veritia, not yet reserved)Productsynthesis §4 #9
11-30PDFs and both decks are keptReposynthesis §8
11-30No contact with itsme or a bank yet — part of the next stepsStatussynthesis §3
11-30Agent-key strategy for the product left open (cross-provider correlation via shared cnf.jwk)Product — opensynthesis §4 #10
11-30PoP header format not chosen for the product; the POC's DPoP is the POC's choiceProduct — openproof of possession
11-30Documentation consolidated into documentation/ with a generatorRepoabout these docs
Generated 2026-11-30 by documentation/build.mjs · edit the Markdown, never this HTML.