KB-12E6
M3a Execution — 07 Final Report
4 min read Revision 1
dot-iu-cutterv0.5m3a-execfinal-reportM3A_EXEC_FAILED_ROLLED_BACK_OR_COMPENSATION_REQUIREDrolled-backdieu442026-05-20
M3a Execution — 07 Final M3a Execution Report
Final result
M3A_EXEC_FAILED_ROLLED_BACK_OR_COMPENSATION_REQUIRED
Reason: execution started and Bundles A..D committed; Bundle E failed before commit due an exact DDL/package gap. Package-approved rollback of A..D completed successfully. No compensation required.
Gate summary
G0 SSOT + KB + environment: PASS
- KB read worked
- KB upload worked via 00-kb-upload-probe and reports 01..07
- required docs read
- production identity confirmed: VPS vmi3080463, DB directus, PG 16.13, user directus
G1 live preflight / fingerprint: PASS before execution
- ICX-CONST 60/60 draft
- iu_lifecycle_vocab/log absent
- fn_iu_enact absent
- immutability triggers absent
- fn_iu_apply_edit_draft md5 matched 22875ce25b2e2d1751cc4f3d1757252e
- gateway allowed_marker_values matched fn_iu_create,fn_iu_apply_edit_draft
- PK names matched review_decision_id / change_set_id
G2 command integrity: PARTIAL_FAIL discovered at Bundle E execution
- locked order A -> B -> C -> D -> E used
- no Phase 7 statement included
- no real fn_iu_enact call included
- exact gap: live full args include p_review_note text DEFAULT NULL::text; Bundle E header omitted default
G3 backup / restore point: PASS
- backup: /tmp/m3a_lifecycle_preddl_20260520T074811Z.dump
- sha256: 4e234e0a116c87b2f4d7d6fe0b57de8c50f84634992cb544a7964a219e7cdf96
- pg_restore -l succeeded
G4 execute Bundles A..E: FAIL at TXN-5
- TXN-1 A committed, then later rolled back
- TXN-2 B committed, then later rolled back
- TXN-3 C committed, then later rolled back
- TXN-4 D committed, then later rolled back
- TXN-5 E failed before commit
G5 catalog verification: ROLLBACK_PASS
- lifecycle infra absent after rollback
- gateway restored
- fn_iu_apply_edit_draft md5 restored/remained pre-patch
G6 behavioral probes: NOT_RUN
- package incomplete after Bundle E failure; running probes would violate no-silent-continuation
G7 final safety check: PASS
- no Phase 7 enactment happened
- ICX-CONST count still 60
- ICX-CONST draft count still 60
- unit_version enacted_at nonnull still 0
- source_document/source_version columns absent on IU/UV, therefore untouched
- no deploy/restart/merge/push/tag performed
G8 reporting: PASS
- reports 01..07 uploaded to knowledge/dev/laws/dieu44-trien-khai/v0.5-lifecycle-enactment-execution-m3a/
Exact failure
TXN-5 Bundle E BEGIN
ERROR: cannot remove parameter defaults from existing function
HINT: Use DROP FUNCTION fn_iu_apply_edit_draft(uuid,text,text) first.
Live proof after rollback:
probe|identity_args|full_args|body_md5|body_len|prosecdef|proconfig
fn_apply_args_gap|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|22875ce25b2e2d1751cc4f3d1757252e|4144|t|{"search_path=pg_catalog, public"}
Final data state
probe|iu_total|uv_total|uv_enacted_at_nonnull|icx_draft|icx_total|icx_enacted
final_data_state|158|165|0|60|60|0
(1 row)
probe|vocab_regclass|log_regclass|fn_iu_enact_exists|triggers_exist|iu_enact_config_rows|allowed_marker_values
post_failure_live_infra|||f|f|0|fn_iu_create,fn_iu_apply_edit_draft
(1 row)
Next safest action
Route to GPT/User. The next package revision should update Bundle E to preserve the existing default argument, e.g. p_review_note text DEFAULT NULL::text, then rerun full M3a from G0. I did not apply that correction in this execution because the mission explicitly forbids improvising when the package does not match live DDL shape.
STOP
Per prompt: reports uploaded; STOP and route back to GPT/User.