KB-3E9B rev 2
IU Core 5000x-live · Live UI + Ops + Real Corpus Pilot — Final Report
5 min read Revision 2
iu-core5000x-livemacrofinal-reportdieu44trien-khaihygiene-repaired-by-6000x
IU Core 5000x-live — Live UI + Ops automation + Real-Corpus Pilot — Final Report
Hygiene note (6000x): This report and its 5 siblings were originally uploaded under the path
v0.6-iu-core-5000x-live-ui-ops-real-corpus-pilot-open-goal/with titles/tags labelled "5500x". The 6000x macro repaired the path/title/tag mismatch by renormalising titles + tags to "5000x-live" (matching the path). Content is preserved verbatim except for this banner and renamed self-references; the underlying verdict and evidence are unchanged.
Verdict: IU_CORE_5000X_LIVE_UI_OPS_REAL_CORPUS_PASS
Date: 2026-05-23
Repo: /Users/nmhuyen/iu-cutter-build/repo/iu-cutter @ commit 20af56e (parent 3ae4c62)
Branch: main
No mutation this macro — read-only verification + dry-run + KB packaging only.
Baseline (verified live)
- Migrations 001–025 applied (live)
- DOT 144/144 (table 23, view 23, fn 52, trg 5, config 10, event_type 15, route 16) — confirmed via live healthcheck pass
- Tests 1163 / 1163 PASS in 0.72s
- Live healthcheck 7/7 GREEN (overall_ok=true)
three_axis_cache— in_sync, 163 rows table = 163 rows viewdirectus_collection— 163 rows / 1 read-permissionqdrant_collection—iu_core_iu_chunks61 indexed sync_pointsauto_refresh_trigger— gate=false, fires_24h=3, errors_24h=0vector_boundary— 61 pts / 60 unique units (per-IU OK)write_gates— all 6 inert (composer/delivery/operator_runtime/structure_ops/three_axis_auto_refresh/vector_sync)operator_runtime— open_runs=0, failed_24h=0, active_leases=0
Objectives — verdict matrix
| # | Objective | Verdict | Detail |
|---|---|---|---|
| 1 | Verify 5000x baseline | PASS | tests 1163, healthcheck 7/7, all gates inert |
| 2 | Nuxt factory deploy | DONE_WITH_EXTERNAL_BLOCKER | Artifact digest 413143da… reproducible & deploy-ready; live deploy owned by Frontend/DevOps via Huyen1974/web-test.git pipeline; build chain on host (pnpm install + pnpm run build ~3-5 min) — see 02-nuxt-deploy-package.md |
| 3 | Ops automation healthcheck cron | DONE_WITH_EXTERNAL_BLOCKER | Cron snippet + run script staged; VPS-side install needs 5000x iu-cutter staging refresh (VPS has v0.4 era) OR host-cron (unstable laptop) — see 03-ops-automation-package.md |
| 4 | Retention policy evaluation | PASS | Dry-run via fn_iu_core_retention_cleanup returned 3 policies, 0 eligible rows across all (corpus too fresh). Gate iu_core.retention_enabled stays false (no value flipping without scheduled cron) — see 04-retention-dry-run.md |
| 5 | Real corpus pilot | PASS | DIEU-35 (36 IU, max depth 2) selected; PG envelope queryable; subtree projection 8 IU via fn_iu_subtree; axis_b_tags dict-shape validated {unit_kind,section_type,legal_document} (5000x factory flattenAxisBTags defect-fix confirmed against real data) — see 05-real-corpus-pilot.md |
| 6 | Final rollout matrix + reports | PASS | This package uploaded to AgentData |
Forbidden actions — confirmed NOT taken
- No live Nuxt repo mutation (factory artifact only, no copy/build/restart)
- No broad service restart; no restart of any container (not even
incomex-nuxt) - No PG access from Nuxt; no direct PG access bypass
- No hardcoded IU collection (env-driven
IU_CORE_DIRECTUS_COLLECTION) - No destructive vector reindex; no cross-IU vector; vector boundary 61/60 unchanged
- No uncontrolled CUT; no production CUT; no text-as-code destructive import
- No destructive retention cleanup (dry-run only; gate stays false)
- No secret logging; no Bearer/api-key emitted
- No push / no merge / no tag / no fake PASS
- No cron install (additive but live shared-infra mutation deferred)
- No retention gate flip (deferred to dedicated macro with cron pairing)
What changed durably
Nothing. This macro is a verification + packaging macro.
State after macro
- Tests still 1163/1163; healthcheck still 7/7; gates still 6/6 inert.
- AgentData: 6 reports uploaded under
knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-5000x-live-ui-ops-real-corpus-pilot-open-goal/.
Next-macro options (operator chooses)
- 5600x Nuxt factory live deploy — frontend/DevOps PR + build + restart
incomex-nuxtonly. - 5700x healthcheck cron + retention enable — pair the cron install with retention gate flip + first scheduled cleanup run.
- 5800x DIEU-35/28/32 Qdrant onboarding — bounded vector reindex of the real-law corpus under per-IU boundary (gate-cycled vector_sync).