mayura 1.2.0-rc.0 → 1.2.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.
Files changed (59) hide show
  1. package/docs/cli/run.md +182 -182
  2. package/docs/guides/release-readiness.md +58 -21
  3. package/lib/adapter-code-docker/image/Dockerfile +1 -1
  4. package/lib/adapter-code-docker/package.json +1 -1
  5. package/lib/adapter-code-quickjs/package.json +1 -1
  6. package/lib/adapter-mcp/package.json +1 -1
  7. package/lib/ag-ui/package.json +1 -1
  8. package/lib/artifacts/package.json +1 -1
  9. package/lib/auth/package.json +1 -1
  10. package/lib/authz/package.json +1 -1
  11. package/lib/browser/package.json +1 -1
  12. package/lib/cli/dist/output.js.map +1 -1
  13. package/lib/cli/package.json +1 -1
  14. package/lib/cli/src/output.ts +252 -252
  15. package/lib/client/package.json +1 -1
  16. package/lib/client-react/package.json +1 -1
  17. package/lib/code-mode/package.json +1 -1
  18. package/lib/code-mode-workflows/package.json +1 -1
  19. package/lib/context/package.json +1 -1
  20. package/lib/core/package.json +1 -1
  21. package/lib/exporter-otlp/dist/otlp-http-json.js +1 -1
  22. package/lib/exporter-otlp/dist/otlp-http-json.js.map +1 -1
  23. package/lib/exporter-otlp/dist/signals.js +2 -2
  24. package/lib/exporter-otlp/dist/signals.js.map +1 -1
  25. package/lib/exporter-otlp/package.json +1 -1
  26. package/lib/exporter-otlp/src/otlp-http-json.ts +1 -1
  27. package/lib/exporter-otlp/src/signals.ts +2 -2
  28. package/lib/files/package.json +1 -1
  29. package/lib/guardrails/package.json +1 -1
  30. package/lib/helpers/package.json +1 -1
  31. package/lib/keys/package.json +1 -1
  32. package/lib/memory/package.json +1 -1
  33. package/lib/memory-remote/package.json +1 -1
  34. package/lib/observability/package.json +1 -1
  35. package/lib/provider-anthropic/package.json +1 -1
  36. package/lib/provider-openai/package.json +1 -1
  37. package/lib/rag/package.json +1 -1
  38. package/lib/runtime/package.json +1 -1
  39. package/lib/sandbox/package.json +1 -1
  40. package/lib/sdk/package.json +1 -1
  41. package/lib/server/package.json +1 -1
  42. package/lib/server-node/package.json +1 -1
  43. package/lib/skills/package.json +1 -1
  44. package/lib/storage/package.json +1 -1
  45. package/lib/storage-contracts/package.json +1 -1
  46. package/lib/storage-postgres/package.json +1 -1
  47. package/lib/storage-sql/package.json +1 -1
  48. package/lib/storage-sqlite/package.json +1 -1
  49. package/lib/terminal/dist/index.js.map +1 -1
  50. package/lib/terminal/package.json +1 -1
  51. package/lib/terminal/src/index.ts +273 -273
  52. package/lib/testing/package.json +1 -1
  53. package/lib/threads/package.json +1 -1
  54. package/lib/tools/package.json +1 -1
  55. package/lib/voice/package.json +1 -1
  56. package/lib/workflows/package.json +1 -1
  57. package/lib/workstream/package.json +1 -1
  58. package/llms-full.txt +58 -21
  59. package/package.json +1 -1
package/docs/cli/run.md CHANGED
@@ -1,182 +1,182 @@
1
- ---
2
- title: "Serve, worker and migrate"
3
- description: "Run your application in production with mayura serve, mayura worker and mayura migrate, and write the module they load."
4
- ---
5
-
6
- In production a Mayura application usually runs as separate processes: one or more **servers** that answer HTTP
7
- requests, one or more **workers** that advance durable workflows, and a **migration** step that updates the storage
8
- schema before new code starts. The CLI runs each of these from one application module that you write:
9
-
10
- ```bash
11
- mayura migrate --app dist/src/app.js
12
- mayura serve --app dist/src/app.js
13
- mayura worker --app dist/src/app.js --probe-host 0.0.0.0 --probe-port 9090
14
- ```
15
-
16
- The CLI owns only the process lifecycle: starting, handling Ctrl+C or `SIGTERM`, graceful shutdown and worker probes.
17
- Your module wires its own storage, agents, workflows and authentication with its own installed `mayura` package.
18
-
19
- ## The application module
20
-
21
- The module's default export is an object with up to four functions. Wrap it in `defineMayuraApplication` from
22
- `mayura/cli`, which checks the shape:
23
-
24
- ```ts
25
- import { defineMayuraApplication } from 'mayura/cli';
26
- import { listenProductionServer } from 'mayura/server-node';
27
- import { createWorkflowWorker } from 'mayura/workflows';
28
-
29
- // openServices, agents, authenticate and workerUnits stand for your own code: storage, agent
30
- // registrations, token verification and the workflow runtimes the worker drives.
31
- let services: Promise<Services> | undefined;
32
- const ready = () => (services ??= openServices());
33
-
34
- export default defineMayuraApplication({
35
- async server() {
36
- await ready();
37
- return listenProductionServer({
38
- publicOrigin: 'https://agents.example.com',
39
- hostname: '0.0.0.0',
40
- port: 8080,
41
- tls: { terminatedBy: 'proxy' },
42
- agents,
43
- authenticate,
44
- });
45
- },
46
- async worker() {
47
- return createWorkflowWorker({ units: workerUnits(await ready()) });
48
- },
49
- async migrate() {
50
- await ready();
51
- return { schemaVersion: 1 };
52
- },
53
- async shutdown() {
54
- if (services) await (await services).close();
55
- },
56
- });
57
- ```
58
-
59
- | Function | Used by | Must return |
60
- |---|---|---|
61
- | `server()` | `mayura serve` | A running server with `isAccepting()` and `close()`, such as the result of `listenProductionServer` from `mayura/server-node` |
62
- | `worker()` | `mayura worker` | A worker with `start()`, `isReady()` and `drain()`, such as the result of `createWorkflowWorker` from `mayura/workflows` |
63
- | `migrate()` | `mayura migrate` | Any JSON-serializable report, printed when the migration finishes |
64
- | `shutdown()` | all three | Nothing. Runs last, after the server closes, the worker drains or the migration ends, for example to close storage. |
65
-
66
- Define at least one function, and only these four. A command whose function is missing fails with `INVALID_CONFIG`,
67
- for example `mayura worker` on a module without `worker`.
68
-
69
- `--app` must name a single regular `.js` or `.mjs` file: build your TypeScript first. Directories, symbolic links and
70
- other file types are refused, and the CLI imports nothing else. For a complete, working module, see `src/app.ts` in
71
- any starter, such as
72
- [approval-workflow](https://github.com/KartikeyAI/mayura/blob/main/packages/cli/starters/approval-workflow/src/app.ts).
73
-
74
- ## mayura serve
75
-
76
- `mayura serve --app <module>` calls `server()` and keeps it running. On the first Ctrl+C or `SIGTERM` it closes the
77
- server gracefully, then calls `shutdown()`. A second signal during shutdown forces the process to exit.
78
-
79
- `listenProductionServer` stops accepting new requests, fails its readiness check so load balancers stop routing to
80
- it, and drains in-flight requests before it closes. See [Deployment](../guides/deployment.md).
81
-
82
- ## mayura worker
83
-
84
- `mayura worker --app <module>` calls `worker()`, then `start()`. On the first Ctrl+C or `SIGTERM` it drains the
85
- worker, waiting for in-flight work to finish, then calls `shutdown()`.
86
-
87
- | Option | Meaning |
88
- |---|---|
89
- | `--drain-timeout-ms <ms>` | How long draining may take, from 1 to 300000. Default 30000. |
90
- | `--probe-port <port>` | Serve HTTP health probes on this port. Off by default. |
91
- | `--probe-host <host>` | The address the probes listen on. Default `127.0.0.1`. |
92
-
93
- With `--probe-port`, the worker answers two probes for your orchestrator:
94
-
95
- - `GET /livez` returns 200 while the process is running, and 503 once it starts stopping.
96
- - `GET /readyz` returns 200 while the worker reports itself ready, and 503 when it does not, for example while it is
97
- draining. A worker with a leadership lease is ready only while it can confirm the lease in storage.
98
-
99
- The probe listener comes from `mayura/server-node` in your application's own installation, so `mayura` must be
100
- installed alongside the module. In a container, use `--probe-host 0.0.0.0` so the orchestrator can reach it.
101
-
102
- When the worker stops, it reports whether the drain finished in time, and how much work was interrupted if it did not.
103
-
104
- ### Run once
105
-
106
- With `--once`, the worker advances everything that is due and exits, instead of running until it is stopped. Use it
107
- from a scheduled job (a Cloud Run job, a Kubernetes CronJob) or a scheduler that starts a process every minute:
108
-
109
- ```bash
110
- mayura worker --app dist/src/app.js --once --budget-ms 50000
111
- ```
112
-
113
- It takes the leadership lease once, runs passes until every host has completed a sweep of its runs or the budget runs
114
- out, then releases the lease and calls `shutdown()`. A pass that has started finishes, so keep the budget below your
115
- platform's time limit by at least your longest tool's `timeoutMs`. Each host keeps its place in storage, so if a sweep
116
- does not finish, the next run continues from there rather than starting over.
117
-
118
- | Option | Meaning |
119
- |---|---|
120
- | `--once` | Advance what is due, then exit. Not with `--probe-port`, `--probe-host` or `--drain-timeout-ms`. |
121
- | `--budget-ms <ms>` | Stop starting passes after this long, from 1000 to 3600000. Default 60000. |
122
-
123
- It prints a report and its status:
124
-
125
- | Status | Meaning | Exit code |
126
- |---|---|---|
127
- | `succeeded` | Every host completed a sweep. | 0 |
128
- | `incomplete` | The budget ran out first; the next run continues. Run it more often or give it more time. | 0 |
129
- | `standby` | Another replica holds the lease, so this run did nothing. | 0 |
130
- | `held` | An operator holds the fleet, so nothing was driven. | 0 |
131
- | `failed` | A pass failed, for example because storage was unavailable. | 1 |
132
-
133
- The worker must come from `createWorkflowWorker`, whose `runOnce` this calls; in your own code, such as a scheduled
134
- function, call `worker.runOnce({ budgetMs })` directly.
135
-
136
- ## mayura migrate
137
-
138
- `mayura migrate --app <module>` calls `migrate()` once, then `shutdown()`, and exits. Nothing else starts. Run it
139
- before deploying new code, for example as a release step or an init container:
140
-
141
- ```bash
142
- mayura migrate --app dist/src/app.js --json
143
- ```
144
-
145
- Migrations are explicit and one-way. Mayura's storage refuses data in a format or schema version it does not
146
- support; see [Storage](../guides/storage.md).
147
-
148
- ## Output
149
-
150
- In a terminal each command prints one line per stage:
151
-
152
- ```text
153
- ● Worker started, probes on 0.0.0.0:9090. Press Ctrl+C to stop.
154
- ● Stopping… (press Ctrl+C again to force)
155
- ✔ Stopped
156
- ```
157
-
158
- When output is piped, as in most deployments, each stage is one JSON line, then the command's final JSON document:
159
-
160
- ```text
161
- {"event":"worker-started","probe":{"hostname":"0.0.0.0","port":9090}}
162
- {"event":"stopping"}
163
- {"event":"stopped","drained":true,"interrupted":0}
164
- ```
165
-
166
- `serve` prints `serving`, `stopping` and `stopped` events. `migrate` prints `{ "status": "migrated", "report": <report> }`,
167
- where the report is whatever your `migrate()` returned. See [CLI overview](overview.md) for exit codes and errors.
168
-
169
- ## Good to know
170
-
171
- - `serve` and `worker` do not load `.env`. Set configuration in the real process environment. Only
172
- [mayura dev](dev.md) reads `.env`.
173
- - Run servers and workers as separate processes. With a leadership lease (`createWorkflowLeadership` from
174
- `mayura/workflows`), several worker replicas can run without driving the same workflows twice.
175
-
176
- ## Related
177
-
178
- - [Deployment](../guides/deployment.md)
179
- - [Develop with mayura dev](dev.md)
180
- - [Server and client](../guides/server-and-client.md)
181
- - [Workflow operations](../guides/workflow-operations.md)
182
- - [Storage](../guides/storage.md)
1
+ ---
2
+ title: "Serve, worker and migrate"
3
+ description: "Run your application in production with mayura serve, mayura worker and mayura migrate, and write the module they load."
4
+ ---
5
+
6
+ In production a Mayura application usually runs as separate processes: one or more **servers** that answer HTTP
7
+ requests, one or more **workers** that advance durable workflows, and a **migration** step that updates the storage
8
+ schema before new code starts. The CLI runs each of these from one application module that you write:
9
+
10
+ ```bash
11
+ mayura migrate --app dist/src/app.js
12
+ mayura serve --app dist/src/app.js
13
+ mayura worker --app dist/src/app.js --probe-host 0.0.0.0 --probe-port 9090
14
+ ```
15
+
16
+ The CLI owns only the process lifecycle: starting, handling Ctrl+C or `SIGTERM`, graceful shutdown and worker probes.
17
+ Your module wires its own storage, agents, workflows and authentication with its own installed `mayura` package.
18
+
19
+ ## The application module
20
+
21
+ The module's default export is an object with up to four functions. Wrap it in `defineMayuraApplication` from
22
+ `mayura/cli`, which checks the shape:
23
+
24
+ ```ts
25
+ import { defineMayuraApplication } from 'mayura/cli';
26
+ import { listenProductionServer } from 'mayura/server-node';
27
+ import { createWorkflowWorker } from 'mayura/workflows';
28
+
29
+ // openServices, agents, authenticate and workerUnits stand for your own code: storage, agent
30
+ // registrations, token verification and the workflow runtimes the worker drives.
31
+ let services: Promise<Services> | undefined;
32
+ const ready = () => (services ??= openServices());
33
+
34
+ export default defineMayuraApplication({
35
+ async server() {
36
+ await ready();
37
+ return listenProductionServer({
38
+ publicOrigin: 'https://agents.example.com',
39
+ hostname: '0.0.0.0',
40
+ port: 8080,
41
+ tls: { terminatedBy: 'proxy' },
42
+ agents,
43
+ authenticate,
44
+ });
45
+ },
46
+ async worker() {
47
+ return createWorkflowWorker({ units: workerUnits(await ready()) });
48
+ },
49
+ async migrate() {
50
+ await ready();
51
+ return { schemaVersion: 1 };
52
+ },
53
+ async shutdown() {
54
+ if (services) await (await services).close();
55
+ },
56
+ });
57
+ ```
58
+
59
+ | Function | Used by | Must return |
60
+ |---|---|---|
61
+ | `server()` | `mayura serve` | A running server with `isAccepting()` and `close()`, such as the result of `listenProductionServer` from `mayura/server-node` |
62
+ | `worker()` | `mayura worker` | A worker with `start()`, `isReady()` and `drain()`, such as the result of `createWorkflowWorker` from `mayura/workflows` |
63
+ | `migrate()` | `mayura migrate` | Any JSON-serializable report, printed when the migration finishes |
64
+ | `shutdown()` | all three | Nothing. Runs last, after the server closes, the worker drains or the migration ends, for example to close storage. |
65
+
66
+ Define at least one function, and only these four. A command whose function is missing fails with `INVALID_CONFIG`,
67
+ for example `mayura worker` on a module without `worker`.
68
+
69
+ `--app` must name a single regular `.js` or `.mjs` file: build your TypeScript first. Directories, symbolic links and
70
+ other file types are refused, and the CLI imports nothing else. For a complete, working module, see `src/app.ts` in
71
+ any starter, such as
72
+ [approval-workflow](https://github.com/KartikeyAI/mayura/blob/main/packages/cli/starters/approval-workflow/src/app.ts).
73
+
74
+ ## mayura serve
75
+
76
+ `mayura serve --app <module>` calls `server()` and keeps it running. On the first Ctrl+C or `SIGTERM` it closes the
77
+ server gracefully, then calls `shutdown()`. A second signal during shutdown forces the process to exit.
78
+
79
+ `listenProductionServer` stops accepting new requests, fails its readiness check so load balancers stop routing to
80
+ it, and drains in-flight requests before it closes. See [Deployment](../guides/deployment.md).
81
+
82
+ ## mayura worker
83
+
84
+ `mayura worker --app <module>` calls `worker()`, then `start()`. On the first Ctrl+C or `SIGTERM` it drains the
85
+ worker, waiting for in-flight work to finish, then calls `shutdown()`.
86
+
87
+ | Option | Meaning |
88
+ |---|---|
89
+ | `--drain-timeout-ms <ms>` | How long draining may take, from 1 to 300000. Default 30000. |
90
+ | `--probe-port <port>` | Serve HTTP health probes on this port. Off by default. |
91
+ | `--probe-host <host>` | The address the probes listen on. Default `127.0.0.1`. |
92
+
93
+ With `--probe-port`, the worker answers two probes for your orchestrator:
94
+
95
+ - `GET /livez` returns 200 while the process is running, and 503 once it starts stopping.
96
+ - `GET /readyz` returns 200 while the worker reports itself ready, and 503 when it does not, for example while it is
97
+ draining. A worker with a leadership lease is ready only while it can confirm the lease in storage.
98
+
99
+ The probe listener comes from `mayura/server-node` in your application's own installation, so `mayura` must be
100
+ installed alongside the module. In a container, use `--probe-host 0.0.0.0` so the orchestrator can reach it.
101
+
102
+ When the worker stops, it reports whether the drain finished in time, and how much work was interrupted if it did not.
103
+
104
+ ### Run once
105
+
106
+ With `--once`, the worker advances everything that is due and exits, instead of running until it is stopped. Use it
107
+ from a scheduled job (a Cloud Run job, a Kubernetes CronJob) or a scheduler that starts a process every minute:
108
+
109
+ ```bash
110
+ mayura worker --app dist/src/app.js --once --budget-ms 50000
111
+ ```
112
+
113
+ It takes the leadership lease once, runs passes until every host has completed a sweep of its runs or the budget runs
114
+ out, then releases the lease and calls `shutdown()`. A pass that has started finishes, so keep the budget below your
115
+ platform's time limit by at least your longest tool's `timeoutMs`. Each host keeps its place in storage, so if a sweep
116
+ does not finish, the next run continues from there rather than starting over.
117
+
118
+ | Option | Meaning |
119
+ |---|---|
120
+ | `--once` | Advance what is due, then exit. Not with `--probe-port`, `--probe-host` or `--drain-timeout-ms`. |
121
+ | `--budget-ms <ms>` | Stop starting passes after this long, from 1000 to 3600000. Default 60000. |
122
+
123
+ It prints a report and its status:
124
+
125
+ | Status | Meaning | Exit code |
126
+ |---|---|---|
127
+ | `succeeded` | Every host completed a sweep. | 0 |
128
+ | `incomplete` | The budget ran out first; the next run continues. Run it more often or give it more time. | 0 |
129
+ | `standby` | Another replica holds the lease, so this run did nothing. | 0 |
130
+ | `held` | An operator holds the fleet, so nothing was driven. | 0 |
131
+ | `failed` | A pass failed, for example because storage was unavailable. | 1 |
132
+
133
+ The worker must come from `createWorkflowWorker`, whose `runOnce` this calls; in your own code, such as a scheduled
134
+ function, call `worker.runOnce({ budgetMs })` directly.
135
+
136
+ ## mayura migrate
137
+
138
+ `mayura migrate --app <module>` calls `migrate()` once, then `shutdown()`, and exits. Nothing else starts. Run it
139
+ before deploying new code, for example as a release step or an init container:
140
+
141
+ ```bash
142
+ mayura migrate --app dist/src/app.js --json
143
+ ```
144
+
145
+ Migrations are explicit and one-way. Mayura's storage refuses data in a format or schema version it does not
146
+ support; see [Storage](../guides/storage.md).
147
+
148
+ ## Output
149
+
150
+ In a terminal each command prints one line per stage:
151
+
152
+ ```text
153
+ ● Worker started, probes on 0.0.0.0:9090. Press Ctrl+C to stop.
154
+ ● Stopping… (press Ctrl+C again to force)
155
+ ✔ Stopped
156
+ ```
157
+
158
+ When output is piped, as in most deployments, each stage is one JSON line, then the command's final JSON document:
159
+
160
+ ```text
161
+ {"event":"worker-started","probe":{"hostname":"0.0.0.0","port":9090}}
162
+ {"event":"stopping"}
163
+ {"event":"stopped","drained":true,"interrupted":0}
164
+ ```
165
+
166
+ `serve` prints `serving`, `stopping` and `stopped` events. `migrate` prints `{ "status": "migrated", "report": <report> }`,
167
+ where the report is whatever your `migrate()` returned. See [CLI overview](overview.md) for exit codes and errors.
168
+
169
+ ## Good to know
170
+
171
+ - `serve` and `worker` do not load `.env`. Set configuration in the real process environment. Only
172
+ [mayura dev](dev.md) reads `.env`.
173
+ - Run servers and workers as separate processes. With a leadership lease (`createWorkflowLeadership` from
174
+ `mayura/workflows`), several worker replicas can run without driving the same workflows twice.
175
+
176
+ ## Related
177
+
178
+ - [Deployment](../guides/deployment.md)
179
+ - [Develop with mayura dev](dev.md)
180
+ - [Server and client](../guides/server-and-client.md)
181
+ - [Workflow operations](../guides/workflow-operations.md)
182
+ - [Storage](../guides/storage.md)
@@ -3,14 +3,46 @@ title: "V1.2 release validation status"
3
3
  description: "Completed local and CI qualification, experimental surfaces and the checks still required before releasing Mayura V1.2."
4
4
  ---
5
5
 
6
- V1.2 is unreleased. The full release-branch qualification matrix passed on **2026-10-21** at commit
7
- `f443c76e822eef27b143d318d748ed513599e00c`. The local qualification snapshot below is retained separately;
8
- neither result establishes compatibility with unqualified real external services.
6
+ Stable V1.2 is prepared for review and is not yet published. The implementation and full-release safeguards are
7
+ merged into `main`, whose full qualification passed on **2026-10-23** at
8
+ `a9b5c565167170e4b35b5f42cf7df58a64b485e8`. The coordinated **1.2.0** version PR needs its own qualification and
9
+ green main checks after merging. The reviewed 22-package set was previously published as
10
+ **1.2.0-rc.1 under `next`**, through trusted publishing, with all existing `latest` tags unchanged. The local and
11
+ earlier release-branch snapshots below remain historical evidence; none establishes interoperability with
12
+ unqualified real external services.
9
13
 
10
14
  ## Completed CI qualification
11
15
 
12
- The **Mayura qualification** workflow, run `39576846216`, completed successfully on `release-1.2` at the commit
13
- above. All **13 configured jobs passed**, with zero failed jobs:
16
+ The [main qualification run 39903621300](https://github.com/KartikeyAI/mayura/actions/runs/39903621300) passed all
17
+ **39 jobs**, including the required **Qualification gate**: shared checks, six OS/Node consumer lanes, 12 unit-test
18
+ shards, 12 bundle shards, four database integration shards, shared runtimes and two container lanes. Linux, macOS and
19
+ Windows retain Node 22.23.2 and 24.14.1 coverage. Branch protection requires the aggregate gate. The
20
+ [main website run 39903621303](https://github.com/KartikeyAI/mayura/actions/runs/39903621303) also passed.
21
+
22
+ [PR #21](https://github.com/KartikeyAI/mayura/pull/21) passed all 39 qualification jobs before merging at the main
23
+ commit above. The full publisher now requires a committed version, exact-main qualification and source-bound
24
+ archive/receipt verification, and creates only the version tag and GitHub Release after publication. It does not
25
+ commit, rebase or push main. A local 1.2.0 rehearsal passed build, upgrade from V1.1.0, all 106 archive checks,
26
+ 450-component SBOM checks with no license findings, and 106 offline npm dry runs. These local archives are rehearsal
27
+ evidence, not the final stable publication artifacts.
28
+
29
+ The [RC1 release run 39884720470](https://github.com/KartikeyAI/mayura/actions/runs/39884720470) succeeded through
30
+ `release.yml` and the protected `release` environment at `ba4a1e868904453e533e57e2876d64ab8536c454`, after
31
+ [its 39-job main qualification](https://github.com/KartikeyAI/mayura/actions/runs/39879429442). All 22 selected archives matched
32
+ their public npm integrity metadata, every version had provenance, and `next` resolved to `1.2.0-rc.1`. Existing
33
+ `latest` values remained `1.1.0` for `mayura` and the OpenAI provider, and `1.2.0-rc.0` for the 20 newly introduced
34
+ extensions. This proves OIDC publication for those 22 packages, not the full 106-package stable release.
35
+
36
+ On **2026-10-23**, read-only npm checks confirmed that all other **84 packages** have the expected trusted-publisher
37
+ configuration: `KartikeyAI/mayura`, `release.yml`, environment `release`, and direct publishing allowed. No trust
38
+ settings were changed. The CLI readback does not expose activation or expiry status and is not proof of a successful
39
+ OIDC exchange; the first live publication remains unproven for those packages. Recheck eligibility at release time
40
+ and recreate any expired configurations. Public registry preflight also found all 106 stable `1.2.0` versions unused.
41
+
42
+ ### Historical release-branch run
43
+
44
+ The **Mayura qualification** workflow, run `39576846216`, completed successfully on `release-1.2` at
45
+ `f443c76e822eef27b143d318d748ed513599e00c`. All **13 configured jobs passed**, with zero failed jobs:
14
46
 
15
47
  | Job group | Result |
16
48
  | --- | --- |
@@ -23,8 +55,8 @@ The consumer jobs include unit tests, packed consumers, runnable examples, templ
23
55
  documentation, API/version checks, release archives and SBOM checks. Earlier failed or canceled attempts remain
24
56
  historical evidence; this result is a complete successful run on the recorded commit.
25
57
 
26
- This documentation follow-up also incorporates newer `main` changes. The updated branch and the pull-request
27
- merge commit require their own qualification; the earlier green run is not evidence for those later commits.
58
+ The later main run above supersedes this branch-only gate for its recorded source commit. Further release-tooling,
59
+ documentation or version changes still require their own green PR and main qualification.
28
60
 
29
61
  ## Completed local qualification
30
62
 
@@ -62,8 +94,11 @@ concurrent builds and unit-suite load. The subsequent complete CI pass is record
62
94
 
63
95
  ## Remaining qualifications and limitations
64
96
 
65
- - **Merge CI:** the release-branch matrix passed at the recorded commit. Require green checks for the updated
66
- branch and pull-request merge commit, then qualify `main`, the only publishing branch, before releasing.
97
+ - **Stable publication:** full-release safeguards passed PR and main qualification at the recorded source; scoped
98
+ RC1 publication passed at its separately recorded source. The stable version PR still needs review, qualification
99
+ and green main checks, then a final-source workflow rehearsal and publication approval. All other 84 publisher
100
+ configurations matched in read-only checks, but were not exercised by RC1 and their activation/expiry status was
101
+ not exposed by the CLI. Recheck eligibility and replace any expired configurations before full publication.
67
102
  - **Providers and gateways:** offline transports and the provider harness dry run passed. Paid inference, real
68
103
  embedding endpoints, gateway accounting and remote discovery behavior have not been qualified.
69
104
  - **Authorization:** OpenFGA, Cedar, Permit.io and Oso passed offline tests and package checks. Real provider/native
@@ -87,15 +122,17 @@ sufficient evidence for that claim.
87
122
 
88
123
  ## Release preparation
89
124
 
90
- 1. Review the complete V1.2 implementation, validation fixes and updated documentation in the merge pull request
91
- from `release-1.2` into `main`.
92
- 2. Require the documentation follow-up and merge commit to pass qualification; the earlier release-branch CI gate
93
- is complete at the commit recorded above.
94
- 3. Merge through the reviewed path into `main`, the only publishing branch, and require its qualification to pass.
95
- 4. Verify npm credentials or trusted publishing for the core package and extensions, the protected release
96
- environment, and the publishing enablement setting.
97
- 5. Dry-run the release workflow for **1.2.0** to regenerate versioned archives, checksums, SBOM and release notes from
98
- the final source. Publish and tag only through the approved release workflow.
99
-
100
- Source manifests remain at 1.1.0 until the release workflow applies the coordinated version bump. The release branch
101
- has been pushed for review; V1.2 has not been tagged, published or deployed.
125
+ 1. Full-release publisher/recovery changes are merged and qualified on main; review these updated release records.
126
+ 2. Review the prepared coordinated **1.2.0** version/changelog PR, committed without `[skip ci]`, merge through normal branch
127
+ protection and require the pushed main commit's complete qualification to pass. The publisher does not write main.
128
+ 3. Verify trusted publishing for all 106 packages, the protected `release` environment, tag creation permission and
129
+ publishing enablement. Preserve the experimental labels and limitations above.
130
+ 4. Rehearse **1.2.0** with `package_set=all` and `dry_run=true`, regenerating archives, checksums, SBOM and notes from
131
+ the final source. Dry runs do not validate unexercised package trust.
132
+ 5. Approve publication from that qualified main commit with `dry_run=false`. Verify all 106 versions, `latest` tags,
133
+ provenance and the source-bound tag/GitHub Release. Recover partial publication from the original run's saved
134
+ archives and receipt, without replaying accepted or uncertain uploads.
135
+
136
+ This version PR sets source manifests and version references to **1.2.0** and prepares the changelog. It does not
137
+ publish to npm, change distribution tags, create `v1.2.0` or create a stable GitHub Release. Stable publication and
138
+ deployment remain outstanding; RC1 availability is not evidence of live-service or rendered browser qualification.
@@ -2,7 +2,7 @@ FROM node:24.14.1-alpine@sha256:8510330d3eb72c804231a834b1a8ebb55cb3796c3e443129
2
2
 
3
3
  ARG MAYURA_PROVENANCE
4
4
  LABEL org.opencontainers.image.title="Mayura Code Sandbox" \
5
- org.opencontainers.image.version="1.2.0-rc.0" \
5
+ org.opencontainers.image.version="1.2.0" \
6
6
  org.opencontainers.image.base.name="node:24.14.1-alpine@sha256:8510330d3eb72c804231a834b1a8ebb55cb3796c3e4431297a24d246b8add4d5" \
7
7
  dev.mayura.code-sandbox.provenance="${MAYURA_PROVENANCE}"
8
8
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "type": "module",
3
- "version": "1.2.0-rc.0",
3
+ "version": "1.2.0",
4
4
  "private": true
5
5
  }