Skip to main content

Why Forge needs a native filesystem

Status: Ready

Article ID: 056

Truth label: Current

Audience: Operations owner

Reader outcome: Place Forge state on a filesystem that preserves SQLite WAL, atomic replacement, and process-lock behavior.

Related articles: 055, 095, 098

Target week: 23

Last verified: 2026-09-13

Technical reviewer: Codex source audit

Editorial reviewer: Codex editorial audit

Keep state near its owner​

Forge uses SQLite WAL, atomic file replacement, and a process lock. Put the live data root on the native filesystem of the operating system running Central. Do not place it on WSL drvfs, 9P, SMB, or a general network share.

Understand the failure​

Mounted filesystems can change lock, rename, durability, timestamp, and cache semantics. A database that appears writable can still lose isolation or expose partial state under failure.

Separate access from storage​

Workers reach Central through HTTP. They do not need direct access to its database. Keep worker outboxes and credentials local to their worker hosts and back them up separately.

Check the deployment​

Record the resolved data root, filesystem type, owner process, free space, and backup destination. Run SQLite integrity checks on a verified backup or stopped scratch copy, not by moving the live root between operating systems.

Current limits​

Native storage improves the assumed durability model but does not replace backups, restore drills, disk monitoring, or one-writer enforcement.

Next lesson​

Continue with Recover from a worker crash.

Derivative map​

  • Weekly package: WEEK-23
  • Long video: VIDEO-W23-LONG
  • Shorts: SHORT-W23-PROBLEM, SHORT-W23-MECHANISM, SHORT-W23-WARNING
  • Email: EMAIL-W23
  • LinkedIn: LI-W23-A, LI-W23-B
  • X: X-W23-A, X-W23-B
  • Visual: VISUAL-W23

Review record​

  • WAL, atomic-write, lock, Central, and worker storage boundaries checked against current source.
  • Backup and native-filesystem limits reviewed.
  • Checklist avoids live-root migration.
  • Internal links and repository voice reviewed.

Review completed: 2026-08-27

Re-audited against the running product: 2026-09-13