Skip to main content
Compact the audit log writer
agent-platform · audit/compaction
You

The audit log writer is hammering the WAL. Can you batch the writes and drop the legacy single-row path?

claude-opus-4-7

Done. The writer now buffers rows and flushes in batches of 100, matching the WAL limit recorded in the project memory. I removed the legacy single-row path entirely.

  • flushBatch() replaces the per-row write.
  • The legacy writeOne() path is deleted.
  • Tests pass — see the terminal in the runtime panel.

bench-report.md

reports/bench-report.md

3.2 KB
Ready
planopus-4.7
agent-platformaudit/compaction1 background process