labfy-investigation/docs/database/FINANCIAL_SCHEMA_V21.md
fy59 d65f9559e6 chore(checkpoint): preserve local investigation workbench
Preserve the local graph-first investigation stack through macro V1.

Include reviewed source, tests, contracts, documentation and synthetic assets.

Retain the standalone financial V21 test foundation without runtime migration.

Runtime remains V20; operational JobStore remains V3.

Local experimental checkpoint, not a stable release.
2026-09-27 08:34:46 +02:00

19 lines
1,020 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Schéma financier V21 — tranche 3
`database/schema_v21.sql` est un schéma autonome réservé à la création directe
de bases neuves et aux tests synthétiques. `schema_current.sql` et la version
runtime restent volontairement en V20 jusqu’à la migration de tranche 4.
Les tables `bank_observations`, `bank_proposals`,
`bank_observation_revisions` et `bank_decisions` séparent le brut immuable,
les regroupements proposés, les corrections humaines et l’historique des
décisions. Leurs historiques et leurs provenances sont append-only.
`bank_accounts` étend une ligne existante de `entites` de type
`bank_account`. `declared_bank_holders` conserve seulement un nom déclaré et
des liens explicites facultatifs. `financial_transactions` conserve un montant
décimal textuel exact et un statut observé, sans certification externe.
Les DAO ne créent ni entité canonique, ni personne, ni relation, ni compte ou
transaction implicite. Les données legacy ne sont ni lues ni migrées dans
cette tranche.