Documentation
¶
Overview ¶
Package compactionlog persists auto-compaction attempts for diagnosis.
The TUI shows a compaction failure as a transient notice, and a retry can succeed moments later. Without a durable record the first error disappears with the process, leaving only the successful checkpoint and no way to tell a transient stream cut from a deterministic summarization bug. This package appends one JSON line per attempt to ~/.golder/logs/compaction.jsonl.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Log ¶
func Log(attempt runtime.CompactionAttempt)
Log appends one compaction attempt. It is best-effort: a diagnostic write must never turn a successful compaction into a failed run.
Types ¶
This section is empty.