You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scope: This is a Squad product investigation issue. It connects Brady's "Linked chat summaries" feature exploration to the StorageProvider abstraction in PR bradygaster#640.
PR bradygaster#640 introduces the StorageProvider interface with FSStorageProvider, InMemoryStorageProvider, and SQLiteStorageProvider. This is directly relevant to linked chat summaries because:
Chat history persistence -- linked chat summaries need to store and retrieve conversation histories. The StorageProvider abstraction gives this feature a clean persistence layer without coupling to the filesystem.
InMemoryStorageProvider for testing -- Paul's benchmarking plan (LOCOMO, LongMemEval, Tau Bench) needs fast, isolated test runs. InMemory provider enables this without disk I/O overhead.
SQLiteStorageProvider for telemetry -- opt-in telemetry collection (token usage, memory retrieval metrics) naturally fits a structured storage backend like SQLite rather than flat files.
Environment variable gating -- the StorageProvider pattern already supports config-driven selection. The linked chat summaries feature could use a similar pattern: SQUAD_CHAT_SUMMARIES=enabled selects the right storage backend.
Background: Brady's "Linked chat summaries" email thread
Brady initiated an email thread exploring linked chat summaries as a new Squad feature. Key points from the discussion (Brady, Paul Hsu, and team):
Connection to bradygaster#640 (StorageProvider)
PR bradygaster#640 introduces the
StorageProviderinterface withFSStorageProvider,InMemoryStorageProvider, andSQLiteStorageProvider. This is directly relevant to linked chat summaries because:Chat history persistence -- linked chat summaries need to store and retrieve conversation histories. The StorageProvider abstraction gives this feature a clean persistence layer without coupling to the filesystem.
InMemoryStorageProvider for testing -- Paul's benchmarking plan (LOCOMO, LongMemEval, Tau Bench) needs fast, isolated test runs. InMemory provider enables this without disk I/O overhead.
SQLiteStorageProvider for telemetry -- opt-in telemetry collection (token usage, memory retrieval metrics) naturally fits a structured storage backend like SQLite rather than flat files.
Environment variable gating -- the StorageProvider pattern already supports config-driven selection. The linked chat summaries feature could use a similar pattern:
SQUAD_CHAT_SUMMARIES=enabledselects the right storage backend.Private fork development -- Brady wants to develop this in a private fork. The StorageProvider PR (feat(sdk): StorageProvider abstraction — complete migration + example providers bradygaster/squad#640) should land on upstream dev first so the private fork can build on it.
Work to be done
Pre-requisites (must land first)
Investigation tasks
Implementation tasks (after investigation)
Process
Related