fix(registrar): scope identity preflight

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b22-9638-76d2-bbff-b7ea1770b118
This commit is contained in:
tegwick 2026-08-23 11:49:59 +02:00
parent 4398167580
commit 7a15f1da21
4 changed files with 152 additions and 2 deletions

View file

@ -307,6 +307,15 @@ against `ops-mason` indexes `MASON-0001-T01` once, preserves both task-block
locations, and emits the cleanup diagnostic. T02 remains `wait` because its
original pre-derivation reconciliation inventory is not yet exhausted.
**Scoped identity compatibility (2026-08-23):** Custodian owner work exposed
that the on-demand registrar still applied its collision gate repository-wide:
unrelated grandfathered bare `T01``T09` collisions prevented assignment of the
canonical `CUST-WP-0065-T01``T04` set. The preflight now intersects invalid IDs
and collision findings with the exact missing records requested by the command.
A requested defect still fails closed; unrelated history stays in evidence;
empty-projection bootstrap retains the full-repository gate. Regression coverage
proves all three cases.
## Derive identifiers deterministically
```task