Task: Merge the org parsers: teach load_org_model() to parse Validation function and Insert trigger sections

Table of Contents

This page documents a task in the Decommission ores.codegen.table model type story. It captures the goal, current status, acceptance, and any notes or results.

Goal

A single org model parser handles all entity types; load_org_table_model() is deleted and its callers are removed.

Status

Field Value
State DONE
Parent story Decommission ores.codegen.table model type
Now Complete — done via the sibling story.
Waiting on Nothing.
Next None.
Last touched 2026-07-10

Acceptance

  • load_org_model() parses * Validation function body, * Insert trigger / ** Validations list, has_tenant_id, coding_scheme, and image_id from entity org files.
  • load_org_table_model() and all call sites are deleted from generator.py.
  • All existing table-pathway entities regenerate identical SQL output after the parser merge.

Plan

(Implementation strategy. Written when work starts; key decisions are distilled into the parent story's * Decisions at close, but the plan itself stays — it is the historical record of what we did.)

Notes

PRs

PR Title
   

Review

Comment summary File Decision Notes
       

Result

Done — this is the same work as B3: Teach load_org_model() to parse table-only sections in Resolve codegen model unification blockers, independently re-described here under a different story; no separate implementation needed.

Emacs 29.3 (Org mode 9.6.15)