Skip to content

Fix CTL-01 SQLite writer overlap - #16

Merged
adesutherland merged 1 commit into
mainfrom
temp/m3-4-sqlite-writer-serialization
Aug 28, 2026
Merged

adesutherland merged 1 commit into
mainfrom
temp/m3-4-sqlite-writer-serialization

Conversation

@adesutherland

Copy link
Copy Markdown
Owner

Outcome

Serializes CTL-01 state-changing transactions at transaction start and adds a bounded SQLite busy timeout. This prevents the Director outbox publisher and an API command from colliding after an API read and returning a transient safe refusal.

Evidence

  • Adds a deterministic regression that holds an outbox writer while logical-time initialization begins, verifies the command waits, and then succeeds.
  • Applies the mutation policy consistently to lifecycle, logical-time, cue, control, and presentation-outcome transactions.
  • Local formatting, architecture, contract, link, and frontend checks pass.
  • Local Rust execution is unavailable because this host has no cargo toolchain; required Rust format, clippy, unit, container, and secure Compose checks are enforced by this PR CI.

Scope

Synthetic-only, in-development M3.4 runtime reliability fix. No production, legal, clinical, regulatory, or compliance claim.

@adesutherland
adesutherland force-pushed the temp/m3-4-sqlite-writer-serialization branch from b328699 to 4e2f753 Compare August 28, 2026 22:34
@adesutherland
adesutherland merged commit f6f7498 into main Aug 28, 2026
1 check passed
@adesutherland
adesutherland deleted the temp/m3-4-sqlite-writer-serialization branch August 28, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant