REQ-DDB-PIPE-002: Atomic swap-safe build (temp db then os.replace onto –output)

← Requirements

What it requires

  1. Build writes to <output>.tmp and os.replace()s it onto --output; a failed build leaves the prior clew.db untouched and no reader ever sees a half-built db.
tier
MISSING
declared
implemented
priority
P0

How it is met