@ultimat3/cli 31.25.0 → 31.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +44 -36
- package/README.md +5 -4
- package/package.json +29 -29
- package/src/app-mcp.ts +17 -3
- package/src/cmd-cache-spec.ts +5 -2
- package/src/cmd-db-recount.ts +7 -0
- package/src/cmd-db-spec.ts +2 -3
- package/src/cmd-db.ts +0 -2
- package/src/cmd-deploy-verify-sample.ts +93 -0
- package/src/cmd-deploy-verify.ts +2 -41
- package/src/cmd-dev-spec.ts +15 -1
- package/src/cmd-dev.ts +31 -4
- package/src/cmd-doctor.ts +4 -1
- package/src/cmd-exercise-spec.ts +7 -1
- package/src/cmd-exercise.ts +22 -10
- package/src/cmd-generate.ts +2 -0
- package/src/cmd-jobs-spec.ts +3 -6
- package/src/cmd-jobs.ts +1 -7
- package/src/cmd-logs-spec.ts +2 -1
- package/src/cmd-logs.ts +9 -28
- package/src/cmd-planned.ts +11 -45
- package/src/cmd-profile-frames.ts +99 -0
- package/src/cmd-profile-spec.ts +24 -0
- package/src/cmd-profile.ts +164 -0
- package/src/cmd-status-sample.ts +57 -0
- package/src/cmd-status-spec.ts +30 -0
- package/src/cmd-status.ts +108 -0
- package/src/cmd-token-spec.ts +5 -2
- package/src/cmd-token.ts +7 -3
- package/src/coverage-island.ts +121 -0
- package/src/coverage-lcov.ts +49 -5
- package/src/coverage-remap.ts +146 -0
- package/src/db-replay-engine-prepared.ts +66 -0
- package/src/db-replay-engine-template.ts +156 -0
- package/src/db-replay-engine.ts +4 -0
- package/src/db-replay-scratch-reap.ts +54 -0
- package/src/deploy-verify-flags.ts +9 -2
- package/src/deploy-verify-grade.ts +10 -3
- package/src/dev-boot.ts +14 -1
- package/src/dev-dashboard-guard.ts +57 -10
- package/src/dev-host.ts +46 -0
- package/src/dev-tls-cache.ts +103 -0
- package/src/dev-tls-der.ts +69 -0
- package/src/dev-tls.ts +120 -0
- package/src/dispatch.ts +6 -1
- package/src/doctor-browser.ts +60 -0
- package/src/error-codes-verify.ts +47 -0
- package/src/error-codes.ts +14 -23
- package/src/exercise-database.ts +40 -7
- package/src/exercise-push-device.ts +51 -0
- package/src/exercise-route-api.ts +74 -0
- package/src/exercise-routes.ts +14 -5
- package/src/exercise-services.ts +3 -1
- package/src/exercise-shard-flag.ts +47 -0
- package/src/fix-command.ts +2 -2
- package/src/generate-factories.ts +9 -11
- package/src/generate-feature-required.ts +9 -4
- package/src/generate-files.ts +20 -2
- package/src/generate-kinds.ts +5 -1
- package/src/guards.ts +21 -6
- package/src/island-bundle-options.ts +48 -0
- package/src/island-bundle.ts +18 -46
- package/src/island-link.ts +5 -0
- package/src/island-outputs.ts +5 -0
- package/src/mcp-errors-verify.ts +35 -0
- package/src/mcp-errors.ts +10 -19
- package/src/mcp-host-logs.ts +121 -0
- package/src/mcp-host.ts +12 -73
- package/src/messages-floor.ts +19 -0
- package/src/messages-status.ts +10 -0
- package/src/messages.ts +21 -0
- package/src/registry.ts +4 -0
- package/src/role-start-types.ts +7 -0
- package/src/role-start.ts +4 -0
- package/src/serve-boot.ts +7 -1
- package/src/serve-env-tls.ts +57 -0
- package/src/solid-loader.ts +27 -10
- package/src/templates/generate-export-rows.ts +136 -0
- package/src/templates/generate-import-rows.ts +186 -0
- package/src/templates/generate-rows-slice.ts +95 -0
- package/src/templates/github/ci.yml.ts +4 -0
- package/src/templates/scaffold-db-package.ts +3 -0
- package/src/templates/scaffold-docs.ts +8 -6
- package/src/templates/scaffold-repo.ts +2 -7
- package/src/templates/scaffold-site.ts +4 -1
- package/src/templates/scaffold-suites.ts +72 -0
- package/src/templates/scaffold-test-services.ts +35 -10
- package/src/templates/scaffold-verify-floor.ts +53 -31
- package/src/templates/shapes/api.ts +4 -0
- package/src/templates/slice-foundation.ts +3 -3
- package/src/unthrown-codes.ts +1 -1
- package/src/upgrade-gate.ts +6 -1
- package/src/upgrade-guards-baseline.ts +43 -0
- package/src/upgrade-guards.ts +37 -2
- package/src/upgrade-report.ts +3 -0
- package/src/verify-coverage-run.ts +42 -11
- package/src/verify-e2e.ts +115 -4
- package/src/verify-floor.ts +27 -0
- package/src/verify-guard-baseline.ts +109 -0
- package/src/verify-live.ts +72 -0
- package/src/verify-merge-skips.ts +51 -0
- package/src/verify-merge.ts +36 -2
- package/src/verify-run.ts +48 -7
- package/src/verify-services.ts +287 -0
- package/src/verify-skip-reason.ts +53 -0
- package/src/verify-strict.ts +108 -0
- package/src/verify-test-command.ts +129 -0
- package/src/verify-tests.ts +39 -126
- package/types/babel-modules.d.ts +2 -0
- package/wiki/Agents.md +2 -5
- package/wiki/CLI-Reference.md +142 -23
- package/wiki/Caching-And-Invalidation.md +1 -1
- package/wiki/Entities-And-Migrations.md +1 -1
- package/wiki/Interface-Rules.md +5 -0
- package/wiki/Jobs-And-Workflows.md +3 -3
- package/wiki/Known-Gaps.md +5 -1
- package/wiki/MCP-And-AI.md +103 -2
- package/wiki/Mail.md +52 -0
- package/wiki/PWA-And-Offline.md +1 -1
- package/wiki/Scraping.md +19 -4
- package/wiki/Troubleshooting.md +3 -3
- package/wiki/Tutorial-05-Deploy-Free.md +2 -2
- package/wiki/Upgrading.md +3 -0
package/wiki/CLI-Reference.md
CHANGED
|
@@ -32,7 +32,7 @@ x version # CLI version
|
|
|
32
32
|
| `x dev` | all roles in one process: embedded services, sub-second reload, `/_x` mounted | shipped |
|
|
33
33
|
| `x stop [--timeout 30s]` | stop this checkout's `x dev` (the pid its `.x/dev.lock` names, nothing else) and return once the next `x dev` can boot | shipped |
|
|
34
34
|
| `x g <kind> <name>` | scaffold a primitive with its test | shipped |
|
|
35
|
-
| `x db <sub>` | gen, migrate, reset, seed,
|
|
35
|
+
| `x db <sub>` | gen, migrate, reset, seed, branch, backfill, diagnostics | shipped |
|
|
36
36
|
| `x verify [--only <step>[,<step>…] [--shard i/n [--timings f]] \| --changed [--base <ref>] [--dirty]] [--workers N] [--isolate]` · `x verify merge <part.json…>` · `x verify plan [--parts n]` | the gate — 21 steps, in this order: typecheck, lint, boundaries, filesize, package-shape, errors, unit, contract, live, job, exercise, e2e, eval, drift, contract-diff, budgets, seo, i18n, policy, manifest, roadmap. `--only <step>[,<step>…]` runs the named steps, in one process and in gate order, for an iteration loop and announces `NOT A GATE RUN` in the summary and in `--json` (`data.notAGateRun`, `data.only` — always a list), writing no floor file; an unknown name is refused with every valid name and the nearest match. **The gate is this command with no flag.** There is no `--skip` | shipped |
|
|
37
37
|
| `x env [check\|example\|init]` | validate the process env against `envSchema`, regenerate `.env.example` from it, or write `.env.production` (`init --production`) | shipped |
|
|
38
38
|
| `x secrets <sub>` | the committed encrypted secrets file: show, init, edit, set, rotate | shipped |
|
|
@@ -47,10 +47,10 @@ x version # CLI version
|
|
|
47
47
|
| `x doctor` | environment, versions, drift, the newest migration's snapshot sidecar, ports, PWA prerequisites — each with a fix | shipped |
|
|
48
48
|
| `x help` / `x version` | catalogue and version | shipped |
|
|
49
49
|
| `x actions` / `x queries` / `x entities` | introspect the declaration registries | shipped |
|
|
50
|
-
| `x jobs` | list, show, retry, cancel, remove and promote jobs; pause and resume a queue · `drain`
|
|
50
|
+
| `x jobs` | list, show, retry, cancel, remove and promote jobs; pause and resume a queue · `drain` was removed from the registry `As of 2026-11-15` ([Known gaps](Known-Gaps#open-by-decision)) | shipped |
|
|
51
51
|
| `x tasks` | cron tasks, their timezone and their next run | shipped |
|
|
52
52
|
| `x policy` | which clause decided a permission, and why | shipped |
|
|
53
|
-
| `x exercise [<name>] [--seed n]` | run every action, query and
|
|
53
|
+
| `x exercise [<name>] [--seed n] [--shard i/n]` | run every action, query, job and route `load` once on generated rows, with no test written; the gate's `exercise` step | shipped |
|
|
54
54
|
| `x drill [<name>] [--list] [--budget-ms n]` | the app's `web` and `worker` roles as real processes on real Postgres, Redis and NATS, each dependency faulted through a proxy or each role signalled, red on any framework contract that does not hold. Not a gate step: it needs the services | shipped |
|
|
55
55
|
| `x i18n` | add, sync, check catalogs | shipped |
|
|
56
56
|
| `x mail preview <id>` | render a mail's declared `preview` in every locale, nothing sent | shipped |
|
|
@@ -66,13 +66,14 @@ x version # CLI version
|
|
|
66
66
|
| `x docs "<question>"` | framework docs and this wiki, offline, from the install — the first lookup | shipped |
|
|
67
67
|
| `x fix boundary <file>` | plan the minimal cut for an import that crossed a surface boundary (never rewrites) | shipped |
|
|
68
68
|
| `x upgrade` | one major per run: exact pins, the Bun floor, `bun install`, the gate, the section to read | shipped |
|
|
69
|
-
| `x token create\|list\|revoke` | MCP and API tokens in the app's `x_api_keys`: issue one with exact scopes (plaintext shown once), list an owner's, revoke one · `grant`
|
|
69
|
+
| `x token create\|list\|revoke` | MCP and API tokens in the app's `x_api_keys`: issue one with exact scopes (plaintext shown once), list an owner's, revoke one · `grant` was removed from the registry `As of 2026-11-15` ([Known gaps](Known-Gaps#open-by-decision)) | shipped |
|
|
70
70
|
| `x config show [--section <key>]` | the resolved `app.config.ts`, defaults merged, credentials redacted | shipped |
|
|
71
|
-
| `x logs tail [--lines n] [--role <role>]` | the last lines of `.x/dev.log
|
|
72
|
-
| `x cache graph\|bust <tag>\|clear` | the tag graph off the manifest (what each write evicts), a bust of one tag or every declared tag through the app's own tiers and bus · `stats`
|
|
71
|
+
| `x logs tail [--lines n] [--role <role>]` | the last lines of `.x/dev.log`, or one role's (its `.x/logs/<role>.log`, else its lines of the dev log) — the `logs.tail` MCP tool's reader | shipped |
|
|
72
|
+
| `x cache graph\|bust <tag>\|clear` | the tag graph off the manifest (what each write evicts), a bust of one tag or every declared tag through the app's own tiers and bus · `stats` was removed `As of 2026-11-15` ([Known gaps](Known-Gaps#not-built-yet)) | shipped |
|
|
73
73
|
| `x explain <query> [--input <json>] [--org <id>]` | one declared query run once on the dev database, every statement it sent planned by the `exercise` step's oracle | shipped |
|
|
74
|
+
| `x profile <route> [--runs 20] [--top 10]` | a CPU profile of rendering one route in this process: the hottest functions, file and line | shipped |
|
|
74
75
|
| `x branch` | copy-on-write branch environments | planned |
|
|
75
|
-
| `x status` |
|
|
76
|
+
| `x status [--url <origin>] [--samples n]` | the build each live worker runs (`x_job_workers`), and the build, status and role each sampled origin's `/readyz` answers | shipped |
|
|
76
77
|
| `x ai` | eval, cache stats, reindex | planned |
|
|
77
78
|
| `x money add-currency` | extend the currency table | planned |
|
|
78
79
|
|
|
@@ -142,12 +143,14 @@ in the summary and `mcp` in `--json`; an app exporting several prints one line p
|
|
|
142
143
|
`--json` lists them all in `mcpPaths`, endpoint #0 first.
|
|
143
144
|
|
|
144
145
|
```bash
|
|
145
|
-
x dev [--port 3000] [--role web,worker] [--once] [--json]
|
|
146
|
+
x dev [--port 3000] [--host 0.0.0.0] [--tls] [--role web,worker] [--once] [--json]
|
|
146
147
|
```
|
|
147
148
|
|
|
148
149
|
| Flag | Type | Default | Meaning |
|
|
149
150
|
|---|---|---|---|
|
|
150
151
|
| `--port` | string | `3000` | HTTP port. The `sync` role listens on `--port + 1` |
|
|
152
|
+
| `--host` | string | `localhost` | the interface every socket binds — web, `sync`, metrics: one decision. `localhost` or an IP literal (`0.0.0.0`, `::`, `192.168.1.5`, `[::1]`); a hostname or a typo is `X_CLI_BAD_FLAG`. `HOST` is not read here (the container's variable must not widen a dev shell). A wildcard is reported as `http://localhost:<port>`; `--json` carries `host` |
|
|
153
|
+
| `--tls` | boolean | `false` | the web listener serves https with a generated self-signed ECDSA certificate (no openssl, no dependency), cached in `.x/tls/` — `cert.pem`, `key.pem` (0600) — and regenerated when its names change or within 7 days of its 90-day end. It carries `localhost`, `127.0.0.1`, `::1` and a specific `--host` address. The summary prints the path; `--json` carries `tls.certPath` (`null` without the flag). Trust it once: `curl --cacert .x/tls/cert.pem`, or the OS keychain. No HSTS in dev — a browser pins it per host, every localhost port at once. The `sync` port and the metrics endpoint stay plaintext |
|
|
151
154
|
| `--role` | string | `web,sync,worker,scheduler` | comma-separated roles to run in this process |
|
|
152
155
|
| `--once` | boolean | `false` | boot, report, exit — for smoke tests and CI |
|
|
153
156
|
|
|
@@ -166,6 +169,13 @@ importing them IS the registration. What those modules registered is then served
|
|
|
166
169
|
A module that will not import becomes a finding on the result rather than a dead process, so the
|
|
167
170
|
dev loop stays reachable while something is broken.
|
|
168
171
|
|
|
172
|
+
**`/_x` stays loopback-only whatever `--host` binds, `As of 2026-11`:** a non-loopback `Host` is
|
|
173
|
+
`X_DEV_HOST_REFUSED` (421), and a non-loopback peer naming a loopback `Host` is
|
|
174
|
+
`X_DEV_PEER_REFUSED` (403) — the peer as the pipeline resolves it (`TRUSTED_PROXY_HOPS` honoured,
|
|
175
|
+
so a terminator in front forwards the real client's address). Bound to one specific non-loopback
|
|
176
|
+
address, nothing loopback listens: the summary prints `introspect none` and `--json`'s
|
|
177
|
+
`introspect` is `null`. Over `--tls` the same two checks hold.
|
|
178
|
+
|
|
169
179
|
**What it watches is decided before a descriptor is taken, and the ignore set is your own
|
|
170
180
|
`.gitignore`, `As of 2026-09-06`.** `x dev` walks the app root and opens one non-recursive watcher
|
|
171
181
|
per directory it admits, skipping an ignored one at descent rather than filtering its events
|
|
@@ -317,6 +327,7 @@ Errors: `X_DEV_STOP_TIMEOUT`, `X_CLI_BAD_FLAG` (a `--timeout` that is not a posi
|
|
|
317
327
|
```bash
|
|
318
328
|
x g resource|action|mutator|backfill|job|route|policy|entity|query|task <name> [--feature f]
|
|
319
329
|
x g cron-job|purge|webhook-receiver <name> [--feature f] # a primitive factory's one call + tests
|
|
330
|
+
x g export-rows|import-rows <name> --feature f # the slice's table through storage + tests
|
|
320
331
|
x g island <name> [--at <dir>] # a client component on an otherwise static page
|
|
321
332
|
x g admin:page <name> --permission <perm> [--at <dir>] # a custom admin screen, guarded by construction
|
|
322
333
|
x g guard <name> # a convention this app enforces, as a build error
|
|
@@ -355,7 +366,14 @@ The boot guard is generated, app-owned: `apps/web/runtime.ts` calls `assertSignI
|
|
|
355
366
|
| `x g purge <name>` | `jobs/<name>.ts`, `<name>.job.test.ts`, `<name>.test.ts`, `tasks/<name>-hourly.ts` | `purge({ name, entities: 'declared' })` — the sweep for every `retain` the schema declares (`X_ENTITY_RETAIN_UNSWEPT` without one), fired on `DEFAULT_PURGE_CRON` |
|
|
356
367
|
| `x g webhook-receiver <name>` | `jobs/<name>.ts`, `<name>.test.ts`, and the job's entry in `apps/web/exercise.ts` (a draw cannot sign an event, so `x exercise` queues a verified-shape one) | `webhookReceiver()` at `/hooks/<name>`: the exact bytes `verifyBodyHmac`-checked under `<NAME>_WEBHOOK_SECRET` (comma-separated, so a rotation keeps the old one live), the event read out of the signed body, queued, then acknowledged; an unreadable event is the app's own `X_<NAME>_UNREADABLE` |
|
|
357
368
|
|
|
358
|
-
|
|
369
|
+
**`x g export-rows` · `x g import-rows`** (`As of 2026-11`) are the two factory generators that DO read a table: the slice's own scaffolded one (`db.<plural>`, `title`, `price`), read off its `entity.ts` like `x g backfill`. A `--feature` with no `entity.ts` is `X_FEATURE_REQUIRED`; one whose entity is shaped otherwise is `X_ROWS_SLICE_ENTITY`, fix a `x g job` to declare the call in by hand. Both write `jobs/<name>.ts`, `<name>.job.test.ts` and `<name>.test.ts` (the pass run in process against a memory disk), and read storage through `disk()` — `@ultimat3/storage`, in a new app's dependencies.
|
|
370
|
+
|
|
371
|
+
| Generator | What the declaration holds |
|
|
372
|
+
|---|---|
|
|
373
|
+
| `x g export-rows <name> --feature f` | `exportRows({ input: { orgId, exportId }, tenant: ({ orgId }) => orgId, source: db.<plural>.where({ orgId }), format: 'csv', columns, row, sink: () => disk() })` — one org's rows, Money as minor units + currency, dates as UTC instants, parts under `exports/<name>/<orgId>/<exportId>/` |
|
|
374
|
+
| `x g import-rows <name> --feature f` | `importRows({ input: { orgId, key }, tenant, source: () => disk(), schema, handle })` — the input refines `key` onto `imports/<name>/<orgId>/` (`key-in-own-org`, no `..`), so an import never reads another org's upload and the run's dedupe key is per org; `handle` is `upsertAll(…, { onConflict: ['id'], onMatch: 'nothing' })`, so a replayed page writes nothing twice and never another org's row; refused rows by line under `imports/<name>/<orgId>/errors` |
|
|
375
|
+
|
|
376
|
+
Every other factory, and why no generator writes it (`rollup`, `webhook`, `llm`, `agentJob`, …): `FACTORY_GENERATORS` in `packages/cli/src/generate-factories.ts`, held complete against `PRIMITIVE_FACTORIES` by its test.
|
|
359
377
|
|
|
360
378
|
Alias: `x generate`.
|
|
361
379
|
|
|
@@ -450,6 +468,7 @@ lands in `apps/admin/app/admin/pages/` without `--at` — beside the declaration
|
|
|
450
468
|
| `x g job` · `x g task` · `x g backfill` | `<name>.job.test.ts` | `job` |
|
|
451
469
|
| `x g cron-job` · `x g purge` | `<name>.job.test.ts` **and** `<name>.test.ts` | `job`, `unit` |
|
|
452
470
|
| `x g webhook-receiver` | `<name>.test.ts` | `unit` |
|
|
471
|
+
| `x g export-rows` · `x g import-rows` | `<name>.job.test.ts` **and** `<name>.test.ts` | `job`, `unit` |
|
|
453
472
|
| `x g query` (not live) · `x g entity` · `x g policy` · `x g route` | `<name>.test.ts` | `unit` |
|
|
454
473
|
|
|
455
474
|
`--force` writes the new name and does not touch a file under the old one, because the old name is not in its output list. Delete the orphan by hand.
|
|
@@ -459,7 +478,7 @@ The synopsis above is `GENERATORS` in `packages/cli/src/cmd-generate.ts`, which
|
|
|
459
478
|
## x db
|
|
460
479
|
|
|
461
480
|
```bash
|
|
462
|
-
x db gen "add publish_at" | migrate | reset
|
|
481
|
+
x db gen "add publish_at" | migrate | reset
|
|
463
482
|
| seed [<name>] [--tier reference|dev] [--dry-run] [--json]
|
|
464
483
|
| branch list | branch create <name> | branch delete <name>
|
|
465
484
|
| backfill --list [--name n] [--status s] [--limit n] [--json]
|
|
@@ -474,7 +493,6 @@ x db gen "add publish_at" | migrate | reset | studio
|
|
|
474
493
|
| `migrate` | apply pending migrations, verify the result, then rewrite the schema dump | literally `ROLE=migrate`'s own `runMigrations` — which ends by diffing the live schema against the ledger it just wrote, on the connection it already holds. A difference is `X_DB_DRIFT` and a non-zero exit. Then, `x db migrate` only: the dump is regenerated as `gen` does, and the database is reopened to report any trigger, function, view, type or sequence no migration creates (`unexpected-object`, also `X_DB_DRIFT`). `--json` carries the same `data.schemaDump` |
|
|
475
494
|
| `reset` | delete the embedded data directory, then migrate | **embedded database only** — against an external Postgres it exits `X_NOT_IMPLEMENTED` and tells you to drop and recreate it yourself |
|
|
476
495
|
| `seed [<name>]` | apply the app's seeds — every one this environment takes, or the one named | **replayable**: a second run writes nothing and raises nothing, on Postgres as well as in memory. One transaction per seed, so one bad fixture graph cannot roll back the seeds that already landed. `--dry-run` reports what each would write and writes nothing |
|
|
477
|
-
| `studio` | — | **planned**: exits `X_NOT_IMPLEMENTED` pointing at the `/_x` db panel. It used to shell out to `bunx drizzle-kit studio`; one subcommand is not worth a second schema engine |
|
|
478
496
|
| `branch list` | every **managed** branch of this database: name, location, created-at, size | managed means this framework made it — external, a database carrying `createBranch()`'s `comment on database` marker; embedded, a `pgdata-<name>` directory. A branch cloned by the pre-1.2.x `psql` shell-out carries no marker, so it is absent here and `delete` refuses it → [Known gaps](Known-Gaps). `size` reads `unknown` on the embedded database — measuring it is a full directory walk. The delete path only touches what this lists |
|
|
479
497
|
| `branch create <name>` | `CREATE DATABASE … TEMPLATE` copy-on-write clone (PGlite: a copied data directory) | the isolation an agent should use before migrating. An existing name is `X_BRANCH_EXISTS`, never an overwrite |
|
|
480
498
|
| `branch delete <name>` | delete that branch database (PGlite: its `pgdata-<name>` directory) | a name `list` does not show is refused with `X_DB_BRANCH_FAILED` naming what it *would* have touched — that is the whole guard, and it is why there is no `--force` |
|
|
@@ -612,7 +630,7 @@ pre-1.2.0 layout, and reading it as one would drop every table the pair exists t
|
|
|
612
630
|
|
|
613
631
|
Errors, seed: `X_DECLARATION_UNKNOWN` (no seed of that name — the cause lists the ones there are), `X_CLI_BAD_FLAG` (an unknown `--tier`, one name declared twice, or a `dev` seed reached under `production` with no consent), and whatever the seed itself threw, reported per seed with the file it came from.
|
|
614
632
|
|
|
615
|
-
Errors, schema: `X_DB_DRIFT`, `X_SCHEMA_DUMP_DRIFT`, `X_DB_GEN_FAILED`, `X_DB_MIGRATE_FAILED`, `X_DB_BRANCH_FAILED`, `X_MIGRATION_CONFLICT`, `X_MIGRATION_IRREVERSIBLE`, `X_MIGRATION_VIEW_DEPENDS`, `X_MIGRATE_CONCURRENT`, `X_NOT_IMPLEMENTED`. `X_DB_STUDIO_FAILED` is reserved and no longer thrown — `x db
|
|
633
|
+
Errors, schema: `X_DB_DRIFT`, `X_SCHEMA_DUMP_DRIFT`, `X_DB_GEN_FAILED`, `X_DB_MIGRATE_FAILED`, `X_DB_BRANCH_FAILED`, `X_MIGRATION_CONFLICT`, `X_MIGRATION_IRREVERSIBLE`, `X_MIGRATION_VIEW_DEPENDS`, `X_MIGRATE_CONCURRENT`, `X_NOT_IMPLEMENTED`. `X_DB_STUDIO_FAILED` is reserved and no longer thrown — `studio` left `x db` `As of 2026-11-15` ([Known gaps](Known-Gaps#open-by-decision)).
|
|
616
634
|
|
|
617
635
|
Errors, backfill: `X_BACKFILL_PENDING` (`--pending`, and the only one that is not a refusal — the sweep simply has not run), `X_BACKFILL_UNKNOWN`, `X_BACKFILL_ENVIRONMENT`, `X_BACKFILL_MIGRATION_PENDING`, `X_BACKFILL_APPLIED`, `X_BACKFILL_RUNNING`. All six are `@ultimat3/jobs`', carry a one-line runnable `fix:`, and are what a non-zero exit from these shapes means — full wording in [Error codes → Backfills](Error-Codes#backfills). `X_BACKFILL_STALLED` is the seventh and never reaches this command: it is raised by the pass, on a worker, so it surfaces through `x jobs show <id>`.
|
|
618
636
|
|
|
@@ -674,6 +692,9 @@ below on `--workers` and batching describe 22.6 and earlier where they differ.
|
|
|
674
692
|
| `stepTimeoutMs` | `{ "<step>": milliseconds }` — a step's own deadline. Default 8 minutes for the six suites, 5 for every other step; past it the step is `X_VERIFY_STEP_TIMEOUT` and its processes are killed |
|
|
675
693
|
| `exercise` | `{ "unprovenMax"?: <0–1>, "statementsMax"?: <whole ≥ 1> }` — what the `exercise` step's pass may leave unproven, and statements per call (`X_EXERCISE_UNPROVEN_ABOVE_FLOOR`, `X_STATEMENTS_OVER_BUDGET`); absent, each is a warning line → [`x exercise`](#x-exercise), `As of 31.16.0` |
|
|
676
694
|
| `isolate` · `typecheckBin` · `agentsMdMaxBytes` | a fresh global per test file · the `tsc`-compatible binary · the `AGENTS.md` byte budget |
|
|
695
|
+
| `strict` | `true`: every one of the 21 steps runs a check or carries a `skip` why — an unexcused one is red, `X_VERIFY_STRICT_UNRUN`. Absent or `false`: a warning line and `data.unwaived` name the steps that ran none. `As of 2026-11-15`; the default flips to `true` on `next` |
|
|
696
|
+
| `skip` | `{ "<step>": "<why>" }` — the written reason a step runs no check in this repo: a step the gate runs, not one `steps` lists, a non-empty reason. A why over a step that ran is a warning on that step (`drop its entry`) |
|
|
697
|
+
| `guardBaseline` | `{ "<guard>": n }` — a `guards/<guard>.ts` may still report `n` findings: up to `n` they are notices on `boundaries`, above it red (`X_GUARD_OVER_BASELINE`), under it red too, naming the lower number (`X_GUARD_BASELINE_STALE`) — the baseline only falls. A baseline for a guard the app no longer has is stale; a report-only guard (`severity: 'warning'`) is never judged |
|
|
677
698
|
|
|
678
699
|
Either render prints one line per finished step on **stderr** as each finishes — under `--json`
|
|
679
700
|
`{"step":"lint","ok":true,"ms":21987}`, otherwise (`As of 31.22`) `✓ lint 22.0s`, `○ seo 0.0s` for a
|
|
@@ -703,6 +724,11 @@ every reader sees:
|
|
|
703
724
|
`--json` carries the same fact twice: `steps[].skipped` per step, and `data.skipped` as the list of
|
|
704
725
|
names beside `data.failed`. `all {n} steps passed` is printed only when nothing was skipped.
|
|
705
726
|
|
|
727
|
+
Every step that ran no check — a skip, a vanished suite, a strict refusal — is printed under the
|
|
728
|
+
table as `skipped: <step> — <reason>` (`no *.e2e.test.ts file in this tree`, `found 3 test(s) and
|
|
729
|
+
every one skipped itself`) and carried in `data.skipReasons` as `{ "<step>": "<reason>" }`,
|
|
730
|
+
`As of 2026-11-15`.
|
|
731
|
+
|
|
706
732
|
`x.verify.json` ratchets those skips. Hand-written, committed at the repo root, read by the gate
|
|
707
733
|
and written by nothing:
|
|
708
734
|
|
|
@@ -716,6 +742,23 @@ the two edits that resolve it. A repo with no such file is not ratcheted, and a
|
|
|
716
742
|
not run is refused by the `manifest` step (`X_CONFIG_INVALID`) rather than silently covering
|
|
717
743
|
nothing. Removing a line is allowed; it just has to be a diff somebody reviews.
|
|
718
744
|
|
|
745
|
+
**`live` starts its own test database, `As of 2026-11-15`.** When `x.verify.json` holds `live`
|
|
746
|
+
(or `--only` names it), the step runs the idempotent `docker compose -f
|
|
747
|
+
docker/docker-compose.test.yml up -d --wait --wait-timeout 120` — the stack `x new` wrote — and
|
|
748
|
+
hands that env file's values to the suites, for every key the shell left unset. It runs even when
|
|
749
|
+
`TEST_DATABASE_URL` already answers: a Postgres still starting is waited for, and Redis, NATS and S3
|
|
750
|
+
come up beside it. If `up` fails while the database answers our login (a concurrent run's container
|
|
751
|
+
conflict, say), only the keys whose service answers are handed over — a suite with no URL skips; one
|
|
752
|
+
with a dead URL would fail. A Postgres on that port that refuses this app's login is another app's
|
|
753
|
+
stack: `X_TEST_SERVICES_UNAVAILABLE`, and nothing is handed over. A `TEST_DATABASE_URL` that is not
|
|
754
|
+
the env file's is your own server, and is never probed or second-guessed. The stack is **left
|
|
755
|
+
running** (RAM only; the next run reuses it) and the step's warning says so, with the stop line,
|
|
756
|
+
`docker compose -f docker/docker-compose.test.yml down`. No Docker, or a start that fails with no
|
|
757
|
+
database answering: a warning carrying `X_TEST_SERVICES_UNAVAILABLE` and the start command as its
|
|
758
|
+
fix, and the suites run exactly as before — a floor whose every live test then skipped is still
|
|
759
|
+
`X_VERIFY_SUITE_VANISHED`.
|
|
760
|
+
`packages/cli/src/verify-live.ts` decides when; `verify-services.ts` probes and starts.
|
|
761
|
+
|
|
719
762
|
`--workers` widens the test steps only. `unit`, `contract`, `job` and `eval` run as
|
|
720
763
|
`bun test --parallel=N`, each worker with its own database; `live` and `e2e` are serial by
|
|
721
764
|
declaration and say so in the output. **`x test live` and `x test e2e` obey the same declaration,
|
|
@@ -986,6 +1029,7 @@ health probe at once.
|
|
|
986
1029
|
| `ROLE` | `web` | one of `web`, `sync`, `worker`, `scheduler`, `migrate`, `replicator`. **There is no `all`** |
|
|
987
1030
|
| `PORT` | `3000` | empty or whitespace falls back to the default; anything else must be an integer in 0–65535 (`0` is legal — an ephemeral port) |
|
|
988
1031
|
| `HOST` | `0.0.0.0` | the interface the `web` and `sync` roles bind, and the metrics endpoint with them — one decision. Empty or whitespace falls back to the default. `HOST=127.0.0.1` inside a container is **unreachable through `docker run -p`** — the proxy connects to the container's bridge address, never its loopback — and reachable only where the container shares the host's network namespace (`--network host`) or through a sidecar and `ssh -L` inside it. That is the exposure an app which admits one implicit actor without a login wants, and until 2026-09-07 such an app could not run in a container at all. `runRole({ …, hostname: '127.0.0.1' })` overrides the variable, the way `port` overrides `PORT`, for an app that must never trust the deployment to set it |
|
|
1032
|
+
| `TLS_CERT` / `TLS_KEY` | unset | paths of a PEM certificate and its PEM private key, read once at boot by the `web` role, whose listener then serves TLS (a direct TLS socket counts as https: HSTS goes out with no proxy header). Both or neither, `X_CONFIG_INVALID` otherwise: one alone or a path that reads nothing is refused before any service starts, a file that is not PEM of the right kind when the listener is built. Unset — the default — the ingress terminates TLS. `sync` and the metrics endpoint stay plaintext |
|
|
989
1033
|
|
|
990
1034
|
| Failure | Code | Fix as printed |
|
|
991
1035
|
|---|---|---|
|
|
@@ -1210,7 +1254,7 @@ whatever its bearer token was issued.
|
|
|
1210
1254
|
| `db.migrate` | apply pending migrations to a **branch** database | `db:migrate` |
|
|
1211
1255
|
| `tests.run` | `x test [--filter]` itself — the shell's files, batches and environment, so it agrees with `x test`; structured results — an error outside any test (`1 error` beside `0 fail`) or a non-zero exit is a failure, never `failed: 0` | `dev:test` |
|
|
1212
1256
|
| `verify.run` | `x verify` itself, so it agrees with the shell; `only: [steps]` is `--only` (not a gate run); structured per-step result | `dev:test` |
|
|
1213
|
-
| `logs.tail` | last N log lines, optionally for one role | `dev:logs` |
|
|
1257
|
+
| `logs.tail` | last N log lines, optionally for one role: its `.x/logs/<role>.log` when one was written, else the `.x/dev.log` lines whose `role` field names it (`As of 2026-11-15`; a line written outside any request or job names none) | `dev:logs` |
|
|
1214
1258
|
| `requests.statements` | the running `x dev`'s per-request statement ledger: SQL count, repeated statements and N+1 verdicts per recent request, or one `requestId`; `limit` default 10, maximum 50. No `x dev` running: `X_NOT_IMPLEMENTED` naming it (`As of 31.22`) | `dev:logs` |
|
|
1215
1259
|
| `graph.query` | `{ node }`: what a change to a file or primitive reaches (`x impact`); `{ from, to }`: the edges linking two nodes (`x graph --from --to`) | `dev:read` |
|
|
1216
1260
|
| `ui.shot` | photograph one route at a named viewport, light or dark; PNG path plus verdict. Launches a browser | `dev:test` |
|
|
@@ -1231,7 +1275,7 @@ Never exposed in `ROLE=web`. Errors split by when they fire:
|
|
|
1231
1275
|
| boot — configuring an MCP surface with `defineAppMcp` | `X_MCP_TOOL_UNDECLARED`, `X_MCP_TOOL_UNSAFE`, `X_MCP_TOOL_DUPLICATE` | the call throws; no server starts |
|
|
1232
1276
|
| runtime — one request | `X_MCP_TOOL_UNKNOWN`, `X_INPUT_INVALID` (an `isError` result), `X_MCP_SCOPE_DENIED`, `X_MCP_QUERY_REJECTED`, `X_MCP_NOT_BRANCH_DB`, `X_MCP_PROTOCOL` | that call is refused; the server keeps serving |
|
|
1233
1277
|
|
|
1234
|
-
A tool this caller may not see is absent from `tools/list` and answers ToolNotFound, never Forbidden. `x token
|
|
1278
|
+
A tool this caller may not see is absent from `tools/list` and answers ToolNotFound, never Forbidden. A wider token — `x token create --scopes <a>,<b> --json`, then `x token revoke <old-id>` — takes effect on the next connection: scopes are fixed for the life of one. Full model: [MCP and AI](MCP-And-AI).
|
|
1235
1279
|
|
|
1236
1280
|
## x doctor
|
|
1237
1281
|
|
|
@@ -1350,7 +1394,6 @@ x jobs [list|show <id>|retry <id>|cancel <id>|delete <id>|promote <id>|resolve-s
|
|
|
1350
1394
|
| `resolve-step <id> <step>` | answer a `once` step whose outcome is unknown (`X_STEP_OUTCOME_UNKNOWN`): `--ran --output '<json>'` records it `completed` — a replay returns that JSON, default `null` — and `--not-ran` records it `cleared`, so the next run calls it again. Exactly one of the two. Refused on a running job, or a step that did not start-and-not-complete (`X_STEP_NOT_RESOLVABLE`). Answers the job's trace; then `x jobs retry <id>` |
|
|
1351
1395
|
| `pause <queue>` | no worker claims from the queue; enqueues still land. A row every worker's next claim reads, so it holds **fleet-wide within one poll interval**. Idempotent. Answers the paused list as the queue now holds it |
|
|
1352
1396
|
| `resume <queue>` | undo it |
|
|
1353
|
-
| `drain` | **planned**, `As of 25.0.0`: exits `X_NOT_IMPLEMENTED` before the queue boots and before a job is leased, pointing at `x jobs list --json`. Postgres is the one durable job driver, so there is nowhere to drain to. Its two former `--to` values, `redis` and `nats`, were `X_NOT_IMPLEMENTED` stubs on every method — a drain leased the whole pending batch for five minutes, failed every enqueue and nacked it back — and 25.0.0 deleted both stubs and the unreachable drain body. 25.0.0 also deleted the `--to` and `--dry-run` flags: the parser refuses them as unknown |
|
|
1354
1397
|
|
|
1355
1398
|
`show`, `retry`, `cancel`, `delete` and `promote` each take **one id positional**, `resolve-step` an id and a step name; `pause` and `resume` take **one queue positional**. There is no bulk verb here — bulk is `requeueMany` / `removeMany` on `JobIntrospection`, which a dashboard calls. `--queue`, `--state`, `--name`, `--limit` and `--after` narrow `list` only. A bare `x jobs` is `list`. One verb each, no alias: `ls` and `rm` are `X_CLI_UNKNOWN_COMMAND` since 26.0.0.
|
|
1356
1399
|
|
|
@@ -1398,7 +1441,7 @@ Errors: `X_DECLARATION_UNKNOWN` (with the nearest name as its fix), `X_CLI_BAD_F
|
|
|
1398
1441
|
## x exercise
|
|
1399
1442
|
|
|
1400
1443
|
```bash
|
|
1401
|
-
x exercise [<name>] [--seed n] [--json]
|
|
1444
|
+
x exercise [<name>] [--seed n] [--shard i/n] [--json]
|
|
1402
1445
|
```
|
|
1403
1446
|
|
|
1404
1447
|
Every action, query and job the app registers, run **once** against generated rows, with no test
|
|
@@ -1471,6 +1514,55 @@ had no effect has vacuous proofs — a sweep of nothing is `flat`. One warning l
|
|
|
1471
1514
|
five, `X_EXERCISE_EMPTY_REACH … — fix: edit exercise.ts: give each an input that reaches its work, or
|
|
1472
1515
|
{ off: '<why>' }`. A warning, not red, on a whole-pass run only.
|
|
1473
1516
|
|
|
1517
|
+
**Route entries** (`As of 2026-11-15`). What a page needs that a seeded id and a role cannot give it
|
|
1518
|
+
is `defineExercise`'s second argument, keyed by the URL pattern `x routes` prints:
|
|
1519
|
+
|
|
1520
|
+
```ts
|
|
1521
|
+
import type { Actor } from '@ultimat3/core';
|
|
1522
|
+
import { defineExercise } from '@ultimat3/testing';
|
|
1523
|
+
|
|
1524
|
+
declare const author: Actor; // a signed-in actor the policy allows
|
|
1525
|
+
declare function asMember(seated: Actor | null): Promise<Actor | null>;
|
|
1526
|
+
declare function ownThread(): Promise<{ id: string }>;
|
|
1527
|
+
declare function consentQuery(): Promise<string>;
|
|
1528
|
+
|
|
1529
|
+
export const exercise = defineExercise(
|
|
1530
|
+
{ publishPost: { actor: author } },
|
|
1531
|
+
{
|
|
1532
|
+
routes: {
|
|
1533
|
+
'/posts/board': { actor: asMember }, // (seated) => the actor the authenticator resolves: its facts
|
|
1534
|
+
'/messages/:id': { params: ownThread }, // computed in the load's own request, as its actor
|
|
1535
|
+
'/oauth/consent': { search: consentQuery }, // the query string a load reads off `url`
|
|
1536
|
+
'/about': { empty: 'renders a static page: no row' },
|
|
1537
|
+
'/admin': { off: 'measured by its own e2e test' },
|
|
1538
|
+
},
|
|
1539
|
+
},
|
|
1540
|
+
);
|
|
1541
|
+
```
|
|
1542
|
+
|
|
1543
|
+
`params`, `search` and an `actor` function run inside the load's request before the observed call,
|
|
1544
|
+
so their statements are never the load's; a function that throws leaves the load `unreached` with
|
|
1545
|
+
`its exercise.ts <field> threw`. `statements: { max, why }` moves its ceiling. A blank `off`, `empty`
|
|
1546
|
+
or `why` is `X_CONTRACT_EXERCISE_UNDECLARED`; a pattern no route with a `load` has is
|
|
1547
|
+
`X_DECLARATION_UNKNOWN` before a row is written. A load that reads the app's own typed client
|
|
1548
|
+
(`queries.orgPosts(…)` over `APP_URL`) is answered **in process** by the app's API, as the actor the
|
|
1549
|
+
load runs as — `APP_URL` is set to `http://localhost:3000` when the env names none — so its
|
|
1550
|
+
statements are counted and swept like the page's own. A route load reached with no statement and no
|
|
1551
|
+
effect is its own `· X_EXERCISE_EMPTY_REACH` line, its fix the `empty` entry to paste; a primitive's
|
|
1552
|
+
entry takes `empty: '<why>'` too, and a record whose entry gives one carries it as `empty`.
|
|
1553
|
+
|
|
1554
|
+
**Push is an effect** (`As of 2026-11-15`). Every actor holds one stand-in Web Push device in the
|
|
1555
|
+
pass, as the memory mail driver accepts every address, so a notifier's `webPush()` encrypts, signs
|
|
1556
|
+
and sends to the captured push service, and the record carries `{ kind: 'push', host, count }`. A
|
|
1557
|
+
pusher that sends nothing leaves no effect: its job is an empty reach, not a delivered push.
|
|
1558
|
+
|
|
1559
|
+
**`--shard i/n`** (`As of 2026-11-15`) runs the i-th of n disjoint slices of the pass — primitives,
|
|
1560
|
+
then routes, by their position in the registry — on its own scratch database, and writes
|
|
1561
|
+
`.x/exercise.<i>-of-<n>.json` (never `.x/exercise.json`). Run the n slices as n processes. Each
|
|
1562
|
+
slice's findings are its own; the static findings and the subject proof are slice 1's; the whole-pass
|
|
1563
|
+
floor (`unprovenMax`, its warning line) is judged only unsharded. Beside a `<name>`, or not i/n,
|
|
1564
|
+
`X_VERIFY_SHARD_INVALID`, fix `x exercise --shard 1/2 --json`.
|
|
1565
|
+
|
|
1474
1566
|
Errors: `X_CONTRACT_EXERCISE_UNREACHED`, `X_CONTRACT_EXERCISE_UNDECLARED`, `X_DECLARATION_UNKNOWN`, `X_CLI_BAD_FLAG`, `X_EXERCISE_UNPROVEN_ABOVE_FLOOR`, `X_EXERCISE_SEED_FAILED`, `X_STATEMENTS_OVER_BUDGET`; warning lines only: `X_EXERCISE_EMPTY_REACH`.
|
|
1475
1567
|
|
|
1476
1568
|
## x drill
|
|
@@ -1656,6 +1748,7 @@ A dry run refuses exactly what the real run would, then stops before step 4. It
|
|
|
1656
1748
|
| `bun` | `{ from, to, edited[], manual[] }`. `manual[]`: `{ path, line, text, why }`, a site only you can move, listed on every run |
|
|
1657
1749
|
| `agentsMd` | `link`: `AGENTS.md` was byte-identical to `CLAUDE.md` and the hop makes it a relative symlink to it · `linked`: already one · `differs`: two different files, left alone; merge what only `AGENTS.md` says into `CLAUDE.md`, then `ln -sf CLAUDE.md AGENTS.md` · `none`: one of the two is missing · `null`: no hop planned |
|
|
1658
1750
|
| `guards` | `{ reported, missing[], differs[], installed[], withheld[] }` from the hop's own `x doctor`. `As of 31.16.0` each missing shipped guard is written from the installed release's template and kept when `boundaries` finds nothing more with it on disk: `installed[]` names it. One the tree already breaks is taken back out: `withheld[]` is `{ name, add, findings }` (`findings: null` when the count could not be measured) and `missing[]` still lists it. `differs[]` — the app's edit or an older copy — is never overwritten: `x g guard <name> --force` is yours. `reported: false` is a CLI too old to list them, which is not the same as none |
|
|
1751
|
+
| `guards.baselined` | `[{ name, findings }]`, absent when empty, `As of 2026-11-15`: a guard the tree breaks, kept anyway — its measured count merged into `x.verify.json` as `"guardBaseline": { "<name>": n }` (beside the app's keys; a baseline the app already wrote for it, or a floor that is not a JSON object, is never touched) and kept only when the installed CLI's `boundaries` then finds no more than before. Also in `installed[]`. `findings: null` stays withheld |
|
|
1659
1752
|
| `coverage` | a hop that moved the Bun floor re-measures unit coverage (`x verify --only unit`); only when that measurement is `X_COVERAGE_BELOW_FLOOR` is the `x.verify.json` `coverage` floor moved to it, the number that fell alone, with a dated `why`: `{ file, measured, from, to, why }`. `null` when nothing moved |
|
|
1660
1753
|
| `exerciseFloor` | `{ file, written }`: the `exercise` keys (`unprovenMax`, `statementsMax` ≥ 100) the hop's own `x exercise` measured, written into an `x.verify.json` that stated none, so the hop stays green and the floor only falls. A key the app already wrote is never touched; `null` when nothing was written |
|
|
1661
1754
|
| `manifest` | `{ ok, findings[] }`. A failure does not stop the gate |
|
|
@@ -1989,17 +2082,28 @@ For each violation involving the file it reports the offending edge, the full ch
|
|
|
1989
2082
|
| `create --scopes <a,b> [--user <id>] [--org <id>] [--env dev\|stage\|prod] [--days n]` | issues one key carrying exactly those scopes (a wildcard is `X_CONFIG_INVALID`). `--env` unsaid is the environment's label: `ULTIMATE_ENV` (else `NODE_ENV`) production → `prod`, staging → `stage`, else `dev`; an unreadable `ULTIMATE_ENV` reads as `prod`. `--user` cuts its scopes to what that user may do and stops it when the user is disabled. The plaintext is printed **once** — in the human lines, or `data.token` under `--json` — and never in the summary; only its SHA-256 is stored |
|
|
1990
2083
|
| `list --owner <id>` | the keys of a user or org, as `describeApiKey` answers them: no hash, no secret. A key issued with neither is listed by nobody and revoked by its id |
|
|
1991
2084
|
| `revoke <id>` | revokes it; an unknown or already-revoked id answers `revoked: false`, exit 0 — neither is a key that works |
|
|
1992
|
-
| `grant` | **planned**: a key's scopes are fixed when issued. Issue a wider one and revoke the old |
|
|
1993
2085
|
|
|
1994
2086
|
Every flag is read before the database opens: a refusal costs no boot.
|
|
1995
2087
|
|
|
2088
|
+
## x status
|
|
2089
|
+
|
|
2090
|
+
`As of 2026-11-15`. `x status [--url <origin>[,<origin>…]] [--samples n] [--json]` — what the running deployment is, from what it already records. A read, exit 0 whatever it finds: whether one build is fully out is [`x deploy verify`](#x-deploy-verify)'s question.
|
|
2091
|
+
|
|
2092
|
+
| Half | Read from | `--json` |
|
|
2093
|
+
|---|---|---|
|
|
2094
|
+
| workers | every live row of `x_job_workers`, through the queue `x jobs list` opens (`DATABASE_URL`, else the embedded database) | `data.workers`: `count`, `draining`, `byBuild` (a row from before the build column is `unknown`), `rows[]` |
|
|
2095
|
+
| origins | `--url`: `--samples` (default 5, 1–50) `GET /readyz` per origin, each on its own connection, so a load balancer chooses again | `data.origins[]`: `origin`, `samples`, `byBuild` (`x-ultimate-build`), `byStatus` (`unreachable` when nothing answered), `unstamped` (a 2xx with no build), `roles` (named by a role's health port) |
|
|
2096
|
+
| unrecorded | — | `data.unrecorded`: `web`, `sync`, `scheduler`, `replicator` — no fleet-wide record holds their build; name each one's health origin in `--url` ([Known gaps](Known-Gaps#not-built-yet)) |
|
|
2097
|
+
|
|
2098
|
+
`--url` takes bare http(s) origins only — a path, query or credentials is `X_CLI_BAD_FLAG`, as is a `--samples` outside 1–50. Both are refused before any request or connection.
|
|
2099
|
+
|
|
1996
2100
|
## x config
|
|
1997
2101
|
|
|
1998
2102
|
`As of 2026-11`. `x config show [--section <key>]` — `app.config.ts` as the boot reads it: through `loadAppConfig` and core's `defineConfig`, every default merged. A credential-named key (the logger's own rule, `isRedactedKey`), a `secret()` value and the password in a URL's userinfo print as `[redacted]`. `--section` takes a top-level key the resolved record owns; any other is `X_CLI_BAD_FLAG` listing them.
|
|
1999
2103
|
|
|
2000
2104
|
## x logs
|
|
2001
2105
|
|
|
2002
|
-
`As of 2026-11`. `x logs tail [--lines n] [--role <role>]` — the last `n` lines (default 100, at most 10,000) of `.x/dev.log`, which `x dev` tees
|
|
2106
|
+
`As of 2026-11`. `x logs tail [--lines n] [--role <role>]` — the last `n` lines (default 100, at most 10,000) of `.x/dev.log`, which `x dev` tees; with `--role`, that role's `.x/logs/<role>.log` when one was written, else the dev log's lines whose `role` field names it (`As of 2026-11-15`). The `logs.tail` MCP tool's reader (`mcp-host-logs.ts`), so both answer the same lines. A `--role` that is not a runtime role is `X_CLI_BAD_FLAG` before any path is built; no dev log yet is `X_DEV_LOG_ABSENT`, fix `x dev`.
|
|
2003
2107
|
|
|
2004
2108
|
## x cache
|
|
2005
2109
|
|
|
@@ -2010,28 +2114,43 @@ Every flag is read before the database opens: a refusal costs no boot.
|
|
|
2010
2114
|
| `graph` (default) | per tag: the actions whose `invalidates` name it, the queries cached under it and the routes revalidated by it, read off the manifest. `data.neverEvicted` lists the tags something reads and no action invalidates — fresh only until their TTL |
|
|
2011
2115
|
| `bust <tag>` | boots the app's declared tiers and bus as a role does (`startServices`), then `invalidateTags`: shared tiers dropped, the edge purged, every replica told. With an in-process bus (no `NATS_URL`, no `REDIS_URL`) the summary says no running server heard it. A tier that failed is `X_CACHE_DRIVER_UNAVAILABLE`, exit 1; an undeclared tag is `X_CACHE_TAG_UNKNOWN` |
|
|
2012
2116
|
| `clear` | the same bust over every declared tag. An entry cached under no tag waits for its TTL |
|
|
2013
|
-
| `stats` | **planned**: hit rates live in the serving processes — the `/_x` cache panel reads them there |
|
|
2014
2117
|
|
|
2015
2118
|
## x explain
|
|
2016
2119
|
|
|
2017
2120
|
`As of 2026-11`. `x explain <query> [--input '<json>'] [--org <id>]` — the query run once on the app's dev database (rows discarded; its policy is not asked, as `explainQuery`'s is not), every statement it **sent** captured off `db.statement` and planned by `sweepPlans`: the oracle the `exercise` step judges with. A read no declared index serves is `X_QUERY_UNINDEXED` / `X_QUERY_SORT_UNSERVED` with the `indexes:` entry as its fix, exit 1. A query over a tenant-scoped entity needs `--org`, else `X_CLI_BAD_FLAG`. Tables the dev database lacks are listed as not planned — run `x db migrate` first. An external `DATABASE_URL` where `ULTIMATE_ENV` (else `NODE_ENV`) resolves production — or `ULTIMATE_ENV` is unreadable — is refused before anything opens, `X_EXPLAIN_PRODUCTION_DATABASE`: the query would be sent for real with its policy skipped. Plan on the embedded database, or on a staging restore under `ULTIMATE_ENV=staging`.
|
|
2018
2121
|
|
|
2122
|
+
## x profile
|
|
2123
|
+
|
|
2124
|
+
`As of 2026-11`. `x profile <route> [--runs 20] [--top 10] [--json]` — the app booted in this
|
|
2125
|
+
process (`x dev`'s boot, web role, an ephemeral port, the same `.x/dev.lock` claim — so a running
|
|
2126
|
+
`x dev` on the checkout is `X_DEV_ALREADY_RUNNING`), the route requested once to warm it, then
|
|
2127
|
+
`--runs` more through the pipeline's in-process dispatch under JavaScriptCore's sampling profiler
|
|
2128
|
+
(`bun:jsc`, 100 µs). Reports the `--top` hottest functions by self samples:
|
|
2129
|
+
|
|
2130
|
+
| `--json` field | Meaning |
|
|
2131
|
+
|---|---|
|
|
2132
|
+
| `route`, `status`, `runs` | what was rendered, the warm-up's status, how many requests were sampled |
|
|
2133
|
+
| `samples`, `intervalMicros` | samples taken and the sampling interval |
|
|
2134
|
+
| `hottest[]` | `{ name, file, line, self, total, selfPercent }` — `file` root-relative for the app's own, `native` for a frame with no source; `total` counts samples with the function anywhere on the stack |
|
|
2135
|
+
|
|
2136
|
+
A route answering `>= 400` is profiled and reported red, `X_PROFILE_ROUTE_FAILED` (fix: `x routes
|
|
2137
|
+
--json`). An absolute URL, a missing route or a `--runs` outside 1–10000 is `X_CLI_BAD_FLAG`.
|
|
2138
|
+
|
|
2019
2139
|
## Planned commands
|
|
2020
2140
|
|
|
2021
2141
|
Specified in the design docs, not yet implemented. Every one is in the command registry: calling it exits `X_NOT_IMPLEMENTED` with a `fix:` naming the closest shipped command, because "not built yet" and "not a command" are different facts and only one of them is true.
|
|
2022
2142
|
|
|
2023
|
-
The table is `PLANNED_COMMANDS` in `packages/cli/src/cmd-planned.ts`; `cmd-planned.test.ts` asserts every row is reachable through the parser and that no `fix` points at another planned command. `PLANNED_SUBCOMMANDS` in the same file is the one-level-down version — a subcommand of a shipped command that this build does not implement
|
|
2143
|
+
The table is `PLANNED_COMMANDS` in `packages/cli/src/cmd-planned.ts`; `cmd-planned.test.ts` asserts every row is reachable through the parser and that no `fix` points at another planned command. `PLANNED_SUBCOMMANDS` in the same file is the one-level-down version — a subcommand of a shipped command that this build does not implement — and is empty `As of 2026-11-15`: `x db`'s `studio`, `x jobs`'s `drain`, `x token`'s `grant` and `x cache`'s `stats` left the registry, each with its reason in [Known gaps](Known-Gaps), and the parser now refuses each with `X_CLI_UNKNOWN_COMMAND` — exit 1, as `X_NOT_IMPLEMENTED` was.
|
|
2024
2144
|
|
|
2025
2145
|
| Command | Purpose | `fix:` today |
|
|
2026
2146
|
|---|---|---|
|
|
2027
2147
|
| `x branch [<name>\|delete <name>]` | copy-on-write database + preview URL + scoped MCP socket | `x db branch list --json` — the database half: `list`, `create <name>`, `delete <name>` |
|
|
2028
|
-
| `x status` | role health and the build-ID distribution of connected clients | `x doctor --json` |
|
|
2029
2148
|
| `x ai [eval <name>\|cache\|reindex]` | eval scores, cache hit rate and tokens saved, vector reindex | `x test eval --json` |
|
|
2030
2149
|
| `x money add-currency <ISO> --exponent <n>` | extend the currency table | `x errors explain X_CURRENCY_UNKNOWN --json` — extend it in code: `registerCurrency({ code, exponent, name })` from `@ultimat3/money`, once at boot. Shipped `As of 2026-08`, and it is what this command promised |
|
|
2031
2150
|
|
|
2032
|
-
**Flags reach the same answer**, `As of 2026-10`: `x money add-currency USD --exponent 2` and `x
|
|
2151
|
+
**Flags reach the same answer**, `As of 2026-10`: `x money add-currency USD --exponent 2` and `x branch --follow --json` exit `X_NOT_IMPLEMENTED` with the row's `fix:`, as the bare form does.
|
|
2033
2152
|
|
|
2034
|
-
`x token`, `x config`, `x logs` and `x cache` left this table `As of 2026-11` (plan 101-full-stack-efficiency-sweeps U5)
|
|
2153
|
+
`x token`, `x config`, `x logs` and `x cache` left this table `As of 2026-11` (plan 101-full-stack-efficiency-sweeps U5), `x status` `As of 2026-11-15`; each has its section above.
|
|
2035
2154
|
|
|
2036
2155
|
## Names that moved
|
|
2037
2156
|
|
|
@@ -239,7 +239,7 @@ Ships since **31.17.0** (`graph`, `bust`, `clear`); `stats` is still **planned**
|
|
|
239
239
|
| `x cache graph --tag post --json` | the blast radius of one tag |
|
|
240
240
|
| `x cache bust <tag> --json` | the real fanout for one tag — the app's own tiers booted as a role boots them, then `invalidateTags`: shared tiers dropped, the edge purged, the bus told — and the invalidation report |
|
|
241
241
|
| `x cache clear --json` | the same bust over every tag the app's modules declare |
|
|
242
|
-
| `x cache
|
|
242
|
+
| hit rates | not a command: `stats` left `x cache` `As of 2026-11-15` — each serving process emits `cache.hit` / `cache.miss` on its own bus and nothing aggregates them ([Known gaps](Known-Gaps#not-built-yet)) |
|
|
243
243
|
|
|
244
244
|
From code: `invalidateTags([...])` from `@ultimat3/cache`, the call `x cache bust` makes.
|
|
245
245
|
|
|
@@ -1357,7 +1357,7 @@ of 2026-11:
|
|
|
1357
1357
|
| Generate | `x db gen "add publish_at"` | diffs entities vs migrations, writes a named, ordered migration + its `down` |
|
|
1358
1358
|
| Apply (dev) | `x db migrate` | runs pending migrations against the dev DB; live queries resubscribe |
|
|
1359
1359
|
| Check | `x db migrate --json` | the live schema against the ledger it just wrote; exits non-zero on a difference |
|
|
1360
|
-
| Inspect | `x
|
|
1360
|
+
| Inspect | `x dev`, then the `/_x` **Schema** panel | tables, columns, indexes, FKs, generated SQL |
|
|
1361
1361
|
| Pre-deploy | `ROLE=migrate` container | run-once hook, same image; waits on the session-pinned migration lock while another version's migration is in flight, then applies. The wait is bounded at 60s (`As of 2026-08`) — past that it exits non-zero with `X_MIGRATE_CONCURRENT` instead of hanging the rollout |
|
|
1362
1362
|
| Test template | automatic | migrate + seed once into `myapp_test_tpl`, then clone per worker |
|
|
1363
1363
|
|
package/wiki/Interface-Rules.md
CHANGED
|
@@ -150,6 +150,9 @@ can see.
|
|
|
150
150
|
| An icon with no `label` is decorative and hidden | `Icon` emits `aria-hidden="true"` unless given one |
|
|
151
151
|
| A live region exists before the message does | `AppShell` renders both `liveRegionAttrs` regions into the server response |
|
|
152
152
|
| One announcement path per message: `announce()` for a state change with no surface, a toast for a notification | **judgement** — two paths make a screen reader read it twice |
|
|
153
|
+
| A listbox, option, menuitem or treeitem is named, and by its OWN name: a tree branch never by its loading text, an option never by its description (`aria-describedby`), an open listbox by the field's own `<label>`s | `components/a11y-roles.test.ts`; Chrome's accessibility tree in `ui-a11y-roles.e2e.test.ts` |
|
|
154
|
+
| Nothing a Tab lands on is a nameless box: a `Table`'s scroll stop is a region named with its caption | `components/a11y-roles.test.ts` (every component that sets a `tabindex`) |
|
|
155
|
+
| Tab or Escape from an open `Menu` closes it, focus back on the trigger (the APG menu button) | `components/a11y-roles.test.ts`, `ui-a11y-roles.e2e.test.ts` |
|
|
153
156
|
| Text meets 4.5:1 and the focus ring 3:1, in **both** themes | `packages/ui/src/tokens/contrast.test.ts`, `x verify`'s `unit` step. Shipped pairings only |
|
|
154
157
|
|
|
155
158
|
**No ARIA is better than bad ARIA** — the WAI-ARIA Authoring Practices Guide's own line, and the
|
|
@@ -237,6 +240,8 @@ them: [Testing](Testing#seeing-what-you-built).
|
|
|
237
240
|
| A drag is Pointer Events with capture from a handle; never HTML5 drag events | `drag/pointer-drag.ts` is the one gesture; `ui-drag.e2e.test.ts` (keyboard, pointer, rtl) |
|
|
238
241
|
| A drop is a request: `onMove` once, the row held until it settles, a rejection restores and is announced | `sort-controller.test.ts`, `drag-interaction.test.ts` |
|
|
239
242
|
| Reordering works by keyboard alone and with scripting off | Space/arrows/Esc in `drag-interaction.test.ts`; the per-row `<form>` in `posts/board/page.test.ts` |
|
|
243
|
+
| Only the handle and a separator refuse the browser's pan, so a phone page still scrolls from a card's body | a REAL finger (`E2eTab.touchDrag`) in `ui-drag-touch.e2e.test.ts`: the handle moves a card across columns, the separator resizes, a body drag scrolls and is cancelled with no lift |
|
|
244
|
+
| A drag survives its row moving lists under the pointer | `pointer-drag.ts` takes back a capture the move released; `pointer-drag-bind.test.ts`, and the finger drag above |
|
|
240
245
|
| A business rule on a drop is `canDrop`, never a fork | **judgement** — the one seam the components take |
|
|
241
246
|
| Text a model or member wrote renders as a tree, never HTML; only http/https/mailto/relative links | `viewers-no-html.test.ts`, `markdown-parse.test.ts`, no alert under CSP in `ui-viewers.e2e.test.ts` |
|
|
242
247
|
| A remote image in a body is a link to its alt unless `resolveImage` reserves its box | `viewers.test.ts` |
|
|
@@ -419,7 +419,7 @@ export const syncAccount = job({
|
|
|
419
419
|
| `QueueStats.failed` | rows that ended `failed`: refused by a busy concurrency key, or exhausted on a `retry.deadLetter: false` job (settled `failed`, outcome `dropped` — that job used to be re-queued forever) |
|
|
420
420
|
| a job whose worker dies on every attempt is dead-lettered | a lease that lapses on a row's FINAL attempt is settled `dead` by the next claim itself — `lastError` says the lease lapsed — and never handed out again. It reaches the dead-letter queue after `retry.attempts` claims; it used to take a worker per visibility timeout, forever. Logged `jobs.claim.exhausted`; `onSettled` is told `dead-lettered`, and `WorkerStats.deadLettered` counts it. A job declaring `retry.deadLetter: false` is buried `failed` instead and told `dropped` — the worker names those jobs to the claim |
|
|
421
421
|
| settles are fenced on the claim | `{ workerId, claim }`: a body whose lease lapsed cannot settle, renew or report on the run that replaced it — whether another worker claimed it or the same one did. The miss is logged `jobs.settle.unowned` |
|
|
422
|
-
|
|
|
422
|
+
| no drain verb | `x jobs` has no `drain` `As of 2026-11-15` (planned with no body since 25.0.0, then removed). A drain written for a future second driver settles what it moves without counting it — a moved job is not a completed one |
|
|
423
423
|
| a scheduled occurrence fires in one statement | the watermark and the occurrence's jobs move together, so a crash between them cannot fire it twice |
|
|
424
424
|
| remote "quiet this worker" | not shipped: SIGTERM drain is the mechanism, and the orchestrator owns process lifecycle |
|
|
425
425
|
|
|
@@ -843,13 +843,13 @@ Two implementations ship, `As of 25.0.0`: `postgresJobDriver()` and `memoryJobDr
|
|
|
843
843
|
| Driver | Status `As of 25.0.0` | When | Trade-off |
|
|
844
844
|
|---|---|---|---|
|
|
845
845
|
| `postgres` (default) | **shipped** | always, up to ~thousands of jobs/sec. `x dev` runs it too, against the embedded PGlite | outbox is free (same DB, same tx); `SELECT ... FOR UPDATE SKIP LOCKED` claiming; zero extra infra |
|
|
846
|
-
| `memory` | **shipped**; there is no config value for any driver | tests and fixtures, through `memoryJobDriver()` | in-process; nothing survives a restart — which is why it was never a safe
|
|
846
|
+
| `memory` | **shipped**; there is no config value for any driver | tests and fixtures, through `memoryJobDriver()` | in-process; nothing survives a restart — which is why it was never a safe drain target |
|
|
847
847
|
|
|
848
848
|
**There is no `jobs.driver`, and 5.0.0 is where it went.** It accepted `'postgres' | 'redis' | 'nats'` and had **no reader anywhere** — boot always built `postgresJobDriver`, stated in [`packages/jobs/src/driver.ts`](https://github.com/developerz-ai/ultimate/blob/main/packages/jobs/src/driver.ts)'s own header. So setting it to `redis` changed nothing at all and you silently got Postgres, which is the more dangerous behaviour because nothing reports it. From 5.0.0 to 24.x a stale key still rode through untyped; **25.0.0 refuses it** at `defineConfig`, naming the driver seam. Deleting it from `app.config.ts` is the whole of the upgrade.
|
|
849
849
|
|
|
850
850
|
**The seam that does work is `jobs:` in `export const runtime = { … }`** (`apps/<app>/runtime.ts`; 31.0.0 deleted `setJobDriver`) — swap the driver, zero job-code change, which is what the interface buys; a test swaps one for itself with `await swapAdapter('jobs', driver)` from `@ultimat3/testing`. Every swappable backend works this way: [Adapters](Adapters). `redisJobDriver()` is the second durable driver (`As of 2026-10`, #710): `jobs: redisJobDriver()` on core's `redisClient()` — while Redis is down an `enqueue` is `X_DRIVER_UNAVAILABLE` at once, never a wait — imported from `@ultimat3/jobs/redis`, held to the same conformance suite as Postgres, without the operator surface (`x jobs show`, `retry`, `cancel`), backfill bookkeeping or fleet-wide `concurrency` — [`packages/jobs/README.md`](https://github.com/developerz-ai/ultimate/blob/main/packages/jobs/README.md#drivers) has the table. There is no NATS jobs driver.
|
|
851
851
|
|
|
852
|
-
**`x jobs
|
|
852
|
+
**`x jobs` has no `drain`, `As of 2026-11-15`.** It was planned from 25.0.0 and left the registry ([Known gaps](Known-Gaps#open-by-decision)): with Postgres the one durable driver, there is nowhere to drain to. To stop a queue for maintenance, `x jobs pause <queue>`, then `x jobs list --queue <queue> --state running --json` until it is empty. Its two former `--to` values, `redis` and `nats`, were all-throw stubs — until 2026-10 a drain leased the whole pending batch for five minutes, failed every enqueue and nacked it back, nothing moved, and no worker could claim those jobs meanwhile. 25.0.0 deleted the stubs and the unreachable drain body. A drain that returns with a real second driver is new code, and owes the lesson of `--to memory`, a target until 2026-09: `memoryJobDriver()` is a `Map` inside the command's own process, so the drain enqueued each job into it, acked the durable row off the source, printed `ok: true`, and lost every copy when the command exited.
|
|
853
853
|
|
|
854
854
|
So there is no cross-driver migration procedure — and none is needed while `postgres` is the only driver that runs.
|
|
855
855
|
|
package/wiki/Known-Gaps.md
CHANGED
|
@@ -66,6 +66,9 @@ Each of these is a defect somebody has already argued about, and the reasoning i
|
|
|
66
66
|
|
|
67
67
|
| Gap | Why it stays |
|
|
68
68
|
|---|---|
|
|
69
|
+
| `x token`'s `grant` | removed from the registry `As of 2026-11-15`, where it was planned and exited `X_NOT_IMPLEMENTED`; now `X_CLI_UNKNOWN_COMMAND`, exit 1 as before. A key's scopes are fixed when it is issued (`AuthApiKeyRecord.scopes`, never widened; `ApiKeyStore` has no update), so a grant is a new key: `x token create --scopes post:read,post:write --json`, then `x token revoke <old-id>`. A second verb for that pair would be the second path axiom 1 refuses |
|
|
70
|
+
| `x db`'s `studio` | removed from the registry `As of 2026-11-15`, where it was planned and exited `X_NOT_IMPLEMENTED`; now `X_CLI_UNKNOWN_COMMAND`, exit 1 as before. The schema browser is the `/_x` db panel (`x dev`): schema, rows and a guarded SQL console. `X_DB_STUDIO_FAILED` stays reserved and unthrown; the old `bunx drizzle-kit studio` shell-out was a second schema engine for one subcommand |
|
|
71
|
+
| `x jobs`'s `drain` | removed from the registry `As of 2026-11-15`, where it was planned and exited `X_NOT_IMPLEMENTED`; now `X_CLI_UNKNOWN_COMMAND`, exit 1 as before. Postgres is the one durable job driver, so there is nowhere to drain to (25.0.0 deleted the Redis and NATS stubs and the drain body). To stop a queue for maintenance: `x jobs pause <queue>`, then `x jobs list --queue <queue> --state running --json` until it is empty |
|
|
69
72
|
| A local write that died after its last rename is listed with no content type until the key is written again | `As of 2026-10`. `localDriver` commits in four steps (marker, sidecar, bytes, clear marker) and a marker left behind means "re-check this pair". `get()` and `stat()` do re-check against the bytes and answer correctly; `list()` never reads bytes, so it reports that object with no `contentType` and `etag: ''` — honest, and it stays that way until the next `put()` of that key. `stream()` returns bytes only and checks nothing. Two files cannot be committed in one step without changing the on-disk layout |
|
|
70
73
|
| A `delete_resource` preview checks only the policy's actor half | `As of 2026-10-18`. Without `live: true` the framework answers a preview without running the action, so the part of a policy that reads the input never runs; a preview can be granted for a call the commit then refuses. Running the policy would mean running the action. An action that needs an exact preview declares `live` in its input and answers its own |
|
|
71
74
|
| `localDriver` cannot hold a key and a key beneath it (`a` and `a/b`) | `As of 2026-10`. An object is a file at its key, and a POSIX path is a file or a directory. The second `put()` is refused by code (`X_STORAGE_KEY_CONFLICT`) where it used to be a bare `ENOTDIR`; `s3Driver` and `memoryStorageDriver` hold both. Storing objects under suffixed names would lift it, at the price of a layout migration for every existing root — and the keys `grantUpload` and `scopedKey` build never nest an object under another, so the limit is met only by hand-built keys |
|
|
@@ -79,7 +82,8 @@ Each of these is a defect somebody has already argued about, and the reasoning i
|
|
|
79
82
|
|
|
80
83
|
| Open | Where it stands |
|
|
81
84
|
|---|---|
|
|
82
|
-
| `x
|
|
85
|
+
| `x cache`'s `stats` | removed from the registry `As of 2026-11-15`, where it was planned and exited `X_NOT_IMPLEMENTED`; now `X_CLI_UNKNOWN_COMMAND`, exit 1 as before. A hit rate is `cache.hit`/`cache.miss` on each serving process's instrumentation bus (`packages/cache/src/tiers.ts`), and no process aggregates them: the `/_x` cache panel shows the tag graph and the invalidation log, not hits. The route is a counter on each role's `/metrics`, read by whatever scrapes it; a CLI process has served nothing to count |
|
|
86
|
+
| `x status` for sync, scheduler and replicator | `As of 2026-11-15`, `x status` reads every live worker's build from `x_job_workers` and samples each `--url` origin's `/readyz` for `x-ultimate-build`. No fleet-wide record exists for the other roles: a sync node keeps its connected clients' builds in its own memory (the `/_x` live panel in `x dev`), and the scheduler and replicator write no row. Each answers `/readyz` on its health port, so `x status --url http://<pod>:9091` reads one pod; the build-ID distribution of connected clients needs an aggregate the realtime package does not keep (`data.unrecorded` names these roles) |
|
|
83
87
|
| `api/**/route.ts` | not a file kind — owner decision 1 ([#648](https://github.com/developerz-ai/ultimate/issues/648)), `As of 2026-10`. `api/` holds the action and query projections `defineApi()` collects; a route file there is refused at registration (`X_ROUTE_FILE_INVALID`), and 26.0.0 deleted `ROUTE_FILENAME`'s `api` row ([#709](https://github.com/developerz-ai/ultimate/issues/709)). A wire format an action cannot speak — a webhook receiver, an OAuth endpoint — is a plain HTTP route in the `routes` runtime override ([Configuration](Configuration)) |
|
|
84
88
|
| Deferred, `As of 2026-10-07` | the plugin API and multi-region replication. The Redis **job** driver shipped (`redisJobDriver()`, #710) without the operator surface, backfill bookkeeping or fleet-wide `concurrency` — those answer on Postgres only; the NATS job driver stub that threw `X_NOT_IMPLEMENTED` was deleted in 25.0.0. |
|
|
85
89
|
|