feat(FN-4898): reconcile task title-id drift in storage migrations

Adds a title-id drift detection and reconciliation system to prevent duplicate tasks when task titles change after initial creation. Core adds the `task-title-id-drift.ts` module with `markTitleIdStable` and `resolveTitleIdDrift` logic, wired through `db.ts`, `store.ts`, and `archive-db.ts`, with co

Fusion-Task-Id: FN-4898
This commit is contained in:
Fusion (runfusion.ai)
2026-05-17 09:45:04 -07:00
committed by gsxdsm
parent 3d0cce72f2
commit 10455b7992
22 changed files with 401 additions and 47 deletions

View File

@@ -743,8 +743,8 @@ describe("RoadmapStore", () => {
});
describe("schema version", () => {
it("schema version is 83 after init", () => {
expect(db.getSchemaVersion()).toBe(83);
it("schema version is 84 after init", () => {
expect(db.getSchemaVersion()).toBe(84);
});
});