fix(workplans): qualify ad-hoc identifiers with the repository prefix
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

`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:24 +02:00
parent 5ae1f4ffc5
commit 4f68c5609f
3 changed files with 10 additions and 18 deletions

View file

@ -1,5 +1,5 @@
--- ---
id: ADHOC-2026-06-04 id: STATE-WP-ADHOC-2026-06-04
type: workplan type: workplan
title: "Ad hoc fixes - 2026-06-04" title: "Ad hoc fixes - 2026-06-04"
domain: custodian domain: custodian
@ -9,7 +9,6 @@ owner: codex
topic_slug: custodian topic_slug: custodian
created: "2026-06-04" created: "2026-06-04"
updated: "2026-06-04" updated: "2026-06-04"
state_hub_workstream_id: "2a8f3aff-8f5d-4e42-b33f-225d60e0b30b"
--- ---
# Ad hoc fixes - 2026-06-04 # Ad hoc fixes - 2026-06-04
@ -17,10 +16,9 @@ state_hub_workstream_id: "2a8f3aff-8f5d-4e42-b33f-225d60e0b30b"
## Fix Dashboard Overview API Loading ## Fix Dashboard Overview API Loading
```task ```task
id: ADHOC-2026-06-04-T01 id: STATE-WP-ADHOC-2026-06-04-T01
status: done status: done
priority: high priority: high
state_hub_task_id: "5f6aa1e4-ccc5-4c8b-8183-cc1578190b7b"
``` ```
The overview page reported `Dashboard data load failed: NetworkError when The overview page reported `Dashboard data load failed: NetworkError when

View file

@ -1,5 +1,5 @@
--- ---
id: ADHOC-2026-07-01 id: STATE-WP-ADHOC-2026-07-01
type: workplan type: workplan
title: "Ad hoc fixes - 2026-07-01" title: "Ad hoc fixes - 2026-07-01"
domain: infotech domain: infotech
@ -9,7 +9,6 @@ owner: codex
topic_slug: custodian topic_slug: custodian
created: "2026-07-01" created: "2026-07-01"
updated: "2026-07-01" updated: "2026-07-01"
state_hub_workstream_id: "1cdb288a-9bcb-4e53-8c4f-cb43e3abe9c5"
--- ---
# Ad hoc fixes - 2026-07-01 # Ad hoc fixes - 2026-07-01
@ -17,10 +16,9 @@ state_hub_workstream_id: "1cdb288a-9bcb-4e53-8c4f-cb43e3abe9c5"
## Add Local State Hub Consistency CLI ## Add Local State Hub Consistency CLI
```task ```task
id: ADHOC-2026-07-01-T01 id: STATE-WP-ADHOC-2026-07-01-T01
status: done status: done
priority: medium priority: medium
state_hub_task_id: "060e6e63-b456-418e-83c5-7660fa206800"
``` ```
Add `statehub fix-consistency` so agents can reconcile ADR-001 workplan files Add `statehub fix-consistency` so agents can reconcile ADR-001 workplan files
@ -31,10 +29,9 @@ agent instructions to make the CLI sync a normal agent close-out step.
## Clear Closed-Workstream C-12 Orphan Warnings ## Clear Closed-Workstream C-12 Orphan Warnings
```task ```task
id: ADHOC-2026-07-01-T02 id: STATE-WP-ADHOC-2026-07-01-T02
status: done status: done
priority: medium priority: medium
state_hub_task_id: "076b97bd-fb97-47f9-9733-c8eac6cd6355"
``` ```
Treat terminal DB-only tasks in closed workstreams as non-actionable historical Treat terminal DB-only tasks in closed workstreams as non-actionable historical

View file

@ -1,5 +1,5 @@
--- ---
id: ADHOC-2026-08-08 id: STATE-WP-ADHOC-2026-08-08
type: workplan type: workplan
title: "Ad hoc fixes — 2026-08-08" title: "Ad hoc fixes — 2026-08-08"
domain: infotech domain: infotech
@ -9,17 +9,14 @@ owner: codex
topic_slug: state-hub topic_slug: state-hub
created: "2026-08-08" created: "2026-08-08"
updated: "2026-08-08" updated: "2026-08-08"
state_hub_workstream_id: "f0175ce9-452b-4e52-b835-b8736d94e3d5"
state_hub_workstream_id: "f0175ce9-452b-4e52-b835-b8736d94e3d5"
--- ---
## Integrate State Hub connectivity into Codex setup ## Integrate State Hub connectivity into Codex setup
```task ```task
id: ADHOC-2026-08-08-T01 id: STATE-WP-ADHOC-2026-08-08-T01
status: done status: done
priority: medium priority: medium
state_hub_task_id: "5ad8b6f7-f005-43da-9d01-1fe7b0a5c8f8"
``` ```
Add an idempotent Codex configuration step to the operator bootstrap, verify Add an idempotent Codex configuration step to the operator bootstrap, verify
@ -29,7 +26,7 @@ isolation from an actual hub outage, and propagate accurate agent guidance.
## Repair Codex stdio MCP launcher ## Repair Codex stdio MCP launcher
```task ```task
id: ADHOC-2026-08-08-T02 id: STATE-WP-ADHOC-2026-08-08-T02
status: done status: done
priority: high priority: high
``` ```
@ -41,7 +38,7 @@ initialize exchange through the registered launcher.
## Split a slim Codex MCP surface from full dev-hub administration ## Split a slim Codex MCP surface from full dev-hub administration
```task ```task
id: ADHOC-2026-08-08-T03 id: STATE-WP-ADHOC-2026-08-08-T03
status: done status: done
priority: high priority: high
``` ```
@ -53,7 +50,7 @@ that need the administrative surface.
## Make Codex MCP opt-in ## Make Codex MCP opt-in
```task ```task
id: ADHOC-2026-08-08-T04 id: STATE-WP-ADHOC-2026-08-08-T04
status: done status: done
priority: high priority: high
``` ```