KB-3841
M3a Retry — 01 Live Precheck
5 min read Revision 1
dot-iu-cutterv0.5m3a-retrylive-precheckpassdieu442026-05-20
M3a Retry — 01 Retry Live Precheck
Status
G0_G1_PASS — KB read/upload works; required docs read; live rollback state remained clean before retry execution.
KB / SSOT read evidence
.claude/skills/incomex-rules.md: read locally, 36 rules / 8-step workflow.search_knowledge("operating rules SSOT"): returnedknowledge/dev/ssot/operating-rules.md, OR v7.58, active SSOT.search_knowledge("hiến pháp v4.0 constitution"): returned currentknowledge/dev/laws/constitution.md, Constitution v4.6.3 as active SSOT; no v3.9 citation used.- Read required GPT ruling:
knowledge/dev/laws/dieu44-trien-khai/reviews/dot-iu-cutter-v0.5-lifecycle-m3a-bundleE-default-gap-gpt-ruling-2026-05-20.md. - Read previous failed M3A reports under
knowledge/dev/laws/dieu44-trien-khai/v0.5-lifecycle-enactment-execution-m3a/. - Read implementation authoring package docs under
knowledge/dev/laws/dieu44-trien-khai/v0.5-lifecycle-enactment-implementation-authoring/. - Read Codex handoff ruling.
- KB upload probe created at
v0.5-lifecycle-enactment-execution-m3a-retry/00-kb-upload-probe-2026-05-20.md.
Retry ruling summary
selected_path: NARROW_PATCH_BUNDLE_E_AND_RETRY_M3A
required_fix: preserve p_review_note text DEFAULT NULL::text
forbidden:
- no Phase 7 enactment
- no lifecycle draft->enacted mutation
- no architecture/OQ default change
Live production identity
probe|current_database|current_user|current_schema|version
identity|directus|directus|public|PostgreSQL 16.13 (Debian 16.13-1.pgdg13+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit
Live precheck output
probe|n_draft|n_enacted|n_total|statuses
icx_const_status|60|0|60|draft
probe|iu_total|uv_total|uv_enacted_at_nonnull|iu_enacted_total|uv_enacted_total
totals|158|165|0|0|0
probe|relname|relkind
(0 rows)
probe|proname|prosecdef|body_md5|body_len|identity_args|full_args|proconfig
lifecycle_functions|fn_iu_apply_edit_draft|t|22875ce25b2e2d1751cc4f3d1757252e|4144|p_draft_id uuid, p_actor text, p_review_note text|p_draft_id uuid, p_actor text, p_review_note text DEFAULT NULL::text|{"search_path=pg_catalog, public"}
lifecycle_functions|fn_iu_create|t|3017892a5ac605a6daeaa5348e2a6cdf|5443|p_canonical_address text, p_title text, p_body text, p_actor text, p_unit_kind text, p_section_type text, p_owner_ref text, p_publication_type text, p_parent_ref uuid|p_canonical_address text, p_title text, p_body text, p_actor text, p_unit_kind text DEFAULT NULL::text, p_section_type text DEFAULT NULL::text, p_owner_ref text DEFAULT NULL::text, p_publication_type text DEFAULT NULL::text, p_parent_ref uuid DEFAULT NULL::uuid|{"search_path=pg_catalog, public"}
lifecycle_functions|fn_iu_gateway_write_guard|t|6907fa4e5e46b5617d7dfecbd86326d7|1364|||{"search_path=pg_catalog, public"}
lifecycle_functions|fn_iu_verify_invariants|f|6d005323d15eb4802f22802470b2c966|2746|p_addr text|p_addr text|{"search_path=pg_catalog, public"}
probe|tgname|table_name|function_name|tgenabled
lifecycle_triggers|trg_aa_iu_gateway_write_guard|information_unit|fn_iu_gateway_write_guard|O
lifecycle_triggers|trg_aa_uv_gateway_write_guard|unit_version|fn_iu_gateway_write_guard|O
probe|key|value
dot_config|iu_create.gateway.allowed_marker_values|fn_iu_create,fn_iu_apply_edit_draft
dot_config|iu_create.gateway.mode|enforced
probe|directus_usage|directus_review_decision_select|directus_cut_change_set_select|cutter_exec_exists
governance_privileges|t|t|t|t
probe|tbl|attname|typ
governance_pk|cut_change_set|change_set_id|uuid
governance_pk|review_decision|review_decision_id|uuid
Probe target survey
Because the retry prompt forbids running fn_iu_enact on the 60 ICX-CONST rows, I selected a valid non-ICX draft address for B-1..B-8.
probe|canonical_address|lifecycle_status|inv_all_pass
probe_candidates|D38-DIEU28-ROOT|draft|true
B-9 draft-base test data existed:
probe|id|canonical_address|iu_lc|uv_lc|hash_ok|would_no_change
open_drafts|5caf9ea6-cd0a-4983-9e19-7b2ad0f35a66|test/p3c4/pilot-20260507-125720|draft|draft|t|f
open_drafts|40381e69-12c1-42b0-965d-ce68ca7c11a8|test/p3d1/pilot-20260508-005109|draft|draft|t|f
Source document/version check
probe|table_name|column_name|data_type
(0 rows)
source_document / source_version are absent on live IU/UV tables; this retry did not and could not mutate them.