KB-7602

IU Core 500x — 07 Next macro package

4 min read Revision 1
dieu44iu-core-mvp500xnext-macrointegrated-autocutoperator-runtimev0.62026-05-22

07 — Next macro package

State at handoff

  • Commit cd07c2e (code) + 5edd132 (KB) on main (parent f1349b3). 879 tests.
  • Production directus DB: migrations 001–017 + the runtime layer through 270DOT 106/106, D8 drift 0.
  • information_unit 160 (2 added by runtime/270). iu_piece_collection 2 (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

  1. First integrated production auto-cut run — drive a real orchestrator CutResult through build_autocut_compose_approval_packagemap_cut_to_compose_requestfn_iu_compose durably, 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.
  2. External delivery gate — every composer route is dry_run=true. A dry_run=false delivery into the internal fn_iu_route_deliver seam is a separate sovereign macro.
  3. Text-as-code controlled import/applypropose_collection_import is fail-closed; a real durable importer (parse → propose → gated apply) is a separate macro. IMPORT_IS_DESTRUCTIVE stays False.
  4. Content-copying clonedot_iu_clone_piece resolves to the fn_iu_create birth gate; a clone that copies the source's content automatically needs a content-layer read path (content_anchor_ref).
  5. Axis-B inferred lane — still 0 inferred rows; needs a deterministic classifier (carried from 120x/240x).
  6. UI / Directus / Nuxt surfacev_iu_composer_event_backlog / v_iu_collection_export_status / v_iu_collection_manifest are ready to power a composition-observability + file-builder UI; dot_commands.py is the command vocabulary that UI would call.
  7. Qdrant / vector sync — the iu-tree/ manifests remain natural deterministic vector-index units.

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.

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-500x-dot-one-command-composer-production-closeout-open-goal/07-next-macro-package.md