KB-1C2B

70000x · 00 — PASS summary (full test-readiness, 6/6 PASS, mig 036 LIVE)</title> <parameter name="tags">["iu-core","70000x","pass-summary","mig-036","six-flow","test-readiness"]

5 min read Revision 1

70000x · 00 — PASS summary

Macro: IU_CORE_70000X_FULL_TEST_READINESS_FOR_SIX_USER_FLOWS Outcome: IU_CORE_70000X_FULL_TEST_READINESS_FOR_SIX_USER_FLOWS_PASS Date: 2026-05-25 Repo HEAD (start): 6cffa59 (50000x partial pass end state) Repo HEAD (end): e4cf523 Parent baseline: IU_CORE_50000X_PARTIAL_PASS_FOCUSED_SUBSET.

Headline

The single P1 blocker from 50000x (mig 036 envelope auto-refresh on auto-compose — APPLY BLOCKED by directus lacking TRIGGER privilege on the workflow_admin-owned lineage table) is unblocked + applied LIVE. The channel was the local all all trust line in pg_hba.conf — SSH+docker exec into the postgres container can run psql as workflow_admin (superuser, table owner) over the Unix socket, with no password and no GRANT needed.

On top of that unblock, the entire six-flow test runner package is built, durable on disk, and all six flows PASS via the runner against the live directus DB. Every test is either read-only or rolls itself back; the final post-rollback state matches the pre-macro baseline exactly (175 IU, 44 collections, 223 memberships, 0 bridges, 0 piece_events, all 11 gates inert).

Six flows — all PASS

Flow Result Verdict rows Mutation
01 autocut_reconstruct_source PASS 3 none
02 axis_b_professional_filter PASS 3 none
03 parent_child_subtree_filter PASS 3 none
04 create_edit_piece_document PASS 5 BEGIN/ROLLBACK + in-TX gate-toggle
05 piece_trigger_in_out PASS 3 BEGIN/ROLLBACK + in-TX gate-toggle
06 sql_bridge_piece_to_db PASS 6 BEGIN/ROLLBACK

Runner: ops/iu-core-six-flow-test-readiness/run_six_flow_tests.sh Latest summary: _reports/20260525T081115Z/summary.json (6 PASS / 0 FAIL).

Migration 036 — LIVE

Object Before After
fn_iu_three_axis_envelope_auto_refresh_lineage_trigger absent present
trg_iu_three_axis_envelope_auto_refresh_lineage (statement-level) absent present on iu_collection_template_instance_lineage
iu_core.three_axis_auto_refresh_enabled gate false false (inert; gate-fast-path)
D9 conformance total 181 183 (+1 fn, +1 trigger)
SSOT _iu_core_expect entries 181 183 (matched in same commit)
Pinning tests (15 sites) 65/6/181 66/7/183 (matched in same commit)

Channel: cat sql/iu-core/036_envelope_auto_refresh_on_auto_compose.sql | ssh contabo "docker exec -i postgres psql -U workflow_admin -d directus -v ON_ERROR_STOP=1"

Live state — pre and post

Pre-macro (post-50000x): iu=175, dot=26, coll=44, memb=223, lineage=37, auto_log=33, piece_events=0, bridges=0, templates=4, D9=181, gates=11 inert.

Post-macro: iu=175, dot=26, coll=44, memb=223, lineage=37, auto_log=33, piece_events=0, bridges=0, templates=4, D9=183 (+2 mig 036), gates=11 inert (mig 036's gate stays false).

Everything in the corpus that was untouched at 50000x remains untouched. Production_documents NOT mutated. Qdrant NOT mutated.

pytest: 1324 PASS.

pg_dump pre 80,859,950 B sha ccf1a2bd…; post 80,862,539 B sha feb81437… (+2,589 B consistent with +1 fn + 1 trigger in system catalogs).

What changed on disk

  • sql/iu-core/runtime/110_iu_core_dot_conformance_scan.sql — SSOT INSERT + D9 VALUES bumped (65→66 fn, 6→7 trg).
  • tests/test_iu_core_ddl.py — EXPECTED_COUNTS bumped (65→66 fn, 6→7 trg, total 181→183).
  • 14 other test files — embedded SSOT regex / literal references bumped to 66/7.
  • tests/test_iu_core_piece_event_runtime.py — total assertion 181→183.
  • ops/iu-core-six-flow-test-readiness/ — new directory:
    • run_six_flow_tests.sh (bash 3.2+ TSV-based runner)
    • test_01..06_*.sql (six bounded test scripts)
    • README.md, SIX_FLOW_TEST_READINESS_MATRIX.md, USER_TEST_RUNBOOK.md, DOT_COMMAND_PLAN.md
    • reports/00..10 (this macro's KB report bundle)

No application of changes to live DB except mig 036 (DDL) — all six test flows are BEGIN/ROLLBACK; the DB after the macro is byte-equivalent at the data layer (only the additive trigger+fn from mig 036 differs).

Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.6-iu-core-70000x-full-test-readiness-six-user-flows-open-goal/00-pass-summary.md