feat: define workspace evidence descriptor contract

This commit is contained in:
2026-08-09 18:18:10 +02:00
parent be13231d3d
commit 2966750b13
5 changed files with 516 additions and 94 deletions
@@ -65,6 +65,7 @@ test("migrates a schema v2 workspace to the internal qdrant schema v3 shape", ()
const migrated = migrateWorkspaceV2ToV3(legacy, "psd-clinical");
expect(migrated).not.toHaveProperty("evidence");
expect(migrated).toMatchObject({
workspace: { schema_version: 3, id: "psd-clinical", name: "Policlinico San Donato" },
dwh: legacy.dwh,