claim
Allocate the next number in a sequence atomically, returning a formatted ID that is collision-free across all callers. Ensures each caller gets a unique, sequential identifier without conflicts.
Instructions
Atomically allocate the next number for a sequence (e.g. ADR/migration). Returns the FORMATTED id to write. Collision-free across all callers; the sole source of the number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | Yes | ||
| note | No |