state-hub/workplans/ADHOC-2026-08-08.md
tegwick 4f68c5609f
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
fix(workplans): qualify ad-hoc identifiers with the repository prefix
`ADHOC-YYYY-MM-DD` is unique per date but not per repository, so any two repos
opening an ad-hoc on the same day collide. The 2026-08-26 fleet projection
reset refused 9 records for exactly this reason.

Canon (work-record-types_v0.1, CUST-WP-0066) settled the form as
`{PREFIX}-WP-ADHOC-YYYY-MM-DD`, filename unchanged, and grandfathered existing
ids on the condition they are never *silently* re-derived. This is the explicit
migration that clause allows for.

The hub id is derived from the record id, so a changed id is a different
record: stale state_hub_*_id fields are dropped and fix-consistency re-derives.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-28 00:28:24 +02:00

60 lines
1.5 KiB
Markdown

---
id: STATE-WP-ADHOC-2026-08-08
type: workplan
title: "Ad hoc fixes — 2026-08-08"
domain: infotech
repo: state-hub
status: finished
owner: codex
topic_slug: state-hub
created: "2026-08-08"
updated: "2026-08-08"
---
## Integrate State Hub connectivity into Codex setup
```task
id: STATE-WP-ADHOC-2026-08-08-T01
status: done
priority: medium
```
Add an idempotent Codex configuration step to the operator bootstrap, verify
State Hub loopback access from the Codex sandbox, distinguish managed-policy
isolation from an actual hub outage, and propagate accurate agent guidance.
## Repair Codex stdio MCP launcher
```task
id: STATE-WP-ADHOC-2026-08-08-T02
status: done
priority: high
```
Remove the stdio MCP launcher's runtime dependency on the read-only global uv
cache, execute the repository virtual environment directly, and verify an MCP
initialize exchange through the registered launcher.
## Split a slim Codex MCP surface from full dev-hub administration
```task
id: STATE-WP-ADHOC-2026-08-08-T03
status: done
priority: high
```
Limit Codex registration to essential repository coordination tools while
leaving the full State Hub MCP server and SSE transport available to clients
that need the administrative surface.
## Make Codex MCP opt-in
```task
id: STATE-WP-ADHOC-2026-08-08-T04
status: done
priority: high
```
Remove the default Codex dev-hub registration after bridge-level latency and
startup interruption persisted, retain the slim server for explicit testing,
and make REST plus the statehub CLI the documented Codex default.