ADL 0.6.0 Reference · Appendix C

Appendix C — Keys, reserved names, and expression scopes

The generated syntax inventory extracts selected closed key sets from the pinned C++ parser. It is an implementation vocabulary index, not a substitute for grammar: it does not infer requiredness, value types, version gates, order, or legal combinations from a string’s presence in a set. Reference expansion can consume keys before those sets are consulted.

Where to look

Declaration or questionOwner
root, include, parse stageADL 4
adl, suite/domain versionADL 6
four-part declaration addressADL 7
imports, registries, lockfilesADL 8
field types and enumsADL 10–11
objects, traits, $ref, $mergeADL 13
resource permissions and policiesADL 21
states, transition guards, setsADL 22
history integrity/immutableADL 24
declared queries, aggregate authorityADL 38
classification and purposeADL 45
Journey declaration/input/stepADL 48–49
actor/ownership/credentialsADL 50
task UI metadataADL 53

Expression contexts

ContextSelected bindingsCaution
State-machine guarduser/$user, stored $recordDo not assume transition-body values have replaced the stored record
Policyuser, record, input, transition, systemValues depend on operation; policy claims are not universal AEL bindings
Declared queryrow fields and $inputAggregates are admitted only in their defined positions
Journey$inputs, $steps, $response, $actor, $journeyClosed scopes, response locality, and dominance apply

ADL 18 owns AEL semantics; the consumer owns evaluation timing and scope. An ordinary evaluator returning null for an unknown name does not imply a Journey compiler will accept that name. Conversely, Journey’s closed-scope diagnostics do not establish that every other consumer has the same static analysis.

Journey reserved names are context-specific in the inspected compiler. Steps reserve end, default, self, error, retry, compensate; inputs reserve self, actor, inputs, steps, journey, response; sources reserve self, $self, default. ADL 48 records the difference from the consolidated source’s broader list and identifier grammar. Domain/address reserved-name rules have their own owner in ADL 7. Do not merge these lists into one universal prohibition.

The generated inventory records source line numbers and a digest. It intentionally excludes some grammar families and dynamic declarations. The retained reserved-name appendix provides historical detail under its own baseline.