Skip to content

v0.6.4

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Jul 04:16
b33a58a

moraine v0.6.4

Moraine now idles cleanly on noisy Cursor/OpenCode SQLite databases and reads much less ClickHouse data when expanding MCP search results.

What's fixed

Idle SQLite ingest and search expansion (#444)

Moraine no longer writes a durable checkpoint every time Cursor or OpenCode touches a quiet SQLite database without producing transcript changes. On the reporting host, that drops idle moraine-ingest CPU from roughly one core to near zero and stops continuous checkpoint insert pressure while preserving prompt pickup for real session activity.

Search-result expansion also does less work. The new search_documents.event_uid skip index, bounded hydration aggregation, and longer doc-extra cache cut expansion reads by about 20x on the measured host. The index is added by migration 023 and materializes for existing data in the background; queries remain correct while it catches up.

Other user-visible updates

  • #441 enables default-on secret redaction before local storage and backend egress. New ingested rows are scrubbed by default, backend egress remains redacted, and aggregate redaction counts are recorded after migration 022.
  • #442 makes moraine setup enable all supported harnesses by default while keeping interactive opt-out, --skip-mcp, and targeted setup paths available.
  • #439 fixes inflated monitor session-list totals when duplicate physical event rows exist for the same logical event_uid.
  • #440 adds a complete commented configuration reference and keeps omitted mcp.async_log_writes aligned with the documented default.
  • #438 and #437 make Hermes plugin setup more reliable from a Moraine source checkout and with --no-test setup.

Operational notes

No manual migration step is required for normal installs. On upgrade, migrations 022 and 023 apply through the usual Moraine migration path. The 023 skip index is additive and can materialize asynchronously over existing search_documents parts.

After a long idle stretch on a stat-noisy Cursor/OpenCode database, the first relevant write can take one throttle window to pick up, roughly 15-30 seconds. Active sessions are unaffected.

Changelog

Full Changelog: v0.6.3...v0.6.4