KB-1E2D
6000x — Macro · scope · authority gates · constitutional rules
4 min read Revision 1
iu-core6000xmacroauthority-gatesauthor-modedieu44
See full content in repo at knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-6000x-live-deploy-ops-retention-real-pilot-open-goal/01-macro-and-gates.md
This is the AgentData copy. Repo commit: 4fb380e.
6000x — Macro · scope · gates · author-mode rules
Macro: IU_CORE_6000X_LIVE_DEPLOY_OPS_RETENTION_REAL_PILOT_CLOSEOUT
Date: 2026-05-23
Repo HEAD before macro: 20af56e (5000x).
Authority gates (declared by user before execution):
| Branch | Approved? | Effect on macro |
|---|---|---|
| Auto-refresh prod gate-true approved | YES | Allowed to open iu_core.three_axis_auto_refresh_enabled=true inside a controlled pilot, fire one real event, close gate. |
| Nuxt deploy authority | NO | Frontend/DevOps owns Huyen1974/web-test.git pipeline. Author-mode PR package only. |
| VPS sudo/systemd authority | NO | Cron/timer install package authored; not installed. |
| Retention prod enable | NO | Dry-run + package only. Gate stays false. |
Focus mode: "Full author-mode — produce PR + deploy script + cron package."
Constitutional gates (enforced)
- No hardcode (every collection name, env var, key path env-driven).
- DOT 144/144 (verified live via
runtime/110_iu_core_dot_conformance_scan.sql). - Discover-first before create (
Huyen1974/web-testcloned read-only before authoring the PR package; existinguseDirectus<>pattern reused). - PG → Directus → Nuxt assembly only — page reads only via
useDirectus<>+@directus/sdk. - No direct PG from Nuxt — verified in factory composable (
@directus/sdkonly). - No hand-coded Nuxt feature — every file in the deploy package is the byte-identical output of
cutter_agent/iu_core/ui_factory.py. - No cross-IU vector — Qdrant set 61/60 unchanged.
- Reversible by default — auto-refresh pilot transaction closes the gate before commit; ops package is install/uninstall mirror.
- AgentData upload/list/read/search required — all reports indexed below.
- No fake PASS — every claim cross-verified live (psql + healthcheck + git apply --check + wrapper one-shot).
What this macro changed (durable)
- PG:
iu_three_axis_envelope_refresh_log+1 row (id 18, actoriu_lifecycle_trigger, outcomeskipped_in_sync). - PG:
iu_core.three_axis_auto_refresh_enabledopened then closed inside one TX. End statefalse. - AgentData: 6 docs under
v0.6-iu-core-5000x-live-ui-ops-real-corpus-pilot-open-goal/retitled & retagged 5500x → 5000x-live. Revisions 1 → 2. - Repo: new
ui-package/nuxt-three-axis-factory/deploy/web-test/,ops/healthcheck-cron-package/,knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-6000x-…/. Commit4fb380e.
What this macro intentionally did NOT change
- No file in
Huyen1974/web-test.git(read-only clone ofmainonly). - No
incomex-nuxtrestart or image rebuild. - No cron / systemd unit installed (package staged, install.sh not run).
- No retention gate flip.
- No
iu_core.three_axis_auto_refresh_enabledlefttrue(gate closed in the same transaction that opened it). - No Qdrant write; no Directus collection registration; no vector reindex.