OPEN-51
A discovery document at /.well-known/flowdrop maps route names to URI templates.
What was open
No rule named an API path, and the narratives used three spellings for the run routes. A client that launches and watches runs on several implementations could only copy one implementation's routes, which that implementation could move without breaking any rule. Fixing the paths in the specification would make it own every implementation's URL space, which RFC 8820 (BCP 190) advises against.
Decision
New rule API-9. An implementation publishes a discovery document, at /.well-known/flowdrop (RFC 8615) by default; one that cannot own that path gives its clients the URL directly, and clients accept a configured URL. Its endpoints object maps route names to path-absolute RFC 6570 level-1 templates, resolved against the discovery URL (RFC 3986 section 5); a route not served has no key, and clients ignore keys they do not know. Each route name fixes its method and its variable names. The names cover the routes a rule already defines: the launch, the workflow's runs list, the run and status documents, the run's jobs and job status summary, a single job, the run's log, the three signals, human and machine interrupt resolution, the cancel of an interrupt (INT-24), and the snapshot list, read, save and delete. Query parameters stay defined by the rules. The document is the same for every caller and carries no tenant data, credentials or software version; it changes no route's authorisation, and clients never follow a template off the document's origin, so a bad document cannot send credentials elsewhere. Other rules add capability members to it. Narrative paths are examples, each tied to its route name, not documented defaults: the discovery document is the one place a client learns a path, and a default would be a second source for implementations to drift from. Registering flowdrop in IANA's Well-Known URIs registry is a follow-up for the maintainers, recorded in DEFERRED.md, not rule text. No identifier is . or .., and a client refuses to expand a template with either: level-1 expansion leaves both unencoded, and resolution (RFC 3986 section 5.2.4) removes them as dot-segments, which would send the request to another path. The base URL is the URL the client requested, and a client does not follow a redirect of the discovery request to another origin. The document is served as application/json to a request without credentials, since by rule it carries nothing secret, and without the {success, data} envelope: it is not the result of an operation, and has no refusal to tell apart from a result. Every route a rule defines has a name: besides the run, interrupt and snapshot routes, the workflow list, create, read, update, import and schema routes, the category list, and the session list, create, read, turn, message poll, single message and message status routes. pipeline_logs keeps its name although no rule yet defines its answer, since a name fixes only where a route is. API-9 and API-8 bind the runtime profile too, because the routes and their refusals belong to runtime rules as well as storage ones.