Normalize agent instructions and workplan frontmatter (STATE-WP-0067)
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled

- 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:27 +02:00
parent 3e2cdef9b5
commit 2ff9263f9c
11 changed files with 53 additions and 34 deletions

View File

@@ -2,7 +2,7 @@
id: LLM-WP-0006
type: workplan
title: "Activity-Core Always-On LLM Endpoint"
domain: custodian
domain: agents
repo: llm-connect
status: finished
owner: codex

View File

@@ -2,7 +2,7 @@
id: LLM-WP-0001
type: workplan
title: llm-connect — Foundation & GAAF Baseline
domain: custodian
domain: agents
status: completed
owner: llm-connect
created: 2026-04-01

View File

@@ -2,7 +2,7 @@
id: LLM-WP-0002
type: workplan
title: llm-connect — Core Extensions (FR-4 BudgetTracker + FR-3 async)
domain: custodian
domain: agents
status: completed
owner: llm-connect
created: 2026-04-01

View File

@@ -2,7 +2,7 @@
id: LLM-WP-0003
type: workplan
title: llm-connect — Functional Extensions (FR-2 RoutingPolicy + FR-1 HTTP server)
domain: custodian
domain: agents
status: completed
owner: llm-connect
created: 2026-04-01

View File

@@ -2,7 +2,7 @@
id: LLM-WP-0004
type: workplan
title: Adaptive Cost-Quality Routing
domain: custodian
domain: agents
status: completed
owner: llm-connect
created: 2026-05-17
@@ -264,7 +264,8 @@ state_hub_task_id: "3a073ff7-0170-4a95-9c2a-a5daa84964e6"
### T01 — Quality observation data model + ledger
| ID | Title | Priority | Status |
|-----|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|--------|
|-----|------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------------------|----------|--------|
| T01 | `QualityObservation` dataclass: `task_type`, `adapter_id`, `model_id`, `cost_usd`, `quality_score` (0..1), `latency_ms`, `tokens_in`, `tokens_out`, `baseline_adapter_id`, `recorded_at`, `tags` | high | done |
| T02 | `QualityLedger` append-only JSONL store with file-locked writes, configurable path, simple query helpers (`by_task_type`, `recent`, `mean_quality`) | high | done |
| T03 | TTL helpers: `prune_before(timestamp)` and `is_stale(observation, max_age)` so callers can refresh observations without re-reading the whole ledger | medium | done |

View File

@@ -2,7 +2,7 @@
id: LLM-WP-0005
type: workplan
title: "Cost Model and Problem-Class Token Estimators"
domain: custodian
domain: agents
repo: llm-connect
status: finished
owner: llm-connect