KB-711D

M3a Execution — 01 SSOT and Live Preflight

4 min read Revision 1
dot-iu-cutterv0.5m3a-execssotlive-preflightfailed-rolled-backdieu442026-05-20

M3a Execution — 01 SSOT and Live Preflight

Status

G0_G1_PRECHECK_PASS_BEFORE_EXECUTION, later execution failed at Bundle E and was rolled back. Final outcome is recorded in report 07.

Files / KB docs read

  • .claude/skills/incomex-rules.md local skill: 36 rules, 8-step workflow read.
  • knowledge/dev/ssot/operating-rules.md: search_knowledge returned OR v7.58, active SSOT.
  • knowledge/dev/laws/constitution.md: search_knowledge returned Constitution v4.6.3 as current SSOT; no v3.9/v4.0 citation used as authority.
  • Required M3a handoff ruling read full.
  • Required implementation authoring package docs 01..06 read full/ chunked.
  • Required lifecycle design package docs 01..06 read full/ chunked.
  • Required main merge / write-VERIFY / leg-B closeout rulings read full.

3 câu Tuyên ngôn

  1. Vĩnh viễn: canonical lifecycle path must be infrastructure, not ad hoc row updates. This execution attempted to ship canonical vocab/log/function/triggers and patch edit-draft coupling.
  2. Nhầm được không: gateway marker + SECURITY DEFINER function + immutability triggers are the intended blockers; direct lifecycle UPDATE remains forbidden.
  3. 100% tự động: package is designed as ordered SQL transactions + rollback-only probes + KB reports; no Phase 7 manual enactment allowed in this macro.

Production identity

vmi3080463
containers: incomex-agent-data, incomex-claude-kb, incomex-claude-mcp, incomex-directus, incomex-nginx, incomex-nuxt, incomex-qdrant, pg-restore-test-20260520T031054Z, postgres, uptime-kuma
current_database|current_user|has_server_addr|version
directus|directus|f|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 preflight evidence

probe|n_draft|n_total|statuses
icx_const_status|60|60|draft
probe|iu_total|uv_total|uv_enacted_at_nonnull|iu_lifecycle_log_exists
totals|158|165|0|f

probe|relname|relkind
(0 rows)
probe|proname|prosecdef|body_md5|body_len|args|proconfig
lifecycle_functions|fn_iu_apply_edit_draft|t|22875ce25b2e2d1751cc4f3d1757252e|4144|p_draft_id uuid, p_actor text, p_review_note 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|{"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|{"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|icx_enacted_ius|icx_enacted_uvs|icx_uv_enacted_at_nonnull
phase7_guard|0|0|0

Source document/version check

source_document / source_version columns are absent from live public.information_unit and public.unit_version; therefore this macro could not mutate them. Evidence:

probe|table_name|column_name|data_type
(0 rows)
Back to Knowledge Hub knowledge/dev/laws/dieu44-trien-khai/v0.5-lifecycle-enactment-execution-m3a/01-ssot-and-live-preflight-2026-05-20.md