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
@@ -26,6 +26,7 @@ test("migrates the current local PSD descriptor without copying secret values",
const result = migrateLegacyWorkspace(readFixture("local.yaml"), { id: "local", collection: "local" });
expect(result.workspace.workspace).toMatchObject({ id: "local", schema_version: 3, language: "it" });
expect(result.workspace).not.toHaveProperty("evidence");
expect(JSON.stringify(result)).not.toMatch(/password:|api_key:|\$\{THT_/i);
});