ADL 54 · Part VII — Journeys

New in ADL 0.6.0

Journey artifacts and public interfaces

New reference draft · November 14, 2026.

Contents · API index · Tooling

54.1 Artifact identity

A compiled Journey combines the resolved inputs, steps, diagnostics, verdict, outputs, presentation metadata, and diagram. Keep it associated with the domain model and compiler that produced it. An artifact name alone does not identify the assumptions under which it was analyzed.

The current runtime compiles the domain during Journey action registration. Its artifact response includes domain and application version along with task data and a runnable indication. That field describes the runtime’s actor predicate; it is not a live proof that all rows, policies, and services allow completion.

The offline evidence pins the source revision, relevant source hashes, executable hash, fixture hash, and command output. A future interoperable artifact should preserve comparable identity rather than relying on an unqualified proved string.

54.2 Registered interfaces

The inspected plugins/adl/src/runtime/action_journeys.cpp registers four Journey actions through register_action_dual. The documented REST projections are:

InterfacePurpose
GET /api/v1/{domain}/journeysVisible Journey summaries; supported filters include tag, actor, and deprecated status
GET /api/v1/{domain}/journeys/{name}Full compiled artifact
GET /api/v1/{domain}/journeys/{name}/diagramDiagram metadata and Mermaid sequence source
POST /api/v1/{domain}/journeys/{name}/dry-runSimulated preconditions and supported step feasibility

Resource transition discovery, GET /api/v1/{domain}/{collection}/{id}/transitions, is a separate state-machine surface. It lists currently permitted transitions according to its implemented checks; it is not a guarantee of policy-complete authorization for a later request.

The four Journey surfaces are source-reviewed here. The handbook’s recorded HTTP run fetches the calibration artifact successfully. This edition has not rerun every route, filter, response shape, or authorization neighbor over REST.

54.3 Visibility and absence

The selected runtime gives an authenticated admin artifact visibility. Otherwise an explicit permissions.view list is evaluated; without it, the runtime uses its actor predicate. Anonymous tasks, authenticated tasks, named-role tasks, and mixed tasks therefore need their own cases.

The catalog omits tasks the caller cannot view. Artifact and diagram lookup use 404 NOT_FOUND both for absence and for failed visibility. Dry-run also checks lookup/visibility before its execution-related conditions. Clients should not treat a hidden task as an invitation to bypass visibility through another route.

Visibility authorizes access to the task description. It does not replace the permission and policy checks of calls described inside that task. Treat runnable as bounded metadata whose exact predicate belongs to the implementation profile.

54.4 Native export and the Arazzo discrepancy

The consolidated source describes an Arazzo projection. The current CLI has a format option bearing that name, but the inspected cmd_journey_export sends both json and arazzo to the same native report.to_json() serializer.

The fresh export fixture confirms this behavior: the output has native Journey-report members and no arazzo document marker. The observed output also lacks the advertised sourceDescriptions and workflows members. Its successful exit status means the export command succeeded; it does not establish standards conformance.

This is recorded as an implementation discrepancy, not a language amendment. The intended projection needs a separate implementation and validation against an explicitly chosen standard version. The source itself mixes a 1.1.0 claim with a 1.0.1 example marker, so this draft does not choose an external compatibility guarantee by inference.

54.5 MCP and other projections

The consolidated source also describes a Journey-to-MCP tool projection. This edition has not identified or executed a corresponding installed tool surface. The selected Journey runtime registers no Arazzo HTTP route and no MCP endpoint. A connector elsewhere could provide one, but it needs its own implementation and evidence before becoming part of this profile.

A tool schema derived from inputs would still need execution identity, resource authorization, error propagation, and partial-progress handling. Calling a multi-step task “one tool” does not make its effects one database transaction.

54.6 Compatibility and evidence

Use the native artifact for the current Kalos profile and retain its source identity. Keep optional projections distinct. The CLI register in Appendix F describes commands actually available in the checked executable, while Appendix G retains intended interfaces that this edition cannot certify as implemented.

Fresh evidence covers native compilation and the export discrepancy. HTTP visibility matrices, remote interoperability, MCP execution, and schema-version negotiation remain outside this draft’s executed scope.