Network-AI
Release

v5.6.0 — WAL Crash Recovery

Published 2026-05-19 | Release notes

All 3,136 tests pass. Zero TypeScript errors.

Read the release here or open the original release on GitHub.

All 3,136 tests pass. Zero TypeScript errors.

Features

LockedBlackboard Write-Ahead Log (WAL) crash recovery (lib/locked-blackboard.ts)

Every write(), commit(), and delete() now follows a strict append-before-write + checkpoint-after-write pattern:

  1. Before the file write — an append record is written to .wal.jsonl
  2. The actual state file is updated
  3. After the write succeeds — a checkpoint record is appended to .wal.jsonl

On construction, replayWAL() is called automatically after loadFromDisk(). It scans .wal.jsonl for any append records that have no matching checkpoint (= the process crashed between steps 1 and 3) and replays them into the in-memory store. The WAL is then compacted.

// WAL is automatic — nothing to configure
const board = new LockedBlackboard('.', { env: 'prod' });
// Any uncommitted ops from a previous crash are replayed here

// Manual truncation after a full snapshot:
await board.compactWAL();

WAL file locations

ModePath
Env-scoped<basePath>/<env>/.wal.jsonl
Legacy (no env)<basePath>/data/.wal.jsonl

Resilience properties

  • Partial writes at crash time produce malformed tail lines — silently skipped
  • WAL replay is idempotent: replaying an already-committed op overwrites with the same value
  • compactWAL() is safe to call at any time; a new WAL starts clean on the next write

7 new tests added to test-phase11.ts.

Release FAQ

Fast answers for operators and answer engines.

What changed in v5.6.0?

All 3,136 tests pass. Zero TypeScript errors.

When was v5.6.0 published?

v5.6.0 was published on May 19, 2026.

How much validation backed v5.6.0?

The release notes report 3,136 tests, all passing.

Continue evaluating

Cross-check the release signals.

Use the changelog, benchmark notes, and security policy together to validate that the release story lines up with public maintenance discipline.

Changelog Benchmarks Security