state-hub/workplans/ADHOC-2026-07-01.md

44 lines
1.2 KiB
Markdown
Raw Normal View History

2026-07-02 00:15:16 +02:00
---
id: STATE-WP-ADHOC-2026-07-01
2026-07-02 00:15:16 +02:00
type: workplan
title: "Ad hoc fixes - 2026-07-01"
domain: infotech
repo: state-hub
status: finished
owner: codex
topic_slug: custodian
created: "2026-07-01"
updated: "2026-07-01"
state_hub_workstream_id: "61e04529-bc2a-50b7-815a-f09a4733eb92"
2026-07-02 00:15:16 +02:00
---
# Ad hoc fixes - 2026-07-01
## Add Local State Hub Consistency CLI
```task
id: STATE-WP-ADHOC-2026-07-01-T01
2026-07-02 00:15:16 +02:00
status: done
priority: medium
state_hub_task_id: "a7e2fb28-ee88-511f-8ed6-ebcd9f778094"
2026-07-02 00:15:16 +02:00
```
Add `statehub fix-consistency` so agents can reconcile ADR-001 workplan files
from the attached repo checkout instead of asking the operator to run
`make fix-consistency REPO=<slug>` inside the State Hub repo. Update generated
agent instructions to make the CLI sync a normal agent close-out step.
## Clear Closed-Workstream C-12 Orphan Warnings
```task
id: STATE-WP-ADHOC-2026-07-01-T02
2026-07-02 00:15:16 +02:00
status: done
priority: medium
state_hub_task_id: "b33205fc-135a-53ac-83db-c1697a9476e8"
2026-07-02 00:15:16 +02:00
```
Treat terminal DB-only tasks in closed workstreams as non-actionable historical
cache rows in the consistency checker. Open orphan tasks in closed workstreams
remain fixable and are still auto-canceled, but already-terminal duplicates no
longer leave permanent C-12 warnings.