Normalize agent instructions and workplan frontmatter (STATE-WP-0067)

- Align agent files with on-disk workplan prefixes (infer from workplan ids)
- Set workplan domain to registered domain_slug; add topic_slug where applicable
- Repair frontmatter delimiter formatting; migrate legacy task status literals
- Regenerate AGENTS.md, CLAUDE.md, and .claude/rules from State Hub templates
This commit is contained in:
2026-06-22 23:16:24 +02:00
parent 80b4284836
commit 943eef490e
21 changed files with 657 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
id: CE-WP-0001
type: workplan
title: "Foundations — TS scaffold, folder layout, lint boundaries, normalization, fixtures"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp
@@ -16,8 +16,7 @@ spec_refs:
- wiki/ProductRequirementsDocument.md
- wiki/ArchitectureOverview.md
- wiki/SharedContracts.md
- wiki/DependencyMap.md
---
- wiki/DependencyMap.md---
# CE-WP-0001 — Foundations
@@ -48,7 +47,6 @@ T01 (toolchain decision + package.json)
└─ T06 (README upgrade + dev workflow doc)
└─ T07 (write the six pending ADRs as stubs)
```
---
## T01 — Toolchain + package.json + tsconfig
@@ -124,7 +122,8 @@ Install `eslint-plugin-boundaries` (or equivalent) and configure rules per
`wiki/DependencyMap.md` §4:
| Folder | May import from |
|--------------|--------------------------------------------------|
|--------------|------------------------------------
--------------|
| `shared/` | (nothing internal) |
| `engine/` | `shared/` |
| `anchor/` | `shared/`, `engine/` |

View File

@@ -2,7 +2,7 @@
id: CE-WP-0002
type: workplan
title: "PDF review slice — engine types, anchor, source, viewer, sidebar, click-to-reopen"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp
@@ -16,8 +16,7 @@ depends_on_workplan: CE-WP-0001
spec_refs:
- wiki/ProductRequirementsDocument.md
- wiki/ArchitectureOverview.md
- wiki/SharedContracts.md
---
- wiki/SharedContracts.md---
# CE-WP-0002 — PDF Review Slice
@@ -55,7 +54,6 @@ T01 (engine types: Document, Representation, Annotation, Selector, EvidenceItem)
└─ T08 (click-to-reopen flow)
└─ T09 (end-to-end test of PRD scenario steps 1-4)
```
---
## T01 — Engine types in `src/shared/`

View File

@@ -2,7 +2,7 @@
id: CE-WP-0003
type: workplan
title: "Form binding + visual guide — EvidenceLink, rect registry, SVG overlay"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp
@@ -16,8 +16,7 @@ depends_on_workplan: CE-WP-0002
spec_refs:
- wiki/ProductRequirementsDocument.md
- wiki/ArchitectureOverview.md
- wiki/SharedContracts.md
---
- wiki/SharedContracts.md---
# CE-WP-0003 — Form Binding + Visual Guide
@@ -49,7 +48,6 @@ T01 (EvidenceLink + EvidenceSet types + relation/status enums)
└─ T07 (SVG visual guide overlay)
└─ T08 (E2E test of PRD scenario steps 5-9)
```
---
## T01 — `EvidenceLink` + `EvidenceSet` types

View File

@@ -2,7 +2,7 @@
id: CE-WP-0004
type: workplan
title: "Citation card export — Markdown and HTML renderers, sidebar export"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp
@@ -16,8 +16,7 @@ depends_on_workplan: CE-WP-0002
spec_refs:
- wiki/ProductRequirementsDocument.md
- wiki/ArchitectureOverview.md
- wiki/SharedContracts.md
---
- wiki/SharedContracts.md---
# CE-WP-0004 — Citation Card Export
@@ -43,7 +42,6 @@ T01 (CitationCard type + open-context URL convention)
└─ T04 (sidebar Export button + copy-to-clipboard)
└─ T05 (E2E test of PRD scenario step 10)
```
---
## T01 — `CitationCard` type + open-context URL convention

View File

@@ -2,7 +2,7 @@
id: CE-WP-0005
type: workplan
title: "Demo app — Named sessions, document uploads, ZIP export/import"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp
@@ -16,8 +16,7 @@ depends_on_workplan: CE-WP-0004
spec_refs:
- wiki/ProductRequirementsDocument.md
- wiki/ArchitectureOverview.md
- wiki/SharedContracts.md
---
- wiki/SharedContracts.md---
# CE-WP-0005 — Demo App: Sessions + Uploads + ZIP Archive
@@ -74,7 +73,6 @@ T05 (ADR-0008 + SessionArchive schema)
T03 and T04 can land in either order once T01+T02 are done. T06 and T07
can be parallelised within T05.
---
## T01 — Session model + service + per-session engine snapshots

View File

@@ -2,7 +2,7 @@
id: CE-WP-0006
type: workplan
title: "Forms & review UX refinements — blob stability, scroll-center, linking, visual guide"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp

View File

@@ -2,7 +2,7 @@
id: CE-WP-0007
type: workplan
title: "Capture view polish — scroll stability, linking UX, layout, rename"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp

View File

@@ -2,7 +2,7 @@
id: CE-WP-0008
type: workplan
title: "Capture content editing & viewport scroll reliability"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp

View File

@@ -2,7 +2,7 @@
id: CE-WP-0009
type: workplan
title: "Wire umbrella to @citation-evidence/engine package"
domain: citation_evidence
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp