ALEF-PAT-013

atomic-write-pair-violation

persist × orphan · severity 8 · confidence 0.31

two-event sequence (request + response, write + ack) flushed non-atomically — process crash between events leaves persistent half-state on disk

diagnosed in the wild

·

loading…

healed by ALEF

·

loading…

cited in posts

·

loading…

observable signature

{
  "filesystem": "events.jsonl ends with unmatched first-half of any pair"
}

verified instances (1) — from the catalog

fix archetypes

  • transactional-batchcost: medium

    accumulate pair in memory; single atomic flush; crash-before-flush leaves no half-state

compounds with

cite as

# In a PR description / issue / RFC:
fixes pattern ALEF-PAT-013 (atomic-write-pair-violation)
ref: https://n50.io/patterns/013

# Machine query:
GET https://n50.io/api/patterns/013

# Scan your repo for this pattern:
npx @alef-prime/audit-agent-system . --pattern=013