fix(channelmemory): harden passive extraction reliability (#1386)

Co-authored-by: Collective Developer <man@collective.dev>
This commit is contained in:
ナムandCollective Developer authored and GitHub committed 2026-07-08 01:25:08 +07:00
1 parent 086532484d
commit a9c7feb99c
22 files changed
+730 -58

No files matched your search

+1 -1
View File
@@ -1242,7 +1242,7 @@ CREATE TABLE IF NOT EXISTS channel_memory_extraction_items (
episodic_id VARCHAR(64) NOT NULL DEFAULT '',
created_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ', 'now')),
updated_at TEXT NOT NULL DEFAULT (strftime('%Y-%m-%dT%H:%M:%fZ', 'now')),
UNIQUE (tenant_id, run_id, item_hash)
UNIQUE (tenant_id, channel_instance_id, item_hash)
);
CREATE INDEX IF NOT EXISTS idx_channel_memory_items_channel_status