fix(workplans): adopt ADR-007 derived identifiers for unregistered records
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

These workplans exist only in the retired local hub. Their random pre-ADR-007
identifiers are refused by C-06 as stale references, so they cannot be
registered. Deriving from the canonical record id takes no identity from
anything: central does not hold them and the old ids die with the cache.

Records central already holds were deliberately left untouched.

Refs CUST-WP-0068-T06

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
This commit is contained in:
codex 2026-08-25 20:07:24 +02:00
parent 8c20dfc650
commit 0bc4165cf2
6 changed files with 41 additions and 41 deletions

View file

@ -11,7 +11,7 @@ created: "2026-08-16"
updated: "2026-08-16"
depends_on:
- AUDIT-WP-0006
state_hub_workstream_id: "97946512-eb0a-4282-8c1f-f53d9ee25bfa"
state_hub_workstream_id: "5398f698-4f86-5dd8-962a-e5dbaf93c9f4"
---
# AUDIT-WP-0007 — Integrity verification for operational custody
@ -67,7 +67,7 @@ remaining honesty gap on the live provision and is owned here.
id: AUDIT-WP-0007-T01
status: done
priority: high
state_hub_task_id: "d4423fd5-ad78-47d0-b85e-7ae6c582ec2b"
state_hub_task_id: "ea526d34-57e7-5273-b80b-6cd7bfe3bc1f"
```
Write a short contract in `docs/audit-backend-contract.md` (or a sibling
@ -98,7 +98,7 @@ and the six tests.
id: AUDIT-WP-0007-T02
status: done
priority: high
state_hub_task_id: "5830bb1a-27b7-4eed-b09f-75ba8cc9f7f1"
state_hub_task_id: "649a60b1-e8a7-59f5-9164-24c57290e163"
```
Add an additive migration (0006) for `chain_hash` (and `chain_prev` if
@ -124,7 +124,7 @@ write the next link under a lock. Conformance + `tests/test_integrity.py`.
id: AUDIT-WP-0007-T03
status: done
priority: high
state_hub_task_id: "fee1f93c-dcac-4fc3-9e41-17bb4436e8d6"
state_hub_task_id: "71b7faeb-1f70-5162-8ce1-3c3bbe849db1"
```
- CLI: `python -m audit_core verify-chain` (or equivalent) exits 0
@ -148,7 +148,7 @@ test and Postgres superuser rewrite test both fail verify.
id: AUDIT-WP-0007-T04
status: done
priority: medium
state_hub_task_id: "b6d03d6a-0605-4982-a9a3-e18c89319ba9"
state_hub_task_id: "3b4d6b4e-1f72-5bc7-bf24-ca344caceaf6"
```
Publish `{chain_hash, event_id, accepted_at, event_count, observed_at}`
@ -179,7 +179,7 @@ RESOURCE-WP-0002-T06 logical-offsite.
id: AUDIT-WP-0007-T05
status: done
priority: medium
state_hub_task_id: "9fd70d3c-5a64-4b26-967f-4ef45394d81c"
state_hub_task_id: "f98fe8c8-637e-5e7d-bc3a-b2bedfc7525b"
```
After T03 and T04: