Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Release notes
Changelog
Elyra
Stability & compatibility

Stability & compatibility

This document defines what Askr promises not to break, and how changes are rolled out. It is the compatibility contract you can build tooling, deployments, and apps against.

Status: stable (1.x)

Askr is 1.0 — the guarantees below are now in effect. Within the 1.x series the surfaces listed here are stable: a breaking change to any of them requires a major bump (2.0) and the deprecation cycle described below.

If something you depend on isn't listed, ask — it either belongs here or is intentionally internal.

What SemVer covers (from 1.0)

Within a major version (1.x), the following are stable. A breaking change to any of them requires a major bump (2.0) and a deprecation period (below).

1. CLI — subcommands and flags

  • Subcommands: serve, test, replay, doctor, tune, cache-report, config-check, why, top, upgrade. For why and top, the --json document is the stable surface; their human-readable output improves freely.
  • Every documented --flag on those commands: its name, whether it takes a value, and its meaning. Default values may be tuned across minor versions when they are purely performance defaults (e.g. the auto worker count) — never when a default changes behaviour you'd notice.
  • Flags print in askr <cmd> --help; that output is the source of truth. See CLI.md.

Not covered: the internal sidecar subcommands the supervisor spawns for itself (web, queue, scheduler, command). These are an implementation detail of the master↔worker protocol and may change at any time — don't invoke them directly.

2. Configuration file (askr.toml)

  • Every documented key under [server], [cache], [tls], [acme], [[sidecar]], etc.: its name, type, and meaning. See CONFIGURATION.md.
  • A config written for an older Askr still loads on a newer one: keys are only ever added, and new ones default to the previous behaviour.
  • Unknown keys are a warning, not an error (since 1.7.4). An unknown key is ignored and named — at startup, and by askr config-check — with the key it was probably meant to be (did you mean workers_max?), or the list of keys that section accepts. So a config that uses a newer release's keys still loads on an older one, and a rollback does not need the file edited. Only warnings, though: a typo'd key has no effect, so read what config-check says. A key with the wrong type is still an error. Up to 1.7.3 an unknown key was an error, and those releases still refuse it.

3. Environment variables

The ASKR_* variables that select runtime backends and telemetry:

Variable Purpose
ASKR_APP_BASE App root passed to the runner scripts.
ASKR_PHP_INI Extra php.ini path.
ASKR_PUSHER_SECRET Pusher/Reverb auth secret.
ASKR_ADMIN_TOKEN Bearer token required for the admin reload + data endpoints (unset = open).
ASKR_ADMIN_HOSTS Extra Host values accepted by a loopback-bound admin plane (comma-separated).
ASKR_CACHE_DB / ASKR_QUEUE_DB / ASKR_BROADCAST_DB Select the durable L2 backend (feature sql-backend).
ASKR_OBSERV_DSN and ASKR_OBSERV_{SERVICE,HOST,BATCH,FLUSH_MS,QUEUE,METRICS_MS,TLS} Observability sink (feature observ).
ASKR_OTEL_ENDPOINT / ASKR_OTEL_SERVICE OpenTelemetry trace export (feature otel).

When an env var and a flag/config key set the same thing, precedence is documented per option and is itself stable.

4. The PHP bridge (askr_* functions)

The native functions Askr injects into PHP are a stable ABI for app and package authors. Their names and call signatures won't change within a major version:

Function Purpose
askr_handle_request($handler) Worker request loop (Octane-style).
askr_defer($callable) Run work after the response is sent.
askr_cow_ready() Signal the CoW template is warm.
askr_cache_get/set/add/delete/increment/flush/touch/forget_tag(...) Shared cache.
askr_queue_push/pop/delete/release/size(...) Shared job queue.
askr_broadcast($channel, $payload) Publish a broadcast event.
askr_state_bleed($findingsJson) Report state-bleed findings (a JSON list of {key, from, to}) to /api/status. Used by the detector.

New functions may be added in a minor version; existing ones won't change or disappear without a deprecation cycle. The official kwhorne/askr-laravel package wraps these — depend on it rather than calling the bridge directly if you want the smoothest ride.

5. Reserved HTTP surface

  • Endpoints Askr serves itself: GET /askr/events (SSE), /app/{key} (Pusher WebSocket), POST /apps/{id}/events (Pusher trigger), and the admin /metrics (Prometheus text). Paths under /askr/ are reserved for Askr — don't route them in your app.
  • Cache-invalidation methods Askr answers itself: PURGE <url> and BAN (with the X-Ban-Url glob header). Both are authenticated with ASKR_ADMIN_TOKEN, or restricted to loopback when no token is set.
  • Response contract headers: the app-supplied Askr-Cache and Askr-ESI headers (both consumed, never forwarded), the <esi:include> / <esi:remove> tag syntax, and the X-Askr-Cache: HIT|MISS|PASS|STALE|STALE-ERROR diagnostic header. When HTTP/3 is on, TCP responses carry Alt-Svc: h3=….

6. Build features

The optional Cargo features are part of the surface: sql-backend, observ, otel, http3. A feature won't be removed or have its meaning changed within a major version; the default build stays feature-free. The published -full artifact compiles them all in.

What is explicitly not stable

These may change in any release, including patch releases. Don't build automation against them:

  • The internal Rust crates (askr, askr-php) as a library API. Askr is a binary, not a published crate.
  • The on-disk / in-memory shared-memory layout (cache, queue, broadcast, metrics regions). It's private to a single askr process tree and is not a wire format — never share it between different Askr versions.
  • Exact log line wording and human-readable tracing output. The structured access-log JSON fields are stable; prose is not.
  • The /var/lib/askr (or --dir) internal layout used by askr upgrade.
  • Timing, ordering, and internal span structure of traces (span names and documented attributes are stable; their nesting is best-effort).

Deprecation policy (from 1.0)

When we need to change a stable surface:

  1. Add, don't mutate. The new name/flag/key/function ships first and works.
  2. Alias + warn. The old name keeps working as a hidden alias for at least one full minor version, emitting a one-line deprecation warning on use.
  3. Remove only at the next major version, and only if it was warning for a full minor series.

Example already in place: --acme-directory was renamed to the clearer --acme-directory-url (to stop it being confused with --acme-dir, the local cert-cache directory). The old spelling still works as an alias.

Reporting a break

If an upgrade within a major version breaks one of the stable surfaces above, that's a bug — please open an issue with the before/after and the version pair. Any intentional change to a stable surface is called out in CHANGELOG.md.