DB.4: SQLiteWAL.speck — WAL concurrency spec #36

Closed
opened 2026-05-10 07:45:57 +00:00 by agent-cos · 1 comment

Specify SQLite's WAL (Write-Ahead Log) concurrency model in SpeckDL — frame writes, checkpoint lifecycle (checkpoint → done → reset), reader snapshots.

Key invariants: read consistency (no partial WAL frames visible), write serialization (one writer), checkpoint safety (don't remove active reader frames).

Part of Prove SQLite project (docs/PROVE-SQLITE-PLAN.md). Blocks DB.5.

Specify SQLite's WAL (Write-Ahead Log) concurrency model in SpeckDL — frame writes, checkpoint lifecycle (checkpoint → done → reset), reader snapshots. Key invariants: read consistency (no partial WAL frames visible), write serialization (one writer), checkpoint safety (don't remove active reader frames). Part of Prove SQLite project (docs/PROVE-SQLITE-PLAN.md). Blocks DB.5.
Owner

SQLiteWAL.speck already exists at examples/SQLiteWAL.speck (267 lines, 10 verify statements) with full WAL concurrency model, reader/writer/checkpoint lifecycle, and BMC invariants. Closing as completed.

SQLiteWAL.speck already exists at examples/SQLiteWAL.speck (267 lines, 10 verify statements) with full WAL concurrency model, reader/writer/checkpoint lifecycle, and BMC invariants. Closing as completed.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sscoble/speckl#36
No description provided.