IU Core 500x — 07 Next macro package
07 — Next macro package
State at handoff
- Commit
cd07c2e(code) +5edd132(KB) onmain(parentf1349b3). 879 tests. - Production
directusDB: migrations 001–017 + the runtime layer through270— DOT 106/106, D8 drift 0. information_unit160 (2 added by runtime/270).iu_piece_collection2 (the 240x pilot + the 500x composed-from-scratch file).- Composer event family live on the
'delayed'lane; 4 durable composer events, all dry-run-delivered, 0 sent, 0 dead-lettered. - Operator surface
dot_commands.py— 17 commands. - All gates inert/closed except the master gate (controlled emission) and the route worker (dry-run only).
No blocker
Every approved branch of this macro completed durably. There is no carried production-apply gap.
Open gaps carried forward
- First integrated production auto-cut run — drive a real orchestrator
CutResultthroughbuild_autocut_compose_approval_package→map_cut_to_compose_request→fn_iu_composedurably, with the composer event family observing it on the bus. The bridge (480x doc 04) is the contract; the composer is now fully event-wired and production-applied. - External delivery gate — every composer route is
dry_run=true. Adry_run=falsedelivery into the internalfn_iu_route_deliverseam is a separate sovereign macro. - Text-as-code controlled import/apply —
propose_collection_importis fail-closed; a real durable importer (parse → propose → gated apply) is a separate macro.IMPORT_IS_DESTRUCTIVEstaysFalse. - Content-copying clone —
dot_iu_clone_pieceresolves to thefn_iu_createbirth gate; a clone that copies the source's content automatically needs a content-layer read path (content_anchor_ref). - Axis-B inferred lane — still 0 inferred rows; needs a deterministic classifier (carried from 120x/240x).
- UI / Directus / Nuxt surface —
v_iu_composer_event_backlog/v_iu_collection_export_status/v_iu_collection_manifestare ready to power a composition-observability + file-builder UI;dot_commands.pyis the command vocabulary that UI would call. - Qdrant / vector sync — the
iu-tree/manifests remain natural deterministic vector-index units.
Recommended next macro
IU_CORE_960X_INTEGRATED_AUTOCUT_AND_OPERATOR_RUNTIME — combine gap #1
(the first integrated production auto-cut → composer run) with an operator
runtime slice: a thin executor that takes a dot_commands.DotCommandPlan
and runs it against the production DB under the existing gates (turning the
explain-only surface into a guarded run), plus the durable
v_dot_iu_command_registry view so the operator surface is itself
DOT-visible in SQL. Both halves are additive, reversible, and build directly
on this macro's applied substrate.
Alternatives if a smaller slice is preferred: the text-as-code controlled importer (gap #3) or the axis-B inference pass (gap #5) — both repo-side, no production mutation.
Verification gate before 960x
960x should start only after GPT/User has verified, via AgentData
list_documents + search_knowledge, that this macro's 7 reports are
present and searchable, and that production reports DOT 106/106.