2026-07-30 13:22:50 -04:00
# TODO
2026-07-30 13:53:39 -04:00
The status-code ownership work has been consumed. The implementation now:
2026-07-30 13:22:50 -04:00
2026-07-30 13:53:39 -04:00
- stores status names in a private, fixed-capacity sparse registry, removing the consumer-visible array ABI and `AKERR_MAX_ERR_VALUE` ;
- accepts names for arbitrary `int` status values and always terminates truncated names;
- reserves status values 0 through 255 for libakerror;
- provides `akerr_reserve_status_range()` so independently developed libraries can declare ranges and detect overlaps at initialization; and
- tests arbitrary status values, range overlap/idempotency/overflow, owner and name limits, and both registry capacity limits.
2026-07-30 13:22:50 -04:00
2026-07-30 13:53:39 -04:00
Consumers with existing custom codes below 256 should migrate them to a declared range starting at 256 or higher. Range reservation is opt-in, so every co-resident library must participate for collisions to be detected.