Buffaly.CodexEmbedded
Buffaly.CodexEmbedded copied to clipboard
Bug: Auto compaction appears non-functional or not taking effect
Summary
Auto compaction does not appear to be running (or not producing expected reductions), leading to larger-than-expected artifacts/state over time.
Observed behavior
- Compaction is expected as part of normal maintenance flow.
- In practice, state/tooling context appears to continue growing without visible compaction effect.
- User-reported symptom: "auto compaction doesn't seem to be working."
Expected behavior
- Automatic compaction should run at the documented trigger points.
- Compaction should produce observable effect (size reduction and/or clear telemetry/log markers).
Suggested investigation
- Validate trigger conditions and scheduler wiring for auto compaction.
- Add explicit telemetry: compaction start/end, bytes/items before/after, and skip reason when not run.
- Add an integration test that verifies compaction actually mutates target state under realistic load.
Reported by Buffaly session: Buffaly Trademark