fix(workplans): adopt ADR-007 derived identifiers for unregistered records
Some checks failed
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / pytest-smoke (push) Failing after 2s

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:08:34 +02:00
parent 0861e51c94
commit 60b785fa9d
2 changed files with 13 additions and 13 deletions

View file

@ -9,7 +9,7 @@ owner: codex
topic_slug: infotech
created: "2026-07-09"
updated: "2026-07-11"
state_hub_workstream_id: "75d9f8fd-088a-4634-bf05-9c20ecfd37ae"
state_hub_workstream_id: "7e93e16d-8057-5ae9-a0bd-d54fda9e089b"
---
# Hub-core adoption and ecosystem integration
@ -27,7 +27,7 @@ utilities while keeping framework models in `core_hub`.
id: CORE-WP-0009-T01
status: done
priority: high
state_hub_task_id: "5a9f1594-e3f1-4a53-a78a-2e4bbf4b9ee1"
state_hub_task_id: "590f4fc6-e4ef-5b9d-a004-99bbe67936b8"
```
Add `hub-core` to `pyproject.toml` with `[tool.uv.sources]` path dependency.
@ -40,7 +40,7 @@ Done 2026-07-09: dependency and uv source added.
id: CORE-WP-0009-T02
status: done
priority: high
state_hub_task_id: "1f3827b3-e2e6-4d99-88c6-a83361f579c7"
state_hub_task_id: "521fb6d4-777e-5aaa-bcd5-92e4739e8ab6"
```
Import `slugify_or_default` from `hub_core.utils.slugs` in `api/v2.py`; remove
@ -54,7 +54,7 @@ Done 2026-07-09: `api/v2.py` uses hub-core util.
id: CORE-WP-0009-T03
status: done
priority: high
state_hub_task_id: "00d83bfe-cb31-4111-be12-afe9e94e88b2"
state_hub_task_id: "3f285b65-141c-50db-9675-e50548a58dfa"
```
Add `tests/test_hub_core_imports.py` proving hub-core utils import and version pin.
@ -67,7 +67,7 @@ Done 2026-07-09: test added.
id: CORE-WP-0009-T04
status: done
priority: medium
state_hub_task_id: "1d1735ca-4f9b-4c1a-bcbd-c1697e434a77"
state_hub_task_id: "c218d96b-7f70-59ba-8636-2ce306b8480c"
```
Link `docs/specs/core-hub-architecture.md` boundary section to
@ -81,7 +81,7 @@ Done 2026-07-09: architecture spec updated.
id: CORE-WP-0009-T05
status: done
priority: low
state_hub_task_id: "b2e9ebcd-7bfe-4838-8f93-85fe5afbb155"
state_hub_task_id: "bb373c54-19d9-504a-ab3c-0bca551bf013"
```
Assess `hub_core.utils.pagination` for `/api/v2` list endpoints that grow beyond
@ -97,7 +97,7 @@ Sync pagination in hub-core targets async SQLAlchemy when triggered.
id: CORE-WP-0009-T06
status: done
priority: medium
state_hub_task_id: "f4c95bdb-6743-4abd-adbf-65f9cfc68bdf"
state_hub_task_id: "b4a90aee-7ace-58a5-ad9b-5bb4c54997b4"
```
Ensure Forgejo CI installs hub-core from build context or path dep before

View file

@ -16,7 +16,7 @@ related:
- CORE-WP-0011
- HUB-WP-0004
- SHR-ARCH-HUB-0001
state_hub_workstream_id: "f5a90aa2-e63f-4f94-b052-8be0d0ee55ea"
state_hub_workstream_id: "9cc1abf3-2ab0-54a4-a250-83f382a49441"
---
# Runtime absorption into hub-core and archive
@ -69,7 +69,7 @@ not reasons to reopen the architecture decision.
id: CORE-WP-0010-T01
status: done
priority: high
state_hub_task_id: "ce21c47f-ad66-4cd1-bd8b-c8fb92da3075"
state_hub_task_id: "2fc63743-20f4-5794-9b9e-c931eb02904d"
```
List routes, models, widgets, manifests, consumer smokes, and deploy assets that
@ -86,7 +86,7 @@ and move constraints.
id: CORE-WP-0010-T02
status: done
priority: high
state_hub_task_id: "d2679b41-01e9-477c-9d8a-0b1ddc8847cf"
state_hub_task_id: "0c1f1c20-54e5-5982-b72a-357292a37190"
```
Define how hub-core serves equivalent `/api/v2` (or compatible gateway) while
@ -104,7 +104,7 @@ aligned with hub-core's accepted canonical plan; `HUB-WP-0004-T06` is done.
id: CORE-WP-0010-T03
status: done
priority: high
state_hub_task_id: "c01ddec1-5737-4115-ac73-c402ffb5bdc5"
state_hub_task_id: "cb0971b7-fca8-5048-b8db-9efedd37d280"
```
Migrate in slices with consumer smokes (ops-hub, activity-core) after each.
@ -125,7 +125,7 @@ activity-core consumer gates passed before and after rollback recovery.
id: CORE-WP-0010-T04
status: done
priority: high
state_hub_task_id: "dc414053-a896-4bf0-af05-944b7a7cf750"
state_hub_task_id: "49bc4782-365f-5f6b-ac20-03690be57176"
```
With operator approval, point production at hub-core runtime; verify consumer
@ -145,7 +145,7 @@ Evidence is recorded in
id: CORE-WP-0010-T05
status: progress
priority: medium
state_hub_task_id: "16525001-f85e-4dae-9dc4-d36cb1eb4fbe"
state_hub_task_id: "6e67fd41-3f52-5085-85b6-1661c322e290"
```
Write completion record (revisions, PRs, residual owners), set read-only archive