Skip to content

v26.403.1

Choose a tag to compare

@greatwhiz greatwhiz released this 03 Apr 17:58
· 47 commits to main since this release

v26.403.1

SQLite Replaced with Text Archives

  • All persistence (conversations, pairing, plans, fine-tune data) now uses plain JSON/JSONL files
  • Node.js requirement lowered from 22.5.1+ to 22+ (no more experimental node:sqlite)
  • Legacy SQLite databases are auto-migrated on first run, backed up as .bak

Protocol-Aware Turn Journaling

  • Persistent JSONL journal per turn at ~/.cereworker/conversations/{id}/turns/{turnId}.jsonl
  • Records tool starts/ends, checkpoints, boundaries, completion signals, and recoveries
  • TurnOutcome classification: completed, ended_on_tool_calls, completion_signal_missing, stalled, etc.
  • TurnBoundarySummary tracks state-changing moments with browser state snapshots
  • Repetition signal detection sent to Cerebellum for smarter stop decisions

Turn Journal Retention

  • Configurable via conversations.turnJournals.maxDays (default 30) and maxFilesPerConversation (default 100)
  • Two-phase pruning: age-based first, then count-based
  • Runs after every turn completion (success and error paths)

Advisory Locks for Text Stores

  • Directory-based advisory locking (withTextStoreLock) prevents concurrent file corruption
  • Stale lock detection via PID/hostname/age checks
  • Atomic writes with rename-based crash safety

Cerebellum Recovery Guidance (Docker rebuild needed)

  • AssessTurnRecovery RPC enriched with boundaries, turn outcome, repetition signals
  • Run sudo bash scripts/publish-cerebellum.sh to push the updated Docker image