tenant-engine/workplans
tegwick f82017090b fix(workplans): qualify ad-hoc identifiers with the repository prefix
`ADHOC-YYYY-MM-DD` is unique per date but not per repository, so any two repos
opening an ad-hoc on the same day collide. The 2026-08-26 fleet projection
reset refused 9 records for exactly this reason.

Canon (work-record-types_v0.1, CUST-WP-0066) settled the form as
`{PREFIX}-WP-ADHOC-YYYY-MM-DD`, filename unchanged, and grandfathered existing
ids on the condition they are never *silently* re-derived. This is the explicit
migration that clause allows for.

The hub id is derived from the record id, so a changed id is a different
record: stale state_hub_*_id fields are dropped and fix-consistency re-derives.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-28 00:28:24 +02:00
..
ADHOC-2026-07-24.md fix(workplans): qualify ad-hoc identifiers with the repository prefix 2026-08-28 00:28:24 +02:00
TEN-WP-0001-statehub-bootstrap.md chore(consistency): register TEN-WP-0001/0002 in State Hub [auto] 2026-07-23 21:56:43 +02:00
TEN-WP-0002-domain-model-and-scaffold.md TEN-WP-0002 T04-T07: cache-read, live-lookup (fail-closed), write API, close 2026-07-23 22:24:09 +02:00
TEN-WP-0003-flex-auth-write-authorizer.md TEN-WP-0003: FlexAuthWriteAuthorizer -- gate writes through flex-auth 2026-07-23 22:54:44 +02:00
TEN-WP-0004-production-runtime.md Sync tenant runtime workplan state 2026-08-09 01:49:11 +02:00
TEN-WP-0005-tenant-update-and-retirement-api.md Finish TEN-WP-0005-T05: ship lifecycle image and verify production 2026-08-14 01:42:41 +02:00
TEN-WP-0006-guardrail-quota-policy.md Finish TEN-WP-0006: guardrail and quota policy 2026-08-16 02:19:48 +02:00
TEN-WP-0007-guardrail-production-rollout.md Finish TEN-WP-0007: guardrail surface live in production 2026-08-16 10:34:44 +02:00
TEN-WP-0008-staged-promotion-onboarding.md docs: finish PostgreSQL production cutover 2026-08-21 01:20:54 +02:00
TEN-WP-0009-postgres-production-store.md docs: finish PostgreSQL production cutover 2026-08-21 01:20:54 +02:00
TEN-WP-0010-mutable-grouping.md TEN-WP-0010-T01: mark proposed-and-recorded as done, ratification outstanding 2026-08-17 22:53:52 +02:00