feat(classification-spine): implement STATE-WP-0065 repo-anchored model

Replace the ad-hoc coordination-domain spine with the Repo Classification
Standard: 14 market domains, classification columns on managed_repos, and
workplans anchored by repo_id (topic_id optional).

- Add Alembic migration d8e9f0a1b2c3 with data backfill and workstream→workplan rename
- Add api/classification.py validation and register-from-classification tooling
- Expose workplan-first REST/MCP surface with legacy workstream aliases
- Add C-24 consistency rule and legacy domain frontmatter mapping
- Update dashboard repos page with category/capability/stake filters
- Update orientation docs; mark STATE-WP-0065 finished
This commit is contained in:
2026-06-22 13:52:13 +02:00
parent 279be4ffbd
commit 0949d4c0d8
84 changed files with 4494 additions and 1111 deletions

View File

@@ -4,11 +4,13 @@ type: workplan
title: "Repo-anchored classification spine (CUST-WP-0050 implementation)"
domain: custodian
repo: state-hub
status: ready
status: finished
owner: custodian
topic_slug: custodian
created: "2026-06-22"
updated: "2026-06-22"
started: "2026-06-22"
finished: "2026-06-22"
state_hub_workstream_id: "8dc7d106-11e2-41df-b512-89ed69d2a65f"
---
@@ -47,7 +49,7 @@ repo-owned files (ADR-001).
```task
id: STATE-WP-0065-T01
status: todo
status: done
priority: high
state_hub_task_id: "14cf65f1-e5af-4905-8de4-bc8986ef078e"
```
@@ -82,7 +84,7 @@ dry-run report is reviewed, and a tested downgrade path exists.
```task
id: STATE-WP-0065-T02
status: todo
status: done
priority: high
state_hub_task_id: "d3afcae1-d47e-42f1-bad8-1de4bd1f126a"
```
@@ -103,7 +105,7 @@ are green.
```task
id: STATE-WP-0065-T03
status: todo
status: done
priority: high
state_hub_task_id: "bab90f0c-238e-4f43-b34c-a8cdd8faf0e6"
```
@@ -122,7 +124,7 @@ emits a report of registered / updated / skipped / invalid.
```task
id: STATE-WP-0065-T04
status: todo
status: done
priority: medium
state_hub_task_id: "67c54009-823d-466b-beaf-f27351c279f4"
```