Chapter 12 · Part III — Tasks and execution

Build an interface from the task's meaning

An inspector needs to find work, understand the submitted measurement, and record a decision. A generic table editor can expose the same data while making those actions hard to distinguish. Journey metadata gives an interface consumer a more useful starting point: an actor, a typed input, a state-constrained worklist, and a sequence of operations.

The compiled calibration artifact identifies a picker for submitted calibration records and a two-step task. This is enough to describe the skeleton of a review screen. It is not enough to decide every presentation choice, accessibility behavior, error message, or organizational sign-off procedure.

Preserve the meaning of the operation

The screen should show the instrument, revision, measured offset, and submitter together. The approval control should invoke the named transition. It should not PATCH status to certified or invite the user to type an approver identity. Those shortcuts bypass the very operation the model was designed to explain.

Labels can improve comprehension without changing authority. A button reading “Certify this revision” makes the consequence clearer than “Save.” A visible training requirement can help a user understand a refusal. Neither label establishes the current caller’s identity or training; the server still decides.

When a task involves editable inputs, the Journey’s asks metadata can associate a prompt with the step that needs it. Avoid asking for values that the server owns, such as authenticated actor identifiers. Exposing them as ordinary fields confuses provenance with user intention.

A worklist is a view, not a reservation

The input’s submitted-state filter helps the inspector find candidates. Between listing and approval, another inspector may decide the same record. The UI must handle a stale choice and refresh the task state. Hiding records outside submitted does not eliminate that race.

Show the record being acted on, carry the relevant identity or version through the request, and interpret the actual response. When a refusal indicates a changed state, explain the change rather than silently selecting another record. An automation should follow the same rule; a lost target must not become a different target by convenience.

Distinguish useful errors

A training-policy denial, a self-approval guard failure, and a missing supervisor are different events. The first may require training evidence, the second another reviewer, and the third operator intervention. A UI that collapses all three into “Try again” encourages repeated requests that cannot solve the underlying condition.

Error detail also has an audience. An operator can use a decision identifier to inspect a policy explanation. A caller should receive enough information to act within their authority. Avoid displaying unrelated hidden records merely to explain why access was refused.

Generated does not mean unreviewed

Review a generated task surface the same way you would review a handwritten one. Can the user understand the unit? Can keyboard and assistive-technology users complete the flow? Does the display distinguish a stored value from an editable input? Are long identifiers and denial messages readable? Does a failed request leave the local view consistent?

The book records compiler metadata and HTTP behavior. It does not claim a browser usability or accessibility audit. The recovered Studio manuscript supplies historical UI material; the current task-console implementation and its tests are the appropriate starting point for a new application volume.

Give agents the same authority boundary

An agent consuming a Journey or tool projection is another caller. It receives a description of available work, not permission to exceed the caller’s credentials. Prompt text, model confidence, and a plan with plausible steps do not replace the server’s authorization checks.

Use the typed input to identify the target, execute supported operations, and treat refusals as observations. If the task needs a different actor, arrange the actual credential handoff. Never turn the actor name in the description into an invented identity supplied in the request body.

The Journeys specification describes the UI contract and projections. ADL 47 provides the broader interface-extension context.

Workshop

Sketch the inspector screen using only fields and operations present in the example. Annotate what happens when Alice opens her own submission, when Bob’s training claim is absent, and when another reviewer decides the record before Bob clicks approve.