Accepted adr-002 · 2026-10-03

A Declared Task Runs Only After Its Issuer Redeems the Ticket

Context

The axiom nothing-the-url-names-is-executed says the handler never runs a program derived from a URL. The principal wants a link to start a local task (a render, a sync) from the service's pages, which an absolute reading of that axiom forbids. Any web page can hand an openbyname:// URL to the operating system, so whatever a link can start, a hostile page can try to start too.

Decision

A project may declare named tasks — an argv array run without a shell, a working directory, an environment, a time limit — and a link may ask for one by name with do=run and a ticket. Before running anything, the handler redeems the ticket online at the project's declared redeem URL, sending the ticket in a header with the project, task and action it is asking for; it runs the task only if the issuer answers 2xx for exactly that scope. Nothing of the URL reaches the command: the task name selects a declaration, and the declaration is the whole command. With the issuer unreachable, nothing runs.

Constraints

Alternatives considered