feat: review text hits and release false-positive mappings

This commit is contained in:
muena
2026-10-19 06:44:21 +02:00
parent ebf78128c4
commit 03a793ad7c
20 changed files with 536 additions and 210 deletions

View File

@@ -0,0 +1,11 @@
import { listRuns } from "./lib/velum-project";
import { reviseProjectRun } from "./lib/project-revision";
import { depseudonymizeDocument } from "./velum";
/** Release the whole alias group and update the latest saved project files. */
export async function releaseProjectMapping(projectPath: string, placeholder: string) {
const latest = (await listRuns(projectPath))[0];
if (!latest) throw new Error("Projektstand nicht gefunden.");
return reviseProjectRun({ previous: latest.run, previousDirectory: latest.directory,
release: new Set([placeholder]), merges: {}, rewriteDocument: depseudonymizeDocument });
}