Q204: meeting records that were never held 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:22:44 -04:00
1 parent 9f44e0bdee
commit 8861aa4c30
14 files changed
+16 -85

No files matched your search

+8
View File
@@ -13,3 +13,11 @@ test("automation rules are gone: no table, no channels", () => {
expect(tables.map((row) => row.name)).not.toContain("automation_rules");
expect(Object.keys(IPC_CHANNELS).filter((key) => /automation/i.test(key))).toEqual([]);
});
test("meeting 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("meetings");
expect(Object.keys(IPC_CHANNELS).filter((key) => /meeting/i.test(key))).toEqual([]);
});