What's New
Search Ranking Polish (#23 — @Tosko4)
- Directness-based reranking for precise queries — direct hits surface over repetition spam
- Phrase spam penalization and unmatched quote fallback handling
- Widened candidate fetching for precise queries
- Role bias rework: user > assistant > tool
- Future timestamp clamping in hybrid sort
Lifecycle Checkpoint Substrate (#24 — @Tosko4)
- Durable lifecycle state store for session/conversation binding
- Frontier markers persist across rollover/rebind boundaries
- Lifecycle metadata exposed in engine status
Custom Summary Instructions & Pre-Compaction Extraction (#21 — @stephenschoettler)
LCM_CUSTOM_INSTRUCTIONS— inject operator-configurable instructions into summarization promptsLCM_EXTRACTION_ENABLED— extract decisions/commitments to daily note files before compaction
Deferred Maintenance Debt Catch-Up (#25 — @Tosko4)
- Persist raw-backlog maintenance debt in lifecycle state
- Bounded cross-turn catch-up passes to reduce debt over time
- Debt state surfaced in status output
Operator Remediation Flows (#26 — @Tosko4)
/lcm doctornow separates observations from recommended actions- New
doctor clean apply— backup-first cleanup for safe pattern-matched candidates - Shared backup logic between
/lcm backupand cleanup apply
Stats
- ~5,000 lines of Python (up from ~3,800)
- 192 tests (up from 130)
- Schema version: 4
Update
```bash
cd ~/.hermes/hermes-agent/plugins/context_engine/lcm && git pull
```
Restart Hermes after updating.