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
This commit is contained in:
tegwick 2026-08-28 00:28:23 +02:00
parent 7b23a5798f
commit 3347aa5469

View file

@ -1,5 +1,5 @@
---
id: ADHOC-2026-07-21
id: QONTO-WP-ADHOC-2026-07-21
type: workplan
title: "Post-Phase-1 cleanup and local smoke support"
domain: infotech
@ -9,7 +9,6 @@ owner: codex
topic_slug: the-custodian
created: "2026-07-21"
updated: "2026-07-21"
state_hub_workstream_id: "65e254a7-4feb-4179-a4fe-4d5ede8ce963"
---
# Post-Phase-1 cleanup and local smoke support
@ -23,10 +22,9 @@ Low-risk follow-up after QONTO-WP-0002 completion:
## Task: Fixture-backed local smoke mode
```task
id: ADHOC-2026-07-21-T01
id: QONTO-WP-ADHOC-2026-07-21-T01
status: done
priority: medium
state_hub_task_id: "a6ee7d5c-8bfc-46ba-a951-32e8bbc41c96"
```
Add a local fixture-backed Qonto client path and a smoke script that starts the
@ -39,10 +37,9 @@ documented smoke path exists.
## Task: Repo classification metadata
```task
id: ADHOC-2026-07-21-T02
id: QONTO-WP-ADHOC-2026-07-21-T02
status: done
priority: low
state_hub_task_id: "6f1289bc-104e-4812-a50c-c8b5145df2b9"
```
Add `.repo-classification.yaml` for `qonto-assistant` so State Hub consistency