feat(FN-2156): migrate agent log storage to SQLite

- Add an agentLogEntries table and schema migration updates for SQLite-backed agent log persistence
- Persist appended agent logs in SQLite and read task agent logs from the database instead of filesystem-only JSONL
- Import legacy agent log JSONL data into SQLite with type-safe handling for older log field shapes
- Preserve agent logs across task updates and archive flows, and update docs plus tests (including schema assertions) to cover the new behavior
- Add a changeset for @gsxdsm/fusion describing the agent log storage migration
This commit is contained in:
Fusion
2026-04-19 13:39:40 -07:00
committed by gsxdsm
parent fc30dc48fd
commit 1e8bb8345d
12 changed files with 373 additions and 221 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": patch
---
Move agent log storage from JSONL files to SQLite for improved query performance, reliable pagination, and transactional consistency.