Skill Maintenance

Dr Init Id Collision Window

Detect and resolve task-ID collisions in the TOCTOU window between /dr-init reservation and /dr-archive completion; reserve IDs with the atomic allocator.

Overview

Detect and resolve task-ID collisions in the TOCTOU window between /dr-init reservation and /dr-archive completion. IDs are allocated and reserved with dev-tools/next-free-id.sh (an atomic mkdir mutex under datarim/.id-reservations/, TTL 1800 s by default); a hand-rolled probe is only a fallback.

Canonical source

The full SKILL.md contract lives in the Datarim repo: skills/dr-init-id-collision-window/SKILL.md. This page is a stub — the canonical contract (loading rules, invariants, examples, tests, validators) is in the Markdown source. Pages mirror SKILL.md content on a rolling basis.