feat(terminology): prose sweep tool and custodian workplan cleanup (CUST-WP-0055 T04)
Add sweep_workstream_prose.py for agent-guidance files, sweep active workplan prose in-repo, tighten scan allowlist exclusions, and update ADR-001 closure protocol to workplan-first terminology.
This commit is contained in:
parent
3bdefb3c4a
commit
2e0deee2ef
42 changed files with 312 additions and 186 deletions
|
|
@ -75,10 +75,10 @@ the Hub's current 14 coordination domains. Per the steering decision on
|
|||
2026-06-22, the new market-domain vocabulary **replaces** the Hub's domain model
|
||||
(rather than augmenting it or running a parallel two-axis model).
|
||||
|
||||
The current spine is `Domain → Topic → Workstream`, where `topics.domain_id` and
|
||||
`workstreams.topic_id` are both **NOT NULL** and the 14 domains are seeded **1:1
|
||||
The current spine is `Domain → Topic → Workplan`, where `topics.domain_id` and
|
||||
`workplans.topic_id` are both **NOT NULL** and the 14 domains are seeded **1:1
|
||||
with 14 topics** (a data convention — the schema actually allows many topics per
|
||||
domain, but that has never been used). `workstreams.repo_id` and
|
||||
domain, but that has never been used). `workplans.repo_id` and
|
||||
`repo_goals.repo_id` already exist, but the *required* anchor is the soft,
|
||||
hub-only `topic`, while the stable git-managed `repo` link is optional.
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ Per the 2026-06-22 steering decision, this redesign **flips the polarity**: the
|
|||
**derived** from the repo's `.repo-classification.yaml`, not stored as a separate
|
||||
`topic`/`domain` parent. Concretely:
|
||||
|
||||
- `workstreams.repo_id` becomes the **required** anchor; `topic_id` is demoted to
|
||||
- `workplans.repo_id` becomes the **required** anchor; `topic_id` is demoted to
|
||||
optional (or `topic` is retired) — see T10.
|
||||
- Market-domain is computed from `repo → classification.domain`; the standalone
|
||||
`topics.domain_id` / `managed_repos.domain_id` spine is removed.
|
||||
|
|
@ -124,7 +124,7 @@ In scope (added 2026-06-22):
|
|||
|
||||
- Re-anchor workplans to repos (`repo_id` required, `topic` optional/retired) and
|
||||
derive market-domain from classification (T04/T10).
|
||||
- Rename `workstream → workplan` across schema, API, and MCP so the Hub
|
||||
- Rename `workplan → workplan` across schema, API, and MCP so the Hub
|
||||
vocabulary matches the repo files and current usage (T10).
|
||||
|
||||
Out of scope:
|
||||
|
|
@ -231,7 +231,7 @@ custodian fixtures (T02) plus T01 are sufficient to build and prove the redesign
|
|||
Per this plan's repo boundary and the 2026-06-22 decision, the implementation of
|
||||
the State Hub redesign now lives in a **state-hub-local workplan**:
|
||||
`state-hub/workplans/STATE-WP-0065-repo-anchored-classification-spine.md`
|
||||
(workstream `8dc7d106-11e2-41df-b512-89ed69d2a65f`). CUST-WP-0050 remains the
|
||||
(workplan `8dc7d106-11e2-41df-b512-89ed69d2a65f`). CUST-WP-0050 remains the
|
||||
**coordination driver** (canon standard, decisions D1/D1a, ADR-005). The original
|
||||
implementation tasks below are **cancelled here** (re-homed, not abandoned); the
|
||||
efficient regrouping merges the three spine-rewriting tasks into one migration:
|
||||
|
|
@ -298,7 +298,7 @@ status: cancel
|
|||
priority: high
|
||||
state_hub_task_id: "bee16416-a67f-4155-93d7-09f278daa04f"
|
||||
```
|
||||
Re-homed → STATE-WP-0065 P1 (re-anchor `repo_id` required + `workstream → workplan` rename, merged into the spine migration).
|
||||
Re-homed → STATE-WP-0065 P1 (re-anchor `repo_id` required + `workplan → workplan` rename, merged into the spine migration).
|
||||
|
||||
### Phase 4 (custodian) — Post-cutover inventory
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue