Q205: sprint records never tied to task progress are removed

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-09 11:27:44 -04:00
1 parent 8861aa4c30
commit 10283f87e5
14 files changed
+16 -82

No files matched your search

+8
View File
@@ -21,3 +21,11 @@ test("meeting records are gone: no table, no channels", () => {
expect(tables.map((row) => row.name)).not.toContain("meetings");
expect(Object.keys(IPC_CHANNELS).filter((key) => /meeting/i.test(key))).toEqual([]);
});
test("sprint records are gone: no table, no channels", () => {
const connection = new DatabaseConnection(join(tmpdir(), `agentcompany-new-${randomUUID()}.db`));
const tables = connection.db.prepare("select name from sqlite_master where type = 'table'").all() as Array<{ name: string }>;
connection.close();
expect(tables.map((row) => row.name)).not.toContain("sprints");
expect(Object.keys(IPC_CHANNELS).filter((key) => /sprint/i.test(key))).toEqual([]);
});