ADL 53 · Part VII — Journeys

New in ADL 0.6.0

Task inputs and interface projections

New reference draft · November 14, 2026.

Contents · General UI declarations · Source

53.1 What a projection provides

A task projection gives a client enough information to present a meaningful operation sequence: who the task serves, which record to select, what to ask at each step, and how to label a decision. The compiled artifact connects those presentation choices to the same declarations used by the task compiler.

This chapter owns Journey-specific metadata. ADL 47 retains general field and interface declarations. The uikitten task console is a concrete client in pocs/poc-17-polis/ui; its component choices, layout, persona switcher, and browser behavior are implementation details rather than universal requirements on every ADL client.

53.2 Reference inputs and worklists

A type: reference input names its target resource. The compiled projection can include target identity, a display field, state constraints, ownership constraints, and field/UI metadata. A client can use these to offer a record picker or queue.

inState: [submitted] describes the intended state set. ownerOf: $actor describes an ownership condition. They also inform the compiler, so they are more than cosmetic labels. A raw UUID input ending in Id gives a client less information and may attract W-JRN-UI-UUID-INPUT advice.

A worklist is a view of candidate records, not a grant to operate on them. The resource collection and later action must still enforce their authority. Client filtering cannot repair a server that discloses unauthorized rows. A row selected from a queue may also change before submission; preserve the server’s refusal and provide a refresh path.

53.3 Asking at the right step

asks lists the task inputs to request at a step. In a Journey using this convention, a non-worklist input should be asked before its first use. The compiler’s W-JRN-UI-INPUT-UNASKED advice helps identify missing or late prompts.

The input’s type and constraints inform the control: an enum offers choices, a date offers date entry, and a reference offers record selection. Missing presentable metadata can produce W-JRN-UI-FIELD-UNPRESENTABLE. A client should show a useful fallback rather than pretend it understands an unsupported type.

An input default or a visible field does not authorize writing the corresponding resource field. The task’s body mapping and field-write permission remain separate. Likewise, a read-only widget is presentation; server-side protection must survive a caller bypassing the widget.

53.4 Decisions and handoffs

Decision branches can carry label text suitable for action buttons. The condition and target define behavior; the label explains the choice to a person. W-JRN-UI-REVIEW-UNLABELLED flags a branch whose human meaning is not supplied.

Cross-role steps need a viable handoff. A client cannot satisfy as: reviewer by changing its display label. The source describes W-JRN-UI-HANDOFF-NO-QUEUE when a raw operation lacks a suitable subtask or queue arrangement. The actual client must retain the pending task context and let an authenticated eligible actor continue according to its supported workflow.

Available-transition metadata and dry-run can help explain current options. They remain advisory snapshots. The final operation performs its own checks, and the client must display a structured denial even when a button was previously available.

53.5 Validation and accessibility of the task

Compiler UI warnings are authoring signals. Zero warnings does not establish keyboard access, readable labels, focus handling, screen-reader behavior, or browser compatibility. Those require inspection of the concrete renderer.

The complete simple and calibration examples have fresh offline acceptance and compilation evidence. This reference draft has no new browser execution record. Historical UI benchmark counts remain linked to their own source and baseline; they are not republished as current verification of this edition.

A useful next browser check should exercise record selection, field prompting, a labeled decision, a role handoff, and a live denial. Its evidence should include the actual artifact, client build, authentication context, and observed result, rather than only a screenshot of a successful screen.