mayura 1.2.1 → 1.2.2

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 (243) hide show
  1. package/README.md +2 -0
  2. package/docs/README.md +17 -5
  3. package/docs/cli/init.md +15 -3
  4. package/docs/guides/choosing-a-starter.md +80 -0
  5. package/docs/guides/framework-starters.md +5 -1
  6. package/docs/guides/hono.md +94 -0
  7. package/docs/guides/nextjs.md +94 -0
  8. package/docs/guides/nuxt.md +94 -0
  9. package/docs/guides/rag-deployment.md +48 -0
  10. package/docs/guides/rag-modal-pinecone-starter.md +63 -0
  11. package/docs/guides/rag-production.md +34 -15
  12. package/docs/guides/rag-quickstart.md +119 -0
  13. package/docs/guides/rag.md +11 -1
  14. package/docs/guides/react-router.md +94 -0
  15. package/docs/guides/release-readiness.md +76 -39
  16. package/docs/guides/sveltekit.md +94 -0
  17. package/docs/guides/tanstack-start.md +94 -0
  18. package/docs/integrations/reranker-cohere.md +1 -0
  19. package/docs/integrations/reranker-jina.md +1 -0
  20. package/docs/integrations/reranker-voyage.md +1 -0
  21. package/docs/integrations/vector-chroma.md +1 -0
  22. package/docs/integrations/vector-libsql.md +1 -0
  23. package/docs/integrations/vector-pgvector.md +1 -0
  24. package/docs/integrations/vector-pinecone.md +4 -1
  25. package/docs/integrations/vector-qdrant.md +1 -0
  26. package/docs/integrations/vector-weaviate.md +1 -0
  27. package/docs/introduction.md +5 -0
  28. package/docs/project/whats-new.md +70 -2
  29. package/docs/quickstart.md +5 -3
  30. package/lib/adapter-code-docker/image/Dockerfile +1 -1
  31. package/lib/adapter-code-docker/package.json +1 -1
  32. package/lib/adapter-code-quickjs/package.json +1 -1
  33. package/lib/adapter-mcp/package.json +1 -1
  34. package/lib/ag-ui/package.json +1 -1
  35. package/lib/artifacts/package.json +1 -1
  36. package/lib/auth/package.json +1 -1
  37. package/lib/authz/package.json +1 -1
  38. package/lib/browser/package.json +1 -1
  39. package/lib/cli/dist/index.d.ts +1 -1
  40. package/lib/cli/dist/index.d.ts.map +1 -1
  41. package/lib/cli/dist/index.js +63 -20
  42. package/lib/cli/dist/index.js.map +1 -1
  43. package/lib/cli/dist/interactive.js +2 -2
  44. package/lib/cli/dist/interactive.js.map +1 -1
  45. package/lib/cli/package.json +1 -1
  46. package/lib/cli/src/index.ts +51 -12
  47. package/lib/cli/src/interactive.ts +2 -2
  48. package/lib/cli/starter-assets/manifest.json +1 -0
  49. package/lib/cli/starters/hono/package.json +2 -2
  50. package/lib/cli/starters/rag-modal-pinecone/README.md +60 -0
  51. package/lib/cli/starters/rag-modal-pinecone/dot-env.example +23 -0
  52. package/lib/cli/starters/{event-automation → rag-modal-pinecone}/dot-gitignore +2 -4
  53. package/lib/cli/starters/rag-modal-pinecone/fixtures/on-call.md +4 -0
  54. package/lib/cli/starters/rag-modal-pinecone/mayura.project.json +13 -0
  55. package/lib/cli/starters/rag-modal-pinecone/modal-app.py +110 -0
  56. package/lib/cli/starters/rag-modal-pinecone/package.json +28 -0
  57. package/lib/cli/starters/rag-modal-pinecone/src/application.ts +148 -0
  58. package/lib/cli/starters/rag-modal-pinecone/src/cli.ts +78 -0
  59. package/lib/cli/starters/rag-modal-pinecone/src/hosted.ts +137 -0
  60. package/lib/cli/starters/rag-modal-pinecone/test/modal_worker_test.py +53 -0
  61. package/lib/cli/starters/rag-modal-pinecone/test/pipeline.test.ts +137 -0
  62. package/lib/cli/starters/{cli-agent → rag-modal-pinecone}/tsconfig.json +0 -1
  63. package/lib/client/package.json +1 -1
  64. package/lib/client-react/package.json +1 -1
  65. package/lib/code-mode/package.json +1 -1
  66. package/lib/code-mode-workflows/package.json +1 -1
  67. package/lib/context/package.json +1 -1
  68. package/lib/core/package.json +1 -1
  69. package/lib/exporter-otlp/dist/otlp-http-json.js +1 -1
  70. package/lib/exporter-otlp/dist/otlp-http-json.js.map +1 -1
  71. package/lib/exporter-otlp/dist/signals.js +2 -2
  72. package/lib/exporter-otlp/dist/signals.js.map +1 -1
  73. package/lib/exporter-otlp/package.json +1 -1
  74. package/lib/exporter-otlp/src/otlp-http-json.ts +1 -1
  75. package/lib/exporter-otlp/src/signals.ts +2 -2
  76. package/lib/files/package.json +1 -1
  77. package/lib/guardrails/package.json +1 -1
  78. package/lib/helpers/package.json +1 -1
  79. package/lib/keys/package.json +1 -1
  80. package/lib/memory/package.json +1 -1
  81. package/lib/memory-remote/package.json +1 -1
  82. package/lib/observability/package.json +1 -1
  83. package/lib/provider-anthropic/package.json +1 -1
  84. package/lib/provider-openai/package.json +1 -1
  85. package/lib/rag/package.json +1 -1
  86. package/lib/runtime/package.json +1 -1
  87. package/lib/sandbox/package.json +1 -1
  88. package/lib/sdk/package.json +1 -1
  89. package/lib/server/package.json +1 -1
  90. package/lib/server-node/package.json +1 -1
  91. package/lib/skills/package.json +1 -1
  92. package/lib/storage/package.json +1 -1
  93. package/lib/storage-contracts/package.json +1 -1
  94. package/lib/storage-postgres/package.json +1 -1
  95. package/lib/storage-sql/package.json +1 -1
  96. package/lib/storage-sqlite/package.json +1 -1
  97. package/lib/terminal/package.json +1 -1
  98. package/lib/testing/package.json +1 -1
  99. package/lib/threads/package.json +1 -1
  100. package/lib/tools/package.json +1 -1
  101. package/lib/voice/package.json +1 -1
  102. package/lib/workflows/package.json +1 -1
  103. package/lib/workstream/package.json +1 -1
  104. package/llms-full.txt +1362 -289
  105. package/llms.txt +17 -4
  106. package/package.json +4 -4
  107. package/lib/cli/starters/cli-agent/dot-github/workflows/ci.yml +0 -13
  108. package/lib/cli/starters/cli-agent/dot-gitignore +0 -10
  109. package/lib/cli/starters/event-automation/dot-dockerignore +0 -7
  110. package/lib/cli/starters/event-automation/dot-github/workflows/ci.yml +0 -13
  111. package/lib/cli/starters/event-automation/src/model.ts +0 -40
  112. package/lib/cli/starters/event-automation/tsconfig.json +0 -20
  113. package/lib/cli/starters/nextjs/Dockerfile +0 -12
  114. package/lib/cli/starters/nextjs/compose.yaml +0 -19
  115. package/lib/cli/starters/nextjs/dot-dockerignore +0 -11
  116. package/lib/cli/starters/nextjs/dot-env.example +0 -7
  117. package/lib/cli/starters/nextjs/scripts/setup.mjs +0 -9
  118. package/lib/cli/starters/nextjs/server/application.mjs +0 -74
  119. package/lib/cli/starters/nextjs/server/auth.mjs +0 -24
  120. package/lib/cli/starters/nextjs/server/worker.mjs +0 -11
  121. package/lib/cli/starters/nextjs/server/workflows.mjs +0 -23
  122. package/lib/cli/starters/nextjs/src/ChatApp.jsx +0 -57
  123. package/lib/cli/starters/nextjs/src/Notebook.jsx +0 -25
  124. package/lib/cli/starters/nextjs/src/components/mayura/approval.tsx +0 -142
  125. package/lib/cli/starters/nextjs/src/components/mayura/thread-history.tsx +0 -142
  126. package/lib/cli/starters/nextjs/src/components/mayura/thread-list.tsx +0 -9
  127. package/lib/cli/starters/nextjs/src/components/mayura/ui.css +0 -14
  128. package/lib/cli/starters/nextjs/src/connect.js +0 -21
  129. package/lib/cli/starters/nextjs/src/session.js +0 -138
  130. package/lib/cli/starters/nextjs/src/style.css +0 -11
  131. package/lib/cli/starters/nextjs/test/server.test.mjs +0 -95
  132. package/lib/cli/starters/nextjs/test/session.test.mjs +0 -16
  133. package/lib/cli/starters/nuxt/compose.yaml +0 -19
  134. package/lib/cli/starters/nuxt/dot-dockerignore +0 -11
  135. package/lib/cli/starters/nuxt/dot-env.example +0 -7
  136. package/lib/cli/starters/nuxt/dot-gitignore +0 -14
  137. package/lib/cli/starters/nuxt/scripts/setup.mjs +0 -9
  138. package/lib/cli/starters/nuxt/server/application.mjs +0 -74
  139. package/lib/cli/starters/nuxt/server/auth.mjs +0 -24
  140. package/lib/cli/starters/nuxt/server/worker.mjs +0 -11
  141. package/lib/cli/starters/nuxt/server/workflows.mjs +0 -23
  142. package/lib/cli/starters/nuxt/src/connect.js +0 -21
  143. package/lib/cli/starters/nuxt/src/session.js +0 -138
  144. package/lib/cli/starters/nuxt/src/style.css +0 -11
  145. package/lib/cli/starters/nuxt/test/server.test.mjs +0 -95
  146. package/lib/cli/starters/nuxt/test/session.test.mjs +0 -16
  147. package/lib/cli/starters/react-router/Dockerfile +0 -12
  148. package/lib/cli/starters/react-router/compose.yaml +0 -19
  149. package/lib/cli/starters/react-router/dot-dockerignore +0 -11
  150. package/lib/cli/starters/react-router/dot-env.example +0 -7
  151. package/lib/cli/starters/react-router/dot-gitignore +0 -14
  152. package/lib/cli/starters/react-router/scripts/setup.mjs +0 -9
  153. package/lib/cli/starters/react-router/server/application.mjs +0 -74
  154. package/lib/cli/starters/react-router/server/auth.mjs +0 -24
  155. package/lib/cli/starters/react-router/server/worker.mjs +0 -11
  156. package/lib/cli/starters/react-router/server/workflows.mjs +0 -23
  157. package/lib/cli/starters/react-router/src/ChatApp.jsx +0 -57
  158. package/lib/cli/starters/react-router/src/Notebook.jsx +0 -25
  159. package/lib/cli/starters/react-router/src/components/mayura/approval.tsx +0 -142
  160. package/lib/cli/starters/react-router/src/components/mayura/thread-history.tsx +0 -142
  161. package/lib/cli/starters/react-router/src/components/mayura/thread-list.tsx +0 -9
  162. package/lib/cli/starters/react-router/src/components/mayura/ui.css +0 -14
  163. package/lib/cli/starters/react-router/src/connect.js +0 -21
  164. package/lib/cli/starters/react-router/src/session.js +0 -138
  165. package/lib/cli/starters/react-router/src/style.css +0 -11
  166. package/lib/cli/starters/react-router/src/vite-env.d.ts +0 -1
  167. package/lib/cli/starters/react-router/test/server.test.mjs +0 -95
  168. package/lib/cli/starters/react-router/test/session.test.mjs +0 -16
  169. package/lib/cli/starters/research-team/dot-dockerignore +0 -7
  170. package/lib/cli/starters/research-team/dot-github/workflows/ci.yml +0 -13
  171. package/lib/cli/starters/research-team/dot-gitignore +0 -10
  172. package/lib/cli/starters/research-team/src/model.ts +0 -40
  173. package/lib/cli/starters/research-team/tsconfig.json +0 -20
  174. package/lib/cli/starters/support-agent/dot-dockerignore +0 -7
  175. package/lib/cli/starters/support-agent/dot-github/workflows/ci.yml +0 -13
  176. package/lib/cli/starters/support-agent/dot-gitignore +0 -10
  177. package/lib/cli/starters/support-agent/src/model.ts +0 -40
  178. package/lib/cli/starters/support-agent/tsconfig.json +0 -20
  179. package/lib/cli/starters/sveltekit/Dockerfile +0 -12
  180. package/lib/cli/starters/sveltekit/compose.yaml +0 -19
  181. package/lib/cli/starters/sveltekit/dot-dockerignore +0 -11
  182. package/lib/cli/starters/sveltekit/dot-env.example +0 -7
  183. package/lib/cli/starters/sveltekit/dot-gitignore +0 -14
  184. package/lib/cli/starters/sveltekit/scripts/setup.mjs +0 -9
  185. package/lib/cli/starters/sveltekit/server/application.mjs +0 -74
  186. package/lib/cli/starters/sveltekit/server/auth.mjs +0 -24
  187. package/lib/cli/starters/sveltekit/server/worker.mjs +0 -11
  188. package/lib/cli/starters/sveltekit/server/workflows.mjs +0 -23
  189. package/lib/cli/starters/sveltekit/src/connect.js +0 -21
  190. package/lib/cli/starters/sveltekit/src/session.js +0 -138
  191. package/lib/cli/starters/sveltekit/src/style.css +0 -11
  192. package/lib/cli/starters/sveltekit/src/view.js +0 -49
  193. package/lib/cli/starters/sveltekit/test/server.test.mjs +0 -95
  194. package/lib/cli/starters/sveltekit/test/session.test.mjs +0 -16
  195. package/lib/cli/starters/tanstack-start/Dockerfile +0 -12
  196. package/lib/cli/starters/tanstack-start/compose.yaml +0 -19
  197. package/lib/cli/starters/tanstack-start/dot-dockerignore +0 -11
  198. package/lib/cli/starters/tanstack-start/dot-env.example +0 -7
  199. package/lib/cli/starters/tanstack-start/dot-gitignore +0 -14
  200. package/lib/cli/starters/tanstack-start/scripts/setup.mjs +0 -9
  201. package/lib/cli/starters/tanstack-start/server/application.mjs +0 -74
  202. package/lib/cli/starters/tanstack-start/server/auth.mjs +0 -24
  203. package/lib/cli/starters/tanstack-start/server/worker.mjs +0 -11
  204. package/lib/cli/starters/tanstack-start/server/workflows.mjs +0 -23
  205. package/lib/cli/starters/tanstack-start/src/ChatApp.jsx +0 -57
  206. package/lib/cli/starters/tanstack-start/src/Notebook.jsx +0 -25
  207. package/lib/cli/starters/tanstack-start/src/components/mayura/approval.tsx +0 -142
  208. package/lib/cli/starters/tanstack-start/src/components/mayura/thread-history.tsx +0 -142
  209. package/lib/cli/starters/tanstack-start/src/components/mayura/thread-list.tsx +0 -9
  210. package/lib/cli/starters/tanstack-start/src/components/mayura/ui.css +0 -14
  211. package/lib/cli/starters/tanstack-start/src/connect.js +0 -21
  212. package/lib/cli/starters/tanstack-start/src/session.js +0 -138
  213. package/lib/cli/starters/tanstack-start/src/style.css +0 -11
  214. package/lib/cli/starters/tanstack-start/test/server.test.mjs +0 -95
  215. package/lib/cli/starters/tanstack-start/test/session.test.mjs +0 -16
  216. /package/lib/cli/{starters/hono/src/components/mayura/ui.css → starter-assets/011cacc77ada0de5b447674e9fc4374a247b9a46eb169722b12649753f24188f} +0 -0
  217. /package/lib/cli/{starters/hono/test/server.test.mjs → starter-assets/0c825d6a776673ec6274cfc29cd45b1a8c56dcb880c291a91075c77e1ef1e4f3} +0 -0
  218. /package/lib/cli/{starters/hono/server/auth.mjs → starter-assets/0dd570bfacc357d23be3340250090b9a4c6193a49cdd02e9b6789e7bee8433dd} +0 -0
  219. /package/lib/cli/{starters/hono/src/components/mayura/approval.tsx → starter-assets/11292bd14cdaf27a8f8317ba4ab768d706a726b2e26474b599f3db116674b4b3} +0 -0
  220. /package/lib/cli/{starters/nextjs/dot-gitignore → starter-assets/1873b02e070347f9a449e07084242982fa6af412c45aa764985d553975b64589} +0 -0
  221. /package/lib/cli/{starters/hono/src/style.css → starter-assets/2f3869e6d69134e43be713c4590bfe48896a5c54ece6ffc1a4f204cfcfe54218} +0 -0
  222. /package/lib/cli/{starters/hono/server/worker.mjs → starter-assets/350d77757f548369beff29d658cf1620752d4e23b4b732d99a1b403ca043137f} +0 -0
  223. /package/lib/cli/{starters/approval-workflow/src/model.ts → starter-assets/37294d24c04b71eaf6d6f0bd52fd4c1cc7a5d3cb63da9c7920ed1d44276da9cb} +0 -0
  224. /package/lib/cli/{starters/approval-workflow/tsconfig.json → starter-assets/4387d6537dd5924ae62326aa3d7d8cbad1e5abd930aecc9daa6fab1ac2f6ef24} +0 -0
  225. /package/lib/cli/{starters/hono/dot-dockerignore → starter-assets/4434be031b58cc6ee680b2860b2ad1fe4089af7ee866c13223dfb621dd042ff1} +0 -0
  226. /package/lib/cli/{starters/hono/src/ChatApp.jsx → starter-assets/46e199317648a076243d6c8e7ffedc48785a6ffc0f203b88c7c4a9479b34c5b9} +0 -0
  227. /package/lib/cli/{starters/hono/src/components/mayura/thread-history.tsx → starter-assets/4741fccbca2e0d2fc6f61d11af3cf7bcc5f0238b67bb46282287207abdc6c536} +0 -0
  228. /package/lib/cli/{starters/approval-workflow/dot-dockerignore → starter-assets/4be664708b0120da5d2b73c5a27968093da06b8728f88f2bda2a1ccbf40f6891} +0 -0
  229. /package/lib/cli/{starters/hono/server/workflows.mjs → starter-assets/4d11f729672df54969a851494877a3c5aee24bb8f8c68eacaaa22e715bf5ed69} +0 -0
  230. /package/lib/cli/{starters/hono/dot-env.example → starter-assets/4f141323062660c4dc5b563300d57bb4cdbdc7fe9bfba96e43d9c64bb274474e} +0 -0
  231. /package/lib/cli/{starters/hono/Dockerfile → starter-assets/5471b74c46258d1edb00eb8f60f4219c389a252f7e224f2692f8f3e71ae43e3e} +0 -0
  232. /package/lib/cli/{starters/hono/scripts/setup.mjs → starter-assets/56e2d6db9fe4b0449c979acd06947a5b776bcc645184b54b8d3654a48bd12c38} +0 -0
  233. /package/lib/cli/{starters/hono/src/Notebook.jsx → starter-assets/6138d1e2ca4469daf4f5545d140943f6e23b0c37f865051b266ec99695cf181a} +0 -0
  234. /package/lib/cli/{starters/hono/src/vite-env.d.ts → starter-assets/65996936fbb042915f7b74a200fcdde7e410f32a669b1ab9597cfaa4b0faddb5} +0 -0
  235. /package/lib/cli/{starters/hono/server/application.mjs → starter-assets/757f43c27415654049ecf01b67d560c83d788108d1aebcf1f16a86d956bd7fb6} +0 -0
  236. /package/lib/cli/{starters/hono/src/components/mayura/thread-list.tsx → starter-assets/97601d0bf331df7bbde88f7ee269610bc8a1239f8eeb58fded6416e588a5b7dd} +0 -0
  237. /package/lib/cli/{starters/approval-workflow/dot-github/workflows/ci.yml → starter-assets/aa4182c76778ba2194ecbfde9a960c20181534fd1ab484df126278dbc6eb0186} +0 -0
  238. /package/lib/cli/{starters/hono/src/session.js → starter-assets/abcc6ebd29ba47a079befb6568054dec8f43d4c729187e4a3610af39789e77be} +0 -0
  239. /package/lib/cli/{starters/hono/compose.yaml → starter-assets/cc1df6f5ce0eebffc567ecea1d599eba97cd1b94ab01551085c0eb87a28e3a6c} +0 -0
  240. /package/lib/cli/{starters/hono/src/connect.js → starter-assets/cd3ddb959b277e7d495cc020a6f8146acfbcc9d05ececa3809e8aafcf84504d9} +0 -0
  241. /package/lib/cli/{starters/hono/test/session.test.mjs → starter-assets/dfe75fd07538427d80ba76767e037e929664c80ff5a41b7544496a789181bb73} +0 -0
  242. /package/lib/cli/{starters/approval-workflow/dot-gitignore → starter-assets/f3ef7285253ec9668732f535306beee602e91cb6e20f83d4799b3323399ce569} +0 -0
  243. /package/lib/cli/{starters/nuxt/src/view.js → starter-assets/ff840fe960683d377e78f731b5d4318adf6050384791fa20e4948d34192aa35d} +0 -0
@@ -1,22 +1,42 @@
1
1
  ---
2
2
  title: RAG production qualification
3
- description: Production qualification evidence and deployment boundaries for the Modal and Pinecone Loki v28 profile.
3
+ description: Compare the qualified Modal and Pinecone Loki v28 profile with experimental RAG configurations, and see measured scale, recall, and latency.
4
4
  ---
5
5
 
6
+ ## Qualification matrix
7
+
8
+ | Configuration | Embeddings | Retrieval and ranking | Release status |
9
+ | --- | --- | --- | --- |
10
+ | Registered Modal + Pinecone Loki v28 | Pinned Nomic Embed Text v1.5 on Modal, 768 dimensions | Pinecone cosine with self-provided vectors. Modal DeepSeek V4.1 Flash 1017 for candidate ranking and answer generation | **Production-qualified** for the registered Loki software-operations corpus and configuration |
11
+ | Modal + Pinecone starter | Nomic Embed Text v1.5 on Modal | Pinecone cosine. Modal DeepSeek for reranking and generation | **Experimental deployment profile**. The starter has its own sample corpus, configuration and smoke test. [Starter guide](rag-modal-pinecone-starter.md) |
12
+ | Built-in local stores | Deterministic hashing for offline examples. Host-supplied embeddings through the adapter contract | In-memory exact cosine with lexical scoring or BM25. Native memory with bounded exact vector scans and BM25 | **Local development and conformance**. Production use remains experimental. [RAG API guide](rag.md#architecture) |
13
+ | Other vector stores and model combinations | Host-supplied embedders, including OpenAI, Google, Mistral, Azure, Ollama and Bedrock adapters | [pgvector](../integrations/vector-pgvector.md), [libSQL](../integrations/vector-libsql.md), [Qdrant](../integrations/vector-qdrant.md), [Weaviate](../integrations/vector-weaviate.md), [Chroma](../integrations/vector-chroma.md), or Pinecone with a different profile. This includes Cohere, Voyage, Jina and other rerankers | **Experimental**. Evidence varies by adapter. [Vector conformance and model adapters](rag.md#vector-adapters-and-qualification) |
14
+
15
+ Changing the corpus, model, index, ranker, serving configuration, or operating load calls for separate qualification.
16
+
6
17
  ## Qualified production profile
7
18
 
8
- **The Modal + Pinecone profile for Loki v28 is stable for production within its tested scope.**
9
- The result covers the registered software-operations workload and its pinned configuration.
10
- Other RAG profiles remain experimental. See the [RAG API guide](rag.md) for framework usage.
19
+ The registered catalog contains 24 normalized documents from 22 Loki documentation source families and
20
+ 426 verified document embeddings. The semantic holdout contains 16 single-source cases, 16 multi-source cases
21
+ and eight abstention cases.
22
+
23
+ | Check | Scale | Quality | Timing |
24
+ | --- | --- | --- | --- |
25
+ | Source-reviewed semantic evaluation | 40 Loki cases | Required-fact coverage at three results averaged 98.4375% across answerable cases. Answer fact coverage averaged 98.4375%. All eight abstentions passed. Source review recorded zero unsupported claims. | Acquisition and ranking p95 upper bound of 4.725 s against the 5 s limit |
26
+ | Nomic acquisition load | 120/120 queries on the registered Loki catalog | 99.833% mean recall, 90% minimum | 417.127 ms acquisition p95 |
27
+ | Pinecone native load | 600/600 timed queries in the separate native vector load profile with observed concurrency of one | 98.333% mean recall, 90% minimum | 45.095 ms native query p95 |
28
+ | Recovery and scope security | Seven production recovery checkpoints and the scope security check | Passed | 25.428 s maximum observed recovery |
29
+
30
+ The semantic gate counts required facts supported within the top three results. The load checks measure recall against
31
+ their registered reference neighbors. Each latency figure covers the named phase. Document-level MRR and full-answer
32
+ p95 are unpublished for this profile. Use workload-specific
33
+ quality and latency targets for your deployment. [Deployment qualification](rag-deployment.md#qualify-the-deployment-you-intend-to-operate)
34
+
35
+ ## Recovery and cleanup evidence
11
36
 
12
- | Gate | Verified result |
13
- | --- | --- |
14
- | Document preparation | Verified embeddings reused from the registered checkpoint |
15
- | Semantic quality and latency | All 40 Loki cases passed the source-reviewed release gate. Acquisition and ranking p95 upper bound was 4.725 s against the 5 s limit |
16
- | Nomic acquisition load | 120/120 queries on the registered Loki catalog, 417.127 ms acquisition p95 |
17
- | Pinecone native load | 600/600 timed queries, 45.095 ms p95, complete original request archive recovered |
18
- | Recovery and scope security | Seven production recovery checkpoints passed, maximum 25.428 s. Scope security passed |
19
- | Campaign cleanup | Provider evidence covers 14 owned apps and 23 sandboxes. No owned Pinecone indexes remained. The pre-existing Modal app was verified by exact ID |
37
+ Document preparation reused the verified registered checkpoint. The original 600-query request archive was recovered
38
+ and checked. Provider evidence covers 14 owned apps and 23 sandboxes. No owned Pinecone indexes remained.
39
+ The pre-existing Modal app was verified by exact ID.
20
40
 
21
41
  The revised cleanup verifier uses retained provider observations for current owners and original
22
42
  shutdown receipts for historical owners. Missing records alone provide no cleanup credit. The
@@ -24,6 +44,5 @@ original incomplete audit remains in the evidence, including its completed archi
24
44
  The offline release check made no provider calls and reran no queries. The original quality,
25
45
  latency, recovery, security and 600-query gates still apply.
26
46
 
27
- The release receipt is `compatibility/rag-modal-pinecone-loki-production-v1.json` in the
28
- repository. The registered workload does not establish capacity, latency, or semantic quality
29
- for other corpora, providers, models, or deployments.
47
+ The versioned release receipt records the passed gates, phase digests and measured latency.
48
+ [Loki v28 release receipt](https://github.com/KartikeyAI/mayura/blob/ff69ac1e559b4360f2befffe35f13aece1b4ba89/compatibility/rag-modal-pinecone-loki-production-v1.json)
@@ -0,0 +1,119 @@
1
+ ---
2
+ title: RAG quickstart
3
+ description: Install Mayura, ingest Markdown, retrieve and verify an exact citation, then delete the source locally.
4
+ ---
5
+
6
+ Use `mayura/rag` to publish a Markdown source, retrieve a passage with a citation, and revoke the source's
7
+ visibility. This example uses SQLite for the workflow journal and catalog, a deterministic hashing embedder,
8
+ and an in-memory vector store. It runs without API keys or model calls.
9
+
10
+ ## Install and run
11
+
12
+ Use [a supported Node.js version](../installation.md). From an empty project directory, install Mayura and its
13
+ optional SQLite dependency.
14
+
15
+ ```sh
16
+ npm init -y
17
+ npm install mayura better-sqlite3@13
18
+ ```
19
+
20
+ Save this as `rag-quickstart.mts`.
21
+
22
+ ```ts
23
+ import { hashingEmbedder } from 'mayura/memory';
24
+ import {
25
+ aggregateRagCatalog, createRetriever, defineRagIngestion, deleteRagDocument,
26
+ inMemoryVectorStore, loadMarkdown, ragEmbedder, ragIndexSpace, type RagAccess,
27
+ } from 'mayura/rag';
28
+ import { createSqliteStore } from 'mayura/storage-sqlite';
29
+ import { createWorkflowRuntime } from 'mayura/workflows';
30
+
31
+ const scope = { principalId: 'demo-reader', projectId: 'handbook' };
32
+ const readAccess: RagAccess = {
33
+ scope, permissions: { allow: ['rag:read'] }, allowedSensitivities: ['internal'],
34
+ };
35
+ const writeAccess: RagAccess = {
36
+ scope, permissions: { allow: ['rag:index'] }, allowedSensitivities: ['internal'],
37
+ };
38
+ const db = createSqliteStore({ filename: ':memory:' });
39
+ const catalog = aggregateRagCatalog(db);
40
+ const embedder = ragEmbedder(hashingEmbedder({ dimensions: 64 }), { costMicros: 0 });
41
+ const vectors = inMemoryVectorStore({ dimensions: 64, maxVectors: 100 });
42
+ const chunking = { mode: 'markdown', maxChars: 512, overlapChars: 64, maxChunks: 8 } as const;
43
+ const document = loadMarkdown('## Returns\nUnopened items can be returned within 30 days with a receipt.', {
44
+ id: 'returns', reference: 'handbook/returns.md', sensitivity: 'internal',
45
+ });
46
+
47
+ await db.initialize();
48
+ const runtime = createWorkflowRuntime({
49
+ store: db, scope, policyVersion: 'handbook-v1', maxCostMicros: 0,
50
+ permissions: { allow: ['effect:write', 'rag:index', 'tool:handbook.ingest.stage', 'tool:handbook.ingest.publish'] },
51
+ });
52
+ try {
53
+ const ingestion = defineRagIngestion({
54
+ ...writeAccess, id: 'handbook.ingest', version: '1', journal: db, catalog,
55
+ store: vectors, embedder, chunking, maxCostMicros: 0, timeoutMs: 5_000,
56
+ });
57
+ const submission = await runtime.submit(ingestion, {
58
+ input: { document, expectedRevision: null },
59
+ idempotencyKey: 'returns-v1',
60
+ });
61
+ const outcome = await runtime.runUntilSettled(ingestion, submission.id);
62
+ if (outcome.status !== 'succeeded') throw new Error('Ingestion did not publish.');
63
+
64
+ const retriever = createRetriever({
65
+ ...readAccess, catalog, store: vectors, embedder, space: ragIndexSpace(embedder, chunking),
66
+ mode: 'hybrid', limit: 3, candidateLimit: 10, maxQueries: 1, maxCostMicros: 0,
67
+ timeoutMs: 5_000, maxConcurrent: 2,
68
+ });
69
+ const query = 'returns receipt';
70
+ const { hits } = await retriever.retrieve(query);
71
+ const hit = hits[0];
72
+ if (!hit) throw new Error('Expected a returns passage.');
73
+ const { chunk } = hit;
74
+ const citation = {
75
+ documentId: chunk.documentId, revision: chunk.revision, chunkId: chunk.id,
76
+ reference: chunk.reference, start: chunk.start, end: chunk.end,
77
+ };
78
+ const passage = document.text.slice(citation.start, citation.end);
79
+ if (passage !== chunk.text) throw new Error('Citation did not match the source.');
80
+ console.log(JSON.stringify({ passage, citation }, null, 2));
81
+
82
+ const active = await catalog.read(scope, document.id, AbortSignal.timeout(5_000));
83
+ if (!active || active.deleted || active.revision !== citation.revision) {
84
+ throw new Error('The cited revision is no longer active.');
85
+ }
86
+ const tombstone = await deleteRagDocument({
87
+ ...writeAccess, catalog, documentId: document.id, expectedRevision: active.revision,
88
+ signal: AbortSignal.timeout(5_000),
89
+ });
90
+ if ((await retriever.retrieve(query)).hits.length !== 0) {
91
+ throw new Error('The deleted source is still visible.');
92
+ }
93
+ await vectors.delete(scope, tombstone.space, tombstone.chunkIds, AbortSignal.timeout(5_000));
94
+ console.log('Source hidden and vectors removed.');
95
+ } finally {
96
+ try { await runtime.close(); } finally { await db.close(); }
97
+ }
98
+ ```
99
+
100
+ ```sh
101
+ node --experimental-strip-types rag-quickstart.mts
102
+ ```
103
+
104
+ The first output contains the returns passage and its document, revision, chunk ID, source reference and exact UTF-16
105
+ offsets in the normalized Markdown. The second confirms the catalog tombstone hid the passage before vector cleanup.
106
+
107
+ ## Connect an agent or persist the corpus
108
+
109
+ Bind `defineRetrievalTool` to the scoped retriever to expose a query-only search tool. Derive the scope on the host
110
+ from trusted request identity. Treat returned passages as untrusted evidence and verify access to the cited revision
111
+ again when displaying it. [Scoped retrieval and tools](rag.md#scoped-retrieval-and-tools)
112
+
113
+ For restart recovery, use a file-backed journal and catalog plus a persistent vector store. Reuse the same submission
114
+ key, storage, index space and workflow version when recovering known work. Keep the journal for reconciliation when
115
+ an acknowledgement is uncertain. Catalog deletion changes what readers can see before vector cleanup. Configure
116
+ retention separately for workflow inputs and journal history. [Durable ingestion](rag.md#durable-ingestion)
117
+
118
+ To try a hosted setup, follow the [deployment guide](rag-deployment.md) and check which exact configurations the
119
+ [qualification matrix](rag-production.md#qualification-matrix) covers.
@@ -9,6 +9,9 @@ only authorized evidence and exact citation identities. The [qualified Modal + P
9
9
  profile](rag-production.md#qualified-production-profile) is stable within its tested scope. Other RAG profiles
10
10
  remain experimental. See [release validation status](release-readiness.md) for the limits of the available evidence.
11
11
 
12
+ Follow the [RAG quickstart](rag-quickstart.md) to ingest, retrieve, verify a citation and delete a source from a
13
+ registry install. Then use the [deployment guide](rag-deployment.md) to prepare a hosted setup.
14
+
12
15
  ## Retrieval configuration
13
16
 
14
17
  Chunk-level fusion remains the default. Use `fusionLevel: 'document'` to combine ranks by document and
@@ -173,6 +176,11 @@ macro-averages test-set recall and MRR. `citationCoverage` checks that cited chu
173
176
  it does not establish semantic entailment. Retrieval result metrics contain admitted query/candidate/result counts,
174
177
  declared cost reservation and duration, without raw query text, denied document identities or source content.
175
178
 
179
+ For grounded answers, score citation correctness against the document revision and the exact evidence span. Then
180
+ judge each claim against independently labeled support in those spans. Measure the unsupported-claim rate and
181
+ answer faithfulness alongside retrieval recall and MRR. The package qualification uses deterministic fixtures for
182
+ these distinctions. Use a representative held-out corpus and reviewed claims to evaluate your deployment.
183
+
176
184
  ## Vector adapters and qualification
177
185
 
178
186
  Built-in exact stores plus six optional integrations share the `VectorStore` contract:
@@ -187,4 +195,6 @@ The shared offline conformance suite passes locally for all eight stores: scope/
187
195
  ID replacement, scoped deletion, invalid dimensions and cancellation. Native protocol tests use fake transports;
188
196
  SQL protocol tests use fake executors, while native-memory tests use local in-memory SQLite. These cases, the offline runnable example, package checks and edge/runtime checks passed locally. Frozen dependency installation also passed with strict peers and lifecycle scripts disabled. Fake transports and executors do not qualify real service compatibility, SQL query plans or deployment limits.
189
197
 
190
- Remote indexes may acknowledge writes before making them searchable. Publication does not promise immediate full recall across eventually consistent services. Real service readiness and deployment behavior remain unqualified.
198
+ Remote indexes may acknowledge writes before making them searchable. Give eventually consistent indexes time to
199
+ catch up before evaluating recall. See the [qualification matrix](rag-production.md#qualification-matrix) for the
200
+ pinned production profile and the status of other adapters and model combinations.
@@ -0,0 +1,94 @@
1
+ ---
2
+ title: "Mayura with React Router"
3
+ description: "Run the React Router notebook starter with persistent threads, exact tool approvals, a scoped server and a separate durable worker."
4
+ ---
5
+
6
+ Use the `react-router` starter to build a React Router application with a working approval flow before adding a paid model.
7
+ It includes persistent scoped chat, a deterministic note agent, an explicit approve/reject interface and a separate
8
+ durable indexing worker. This is runnable application source, not a hosted service.
9
+
10
+ ## Generate and run
11
+
12
+ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a directory you own;
13
+ inspect its plan before applying it to an existing project.
14
+
15
+ ```sh
16
+ npx mayura@1.2.1 init --starter react-router --directory ./my-notebook --apply
17
+ cd my-notebook
18
+ npm install
19
+ npm run setup
20
+ npm run dev
21
+ ```
22
+
23
+ Open `http://localhost:3000`. Read the generated ignored `.data/login-token` file locally and enter its value in
24
+ the notebook's password field. Setup creates an eight-hour local session, never prints its token, and refuses to
25
+ replace existing credentials. Keep `.env` and `.data` out of source control.
26
+
27
+ In another terminal, inside the generated project:
28
+
29
+ ```sh
30
+ npm run worker
31
+ ```
32
+
33
+ ## Follow a complete conversation
34
+
35
+ 1. Connect with the local session and create a thread.
36
+ 2. Send a note. Inspect the exact proposed input before approving or rejecting it.
37
+ 3. Approve once: the note is saved and a separate durable indexing workflow is submitted.
38
+ 4. Let the worker process the index job. Reload, re-enter the session and inspect the persisted history.
39
+ 5. If a response is lost, inspect the saved run before using the explicit recovery action. Do not send the note again
40
+ with a new key to repair an uncertain write.
41
+
42
+ The fixture needs no provider API key, model billing or external write. A rejected proposal must not save a note.
43
+ Thread history and approval controls remain scoped to the identity verified by the server.
44
+
45
+ ## Framework boundary
46
+
47
+ The resource route forwards loader requests and action requests to the same native handler. The home route hosts the React notebook. Keep the resource route separate from page data loaders so authenticated run responses and event streams are not transformed into page data.
48
+
49
+ | Part | Generated location |
50
+ | --- | --- |
51
+ | HTTP bridge | `app/routes/api.ts` |
52
+ | Notebook interface | `app/routes/home.tsx` |
53
+ | Application and tool configuration | `server/application.mjs` |
54
+ | Session verification | `server/auth.mjs` |
55
+ | Background processing | `server/worker.mjs` |
56
+
57
+ The API is mounted at `/api/mayura/*`; the browser's origin-pinned transport preserves the native Mayura route
58
+ contract while adding that prefix. Use React Router for navigation and Mayura stores for thread/run observation. Unmounting a route disposes its observers; it must not automatically resubmit the previous message or approve the captured call. Preserve the exact submission key when explicitly recovering a lost response.
59
+
60
+ ## Customize identity, tools and storage
61
+
62
+ Replace the single-user demonstration authenticator with verified application identity before opening the app to
63
+ customers. The host fixes principal, project, route capabilities and agent permissions. Browser input cannot choose
64
+ a tenant or grant itself a capability. Never distribute one shared owner token to multiple customers.
65
+
66
+ The note agent and indexing worker have separate grants. If you replace the fixture model, declare the model grant,
67
+ prices, finite per-call cost cap and run budget. A gateway subscription does not remove those limits. See
68
+ [AI gateways](ai-gateways.md) and [authorization](authorization.md).
69
+
70
+ Build and serve the generated React Router Node application with its separate worker. A persistent single-host deployment can share the SQLite volume; replicas need shared PostgreSQL. Route actions do not replace the background worker or guarantee that a remote write was cancelled when navigation stops.
71
+
72
+ A note write and workflow submission are separate operations. If scheduling is unconfirmed after the note was saved,
73
+ reconcile the missing index job using the note's identity; never replay the browser write to repair scheduling.
74
+ See [framework starter architecture](framework-starters.md) for worker leadership, retention and recovery details.
75
+
76
+ ## Verify your changes
77
+
78
+ ```sh
79
+ npm test
80
+ npm run typecheck
81
+ npm run build
82
+ ```
83
+
84
+ The V1.2 release passed the complete cross-platform qualification matrix, including generated packed server
85
+ contracts and workspace framework builds/HTTP approval flows. Rendered browser interaction and actual framework
86
+ deployments are separate checks; qualify your target before exposing customer data. See
87
+ [release validation status](release-readiness.md) and [deployment](deployment.md).
88
+
89
+ ## Continue building
90
+
91
+ - [Threads and compaction](threads.md): history, recording and bounded summaries.
92
+ - [Approvals and human input](approvals-and-human-input.md): exact-call decisions and durable resumption.
93
+ - [Copy-in UI](copy-in-ui.md) and [headless stores](react.md): customize the conversation interface.
94
+ - [Choose a starter](choosing-a-starter.md): compare this notebook with the other application shapes.
@@ -1,39 +1,80 @@
1
1
  ---
2
- title: "V1.2 release validation status"
3
- description: "Completed local and CI qualification, experimental surfaces and the checks still required before releasing Mayura V1.2."
2
+ title: "V1.2.1 release validation status"
3
+ description: "Verified publication of all 106 packages, the scoped production RAG qualification, and remaining interoperability limits."
4
4
  ---
5
5
 
6
- **1.2.0 was published** for all 106 packages through trusted publishing. The [V1.2.1 release candidate](#release-preparation)
7
- adds configurable workflow graph limits and marks the [Modal + Pinecone Loki v28 RAG profile](rag-production.md#qualified-production-profile)
8
- stable for its tested scope. Other RAG profiles remain experimental. The earlier snapshots below record the 1.2.0 qualification.
6
+ ## V1.2.1 publication
7
+
8
+ **1.2.1 was published on November 23, 2026.** The [qualification on main](https://github.com/KartikeyAI/mayura/actions/runs/45084310737)
9
+ passed all 39 jobs at `ff69ac1e559b4360f2befffe35f13aece1b4ba89`. The
10
+ [106-package rehearsal](https://github.com/KartikeyAI/mayura/actions/runs/45087206578) passed on the same commit.
11
+ The [protected publication](https://github.com/KartikeyAI/mayura/actions/runs/45088101597) published all 106 packages
12
+ under `latest` with npm trusted publishing. All tarball hashes and provenance were verified, and all 22 existing
13
+ `next` tags were preserved. The [V1.2.1 GitHub release](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.1)
14
+ retains the manifests and publication receipt.
15
+
16
+ The [Modal and Pinecone Loki v28 profile](rag-production.md) passed production RAG qualification for its
17
+ registered workload. Other RAG profiles and the bounded AG-UI profile remain experimental.
18
+
19
+ ## V1.2.0 publication history
20
+
21
+ Stable **1.2.0 was published on 2026-10-23** for `mayura` and all **105 extensions** under `latest`, through
22
+ `release.yml` and the protected `release` environment using npm trusted publishing. All **106 packages** have
23
+ verified archive integrity and provenance, and every existing `next` tag was preserved. The
24
+ [stable GitHub Release and v1.2.0 tag](https://github.com/KartikeyAI/mayura/releases/tag/v1.2.0) identify the qualified
25
+ source commit, `ac32daa412d7209066530cfdc9542d820d054b86`.
26
+ The local and earlier release-branch snapshots below remain historical evidence; publication does not establish
27
+ interoperability with unqualified real external services.
9
28
 
10
29
  ## Completed CI qualification
11
30
 
12
- The [main qualification run 39903621300](https://github.com/KartikeyAI/mayura/actions/runs/39903621300) passed all
31
+ The [main qualification run 39928903180](https://github.com/KartikeyAI/mayura/actions/runs/39928903180) passed all
13
32
  **39 jobs**, including the required **Qualification gate**: shared checks, six OS/Node consumer lanes, 12 unit-test
14
33
  shards, 12 bundle shards, four database integration shards, shared runtimes and two container lanes. Linux, macOS and
15
34
  Windows retain Node 22.23.2 and 24.14.1 coverage. Branch protection requires the aggregate gate. The
16
- [main website run 39903621303](https://github.com/KartikeyAI/mayura/actions/runs/39903621303) also passed.
17
-
18
- [PR #21](https://github.com/KartikeyAI/mayura/pull/21) passed all 39 qualification jobs before merging at the main
19
- commit above. The full publisher now requires a committed version, exact-main qualification and source-bound
20
- archive/receipt verification, and creates only the version tag and GitHub Release after publication. It does not
21
- commit, rebase or push main. A local 1.2.0 rehearsal passed build, upgrade from V1.1.0, all 106 archive checks,
22
- 450-component SBOM checks with no license findings, and 106 offline npm dry runs. These local archives are rehearsal
23
- evidence, not the final stable publication artifacts.
35
+ [main website run 39914438301](https://github.com/KartikeyAI/mayura/actions/runs/39914438301) also passed at the
36
+ version-preparation commit `0ba32b038ba8b8a8de6b40e1f4781f36f6a9ba00`, before the final workflow/test-fixture follow-up.
37
+
38
+ [PR #22](https://github.com/KartikeyAI/mayura/pull/22) prepared the coordinated version and
39
+ [PR #23](https://github.com/KartikeyAI/mayura/pull/23) corrected artifact retention and a Windows graph stress fixture.
40
+ Each passed all 39 qualification jobs before merging. The final main run above qualifies the published source.
41
+ The full publisher requires a committed version, exact-main qualification and source-bound archive/receipt
42
+ verification, and creates only the version tag and GitHub Release after publication. It does not commit, rebase or
43
+ push main.
44
+
45
+ The [full workflow rehearsal 39932634159](https://github.com/KartikeyAI/mayura/actions/runs/39932634159) passed at
46
+ that same source with `version=1.2.0`, `package_set=all` and `dry_run=true`: build, upgrade from V1.1.0, all 106 archive
47
+ checks, 450-component SBOM checks with no license findings, and 106 offline npm dry runs. Its downloaded
48
+ `release-rehearsal-1.2.0` artifact was verified independently. This rehearsal preceded live publication.
49
+
50
+ ## Completed stable publication
51
+
52
+ The [stable release run 39934428405](https://github.com/KartikeyAI/mayura/actions/runs/39934428405) succeeded with
53
+ `version=1.2.0`, `package_set=all` and `dry_run=false`, after approval of the protected `release` environment.
54
+ All **106 OIDC uploads were accepted** and the publisher verified all versions, provenance and distribution tags
55
+ before creating the source-bound `v1.2.0` tag and stable GitHub Release. This establishes successful trusted publishing
56
+ for every package, superseding the earlier 22-package RC-only evidence and 84 configuration-only readbacks.
57
+
58
+ Independent public registry checks confirmed all 106 package identities and versions, SHA-512 archive integrity,
59
+ provenance and `latest=1.2.0` against the saved publication archives and receipt. Every `next` value matched the
60
+ pre-publication baseline: the reviewed 22-package set remains at `1.2.0-rc.1`, and packages without `next` still have
61
+ no such tag. Stable publication did not promote or replace the prerelease channel.
62
+
63
+ The [release evidence artifact](https://github.com/KartikeyAI/mayura/actions/runs/39934428405/artifacts/12494296045),
64
+ `release-all-1.2.0`, contains all 106 archives, their manifest, the complete published receipt, exact-main
65
+ qualification, the 450-component SBOM and release notes. Its downloaded ZIP matched SHA-256
66
+ `cc0c2d22b23c9ccfdf7856378cb5234f6980efe13c92a2b4945554a65236a39f`.
67
+ The receipt and qualification both identify the published source and successful main run `39928903180`.
68
+
69
+ ### Historical RC1 publication
24
70
 
25
71
  The [RC1 release run 39884720470](https://github.com/KartikeyAI/mayura/actions/runs/39884720470) succeeded through
26
72
  `release.yml` and the protected `release` environment at `ba4a1e868904453e533e57e2876d64ab8536c454`, after
27
73
  [its 39-job main qualification](https://github.com/KartikeyAI/mayura/actions/runs/39879429442). All 22 selected archives matched
28
74
  their public npm integrity metadata, every version had provenance, and `next` resolved to `1.2.0-rc.1`. Existing
29
75
  `latest` values remained `1.1.0` for `mayura` and the OpenAI provider, and `1.2.0-rc.0` for the 20 newly introduced
30
- extensions. This proves OIDC publication for those 22 packages, not the full 106-package stable release.
31
-
32
- On **2026-10-23**, read-only npm checks confirmed that all other **84 packages** have the expected trusted-publisher
33
- configuration: `KartikeyAI/mayura`, `release.yml`, environment `release`, and direct publishing allowed. No trust
34
- settings were changed. The CLI readback does not expose activation or expiry status and is not proof of a successful
35
- OIDC exchange; the first live publication remains unproven for those packages. Recheck eligibility at release time
36
- and recreate any expired configurations. Public registry preflight also found all 106 stable `1.2.0` versions unused.
76
+ extensions. Those `latest` values describe the RC1 snapshot; stable publication subsequently advanced all 106
77
+ packages to `1.2.0` while preserving their `next` tags, as verified above.
37
78
 
38
79
  ### Historical release-branch run
39
80
 
@@ -79,8 +120,8 @@ Node 24.15.0 for framework starter qualification.
79
120
  | Frozen installation, secret scan and licenses/SBOM | Passed; 450 SBOM components, no license findings |
80
121
 
81
122
  These counts describe the completed qualification snapshot before this status page was added. Documentation edits
82
- are checked again during release preparation. The archives were staged for verification, not published; the release
83
- workflow must generate new archives bound to the final source commit and V1.2 version.
123
+ were checked again during release preparation. These local archives were staged for verification; the completed
124
+ workflow rehearsal and stable publication generated their own archives bound to the final source and V1.2 version.
84
125
 
85
126
  The integration result combines the latest execution of each case. The original all-service run had 54 failures
86
127
  and 313 skipped cases. Focused reruns cleared all executed failures, including a final serial run of 107 cases
@@ -90,19 +131,14 @@ concurrent builds and unit-suite load. The subsequent complete CI pass is record
90
131
 
91
132
  ## Remaining qualifications and limitations
92
133
 
93
- - **Stable publication:** full-release safeguards passed PR and main qualification at the recorded source; scoped
94
- RC1 publication passed at its separately recorded source. The stable version PR still needs review, qualification
95
- and green main checks, then a final-source workflow rehearsal and publication approval. All other 84 publisher
96
- configurations matched in read-only checks, but were not exercised by RC1 and their activation/expiry status was
97
- not exposed by the CLI. Recheck eligibility and replace any expired configurations before full publication.
98
134
  - **Providers and gateways:** offline transports and the provider harness dry run passed. Paid inference, real
99
135
  embedding endpoints, gateway accounting and remote discovery behavior have not been qualified.
100
136
  - **Authorization:** OpenFGA, Cedar, Permit.io and Oso passed offline tests and package checks. Real provider/native
101
137
  engine interoperability, deployed policies and revision consistency remain host responsibilities and unqualified
102
138
  here. Amazon Verified Permissions is outside the implemented Cedar adapter.
103
- - **RAG:** the [RAG surface](rag.md) as shipped in 1.2.0 passed offline tests, including fake vector transports/SQL executors
104
- and local SQLite native-memory checks. This does not establish real vector/reranker service compatibility, SQL
105
- query plans, deployment limits or read-after-write visibility on eventually consistent services.
139
+ - **RAG:** the [qualified Modal and Pinecone profile](rag-production.md) covers one pinned Loki workload. Other
140
+ configurations have offline or narrower test evidence. Check the vector store, index behavior, workload and
141
+ security requirements for the deployment you plan to operate.
106
142
  - **AG-UI:** the [experimental bounded profile](ag-ui.md) passed adapter and native server tests. The opt-in reference
107
143
  HttpAgent/schema harness, CopilotKit compatibility and the notebook's rendered browser flow remain unqualified.
108
144
  Arbitrary in-flight paid-operation recovery, conversation branching, audio/video media and reasoning disclosure
@@ -112,13 +148,14 @@ concurrent builds and unit-suite load. The subsequent complete CI pass is record
112
148
  Rendered browser interaction, visual/accessibility checks and live deployment qualification remain outstanding.
113
149
  See [framework starters](framework-starters.md) and [copy-in UI](copy-in-ui.md).
114
150
 
115
- Retain the experimental labels and these limits when publishing. Any claim of stable external interoperability
116
- requires the corresponding real-service or reference-client qualification before release; an offline pass is not
117
- sufficient evidence for that claim.
151
+ The published release retains the experimental labels and these limits. Any future claim of stable external
152
+ interoperability requires the corresponding real-service or reference-client qualification; an offline pass or
153
+ successful npm publication is not sufficient evidence for that claim.
118
154
 
119
- ## Release preparation
155
+ ## Release completion
120
156
 
121
- V1.2.1 is prepared as a coordinated patch release for `mayura` and all 105 extensions. Before publication,
122
- require the PR and its resulting main commit to pass the full Qualification gate. Then rehearse the same main
123
- commit with `package_set=all`, `version=1.2.1` and `dry_run=true`. Review the archives, checksums, SBOM and release
124
- notes before approving the protected trusted-publishing job. Publish to `latest` while preserving existing `next` tags.
157
+ The coordinated version PR, artifact/fixture follow-up, full main qualification, final-source rehearsal, protected
158
+ environment approval, 106-package stable publication and source-bound tag/GitHub Release are complete.
159
+ Trusted publishing is verified by successful OIDC publication for all 106 packages, rather than configuration
160
+ readback alone. The remaining work concerns the explicitly unqualified integrations, rendered browser flows and
161
+ deployments listed above; stable package availability does not qualify those application paths.
@@ -0,0 +1,94 @@
1
+ ---
2
+ title: "Mayura with SvelteKit"
3
+ description: "Run the SvelteKit notebook starter with persistent threads, exact tool approvals, a scoped server and a separate durable worker."
4
+ ---
5
+
6
+ Use the `sveltekit` starter to build a SvelteKit application with a working approval flow before adding a paid model.
7
+ It includes persistent scoped chat, a deterministic note agent, an explicit approve/reject interface and a separate
8
+ durable indexing worker. This is runnable application source, not a hosted service.
9
+
10
+ ## Generate and run
11
+
12
+ Use Node 24.14.1 or a later supported 24.x version. Run the initializer from a directory you own;
13
+ inspect its plan before applying it to an existing project.
14
+
15
+ ```sh
16
+ npx mayura@1.2.1 init --starter sveltekit --directory ./my-notebook --apply
17
+ cd my-notebook
18
+ npm install
19
+ npm run setup
20
+ npm run dev
21
+ ```
22
+
23
+ Open `http://localhost:3000`. Read the generated ignored `.data/login-token` file locally and enter its value in
24
+ the notebook's password field. Setup creates an eight-hour local session, never prints its token, and refuses to
25
+ replace existing credentials. Keep `.env` and `.data` out of source control.
26
+
27
+ In another terminal, inside the generated project:
28
+
29
+ ```sh
30
+ npm run worker
31
+ ```
32
+
33
+ ## Follow a complete conversation
34
+
35
+ 1. Connect with the local session and create a thread.
36
+ 2. Send a note. Inspect the exact proposed input before approving or rejecting it.
37
+ 3. Approve once: the note is saved and a separate durable indexing workflow is submitted.
38
+ 4. Let the worker process the index job. Reload, re-enter the session and inspect the persisted history.
39
+ 5. If a response is lost, inspect the saved run before using the explicit recovery action. Do not send the note again
40
+ with a new key to repair an uncertain write.
41
+
42
+ The fixture needs no provider API key, model billing or external write. A rejected proposal must not save a note.
43
+ Thread history and approval controls remain scoped to the identity verified by the server.
44
+
45
+ ## Framework boundary
46
+
47
+ The catch-all +server.ts forwards the native HTTP methods to the application handler. The page uses native Svelte controls and headless stores, not React components. Keep connection setup and subscriptions in the browser lifecycle, with disposal when the page disconnects.
48
+
49
+ | Part | Generated location |
50
+ | --- | --- |
51
+ | HTTP bridge | `src/routes/api/mayura/[...path]/+server.ts` |
52
+ | Notebook interface | `src/routes/+page.svelte` |
53
+ | Application and tool configuration | `server/application.mjs` |
54
+ | Session verification | `server/auth.mjs` |
55
+ | Background processing | `server/worker.mjs` |
56
+
57
+ The API is mounted at `/api/mayura/*`; the browser's origin-pinned transport preserves the native Mayura route
58
+ contract while adding that prefix. Subscribe to the headless thread, run and approval snapshots from the Svelte view. Keep approve/reject behind explicit controls bound to the displayed call. The React copy-in registry does not generate Svelte source in 1.2; the included Svelte interface is the supported starting point.
59
+
60
+ ## Customize identity, tools and storage
61
+
62
+ Replace the single-user demonstration authenticator with verified application identity before opening the app to
63
+ customers. The host fixes principal, project, route capabilities and agent permissions. Browser input cannot choose
64
+ a tenant or grant itself a capability. Never distribute one shared owner token to multiple customers.
65
+
66
+ The note agent and indexing worker have separate grants. If you replace the fixture model, declare the model grant,
67
+ prices, finite per-call cost cap and run budget. A gateway subscription does not remove those limits. See
68
+ [AI gateways](ai-gateways.md) and [authorization](authorization.md).
69
+
70
+ Use the generated Node host and a separate Node worker. Review the SvelteKit adapter before switching deployment platforms. PostgreSQL supports multiple hosts; SQLite needs a persistent volume shared with the worker. Serverless hosting still needs a trusted path to advance bounded background work.
71
+
72
+ A note write and workflow submission are separate operations. If scheduling is unconfirmed after the note was saved,
73
+ reconcile the missing index job using the note's identity; never replay the browser write to repair scheduling.
74
+ See [framework starter architecture](framework-starters.md) for worker leadership, retention and recovery details.
75
+
76
+ ## Verify your changes
77
+
78
+ ```sh
79
+ npm test
80
+ npm run typecheck
81
+ npm run build
82
+ ```
83
+
84
+ The V1.2 release passed the complete cross-platform qualification matrix, including generated packed server
85
+ contracts and workspace framework builds/HTTP approval flows. Rendered browser interaction and actual framework
86
+ deployments are separate checks; qualify your target before exposing customer data. See
87
+ [release validation status](release-readiness.md) and [deployment](deployment.md).
88
+
89
+ ## Continue building
90
+
91
+ - [Threads and compaction](threads.md): history, recording and bounded summaries.
92
+ - [Approvals and human input](approvals-and-human-input.md): exact-call decisions and durable resumption.
93
+ - [Copy-in UI](copy-in-ui.md) and [headless stores](react.md): customize the conversation interface.
94
+ - [Choose a starter](choosing-a-starter.md): compare this notebook with the other application shapes.