LDC-E1313 — Transition out of a terminal state
For LLMs5 sections
What it means
Section titled “What it means”A terminal state ends the run: marking a state terminal promises that nothing leaves it. A transition that starts from such a state breaks that promise — kept silent, the terminality would be a mere comment — so the compiler stops at the transition.
The repair is to honor the ending: point the transition at a non-terminal state, or drop the terminal mark if the state genuinely has somewhere to go. Ends stay ends.
Example
Section titled “Example”language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Tenant;procedure Review(t: Tenant) { state Open initial; state Mid terminal; state Closed terminal; transition Back { from Mid; to Closed; }}language "law.core" version "0.2";package demo.diagnostics version "0.1.0";namespace "urn:law:demo:diagnostics";
entity Tenant;procedure Review(t: Tenant) { state Open initial; state Closed terminal; transition Decide { from Open; to Closed; }}Documentation for Arxo. Writings — blog.arxo.io.
Anonymous visit counts on stats.arxo.io, no cookies.