diff options
| author | Adam Malczewski <[email protected]> | 2026-06-10 08:49:16 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-10 08:49:16 +0900 |
| commit | 2e583ea78a7efa6e9a31b7c5b4dfcf792007e418 (patch) | |
| tree | 35dc89df83ec615768adcf277499b4d55e36cba1 /tasks.md | |
| parent | ee502ba1228fdaec4a15413a973ffce7ca89a0b6 (diff) | |
| download | dispatch-2e583ea78a7efa6e9a31b7c5b4dfcf792007e418.tar.gz dispatch-2e583ea78a7efa6e9a31b7c5b4dfcf792007e418.zip | |
feat(conversation-store): reconcile.repair span (logging-audit #1)
Load-time history repair was invisible (createConversationStore got no logger).
Now: optional logger injected (extension passes host.logger); reconcile logic
moved into pure reconcileWithReport() returning a ReconcileReport (reconcile()
stays a thin byte-identical wrapper); load() emits a reconcile.repair span
(childed with conversationId, flat attrs repairedCount/firstRepairedToolCallId)
ONLY when a real repair occurs. No contract fan-out (factory is package-internal).
typecheck EXIT 0, biome clean, 550 vitest (+4) + 89 bun.
Diffstat (limited to 'tasks.md')
| -rw-r--r-- | tasks.md | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -69,9 +69,6 @@ server/collector procs poison the next run's counts. this repo; user couriers to `../dispatch-web`; ORCHESTRATOR §7). ## Open items -- **logging-audit #1:** conversation-store has no injected logger, so a load-time - `reconcile` repair leaves no trace. Inject a logger + emit a `reconcile.repair` - span when conversation-store is next touched. - **dedup / storage growth (deferred):** trace-body de-dup (D5 volume control + `prefix.fingerprint`) + rotation/compression/retention (`notes/observability-design.md` §6, D9). `cacheReadTokens` is the cheap dedup |
