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 setupenable 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_writesaligned with the documented default. - #438 and #437 make Hermes plugin setup more reliable from a Moraine source checkout and with
--no-testsetup.
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
- fix(plugin): avoid Hermes MCP probe during no-test setup by @eric-tramel in #437
- fix(plugin): trust Moraine source checkout CLI by @eric-tramel in #438
- fix(monitor): dedupe session list events by @eric-tramel in #439
- docs: complete configuration reference by @eric-tramel in #440
- feat(setup): enable harnesses by default by @eric-tramel in #442
- feat(ingest): redact secrets before storage and egress by @eric-tramel in #441
- fix(ingest): stop no-op sqlite checkpoint churn and search expansion read amplification by @eric-tramel in #444
- chore(release): cut v0.6.4 by @eric-tramel in #445
Full Changelog: v0.6.3...v0.6.4