KB-6FF1
IU Core 60x Delivery/Non-reparent — 08 Next macro package
4 min read Revision 1
dieu44iu-core-mvp60xnext-macronon-reparent-rolloutv0.62026-05-22
08 — Next Macro Package
State at handoff
- Commit
8a450a7onmain(parent4b0d6f5); KB commit follows. 712 tests. - Migrations 001–013 + runtime
010–050/060/090/120/140/160/170/180/190/200on production. iu_structure_operation46 (45 reparent + 1 deprecate, all enacted);event_outboxiu 45;iu_route_attempt45 (44 dry_run + 1 sent);iu_tree_change_log1;iu_route_dead_letter0.- 158 IUs — 1 now
deprecated(pilot.iu0.test-001). - DOT 60/60, no-hardcode clean, five-layer classified.
- Delivery seam built + proven + INERT (
iu_core.delivery_enabled=false,iu_core.delivery_live_routes=''). Structure-op gate closed.
Open gaps (exact)
- Broader non-reparent rollout — only ONE
deprecate_pieceis durably enacted. 11 more stalepilot.*/test/*scratch IUs remain genuinedeprecate_piececandidates;split/merge/replacehave no real-content case yet (they need a genuine source, not a synthetic one). - Durable worker dry-run for the non-reparent family — the
structure_piece_deprecatedevent was delivered (sent), not dry-run'd; the five non-reparent routes have no durabledry_runattempt. (sandbox/080D7 proves the dry-run path; no durable non-reparentdry_runrow exists.) - Route-table durable live delivery — every
iu_outbound_routerow is stilldry_run=true; thedry_run=falseproof repointed + restored the route within one transaction. A route durablyenabled+dry_run=false(the trigger guard now permits it for an allowlisted route) is unproven. PgStructureStorelive psycopg run — proven over a fake connection + the SQL substrate is DB-proven (sandbox/080D8); a real psycopg-backed run against production is still unproven.- Auto-cut first integrated production run — the bridge → structure-op →
event → delivery chain is proven
BEGIN…ROLLBACK; no durable auto-cut run. (null)-doc IUs — 11 stale pilot/test scratch + 60 frozen enacted IUs; no encoded hierarchy.
Recommended next macro
IU_CORE_NONREPARENT_ROLLOUT_AND_DURABLE_DELIVERY
Lowest-blast-radius first:
- Durable non-reparent batch — deprecate the remaining 11 stale
pilot.*/test/*scratch IUs in one sovereign-approved bounded batch (discovery-driven, the exactruntime/210pattern), then run the worker dry-run on theirstructure_piece_deprecatedevents. Closes gaps #1 + #2 with the smallest footprint. - Durable live delivery route — allowlist one structure route durably
(
iu_core.delivery_live_routes) and run the worker live so a route sitsenabled+dry_run=falsedurably, then disable. Closes gap #3. PgStructureStorelive run — a gated, dry-run-safe psycopg-backed run against production (closes gap #4).
Alternatives
- Auto-cut first integrated production run — drive a real orchestrator
CutResultthroughAutocutBridge → PgStructureStore → fn_iu_structure_op_*durably (still gated, no production CUT). The chain is provenBEGIN…ROLLBACK. - Real downstream delivery — extend
fn_iu_route_deliverpast the internalsql_functionconsumer to a real downstream target. Strictly larger blast radius — a separate sovereign macro. - Text-as-code layer kickoff — begin the IU-content-as-code layer on the now tree + structure-op + delivery substrate.
Recommended first: the durable deprecate_piece micro-batch for the remaining
11 scratch IUs — same proven pattern, smallest safe step from "one durable
non-reparent op" to "the non-reparent family in routine durable use".