This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+14 more
Summary
AI summaryLockedBlackboard now adds automatic Write-Ahead Log (WAL) crash recovery.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
LockedBlackboard now supports Write-Ahead Log (WAL) crash recovery. LockedBlackboard now supports Write-Ahead Log (WAL) crash recovery. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: high |
— |
| Feature | Medium |
Every write, commit, and delete operation follows append-before-write + checkpoint-after-write pattern. Every write, commit, and delete operation follows append-before-write + checkpoint-after-write pattern. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: high |
— |
| Feature | Medium |
Manual compactWAL() method safely truncates WAL after full snapshot. Manual compactWAL() method safely truncates WAL after full snapshot. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: high |
— |
| Feature | Medium |
On construction, replayWAL() automatically scans .wal.jsonl for uncommitted ops and replays them. On construction, replayWAL() automatically scans .wal.jsonl for uncommitted ops and replays them. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
| Feature | Medium |
WAL file locations differ based on env-scoped or legacy mode. WAL file locations differ based on env-scoped or legacy mode. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
| Feature | Medium |
Resilience properties include silent skipping of malformed tail lines, idempotent replay, and safe compactWAL calls. Resilience properties include silent skipping of malformed tail lines, idempotent replay, and safe compactWAL calls. Source: granite4.1:8b-q6_K@2026-05-19 Confidence: low |
— |
| Feature | Medium |
On construction, LockedBlackboard automatically replays uncommitted WAL entries into memory. On construction, LockedBlackboard automatically replays uncommitted WAL entries into memory. Source: granite4.1:30b@2026-05-20-audit Confidence: low |
— |
| Feature | Medium |
WAL file location varies by env-scoped (<basePath>/<env>/.wal.jsonl) or legacy (<basePath>/data/.wal.jsonl). WAL file location varies by env-scoped (<basePath>/<env>/.wal.jsonl) or legacy (<basePath>/data/.wal.jsonl). Source: granite4.1:30b@2026-05-20-audit Confidence: low |
— |
| Feature | Medium |
WAL replay is idempotent, skips malformed tail lines silently, and compactWAL() can be called anytime. WAL replay is idempotent, skips malformed tail lines silently, and compactWAL() can be called anytime. Source: granite4.1:30b@2026-05-20-audit Confidence: low |
— |
Full changelog
Network-AI v5.6.0 — WAL Crash Recovery
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:
- Before the file write — an
appendrecord is written to.wal.jsonl - The actual state file is updated
- After the write succeeds — a
checkpointrecord 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
| Mode | Path |
|---|---|
| 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.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About Jovancoding/Network-AI
Multi-agent orchestration MCP server with race-condition-safe shared blackboard. 20+ MCP tools: blackboard read/write, agent spawn/stop, FSM transitions, budget tracking, token management, and audit log query. `npx network-ai-server --port 3001`.
Related context
Beta — feedback welcome: [email protected]