@open-mercato/cli 0.11.1-develop.8589.1.db1a76ea60 → 0.11.1-develop.8665.1.2455b2503c

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 (285) hide show
  1. package/.turbo/turbo-build.log +4 -2
  2. package/AGENTS.md +3 -0
  3. package/dist/agentic/guides/architecture.md +2 -2
  4. package/dist/agentic/guides/extensions.md +7 -2
  5. package/dist/agentic/guides/framework-extension-points.md +1 -0
  6. package/dist/agentic/guides/infrastructure-providers.md +20 -0
  7. package/dist/agentic/guides/integrations.md +2 -2
  8. package/dist/agentic/guides/module-facts.json +2564 -265
  9. package/dist/agentic/guides/module-facts.v2.json +2580 -265
  10. package/dist/agentic/guides/modules/agent_orchestrator/index.md +1 -1
  11. package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
  12. package/dist/agentic/guides/modules/api_docs/index.md +1 -1
  13. package/dist/agentic/guides/modules/api_keys/index.md +1 -1
  14. package/dist/agentic/guides/modules/assisted_selling/acl-features.md +16 -0
  15. package/dist/agentic/guides/modules/assisted_selling/contribution-resolutions.md +21 -0
  16. package/dist/agentic/guides/modules/assisted_selling/domain-commands.md +11 -0
  17. package/dist/agentic/guides/modules/assisted_selling/entities.md +11 -0
  18. package/dist/agentic/guides/modules/assisted_selling/events.md +22 -0
  19. package/dist/agentic/guides/modules/assisted_selling/exact-override-targets.md +17 -0
  20. package/dist/agentic/guides/modules/assisted_selling/index.md +21 -0
  21. package/dist/agentic/guides/modules/assisted_selling/owned-contract-module-metadata.md +11 -0
  22. package/dist/agentic/guides/modules/assisted_selling/setup.md +11 -0
  23. package/dist/agentic/guides/modules/assisted_selling/umes-contributions.md +21 -0
  24. package/dist/agentic/guides/modules/assisted_selling/umes-hosts.md +23 -0
  25. package/dist/agentic/guides/modules/attachments/exact-override-targets.md +1 -1
  26. package/dist/agentic/guides/modules/attachments/index.md +1 -1
  27. package/dist/agentic/guides/modules/attachments/workers.md +1 -1
  28. package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
  29. package/dist/agentic/guides/modules/auth/index.md +1 -1
  30. package/dist/agentic/guides/modules/availability/index.md +1 -1
  31. package/dist/agentic/guides/modules/backups/di-registrations-rich.md +11 -0
  32. package/dist/agentic/guides/modules/backups/di-service-tokens.md +11 -0
  33. package/dist/agentic/guides/modules/backups/exact-override-targets.md +11 -0
  34. package/dist/agentic/guides/modules/backups/index.md +5 -2
  35. package/dist/agentic/guides/modules/business_rules/index.md +1 -1
  36. package/dist/agentic/guides/modules/carrier_inpost/index.md +1 -1
  37. package/dist/agentic/guides/modules/cart/index.md +1 -1
  38. package/dist/agentic/guides/modules/catalog/acl-features.md +2 -1
  39. package/dist/agentic/guides/modules/catalog/active-extension-bindings.md +2 -0
  40. package/dist/agentic/guides/modules/catalog/backend-pages.md +1 -0
  41. package/dist/agentic/guides/modules/catalog/contribution-resolutions.md +5 -0
  42. package/dist/agentic/guides/modules/catalog/di-registrations-rich.md +8 -7
  43. package/dist/agentic/guides/modules/catalog/di-service-tokens.md +5 -4
  44. package/dist/agentic/guides/modules/catalog/domain-commands.md +2 -0
  45. package/dist/agentic/guides/modules/catalog/entities.md +1 -0
  46. package/dist/agentic/guides/modules/catalog/events.md +4 -1
  47. package/dist/agentic/guides/modules/catalog/exact-override-targets.md +13 -7
  48. package/dist/agentic/guides/modules/catalog/index.md +9 -9
  49. package/dist/agentic/guides/modules/catalog/umes-contributions.md +5 -0
  50. package/dist/agentic/guides/modules/catalog/umes-hosts.md +4 -0
  51. package/dist/agentic/guides/modules/catalog/workers.md +1 -0
  52. package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
  53. package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
  54. package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
  55. package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
  56. package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
  57. package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
  58. package/dist/agentic/guides/modules/channel_resend/index.md +1 -1
  59. package/dist/agentic/guides/modules/channel_ses/index.md +1 -1
  60. package/dist/agentic/guides/modules/channel_smtp/index.md +1 -1
  61. package/dist/agentic/guides/modules/checkout/index.md +1 -1
  62. package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
  63. package/dist/agentic/guides/modules/configs/index.md +1 -1
  64. package/dist/agentic/guides/modules/content/index.md +1 -1
  65. package/dist/agentic/guides/modules/currencies/index.md +1 -1
  66. package/dist/agentic/guides/modules/customer_accounts/active-extension-bindings.md +1 -1
  67. package/dist/agentic/guides/modules/customer_accounts/exact-override-targets.md +2 -0
  68. package/dist/agentic/guides/modules/customer_accounts/index.md +2 -2
  69. package/dist/agentic/guides/modules/customer_accounts/workers.md +2 -0
  70. package/dist/agentic/guides/modules/customer_groups/index.md +1 -1
  71. package/dist/agentic/guides/modules/customers/active-extension-bindings.md +2 -1
  72. package/dist/agentic/guides/modules/customers/incoming-installed-contributions.md +1 -0
  73. package/dist/agentic/guides/modules/customers/index.md +3 -3
  74. package/dist/agentic/guides/modules/customers/umes-hosts.md +1 -0
  75. package/dist/agentic/guides/modules/dashboards/active-extension-bindings.md +0 -1
  76. package/dist/agentic/guides/modules/dashboards/cli-commands.md +1 -0
  77. package/dist/agentic/guides/modules/dashboards/exact-override-targets.md +1 -0
  78. package/dist/agentic/guides/modules/dashboards/index.md +2 -3
  79. package/dist/agentic/guides/modules/data_sync/index.md +1 -1
  80. package/dist/agentic/guides/modules/design_system/index.md +1 -1
  81. package/dist/agentic/guides/modules/devices/index.md +1 -1
  82. package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
  83. package/dist/agentic/guides/modules/directory/index.md +1 -1
  84. package/dist/agentic/guides/modules/documents/index.md +1 -1
  85. package/dist/agentic/guides/modules/ecommerce/index.md +1 -1
  86. package/dist/agentic/guides/modules/entities/index.md +1 -1
  87. package/dist/agentic/guides/modules/eudr/index.md +1 -1
  88. package/dist/agentic/guides/modules/events/index.md +1 -1
  89. package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
  90. package/dist/agentic/guides/modules/forms/index.md +1 -1
  91. package/dist/agentic/guides/modules/gateway_autopay/index.md +1 -1
  92. package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
  93. package/dist/agentic/guides/modules/gateway_tpay/index.md +1 -1
  94. package/dist/agentic/guides/modules/generators/index.md +1 -1
  95. package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
  96. package/dist/agentic/guides/modules/integrations/di-registrations-rich.md +8 -8
  97. package/dist/agentic/guides/modules/integrations/di-service-tokens.md +4 -4
  98. package/dist/agentic/guides/modules/integrations/exact-override-targets.md +14 -12
  99. package/dist/agentic/guides/modules/integrations/index.md +2 -2
  100. package/dist/agentic/guides/modules/integrations/setup.md +1 -1
  101. package/dist/agentic/guides/modules/integrations/workers.md +3 -1
  102. package/dist/agentic/guides/modules/messages/index.md +1 -1
  103. package/dist/agentic/guides/modules/notifications/index.md +1 -1
  104. package/dist/agentic/guides/modules/onboarding/index.md +1 -1
  105. package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
  106. package/dist/agentic/guides/modules/perspectives/index.md +1 -1
  107. package/dist/agentic/guides/modules/phone_calls/index.md +1 -1
  108. package/dist/agentic/guides/modules/planner/index.md +1 -1
  109. package/dist/agentic/guides/modules/portal/index.md +1 -1
  110. package/dist/agentic/guides/modules/progress/index.md +1 -1
  111. package/dist/agentic/guides/modules/promotions/index.md +1 -1
  112. package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
  113. package/dist/agentic/guides/modules/query_index/index.md +1 -1
  114. package/dist/agentic/guides/modules/record_locks/index.md +1 -1
  115. package/dist/agentic/guides/modules/resources/exact-override-targets.md +3 -3
  116. package/dist/agentic/guides/modules/resources/index.md +1 -1
  117. package/dist/agentic/guides/modules/resources/owned-contract-module-metadata.md +1 -1
  118. package/dist/agentic/guides/modules/resources/setup.md +1 -1
  119. package/dist/agentic/guides/modules/sales/contribution-resolutions.md +1 -0
  120. package/dist/agentic/guides/modules/sales/exact-override-targets.md +1 -0
  121. package/dist/agentic/guides/modules/sales/index.md +3 -3
  122. package/dist/agentic/guides/modules/sales/umes-contributions.md +1 -0
  123. package/dist/agentic/guides/modules/scheduler/index.md +1 -1
  124. package/dist/agentic/guides/modules/search/index.md +1 -1
  125. package/dist/agentic/guides/modules/security/index.md +1 -1
  126. package/dist/agentic/guides/modules/seeds/index.md +1 -1
  127. package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
  128. package/dist/agentic/guides/modules/sso/index.md +1 -1
  129. package/dist/agentic/guides/modules/staff/contribution-resolutions.md +1 -1
  130. package/dist/agentic/guides/modules/staff/exact-override-targets.md +1 -1
  131. package/dist/agentic/guides/modules/staff/index.md +1 -1
  132. package/dist/agentic/guides/modules/staff/workers.md +1 -1
  133. package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
  134. package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
  135. package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
  136. package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
  137. package/dist/agentic/guides/modules/telemetry/index.md +1 -1
  138. package/dist/agentic/guides/modules/tillio/index.md +1 -1
  139. package/dist/agentic/guides/modules/translations/index.md +1 -1
  140. package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
  141. package/dist/agentic/guides/modules/webhooks/index.md +1 -1
  142. package/dist/agentic/guides/modules/wms/index.md +1 -1
  143. package/dist/agentic/guides/modules/workflows/index.md +1 -1
  144. package/dist/agentic/guides/reference-module-facts.json +811 -21
  145. package/dist/agentic/guides/reference-modules/example/active-extension-bindings.md +1 -0
  146. package/dist/agentic/guides/reference-modules/example/backend-pages.md +2 -0
  147. package/dist/agentic/guides/reference-modules/example/contribution-resolutions.md +3 -1
  148. package/dist/agentic/guides/reference-modules/example/di-registrations-rich.md +3 -3
  149. package/dist/agentic/guides/reference-modules/example/di-service-tokens.md +1 -1
  150. package/dist/agentic/guides/reference-modules/example/entities.md +2 -0
  151. package/dist/agentic/guides/reference-modules/example/events.md +2 -1
  152. package/dist/agentic/guides/reference-modules/example/exact-override-targets.md +25 -8
  153. package/dist/agentic/guides/reference-modules/example/index.md +7 -7
  154. package/dist/agentic/guides/reference-modules/example/notifications.md +1 -0
  155. package/dist/agentic/guides/reference-modules/example/setup.md +1 -1
  156. package/dist/agentic/guides/reference-modules/example/umes-contributions.md +3 -1
  157. package/dist/agentic/guides/reference-modules/example/umes-hosts.md +4 -0
  158. package/dist/agentic/guides/upstream/AGENTS.md +5 -4
  159. package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +37 -20
  160. package/dist/agentic/guides/upstream/manifest.json +3 -3
  161. package/dist/agentic/shared/AGENTS.md.template +11 -15
  162. package/dist/agentic/shared/ai/harness/README.md +4 -2
  163. package/dist/agentic/shared/ai/harness/RELEASE.md +4 -4
  164. package/dist/agentic/shared/ai/harness/cases.json +1420 -41
  165. package/dist/agentic/shared/ai/harness/cases.schema.json +4 -4
  166. package/dist/agentic/shared/ai/harness/design-system-inventory.json +640 -142
  167. package/dist/agentic/shared/ai/harness/source-link-inventory.json +223 -16
  168. package/dist/agentic/shared/ai/harness/validators.json +1 -1
  169. package/dist/agentic/shared/ai/skills/om-system-extension/SKILL.md +1 -1
  170. package/dist/agentic/shared/ai/skills/om-system-extension/references/extension-branches.md +25 -0
  171. package/dist/agentic/shared/ai/skills/om-system-extension/references/mechanism-selector.md +1 -0
  172. package/dist/agentic/shared/ai/skills/om-system-extension/references/unified-overrides.md +2 -0
  173. package/dist/agentic/shared/scripts/run-agent-harness-release.mjs +21 -1
  174. package/dist/lib/cache-provider-manifest.js +9 -0
  175. package/dist/lib/cache-provider-manifest.js.map +7 -0
  176. package/dist/lib/generate-child-process.js +21 -3
  177. package/dist/lib/generate-child-process.js.map +2 -2
  178. package/dist/lib/generate-watch-events.js +135 -19
  179. package/dist/lib/generate-watch-events.js.map +2 -2
  180. package/dist/lib/generate-watch-plan.js +170 -0
  181. package/dist/lib/generate-watch-plan.js.map +7 -0
  182. package/dist/lib/generate-watch-runner.js +54 -0
  183. package/dist/lib/generate-watch-runner.js.map +7 -0
  184. package/dist/lib/generate-watch-structure.js +578 -203
  185. package/dist/lib/generate-watch-structure.js.map +3 -3
  186. package/dist/lib/generators/ast/writers.js +5 -1
  187. package/dist/lib/generators/ast/writers.js.map +2 -2
  188. package/dist/lib/generators/cache-providers.js +80 -0
  189. package/dist/lib/generators/cache-providers.js.map +7 -0
  190. package/dist/lib/generators/extensions/agent-files.js +1 -0
  191. package/dist/lib/generators/extensions/agent-files.js.map +2 -2
  192. package/dist/lib/generators/form-section-ast.js +156 -0
  193. package/dist/lib/generators/form-section-ast.js.map +7 -0
  194. package/dist/lib/generators/form-section-extension-compiler.js +568 -0
  195. package/dist/lib/generators/form-section-extension-compiler.js.map +7 -0
  196. package/dist/lib/generators/form-section-extension-source.js +245 -0
  197. package/dist/lib/generators/form-section-extension-source.js.map +7 -0
  198. package/dist/lib/generators/form-section-runtime-revisions.js +184 -0
  199. package/dist/lib/generators/form-section-runtime-revisions.js.map +7 -0
  200. package/dist/lib/generators/form-sections.js +773 -0
  201. package/dist/lib/generators/form-sections.js.map +7 -0
  202. package/dist/lib/generators/index.js +2 -0
  203. package/dist/lib/generators/index.js.map +2 -2
  204. package/dist/lib/generators/module-entities.js +21 -2
  205. package/dist/lib/generators/module-entities.js.map +2 -2
  206. package/dist/lib/generators/module-extension-facts.js +2 -1
  207. package/dist/lib/generators/module-extension-facts.js.map +2 -2
  208. package/dist/lib/generators/module-facts.js +30 -1
  209. package/dist/lib/generators/module-facts.js.map +2 -2
  210. package/dist/lib/generators/module-override-targets.js +24 -2
  211. package/dist/lib/generators/module-override-targets.js.map +2 -2
  212. package/dist/lib/generators/module-registry.js +223 -194
  213. package/dist/lib/generators/module-registry.js.map +3 -3
  214. package/dist/lib/generators/openapi.js +51 -18
  215. package/dist/lib/generators/openapi.js.map +2 -2
  216. package/dist/lib/generators/web-research-adapters.js +54 -22
  217. package/dist/lib/generators/web-research-adapters.js.map +2 -2
  218. package/dist/lib/in-process-generate-watcher.js +98 -75
  219. package/dist/lib/in-process-generate-watcher.js.map +2 -2
  220. package/dist/lib/post-generate-invalidation.js +20 -1
  221. package/dist/lib/post-generate-invalidation.js.map +2 -2
  222. package/dist/lib/resolver.js +195 -1
  223. package/dist/lib/resolver.js.map +3 -3
  224. package/dist/lib/single-instance-strategy-guard.js +26 -3
  225. package/dist/lib/single-instance-strategy-guard.js.map +2 -2
  226. package/dist/mercato.js +106 -50
  227. package/dist/mercato.js.map +2 -2
  228. package/jest.config.cjs +2 -0
  229. package/package.json +7 -7
  230. package/src/__tests__/mercato.test.ts +18 -0
  231. package/src/__tests__/rotation-json-output.test.ts +52 -0
  232. package/src/lib/__tests__/cache-provider-manifest.test.ts +76 -0
  233. package/src/lib/__tests__/generate-child-process.test.ts +30 -0
  234. package/src/lib/__tests__/generate-watch-events.test.ts +377 -8
  235. package/src/lib/__tests__/generate-watch-plan.test.ts +99 -0
  236. package/src/lib/__tests__/generate-watch-runner.test.ts +138 -0
  237. package/src/lib/__tests__/generate-watch-structure.test.ts +556 -1
  238. package/src/lib/__tests__/in-process-generate-watcher.test.ts +393 -6
  239. package/src/lib/__tests__/module-inspection.test.ts +17 -11
  240. package/src/lib/__tests__/post-generate-invalidation.test.ts +108 -0
  241. package/src/lib/__tests__/resolver.form-section-gates.test.ts +82 -0
  242. package/src/lib/__tests__/single-instance-strategy-guard.test.ts +129 -0
  243. package/src/lib/cache-provider-manifest.ts +8 -0
  244. package/src/lib/generate-child-process.ts +26 -3
  245. package/src/lib/generate-watch-events.ts +189 -17
  246. package/src/lib/generate-watch-plan.ts +180 -0
  247. package/src/lib/generate-watch-runner.ts +63 -0
  248. package/src/lib/generate-watch-structure.ts +670 -227
  249. package/src/lib/generators/__tests__/cache-providers.test.ts +102 -0
  250. package/src/lib/generators/__tests__/derived-crud-route-collisions.test.ts +85 -0
  251. package/src/lib/generators/__tests__/form-section-outbox.test.ts +53 -0
  252. package/src/lib/generators/__tests__/form-sections.test.ts +896 -0
  253. package/src/lib/generators/__tests__/incremental-registry.test.ts +262 -0
  254. package/src/lib/generators/__tests__/module-extension-facts.test.ts +1 -0
  255. package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +8 -6
  256. package/src/lib/generators/__tests__/module-facts.example-fact-coverage.test.ts +37 -13
  257. package/src/lib/generators/__tests__/module-facts.local-reference.test.ts +13 -0
  258. package/src/lib/generators/__tests__/module-override-targets.test.ts +2 -3
  259. package/src/lib/generators/__tests__/module-subset.test.ts +1 -1
  260. package/src/lib/generators/__tests__/openapi.test.ts +147 -10
  261. package/src/lib/generators/__tests__/structural-contracts.test.ts +2 -2
  262. package/src/lib/generators/__tests__/web-research-adapters.test.ts +298 -87
  263. package/src/lib/generators/ast/writers.ts +6 -1
  264. package/src/lib/generators/cache-providers.ts +111 -0
  265. package/src/lib/generators/extension.ts +2 -0
  266. package/src/lib/generators/extensions/agent-files.ts +1 -0
  267. package/src/lib/generators/form-section-ast.ts +166 -0
  268. package/src/lib/generators/form-section-extension-compiler.ts +632 -0
  269. package/src/lib/generators/form-section-extension-source.ts +308 -0
  270. package/src/lib/generators/form-section-runtime-revisions.ts +211 -0
  271. package/src/lib/generators/form-sections.ts +896 -0
  272. package/src/lib/generators/index.ts +1 -0
  273. package/src/lib/generators/module-entities.ts +22 -4
  274. package/src/lib/generators/module-extension-facts.ts +1 -0
  275. package/src/lib/generators/module-facts.ts +40 -0
  276. package/src/lib/generators/module-override-targets.ts +19 -0
  277. package/src/lib/generators/module-registry.ts +246 -202
  278. package/src/lib/generators/openapi.ts +65 -20
  279. package/src/lib/generators/web-research-adapters.ts +76 -21
  280. package/src/lib/in-process-generate-watcher.ts +151 -96
  281. package/src/lib/post-generate-invalidation.ts +28 -1
  282. package/src/lib/resolver.ts +218 -0
  283. package/src/lib/single-instance-strategy-guard.ts +51 -1
  284. package/src/mercato.ts +117 -57
  285. package/dist/agentic/guides/modules/dashboards/incoming-installed-contributions.md +0 -11
@@ -12,6 +12,7 @@
12
12
  | command:example.todos.update:command-interceptor-bridge | command-interceptor-bridge | command:example.todos.update @example | command-interceptor | — | ownedContracts.command:example.todos.update | [commands/todos.ts](../../../../src/modules/example/commands/todos.ts) |
13
13
  | component:section:example.overrides.showcase:component-extension-consumer | component-extension-consumer | component:section:example.overrides.showcase @example | component-override | — | hosts:overrideShowcase | [extension-points.ts](../../../../src/modules/example/extension-points.ts) |
14
14
  | entity:example:todo:mutation-guard | mutation-guard | entity:example:todo @example | mutation-guard | — | — | [api/todos/bulk-complete/route.ts:64](../../../../src/modules/example/api/todos/bulk-complete/route.ts#L64) |
15
+ | entity:example.todo:crud-response-enricher | crud-response-enricher | entity:example.todo @example | response-enricher | — | — | [api/todos/route.ts:256](../../../../src/modules/example/api/todos/route.ts#L256) |
15
16
  | widget-spot:crud-form:catalog.catalog_product:widget-injection-consumer | widget-injection-consumer | widget-spot:crud-form:catalog.catalog_product @framework | widget, data-table, crud-form | — | hosts:framework.crud-form-wildcard | packages/ui/src |
16
17
  | widget-spot:crud-form:catalog.catalog_variant:widget-injection-consumer | widget-injection-consumer | widget-spot:crud-form:catalog.catalog_variant @framework | widget, data-table, crud-form | — | hosts:framework.crud-form-wildcard | packages/ui/src |
17
18
  | widget-spot:crud-form:catalog.variant:widget-injection-consumer | widget-injection-consumer | widget-spot:crud-form:catalog.variant @framework | widget, data-table, crud-form | — | hosts:framework.crud-form-wildcard | packages/ui/src |
@@ -9,6 +9,8 @@
9
9
  | /backend/blog/[id] | [backend/blog/[id]/page.tsx](../../../../src/modules/example/backend/blog/[id]/page.tsx) |
10
10
  | /backend/component-overrides | [backend/component-overrides/page.tsx](../../../../src/modules/example/backend/component-overrides/page.tsx) |
11
11
  | /backend/example | [backend/page.tsx](../../../../src/modules/example/backend/page.tsx) |
12
+ | /backend/example/form-extensions/todos/[id] | [backend/example/form-extensions/todos/[id]/page.tsx](../../../../src/modules/example/backend/example/form-extensions/todos/[id]/page.tsx) |
13
+ | /backend/example/form-extensions/todos/create | [backend/example/form-extensions/todos/create/page.tsx](../../../../src/modules/example/backend/example/form-extensions/todos/create/page.tsx) |
12
14
  | /backend/mutation-lifecycle | [backend/mutation-lifecycle/page.tsx](../../../../src/modules/example/backend/mutation-lifecycle/page.tsx) |
13
15
  | /backend/payments | [backend/payments/page.tsx](../../../../src/modules/example/backend/payments/page.tsx) |
14
16
  | /backend/products | [backend/products/page.tsx](../../../../src/modules/example/backend/products/page.tsx) |
@@ -67,7 +67,7 @@
67
67
  | example.injection.todo-bulk-complete@data-table:example.todos.list:bulk-actions | widget-spot:data-table:example.todos.list:bulk-actions @example | bound | widget-spot:data-table:example.todos.list:bulk-actions:widget-injection-consumer | [widgets/injection-table.ts](../../../../src/modules/example/widgets/injection-table.ts) |
68
68
  | example.injection.visit-availability@crud-form:customers.customer_interaction | widget-spot:crud-form:customers.customer_interaction | bound | widget-spot:crud-form:customers.customer_interaction:widget-injection-consumer | [widgets/injection-table.ts](../../../../src/modules/example/widgets/injection-table.ts) |
69
69
  | example.todo_announcement.published.browser | event:example.todo_announcement.published @example | capability-only | — | [events.ts](../../../../src/modules/example/events.ts) |
70
- | example.todo-limit | entity:example.todo | capability-only | — | [data/guards.ts](../../../../src/modules/example/data/guards.ts) |
70
+ | example.todo-limit | entity:example.todo @example | capability-only | — | [data/guards.ts](../../../../src/modules/example/data/guards.ts) |
71
71
  | example.todo-update-audit | command:example.todos.update @example | bound | command:example.todos.update:command-interceptor-bridge | [commands/interceptors.ts](../../../../src/modules/example/commands/interceptors.ts) |
72
72
  | example.todo.created.browser | event:example.todo.created @example | capability-only | — | [events.ts](../../../../src/modules/example/events.ts) |
73
73
  | example.todo.deleted.browser | event:example.todo.deleted @example | capability-only | — | [events.ts](../../../../src/modules/example/events.ts) |
@@ -81,8 +81,10 @@
81
81
  | integration:example_fixed_currency | module:example_fixed_currency | capability-only | — | [integration.ts](../../../../src/modules/example/integration.ts) |
82
82
  | integration:example_mock_payment | module:example_mock_payment | capability-only | — | [integration.ts](../../../../src/modules/example/integration.ts) |
83
83
  | integration:example_mock_shipping | module:example_mock_shipping | capability-only | — | [integration.ts](../../../../src/modules/example/integration.ts) |
84
+ | integration:example_todo_erp | module:example_todo_erp | capability-only | — | [integration.ts](../../../../src/modules/example/integration.ts) |
84
85
  | notification:demo.push_playground | module:demo.push_playground | capability-only | — | [notifications.ts](../../../../src/modules/example/notifications.ts) |
85
86
  | notification:demo.silent_ping | module:demo.silent_ping | capability-only | — | [notifications.ts](../../../../src/modules/example/notifications.ts) |
87
+ | notification:example.todo.erp.failed | module:example.todo.erp.failed | capability-only | — | [notifications.ts](../../../../src/modules/example/notifications.ts) |
86
88
  | notification:example.umes.actionable | module:example.umes.actionable | capability-only | — | [notifications.ts](../../../../src/modules/example/notifications.ts) |
87
89
  | payment:mock_payer_required | module:mock_payer_required | capability-only | — | [di.ts](../../../../src/modules/example/di.ts) |
88
90
  | payment:mock_processing | module:mock_processing | capability-only | — | [di.ts](../../../../src/modules/example/di.ts) |
@@ -6,8 +6,8 @@
6
6
 
7
7
  | Token | Kind | Lifetime | Injection | Provider | Source |
8
8
  |---|---|---|---|---|---|
9
- | commandBus | value | — | — | — | [di.ts:187](../../../../src/modules/example/di.ts#L187) |
10
- | exampleCurrencyRateProvider | value | — | — | — | [di.ts:60](../../../../src/modules/example/di.ts#L60) |
11
- | exampleTodoSummaryService | function | scoped | — | createExampleTodoSummaryService | [di.ts:59](../../../../src/modules/example/di.ts#L59) |
9
+ | commandBus | value | — | — | — | [di.ts:191](../../../../src/modules/example/di.ts#L191) |
10
+ | exampleCurrencyRateProvider | value | — | — | — | [di.ts:63](../../../../src/modules/example/di.ts#L63) |
11
+ | exampleTodoSummaryService | function | scoped | — | createExampleTodoSummaryService | [di.ts:62](../../../../src/modules/example/di.ts#L62) |
12
12
 
13
13
  <!-- end module facts section: example/di-registrations-rich -->
@@ -6,6 +6,6 @@
6
6
 
7
7
  | Token | Source |
8
8
  |---|---|
9
- | exampleTodoSummaryService | [di.ts:59](../../../../src/modules/example/di.ts#L59) |
9
+ | exampleTodoSummaryService | [di.ts:62](../../../../src/modules/example/di.ts#L62) |
10
10
 
11
11
  <!-- end module facts section: example/di-service-tokens -->
@@ -10,5 +10,7 @@
10
10
  | example:todo | Todo | todos | yes | yes | [data/entities.ts](../../../../src/modules/example/data/entities.ts) |
11
11
  | example:example_todo_bulk_operation | ExampleTodoBulkOperation | example_todo_bulk_operations | yes | no | [data/entities.ts](../../../../src/modules/example/data/entities.ts) |
12
12
  | example:example_customer_priority | ExampleCustomerPriority | example_customer_priorities | yes | no | [data/entities.ts](../../../../src/modules/example/data/entities.ts) |
13
+ | example:todo_brand | TodoBrand | example_todo_brands | yes | no | [data/entities.ts](../../../../src/modules/example/data/entities.ts) |
14
+ | example:todo_erp_link | TodoErpLink | example_todo_erp_links | yes | no | [data/entities.ts](../../../../src/modules/example/data/entities.ts) |
13
15
 
14
16
  <!-- end module facts section: example/entities -->
@@ -2,7 +2,7 @@
2
2
 
3
3
  [Back to module index](index.md)
4
4
 
5
- ## Events (5)
5
+ ## Events (6)
6
6
 
7
7
  | ID | Category | Entity | Browser transport | Source |
8
8
  |---|---|---|---|---|
@@ -10,6 +10,7 @@
10
10
  | example.todo.created |crud|todo|client|[events.ts](../../../../src/modules/example/events.ts)|
11
11
  | example.todo.updated |crud|todo|client|[events.ts](../../../../src/modules/example/events.ts)|
12
12
  | example.todo.deleted |crud|todo|client|[events.ts](../../../../src/modules/example/events.ts)|
13
+ | example.todo_erp_link.sync_failed |lifecycle|todo_erp_link|—|[events.ts](../../../../src/modules/example/events.ts)|
13
14
  | example.todo_announcement.published |lifecycle|todo_announcement|portal|[events.ts](../../../../src/modules/example/events.ts)|
14
15
 
15
16
  <!-- end module facts section: example/events -->
@@ -23,9 +23,9 @@
23
23
  | cli | `overrides.cli["seed-todos"]` | disable-replace | cliCommands:seed-todos | [cli.ts](../../../../src/modules/example/cli.ts) |
24
24
  | commandInterceptors | `overrides.commandInterceptors["example.audit-logging"]` | disable-replace | extensionSurfaces.contributions:example.audit-logging | [commands/interceptors.ts](../../../../src/modules/example/commands/interceptors.ts) |
25
25
  | commandInterceptors | `overrides.commandInterceptors["example.todo-update-audit"]` | disable-replace | extensionSurfaces.contributions:example.todo-update-audit | [commands/interceptors.ts](../../../../src/modules/example/commands/interceptors.ts) |
26
- | di | `overrides.di["commandBus"]` | disable-replace | ownedContracts.di-registration:commandBus | [di.ts:187](../../../../src/modules/example/di.ts#L187) |
27
- | di | `overrides.di["exampleCurrencyRateProvider"]` | disable-replace | ownedContracts.di-registration:exampleCurrencyRateProvider | [di.ts:60](../../../../src/modules/example/di.ts#L60) |
28
- | di | `overrides.di["exampleTodoSummaryService"]` | disable-replace | ownedContracts.di-registration:exampleTodoSummaryService | [di.ts:59](../../../../src/modules/example/di.ts#L59) |
26
+ | di | `overrides.di["commandBus"]` | disable-replace | ownedContracts.di-registration:commandBus | [di.ts:191](../../../../src/modules/example/di.ts#L191) |
27
+ | di | `overrides.di["exampleCurrencyRateProvider"]` | disable-replace | ownedContracts.di-registration:exampleCurrencyRateProvider | [di.ts:63](../../../../src/modules/example/di.ts#L63) |
28
+ | di | `overrides.di["exampleTodoSummaryService"]` | disable-replace | ownedContracts.di-registration:exampleTodoSummaryService | [di.ts:62](../../../../src/modules/example/di.ts#L62) |
29
29
  | encryption | `overrides.encryption.maps["example:todo"]` | disable-replace | ownedContracts.encryption:example:todo | [encryption.ts:21](../../../../src/modules/example/encryption.ts#L21) |
30
30
  | enrichers | `overrides.enrichers["example.customer-todo-count"]` | disable-replace | extensionSurfaces.contributions:example.customer-todo-count | [data/enrichers.ts](../../../../src/modules/example/data/enrichers.ts) |
31
31
  | enrichers | `overrides.enrichers["example.enricher.1"]` | disable-replace | extensionSurfaces.contributions:example.enricher.1 | [data/enrichers.ts](../../../../src/modules/example/data/enrichers.ts) |
@@ -36,6 +36,20 @@
36
36
  | events | `overrides.events.subscribers["example:example-event"]` | disable-replace | extensionSurfaces.contributions:example:example-event | [subscribers/example-event.ts](../../../../src/modules/example/subscribers/example-event.ts) |
37
37
  | events | `overrides.events.subscribers["example:invalidate-todo-summary"]` | disable-replace | extensionSurfaces.contributions:example:invalidate-todo-summary | [subscribers/invalidate-todo-summary.ts](../../../../src/modules/example/subscribers/invalidate-todo-summary.ts) |
38
38
  | events | `overrides.events.subscribers["example:prevent-uncomplete"]` | disable-replace | extensionSurfaces.contributions:example:prevent-uncomplete | [subscribers/prevent-uncomplete.ts](../../../../src/modules/example/subscribers/prevent-uncomplete.ts) |
39
+ | forms | `overrides.forms.sections["example.todo/showcase/create/brand"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.brand | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
40
+ | forms | `overrides.forms.sections["example.todo/showcase/create/details"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.details | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
41
+ | forms | `overrides.forms.sections["example.todo/showcase/create/erp"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.erp | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
42
+ | forms | `overrides.forms.sections["example.todo/showcase/create/observer"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.observer | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
43
+ | forms | `overrides.forms.sections["example.todo/showcase/create/season"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.season | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
44
+ | forms | `overrides.forms.sections["example.todo/showcase/create/status"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.status | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
45
+ | forms | `overrides.forms.sections["example.todo/showcase/create/title"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.create.title | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
46
+ | forms | `overrides.forms.sections["example.todo/showcase/update/brand"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.brand | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
47
+ | forms | `overrides.forms.sections["example.todo/showcase/update/details"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.details | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
48
+ | forms | `overrides.forms.sections["example.todo/showcase/update/erp"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.erp | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
49
+ | forms | `overrides.forms.sections["example.todo/showcase/update/observer"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.observer | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
50
+ | forms | `overrides.forms.sections["example.todo/showcase/update/season"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.season | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
51
+ | forms | `overrides.forms.sections["example.todo/showcase/update/status"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.status | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
52
+ | forms | `overrides.forms.sections["example.todo/showcase/update/title"]` | disable-replace | formSectionContributions:example.todo-extensions.showcase.update.title | [form-sections.ts](../../../../src/modules/example/form-sections.ts) |
39
53
  | guards | `overrides.guards["example.backend.todo-edit-id-guard"]` | disable-replace | ownedContracts.page-middleware:example.backend.todo-edit-id-guard | [backend/middleware.ts:48](../../../../src/modules/example/backend/middleware.ts#L48) |
40
54
  | guards | `overrides.guards["example.frontend.blog-canonical-id"]` | disable-replace | ownedContracts.page-middleware:example.frontend.blog-canonical-id | [frontend/middleware.ts:54](../../../../src/modules/example/frontend/middleware.ts#L54) |
41
55
  | interceptors | `overrides.interceptors["example.block-test-todos"]` | disable-replace | extensionSurfaces.contributions:example.block-test-todos | [api/interceptors.ts](../../../../src/modules/example/api/interceptors.ts) |
@@ -48,10 +62,13 @@
48
62
  | notifications | `overrides.notifications.handlers["example.umes.actionable-toast"]` | disable-replace | extensionSurfaces.contributions:example.umes.actionable-toast | [notifications.handlers.ts](../../../../src/modules/example/notifications.handlers.ts) |
49
63
  | notifications | `overrides.notifications.types["demo.push_playground"]` | disable-replace | notifications:demo.push_playground | [notifications.ts](../../../../src/modules/example/notifications.ts) |
50
64
  | notifications | `overrides.notifications.types["demo.silent_ping"]` | disable-replace | notifications:demo.silent_ping | [notifications.ts](../../../../src/modules/example/notifications.ts) |
65
+ | notifications | `overrides.notifications.types["example.todo.erp.failed"]` | disable-replace | notifications:example.todo.erp.failed | [notifications.ts](../../../../src/modules/example/notifications.ts) |
51
66
  | notifications | `overrides.notifications.types["example.umes.actionable"]` | disable-replace | notifications:example.umes.actionable | [notifications.ts](../../../../src/modules/example/notifications.ts) |
52
67
  | routes | `overrides.routes.pages["backend:/backend/blog/[id]"]` | disable-replace | backendPages:/backend/blog/[id] | [backend/blog/[id]/page.tsx](../../../../src/modules/example/backend/blog/[id]/page.tsx) |
53
68
  | routes | `overrides.routes.pages["backend:/backend/component-overrides"]` | disable-replace | backendPages:/backend/component-overrides | [backend/component-overrides/page.tsx](../../../../src/modules/example/backend/component-overrides/page.tsx) |
54
69
  | routes | `overrides.routes.pages["backend:/backend/example"]` | disable-replace | backendPages:/backend/example | [backend/page.tsx](../../../../src/modules/example/backend/page.tsx) |
70
+ | routes | `overrides.routes.pages["backend:/backend/example/form-extensions/todos/[id]"]` | disable-replace | backendPages:/backend/example/form-extensions/todos/[id] | [backend/example/form-extensions/todos/[id]/page.tsx](../../../../src/modules/example/backend/example/form-extensions/todos/[id]/page.tsx) |
71
+ | routes | `overrides.routes.pages["backend:/backend/example/form-extensions/todos/create"]` | disable-replace | backendPages:/backend/example/form-extensions/todos/create | [backend/example/form-extensions/todos/create/page.tsx](../../../../src/modules/example/backend/example/form-extensions/todos/create/page.tsx) |
55
72
  | routes | `overrides.routes.pages["backend:/backend/mutation-lifecycle"]` | disable-replace | backendPages:/backend/mutation-lifecycle | [backend/mutation-lifecycle/page.tsx](../../../../src/modules/example/backend/mutation-lifecycle/page.tsx) |
56
73
  | routes | `overrides.routes.pages["backend:/backend/payments"]` | disable-replace | backendPages:/backend/payments | [backend/payments/page.tsx](../../../../src/modules/example/backend/payments/page.tsx) |
57
74
  | routes | `overrides.routes.pages["backend:/backend/products"]` | disable-replace | backendPages:/backend/products | [backend/products/page.tsx](../../../../src/modules/example/backend/products/page.tsx) |
@@ -65,11 +82,11 @@
65
82
  | routes | `overrides.routes.pages["backend:/backend/umes-query-extensions"]` | disable-replace | backendPages:/backend/umes-query-extensions | [backend/umes-query-extensions/page.tsx](../../../../src/modules/example/backend/umes-query-extensions/page.tsx) |
66
83
  | routes | `overrides.routes.pages["frontend:/blog/[id]"]` | disable-replace | frontendPages:/blog/[id] | [frontend/blog/[id]/page.tsx](../../../../src/modules/example/frontend/blog/[id]/page.tsx) |
67
84
  | routes | `overrides.routes.pages["frontend:/example"]` | disable-replace | frontendPages:/example | [frontend/example.tsx](../../../../src/modules/example/frontend/example.tsx) |
68
- | setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:example:setup | [setup.ts:105](../../../../src/modules/example/setup.ts#L105) |
69
- | setup | `overrides.setup.onOrganizationCreated` | replace | ownedContracts.setup:example:setup | [setup.ts:105](../../../../src/modules/example/setup.ts#L105) |
70
- | setup | `overrides.setup.onTenantCreated` | replace | ownedContracts.setup:example:setup | [setup.ts:105](../../../../src/modules/example/setup.ts#L105) |
71
- | setup | `overrides.setup.seedDefaults` | replace | ownedContracts.setup:example:setup | [setup.ts:105](../../../../src/modules/example/setup.ts#L105) |
72
- | setup | `overrides.setup.seedExamples` | replace | ownedContracts.setup:example:setup | [setup.ts:105](../../../../src/modules/example/setup.ts#L105) |
85
+ | setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:example:setup | [setup.ts:119](../../../../src/modules/example/setup.ts#L119) |
86
+ | setup | `overrides.setup.onOrganizationCreated` | replace | ownedContracts.setup:example:setup | [setup.ts:119](../../../../src/modules/example/setup.ts#L119) |
87
+ | setup | `overrides.setup.onTenantCreated` | replace | ownedContracts.setup:example:setup | [setup.ts:119](../../../../src/modules/example/setup.ts#L119) |
88
+ | setup | `overrides.setup.seedDefaults` | replace | ownedContracts.setup:example:setup | [setup.ts:119](../../../../src/modules/example/setup.ts#L119) |
89
+ | setup | `overrides.setup.seedExamples` | replace | ownedContracts.setup:example:setup | [setup.ts:119](../../../../src/modules/example/setup.ts#L119) |
73
90
  | widgets | `overrides.widgets.components["section:checkout.pay-page.help"]` | disable-replace | extensionSurfaces.contributions:example.component-override.3:section:checkout.pay-page.help | [widgets/components.ts](../../../../src/modules/example/widgets/components.ts) |
74
91
  | widgets | `overrides.widgets.components["section:checkout.pay-page.summary"]` | disable-replace | extensionSurfaces.contributions:example.component-override.2:section:checkout.pay-page.summary | [widgets/components.ts](../../../../src/modules/example/widgets/components.ts) |
75
92
  | widgets | `overrides.widgets.components["section:customers.calendar-event-editor.type-panel"]` | disable-replace | extensionSurfaces.contributions:example.component-override.0:section:customers.calendar-event-editor.type-panel | [widgets/components.ts](../../../../src/modules/example/widgets/components.ts) |
@@ -1,28 +1,28 @@
1
1
  # example — module facts (generated reference projection, do not edit)
2
- <!-- generated from local reference src/modules/example; source-fingerprint f7fbe15eab5c3ebac0374a2dff9ae0b6dba04027b7cb3a7bf3a5521a74fc07a6; taxonomy-fingerprint 23ce4db1693411cc42f7e4bc7e0f87cb183601f383e0e7eb736df0f4eb50b3e2 — R1 staleness stamp -->
2
+ <!-- generated from local reference src/modules/example; source-fingerprint 1a8891fb71e0f54c0f3572221af9eeb48017f4b717263428c611ead39ca77a9b; taxonomy-fingerprint f9c9e58b7468bdba5ab0361dd1a6f95e1e102c6ebe6a2b6d5f7f634e8eec6a74 — R1 staleness stamp -->
3
3
  > Reference projection: `example` is not selected by the current runtime. Its activations and exact override targets describe behavior only after opt-in in `src/modules.ts`.
4
4
  Source root: src/modules/example
5
5
 
6
6
  ## Sections
7
7
 
8
- - [Entities](entities.md) — ~1 KB — Generated entities facts for example.
8
+ - [Entities](entities.md) — ~2 KB — Generated entities facts for example.
9
9
  - [Events](events.md) — ~1 KB — Generated events facts for example.
10
10
  - [ACL features](acl-features.md) — ~1 KB — Generated acl features facts for example.
11
- - [Backend pages](backend-pages.md) — ~2 KB — Generated backend pages facts for example.
11
+ - [Backend pages](backend-pages.md) — ~3 KB — Generated backend pages facts for example.
12
12
  - [Frontend pages](frontend-pages.md) — ~1 KB — Generated frontend pages facts for example.
13
13
  - [DI service tokens](di-service-tokens.md) — ~1 KB — Generated di service tokens facts for example.
14
14
  - [Search entities](search-entities.md) — ~1 KB — Generated search entities facts for example.
15
15
  - [Host extension points](host-extension-points.md) — ~1 KB — Generated host extension points facts for example.
16
- - [UMES hosts](umes-hosts.md) — ~5 KB — Generated umes hosts facts for example.
17
- - [UMES contributions](umes-contributions.md) — ~25 KB — Generated umes contributions facts for example.
18
- - [Active extension bindings](active-extension-bindings.md) — ~5 KB — Generated active extension bindings facts for example.
16
+ - [UMES hosts](umes-hosts.md) — ~6 KB — Generated umes hosts facts for example.
17
+ - [UMES contributions](umes-contributions.md) — ~26 KB — Generated umes contributions facts for example.
18
+ - [Active extension bindings](active-extension-bindings.md) — ~6 KB — Generated active extension bindings facts for example.
19
19
  - [Contribution resolutions](contribution-resolutions.md) — ~20 KB — Generated contribution resolutions facts for example.
20
20
  - [UMES diagnostics](umes-diagnostics.md) — ~1 KB — Generated umes diagnostics facts for example.
21
21
  - [Notifications](notifications.md) — ~1 KB — Generated notifications facts for example.
22
22
  - [CLI commands](cli-commands.md) — ~1 KB — Generated cli commands facts for example.
23
23
  - [AI tools / MCP capabilities](ai-tools-mcp-capabilities.md) — ~1 KB — Generated ai tools / mcp capabilities facts for example.
24
24
  - [AI agents](ai-agents.md) — ~1 KB — Generated ai agents facts for example.
25
- - [Exact override targets](exact-override-targets.md) — ~22 KB — Generated exact override targets facts for example.
25
+ - [Exact override targets](exact-override-targets.md) — ~26 KB — Generated exact override targets facts for example.
26
26
  - [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for example.
27
27
  - [Domain commands](domain-commands.md) — ~1 KB — Generated domain commands facts for example.
28
28
  - [Workers](workers.md) — ~1 KB — Generated workers facts for example.
@@ -6,6 +6,7 @@
6
6
 
7
7
  | Notification ID | Source |
8
8
  |---|---|
9
+ | example.todo.erp.failed | [notifications.ts](../../../../src/modules/example/notifications.ts) |
9
10
  | demo.silent_ping | [notifications.ts](../../../../src/modules/example/notifications.ts) |
10
11
  | demo.push_playground | [notifications.ts](../../../../src/modules/example/notifications.ts) |
11
12
  | example.umes.actionable | [notifications.ts](../../../../src/modules/example/notifications.ts) |
@@ -6,6 +6,6 @@
6
6
 
7
7
  | ID | Metadata | Source |
8
8
  |---|---|---|
9
- | example:setup | hooks=onOrganizationCreated, onTenantCreated, seedDefaults, seedExamples; roles=admin, employee, superadmin | [setup.ts:105](../../../../src/modules/example/setup.ts#L105) |
9
+ | example:setup | hooks=onOrganizationCreated, onTenantCreated, seedDefaults, seedExamples; roles=admin, employee, superadmin | [setup.ts:119](../../../../src/modules/example/setup.ts#L119) |
10
10
 
11
11
  <!-- end module facts section: example/setup -->
@@ -47,7 +47,7 @@
47
47
  | example.injection.customer-priority-row-action@data-table:customers.people.list:row-actions | data-table | data-table:customers.people.list:row-actions | — | executionGuard=host; payload=row-action; tableId=customers.people.list | exact | [widgets/injection-table.ts](../../../../src/modules/example/widgets/injection-table.ts) |
48
48
  | example.injection.todo-bulk-complete@data-table:example.todos.list:bulk-actions | data-table | data-table:example.todos.list:bulk-actions | — | executionGuard=host; payload=bulk-action; tableId=example.todos.list | exact | [widgets/injection-table.ts](../../../../src/modules/example/widgets/injection-table.ts) |
49
49
  | example.entity-extension.0:customers:customer_entity->example:example_customer_priority | entity-extension | customers:customer_entity | — | extensionEntityId=example:example_customer_priority; hostEntityId=customers:customer_entity; linkId=id:customer_id; orphanContract=optional; scopeContract=tenant-and-organization | fact-ref | [data/extensions.ts](../../../../src/modules/example/data/extensions.ts) |
50
- | example.todo-limit | mutation-guard | example.todo | create | capabilities=block,rewrite; entityId=example.todo; operations=create; optimisticLock=preserved | fact-ref | [data/guards.ts](../../../../src/modules/example/data/guards.ts) |
50
+ | example.todo-limit | mutation-guard | example.todo | create | capabilities=block,rewrite; entityId=example.todo; operations=create; optimisticLock=preserved | exact | [data/guards.ts](../../../../src/modules/example/data/guards.ts) |
51
51
  | example.customer-todo-count | response-enricher | customers.person | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=configured; surfaces=list,detail; targetEntity=customers.person; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../src/modules/example/data/enrichers.ts) |
52
52
  | example.enricher.1 | response-enricher | customers.company | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=none; surfaces=list,detail; targetEntity=customers.company; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../src/modules/example/data/enrichers.ts) |
53
53
  | example.enricher.2 | response-enricher | customers.deal | list, detail | cachePosture=rerun-on-list-cache-hit; critical=false; fallback=none; surfaces=list,detail; targetEntity=customers.deal; timeoutMs=2000 | exact | [data/enrichers.ts](../../../../src/modules/example/data/enrichers.ts) |
@@ -58,8 +58,10 @@
58
58
  | integration:example_fixed_currency | specialized-registry | example_fixed_currency | — | registry=integration; registryId=example_fixed_currency; specialistRoute=integrations | fact-ref | [integration.ts](../../../../src/modules/example/integration.ts) |
59
59
  | integration:example_mock_payment | specialized-registry | example_mock_payment | — | registry=integration; registryId=example_mock_payment; specialistRoute=integrations | fact-ref | [integration.ts](../../../../src/modules/example/integration.ts) |
60
60
  | integration:example_mock_shipping | specialized-registry | example_mock_shipping | — | registry=integration; registryId=example_mock_shipping; specialistRoute=integrations | fact-ref | [integration.ts](../../../../src/modules/example/integration.ts) |
61
+ | integration:example_todo_erp | specialized-registry | example_todo_erp | — | registry=integration; registryId=example_todo_erp; specialistRoute=integrations | fact-ref | [integration.ts](../../../../src/modules/example/integration.ts) |
61
62
  | notification:demo.push_playground | specialized-registry | demo.push_playground | — | registry=notification; registryId=demo.push_playground; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../src/modules/example/notifications.ts) |
62
63
  | notification:demo.silent_ping | specialized-registry | demo.silent_ping | — | registry=notification; registryId=demo.silent_ping; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../src/modules/example/notifications.ts) |
64
+ | notification:example.todo.erp.failed | specialized-registry | example.todo.erp.failed | — | registry=notification; registryId=example.todo.erp.failed; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../src/modules/example/notifications.ts) |
63
65
  | notification:example.umes.actionable | specialized-registry | example.umes.actionable | — | registry=notification; registryId=example.umes.actionable; specialistRoute=notifications | fact-ref | [notifications.ts](../../../../src/modules/example/notifications.ts) |
64
66
  | payment:mock | specialized-registry | mock | — | registry=payment; registryId=mock; specialistRoute=paymentGateways | fact-ref | [di.ts](../../../../src/modules/example/di.ts) |
65
67
  | payment:mock_payer_required | specialized-registry | mock_payer_required | — | registry=payment; registryId=mock_payer_required; specialistRoute=paymentGateways | fact-ref | [di.ts](../../../../src/modules/example/di.ts) |
@@ -24,8 +24,12 @@
24
24
  | example:example_item | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:example_item |
25
25
  | example:example_todo_bulk_operation | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:example_todo_bulk_operation |
26
26
  | example:todo | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:todo |
27
+ | example:todo_brand | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:todo_brand |
28
+ | example:todo_erp_link | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:todo_erp_link |
29
+ | example.todo | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/todos/route.ts](../../../../src/modules/example/api/todos/route.ts) |
27
30
  | example.ping | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:example.ping |
28
31
  | example.todo_announcement.published | event | async-subscriber, sync-subscriber, browser-portal | tenant-organization-and-audience | STABLE | events:example.todo_announcement.published |
32
+ | example.todo_erp_link.sync_failed | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:example.todo_erp_link.sync_failed |
29
33
  | example.todo.created | event | async-subscriber, sync-subscriber, browser-client | tenant-organization-and-audience | STABLE | events:example.todo.created |
30
34
  | example.todo.deleted | event | async-subscriber, sync-subscriber, browser-client | tenant-organization-and-audience | STABLE | events:example.todo.deleted |
31
35
  | example.todo.updated | event | async-subscriber, sync-subscriber, browser-client | tenant-organization-and-audience | STABLE | events:example.todo.updated |
@@ -33,7 +33,7 @@ Leverage the module system and follow strict naming and coding conventions to ke
33
33
 
34
34
  - Never expose cross-tenant data or skip tenant/organization scoping.
35
35
  - Never edit generated files by hand.
36
- - Never add code directly under `apps/mercato/src/` except committed, typed `*.generated.ts` registries described below.
36
+ - Never put app source outside its [allowed locations](#where-to-put-code).
37
37
  - Never create direct ORM relationships between modules.
38
38
  - Never bypass mutation guards, command side effects, encryption helpers, RBAC wildcard matching, or shared UI data-call helpers.
39
39
  - Never hard-code user-facing strings or design-system status colors.
@@ -107,8 +107,9 @@ Guide shorthand: `<pkg>` = `packages/<pkg>/AGENTS.md` (so `core` = `packages/cor
107
107
  | MCP tools (`registerMcpTool`), OpenCode config, AI chat debugging, session tokens, command palette, two-tier auth | `ai-assistant` |
108
108
  | Generators (`yarn generate`), migrations (`yarn db:generate`), module scaffolding, build order | `cli` |
109
109
  | Event bus architecture, ephemeral vs persistent subscriptions, queue integration, event workers | `events` |
110
- | Cache in a module, tag-based invalidation, tenant-scoped caching, strategy (memory/SQLite/Redis) | `cache` |
111
- | Background workers, concurrency (I/O vs CPU-bound), idempotent jobs, queue strategies | `queue` |
110
+ | Scoped caching and invalidation | `cache` |
111
+ | Workers, concurrency, idempotent jobs | `queue` |
112
+ | App infrastructure providers (cache, queue, KMS) | `apps/mercato/src/providers/` + matching package guide |
112
113
  | Operation progress in the top bar, `ProgressJob`s, client-local progress events | `core:progress` + `events` → DOM Event Bridge |
113
114
  | Onboarding wizard steps, tenant setup hooks (`onTenantCreated`/`seedDefaults`), welcome/invitation emails | `onboarding` |
114
115
  | Static content pages (privacy policies, terms, legal pages) | `content` |
@@ -184,7 +185,7 @@ All packages use the `@open-mercato/<package>` naming convention: **shared** (cr
184
185
  - Put shared utilities and types in `packages/shared/src/lib/` or `packages/shared/src/modules/`
185
186
  - Put UI components in `packages/ui/src/`
186
187
  - Put user/app-specific modules in `apps/mercato/src/modules/<module>/`
187
- - MUST NOT add code directly in `apps/mercato/src/` — it's a boilerplate for user apps. Narrow exception: committed, typed *generated registries* (`*.generated.ts`) that must survive `yarn clean-generated` and travel with the repo — see [Generated Files: versioned vs ephemeral](.ai/docs/module-development.md#generated-files-versioned-vs-ephemeral).
188
+ - Register infrastructure npm packages in `apps/mercato/src/providers/`. Other app code belongs in modules, except [versioned generated registries](.ai/docs/module-development.md#generated-files-versioned-vs-ephemeral).
188
189
 
189
190
  ### `external/official-modules/` (git submodule)
190
191
 
@@ -42,6 +42,7 @@ The following file names, their expected export names, and their role in module
42
42
  |`search.ts`|`searchConfig: SearchModuleConfig`|MUST NOT change `SearchEntityConfig` required fields; may add optional fields|
43
43
  |`events.ts`|`eventsConfig` via `createModuleEvents()`|MUST NOT change `EventDefinition` required fields (`id`, `label`); may add optional fields|
44
44
  |`extension-points.ts`|`extensionPoints: ModuleExtensionPoints`|New additive convention; declared exact/pattern host IDs, aliases, fallbacks, family/capability semantics, and bound call-site meaning MUST NOT change incompatibly|
45
+ |`form-sections.ts`|`crudFormSections`, `crudFormExtensions` (either or both)|Server-only. `*.client.ts(x)` exports `crudFormSectionRuntime` with matching `id` and `roundTripId`.|
45
46
  |`translations.ts`|`translatableFields`|MUST NOT change record shape|
46
47
  |`notifications.ts`|`notificationTypes: NotificationTypeDefinition[]`|MUST NOT change required fields; may add optional fields|
47
48
  |`notifications.client.ts`|—|MUST NOT change renderer props contract|
@@ -98,6 +99,8 @@ Required fields MUST NOT be removed or narrowed. Optional fields may be added fr
98
99
  - `AiAgentExtension`: `targetAgentId` — MUST NOT remove; patch fields (`replaceAllowedTools`, `deleteAllowedTools`, `appendAllowedTools`, `replaceSystemPrompt`, `appendSystemPrompt`, `replaceSuggestions`, `deleteSuggestions`, `appendSuggestions`) MUST keep their existing meaning; deprecated `suggestions` remains an append alias until removed through the deprecation protocol
99
100
  - `AiAgentOverridesMap` / `AiToolOverridesMap`: `Record<string, AiAgentDefinition | null>` and `Record<string, AiToolDefinition | null>` semantics are STABLE; `null` means disable
100
101
  - `ModuleOverrides`: `overrides.ai.agents`, `overrides.ai.tools`, and `overrides.ai.extensions` shapes are STABLE; other domain keys are reserved by the unified override contract and may be wired additively. `nav` was wired 2026-07-30 under that clause (see [spec](.ai/specs/2026-07-30-nav-group-order-override-domain.md)): `overrides.nav.groupOrder` **prepends** sidebar nav group ids ahead of the built-in `defaultGroupOrder`, and ids it does not name keep their existing position. It is a default applied *beneath* role and per-user sidebar preferences, so an operator's own arrangement still wins. With no override configured, group ordering is byte-identical to before — that guarantee MUST hold for any future change to this domain.
102
+ - `CrudFormProps` keeps optional `formVariant`, `formOperation`, `resourceId`, `sectionDescriptors`, `compositionValidator`, `sectionCustomFieldDefinitionSets`. `CrudFormSubmitContext` can expose `sectionPayload` and `mutation`. `CrudFormDeleteContext` can expose bound `mutation`. Groups/widgets can expose `runSectionMutation`. Unconfigured forms keep values, validation, routes and widgets.
103
+ - Ambient command completion requires owned `transactionalEm` and `transactionLifetime`. Preserve context and `beforeTransactionalWrite` signatures, ordinary commands, and atomic replay.
101
104
  - `ModulesRegisteredListener` (`@open-mercato/shared/lib/modules/registry`): added 2026-08-12 as `(modules: Module[]) => void | PromiseLike<void>` (see [spec](.ai/specs/2026-08-12-module-registry-registration-listeners.md)). The listener MUST keep receiving the reconciled module list, and the return type MUST NOT be narrowed back to `void` — a subscriber returning a promise is supported and its rejection is observed and logged rather than escaping into bootstrap.
102
105
  - `WorkerMeta.queue` STABLE; coalescing OPTIONAL/active-no-drop; BullMQ ≥5.72.
103
106
  - `TelemetryProvider` (`@open-mercato/telemetry`): `name`, `supports`, `start`, `shutdown`, `runInSpan`, `activeSpan`, `activeTraceContext`, `inject`, `runInRemoteSpan`, `emitLog`, `recordMetric` — MUST NOT remove. `reportError?()` was added 2026-09-08 as an additive OPTIONAL method (see [spec](.ai/specs/2026-09-08-error-reporting-policy.md)); it **MUST stay optional** — third parties implement this interface and a required method would break every existing provider. The facade calls it as `provider.reportError?.(…)` *in addition to* the span/log/metric path, so a provider that omits it loses nothing.
@@ -148,6 +151,14 @@ Signatures MUST NOT change incompatibly. New optional parameters may be added.
148
151
  |`collectCustomFieldValues()`|`@open-mercato/ui/backend/utils/customFieldValues`|MUST NOT change|
149
152
  |`flash()`|`@open-mercato/ui`|MUST NOT change|
150
153
  |`CrudForm` component props|`@open-mercato/ui/backend/crud`|MUST NOT remove existing props|
154
+ |`defineCrudFormSections`, `lazyCrudFormSectionRuntime`, `defineCrudFormSectionSink`|`@open-mercato/shared/modules/form-sections`|STABLE declarations, lazy loader, sink callbacks|
155
+ |`defineCrudFormSectionRuntime`|`@open-mercato/ui/backend/injection/crud-form-section-runtime`|STABLE identity, ownership, validator/projector pairing|
156
+ |`defineCrudFormExtension`, `hide`, `replace`, `modify`, `add`, `field.*`, `store.*`|`@open-mercato/ui/backend/crud-form-extensions`|STABLE authoring builders|
157
+ |`defineCrudFormFieldGranularSection`|`@open-mercato/ui/backend/crud-form-field-granular`|STABLE field ownership and refinements|
158
+ |`crudFormSectionScope(address)`, `ComponentReplacementHandles.section(scope, sectionId)`|`@open-mercato/shared/modules/widgets/component-registry`|STABLE scope encoding and signature|
159
+ |`defineCrudRouteSectionHost`|`@open-mercato/shared/lib/crud/form-sections/derived-route-host`|STABLE opt-in conventional CRUD binding and guarded sibling route|
160
+ |`runCrudFormSectionMutation`|`@open-mercato/shared/lib/crud/form-sections/mutation-facade`|STABLE façade host/target bindings|
161
+ |`defineCrudFormSectionOutboxSink`, `outboxColumns`|`@open-mercato/shared/lib/crud/form-sections/outbox`, `@open-mercato/shared/lib/crud/form-sections/outbox-columns`|STABLE revision, columns, fencing facts, and versioned delivery|
151
162
  |Built-in `CrudFormGroup.id` values|any module's form-group builder (e.g. `createCompanyFormGroups`)|MUST NOT rename or remove an id a shipped form declares — `CrudForm`'s `hiddenGroupIds` addresses groups by id, and an unmatched id is ignored, so a rename makes a card the host hid silently reappear in production. Renames follow the deprecation protocol; pin a builder's ids with a guard test (pattern: `packages/core/src/modules/customers/components/__tests__/companyFormHiddenGroups.test.tsx`). MAY add new groups freely|
152
163
  |`DataTable` component props|`@open-mercato/ui/backend`|MUST NOT remove existing props|
153
164
  |`parseBooleanToken` / `parseBooleanWithDefault`|`@open-mercato/shared/lib/boolean`|MUST NOT change|
@@ -186,6 +197,9 @@ Spot IDs are the addresses where external modules inject UI. Renaming or removin
186
197
  - MAY add new optional fields to request/response schemas
187
198
  - MAY add new API routes freely
188
199
  - To retire a route: deprecate with `deprecated: true` in `openApi`, keep it functional for at least one minor version, then remove
200
+ - Keep `POST /api/extensions/crud-form-sections/resolve`, strict ready/failed envelopes, `crud_form_section_policy_invalid`, and `resolveCrudFormSectionsRequestSchema` / `resolveCrudFormSectionsResponseSchema` in `@open-mercato/shared/lib/crud/form-sections/protocol`.
201
+ - Opt-in `/api/<route>/section-policy` keeps declared methods and legacy routes. Keep `crudFormSectionPolicyHeaderNames` bindings in `@open-mercato/shared/lib/crud/form-sections/policy-headers`. Host and target IDs differ. Lock on the target version.
202
+ - Request `extensions` and response `_extensions` / `extensionWarnings` are additive. Preserve `409 extension_policy_mismatch`, `422 mutation_guard_rejected` with `details.fieldErrors`, and `crud_form_section_hidden_field_invalid`, `crud_form_section_external_unavailable`, and `validation_failed` envelopes. [API contracts](.ai/specs/2026-10-22-crudform-section-overrides-framework.md#api-contracts).
189
203
 
190
204
  ### 8. Database Schema (ADDITIVE-ONLY)
191
205
 
@@ -252,6 +266,7 @@ AI framework registries are public extension points. Published IDs are reference
252
266
  - Resolution order MUST remain: programmatic → `modules.ts` inline → file-based override exports → base registrations
253
267
  - `AiAgentExtension` patch order MUST remain: `replace*` first, `delete*` second, `append*` last
254
268
  - Override value validation MUST keep key/value matching semantics: a non-null agent override's `id` must equal the map key; a non-null tool override's `name` must equal the map key
269
+ - `overrides.forms.sections` keys are `<hostId>/<formVariant>/<formOperation>/<sectionId>`. Precedence descends from programmatic overrides to inline `modules.ts` to defaults. `null` masks lower entries. Host, variant, operation, section, descriptor, contribution, capability, mutation-surface, and round-trip IDs are stable. Sink event, notification, and retry contracts apply.
255
270
 
256
271
  **Mutation approval contract:**
257
272
 
@@ -276,6 +291,9 @@ Files in `apps/mercato/.mercato/generated/` are produced by the CLI generators.
276
291
  - MUST NOT change generated AI entry shapes: agent entries keep `{ moduleId, agents, overrides, extensions }`; tool entries keep `{ moduleId, tools, overrides }`
277
292
  - MAY add new generated files and new optional fields to `BootstrapData`
278
293
  - MAY add new generated AI registry exports additively
294
+ - `crud-form-section-facts.generated.ts` exports `crudFormSectionFactEntries` and `crudFormSectionServerModules`. `crud-form-section-runtime.generated.ts` exports `crudFormSectionClientHostFacts`, `crudFormSectionContributedOverrides`, `crudFormSectionRuntimeEntries`, and `getCrudFormSectionRuntime`. Pair descriptor/round-trip IDs. Include enabled modules in dependency order. Browser output uses serialized facts and literal lazy imports.
295
+ - Module-root `form-sections.runtime-revisions.json` tracks descriptor ID, `roundTripId`, and `sourceHash`. Commit updates with paired facts/runtime. Advance `<descriptor-id>@v<n>` for semantic changes. Bridge older revisions with matching facts/runtime.
296
+ - `form-sections.revisions.json` tracks wrapper revisions (`n`, `baseRoundTripId`, `patchHash`). [Wrapper recipe](apps/docs/docs/framework/admin-ui/crud-form.mdx#extend-a-published-host).
279
297
  - Generated `.ai/guides/module-facts.json` is the v1 compatibility projection. It keeps its existing top-level module record and legacy sections; optional per-module `extensionSurfaces` is ADDITIVE. Its `hosts`, `contributions`, and `unresolved` arrays, correlation-resolution values, exact public IDs, and published classification modes are STABLE.
280
298
  - Generated `.ai/guides/module-facts.v2.json` is the additive corrected projection and keeps the same `Record<moduleId, ModuleFactsJsonEntry>` top-level shape. New harness consumers prefer v2 and fall back to v1. Once published, v2 values follow the same generated-facts stability rules; future incompatible corrections require another explicit version boundary.
281
299
  - Generated `.ai/guides/framework-extension-points.md` is a sibling framework-owned catalog, not a synthetic module-facts key. Existing module Markdown headings, including `Host extension points`, MUST remain available; additive `UMES hosts`/`UMES contributions` sections may not redefine existing IDs.
@@ -662,22 +680,22 @@ SCIM adds 429/503 before credentials; honor Retry-After. Optional `beforeAuth: A
662
680
 
663
681
  ## Encrypted search contexts (#7872)
664
682
 
665
- STABLE: encrypted custom fields are omitted; missing/failing resolver excludes all. A bridge preserves disclosure; human exception approval is pending. [Contract/migration](.ai/specs/2026-10-30-search-build-context-encrypted-custom-fields.md).
683
+ STABLE: omit encrypted custom fields. Missing/failing resolver excludes all. A bridge leaks fields. Named waiver pending. [Migration](.ai/specs/2026-10-30-search-build-context-encrypted-custom-fields.md).
666
684
 
667
685
  ## Compose encryption (2026-11-01, #7231)
668
686
 
669
687
  STABLE: unsafe keys/HTTP Vault rejected; bridges retain exposure. [Migration](UPGRADE_NOTES.md).
670
688
  Named human waiver of steps 1–3 required.
671
689
 
672
- ## Encryption maintenance safety gates (2026-11-02, #6767)
690
+ ## Encryption maintenance (2026-11-02 #6767; 2026-11-12)
673
691
 
674
- CLI safety confirmations changed; stop writers and restart replicas. [Flags, migration and stable formats](UPGRADE_NOTES.md#encryption-maintenance-safety-confirmations-6767).
692
+ Stop writers; restart replicas. Owner-approved Core unprotected rotation: `--acknowledge-unprotected-key-rotation`. [Flags, migration, stable formats](UPGRADE_NOTES.md).
675
693
 
676
694
  ## Staff Logout Uses Post/Redirect/Get (2026-11-05)
677
695
 
678
- `POST /api/auth/logout` now returns `303 See Other` instead of `307`, including the cookieless branch ([#7383](https://github.com/open-mercato/open-mercato/issues/7383)). Browsers follow `Location: /login` with GET rather than repeating the logout POST. This intentionally corrects the status documented in the 2026-10-13 entry above; shared redirect helper defaults remain 307.
696
+ `POST /api/auth/logout` returns 303 instead of 307, even without cookies ([#7383](https://github.com/open-mercato/open-mercato/issues/7383)). It supersedes the October entry. The shared helper defaults to 307.
679
697
 
680
- **Migration:** custom clients asserting 307 must accept 303 and follow the Location with GET. Session revocation, cookie expiry, route URL/method and auth events are unchanged. No schema migration is needed. See [spec](.ai/specs/2026-11-05-logout-post-redirect.md#migration--backward-compatibility) and UPGRADE_NOTES.md.
698
+ **Migration:** Accept 303 and follow `Location: /login` with GET. Revocation, cookie expiry, route URL/method, auth events and schema are unchanged. [Spec](.ai/specs/2026-11-05-logout-post-redirect.md#migration--backward-compatibility) · UPGRADE_NOTES.md.
681
699
 
682
700
  ## #7809 2026-11-06
683
701
 
@@ -689,16 +707,7 @@ STABLE: nonempty inputs require principal/owner read access; bridges retain disc
689
707
 
690
708
  ## 2026-11-07 — Private next-interaction subjects (#8888)
691
709
 
692
- Surface: stable customer projection response behavior. Private email subjects and
693
- unresolved historical linked names now become NULL in shared projections; response
694
- keys/types, scheduling, manual names and authorized interaction readers remain
695
- unchanged. Continuing to serve the private subject as a bridge retains the privacy
696
- bypass. Clients use unnamed-interaction fallbacks and authorized interaction reads.
697
- Operators apply the idempotent data repair, complete the declared query-index
698
- rebuilds and rebuild configured search providers before reopening affected reads.
699
- See `.ai/specs/2026-11-07-private-next-interaction-projections.md` and UPGRADE_NOTES.
700
- Piotr Karwatka (@pkarw) acknowledged the emergency waiver of steps 1–3 on
701
- 2026-11-13: [human approval](https://github.com/open-mercato/open-mercato/pull/8973#issuecomment-6852915966).
710
+ STABLE shared projections return NULL for private email subjects and unresolved historical linked names. Keys, types, scheduling, manual names and authorized readers stay. A bridge leaks subjects. Clients use unnamed fallbacks and authorized reads. Apply the idempotent repair and rebuild declared query indexes and configured search providers before reopening reads. See `.ai/specs/2026-11-07-private-next-interaction-projections.md` and UPGRADE_NOTES. [@pkarw waived steps 1–3](https://github.com/open-mercato/open-mercato/pull/8973#issuecomment-6852915966) on 2026-11-13.
702
711
 
703
712
  ## Comment authors (2026-11-12, #8759)
704
713
 
@@ -730,11 +739,7 @@ STABLE API: legacy signatures leave organization unverified. Rotate scoped keys
730
739
 
731
740
  ## 2026-11-25 — Encrypted custom field writes
732
741
 
733
- STABLE API behavior changes for writes of tenant-scoped encrypted custom fields when the data key is unavailable. Preserving success during the outage would persist unencrypted values. Clients handle HTTP 503 and retry after key access recovers. Operators restore key access and review historical records. [Migration](UPGRADE_NOTES.md) · [Spec](.ai/specs/2026-11-25-encrypted-custom-field-write-availability.md). Named waiver pending.
734
-
735
- ## 2026-11-25 — Empty organization scope (#10503)
736
-
737
- STABLE feature-gated APIs return `403` before lookup when organization scope resolves to an explicitly empty set. Restoring permission checks without a resolved scope would reopen the authorization gap. Grant the intended scopes and handle `403`. [Upgrade](UPGRADE_NOTES.md#an-empty-organization-scope-is-stopped-at-the-feature-guard-10503) · [Spec](.ai/specs/implemented/2026-05-29-org-scope-fail-open-authorization-hardening.md). [Prior maintainer review](https://github.com/open-mercato/open-mercato/pull/10503#pullrequestreview-6052982527) accepts the status change. Named confirmation of the emergency exception is pending.
742
+ STABLE API: encrypted tenant custom-field writes return HTTP 503 when the data key is unavailable. Allowing success would persist plaintext. Restore key access, retry, and review historical values. [Migration](UPGRADE_NOTES.md#encrypted-tenant-custom-field-writes-require-a-usable-key) · [Spec](.ai/specs/2026-11-25-encrypted-custom-field-write-availability.md). Named waiver pending.
738
743
 
739
744
  ## MCP HTTP session token, no fallback (2026-11-14, #5173)
740
745
 
@@ -747,3 +752,15 @@ STABLE configs: opt-in and instance scope. A bridge retains the bypass. [Upgrade
747
752
  ## 2026-11-25 — MCP Code Mode
748
753
 
749
754
  STABLE `execute`: set direct or use typed tools. A bridge preserves implicit writes. Named waiver pending.
755
+
756
+ ## 2026-11-26 — Vector-index entity authorization (#10693)
757
+
758
+ STABLE `GET /api/search/index` enforces entity view and org scope. A bridge leaks rows. [Migration](UPGRADE_NOTES.md#vector-index-entity-authorization-10693) · [Spec](.ai/specs/2026-11-26-vector-index-entity-authorization.md). Named waiver pending.
759
+
760
+ ## Staff credential email (2026-11-27, #10594)
761
+
762
+ STABLE superadmin reset and invite email uses the instance provider. Tenant fallback retains exposure. Named waiver pending. [Migration](.ai/specs/2026-06-03-pluggable-email-providers.md).
763
+
764
+ ## 2026-11-27 — Staff and organization boundaries (#10503, #10543)
765
+
766
+ STABLE APIs §7 require organization grants and return `403` for explicitly empty scope. Grant scope and handle `403`. `PUT /api/auth/profile` requires current-password proof for email changes. Send proof and reauthenticate. ADDITIVE-ONLY schema §8 uses owner-unique partition codes. Rehome incompatible references. Bridging prior behavior retains unscoped access or unverified changes. [Migration and specs](UPGRADE_NOTES.md). Named waiver pending.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": 1,
3
- "generator": "@open-mercato/cli@0.11.1-develop.8589.1.db1a76ea60",
3
+ "generator": "@open-mercato/cli@0.11.1-develop.8665.1.2455b2503c",
4
4
  "files": {
5
- "AGENTS.md": "35c948a32e06ca64b4706970c55ec60946412b410938b22478233a2c5c43df56",
6
- "BACKWARD_COMPATIBILITY.md": "81752dde63a698597dd9f60bf1ca2b2738d3641a0a788f59c50e761ca0d42807"
5
+ "AGENTS.md": "771a755dfb391ff57fbed29ce1f23fac700b97410f8dfac6c8406632f3538580",
6
+ "BACKWARD_COMPATIBILITY.md": "d05210af6f38ee3469e2340b757e9c1aebad7e6653079466c8eff9fb113b12cb"
7
7
  }
8
8
  }
@@ -1,12 +1,10 @@
1
1
  # {{PROJECT_NAME}} — Standalone App Agent Rules
2
2
 
3
- Route first; skip unmatched context.
4
-
5
3
  ## Always
6
4
 
7
- - Route all axes; missing context: `yarn mercato agentic:init --update-harness`.
5
+ - Route all matches on each axis; missing context: `yarn mercato agentic:init --update-harness`.
8
6
  - Lessons: scan `.ai/lessons.md` tags; open/update one matching record + row.
9
- - App code: `src/modules/<id>/`.
7
+ - Use `src/modules/<id>/` for business modules and `src/providers/` for [cache, queue, and KMS](.ai/guides/infrastructure-providers.md).
10
8
  - Derive trusted `tenantId` + `organizationId` and fail closed. Only an installed contract may use system scope (`organizationId: null`).
11
9
  - Use commands/`makeCrudRoute`/`CrudForm`/`DataTable`, DI/events/UMES; effects stay post-commit.
12
10
  - Put entities in `src/modules/<id>/data/entities.ts`; API routes need per-method `metadata` + `openApi`.
@@ -38,13 +36,13 @@ Route production deployment/go-live/security-readiness to `architecture` + `.ai/
38
36
 
39
37
  ## Three-Axis Context Assembler
40
38
 
41
- Select all matches on all axes.
39
+ CrudForm section policy: `umes` → `extension-branches` → `form-sections.ts`. Hide/default/mask only: `umes`.
42
40
 
43
41
  `debugging` is additive. A scalar-ID/snapshot fix to persisted records or commands linked to an installed record MUST use `module-data` + `umes` and load `om-data-model-design` + `om-system-extension`.
44
42
 
45
43
  `debugging` = reported bug/security/drift, not designed failure UI. Custom fields/entities = `umes` + `module-data` + `om-data-model-design`; editable round trips add `backend-ui`, requested coverage adds `testing`. Never infer work from specs/PRs.
46
44
 
47
- Unified-override audits = `umes` only; add `architecture`/`framework-context` only for unresolved ownership or installed keys. Durable process/activity/user task = `module-data` + `ai-workflow`. Multi-stage waits/cancel/restart are durable; reminders and renewal/batch schedules are `module-data`.
45
+ Unified overrides: audit = `umes`. Unknown ownership/keys add `architecture`/`framework-context`. Durable process/activity/user task = `module-data` + `ai-workflow`. Multi-stage waits/cancel/restart are durable. Reminders, renewals and batch schedules = `module-data`.
48
46
 
49
47
  `backend-ui`: replacing/wrapping, prop-transforming, menu-editing, or adding visible feedback adds `backend-ui`; merely hiding/toggling/rewiring installed UI does not.
50
48
  Staff UI preview/report/bulk = `backend-ui`.
@@ -64,17 +62,17 @@ Existing installed form/table fields, filters, row/bulk actions without app pers
64
62
  | `ai-workflow` | Agent/tool/MCP/orchestrator/durable workflow | `.ai/guides/ai-workflows.md` + facts; schedules/queues/workers/retries/progress alone are `module-data` |
65
63
  | `debugging` | Bug/security/drift/runtime inconsistency | `.ai/guides/testing-debugging.md` + affected areas |
66
64
 
67
- API/command/record/status/event/UI changes/guards = `umes`; app persistence = `module-data`; installed guard without app persistence = `umes` only, so do not load contracts; read-only behavior/auth/dependents/customization = `framework-context` (alone: no extensions guide; report `installed-version`). Facts do not. Providers are published, never `packages/*`.
65
+ API/command/record/status/event/UI changes/guards = `umes`; app persistence = `module-data`; installed guard without app persistence = `umes` only, so do not load contracts; read-only behavior/auth/dependents/customization = `framework-context` (alone: no extensions guide; report `installed-version`). Providers are published, never `packages/*`.
68
66
 
69
67
  ### Axis 2 — Work Units
70
68
 
71
- Open every matched work-unit skill before selection.
69
+ Read matched skills.
72
70
 
73
71
  | Route | Work unit | Skill/context |
74
72
  |---|---|---|
75
73
  | `architecture` | Find, scaffold a module starter, publish, or link an app module | `.ai/guides/module-tool.md`; find: `om-find-module`; new code loads `om-module-scaffold` |
76
74
  | `architecture` | Save this app as an app template, or create an app from one | `.ai/guides/template-tool.md` |
77
- | `architecture` | Explain/choose module, UMES, package, eject | architecture; `om-help` for an unresolved or comparative choice across these mechanisms |
75
+ | `architecture` | Choose/explain module, UMES, package or eject | architecture + `om-help` for comparisons or unresolved choices |
78
76
  | `module-data` | Business slice or multi-seam domain/API/command fix | MUST load `om-module-scaffold` + its exact `.ai/skills/om-module-scaffold/references/business-one-shot-blueprints.md` key, which resolves units inside the slice, not ownership — an ownership/capability outline adds `architecture` |
79
77
  | `spec-pr` | Spec/plan | Axis 3; phases+integration coverage (`integration-coverage`); no domain routes |
80
78
  | `architecture` | Upgrade audit or disable built-in | troubleshooter + framework context, or trim skill + exact `src/modules.ts`/`package.json` |
@@ -83,7 +81,7 @@ Open every matched work-unit skill before selection.
83
81
  | `module-data` | CRUD/API/command/OpenAPI/ACL/setup/mutation | `om-module-scaffold` + contracts |
84
82
  | `backend-ui` | Form/table/page/renderer/middleware/nav/i18n/UI states | `om-backend-ui-design` + backend UI |
85
83
  | `module-data` | Search/analytics/event/notification/message/worker/progress/cache/CLI | scaffold + contracts |
86
- | `umes` | Fields/extension entities/links/enrichers/injection/interceptors/guards/subscribers/DOM/widgets/toggles/overrides | `om-system-extension` + extensions; choices load `mechanism-selector` + `extension-branches` |
84
+ | `umes` | Fields/entity extensions/links/enrichers/injection/interceptors/guards/subscribers/DOM/widgets/toggles/overrides | `om-system-extension` + extensions. Choices: `mechanism-selector` + [`extension-branches`](.ai/skills/om-system-extension/references/extension-branches.md) |
87
85
  | `integration` | Provider/credentials/health/webhook/files/client/reconciliation/package | `om-integration-builder` + integrations |
88
86
  | `ai-workflow` | Agent/tool/MCP/OpenCode/Code Mode/orchestrator/AI file or content drafting/attachment/override | `om-create-ai-agent` + AI/workflows; MCP/OpenCode loads `surface-selector` + `ai_assistant` facts |
89
87
  | `ai-workflow` | Workflow/activity/user task/idempotency/output/progress | `om-build-workflow` + AI/workflows |
@@ -96,7 +94,7 @@ Open every matched work-unit skill before selection.
96
94
 
97
95
  ### Axis 3 — SDLC and Delivery
98
96
 
99
- Spec gate before code: new capability/architecture/schema/API contract/cross-module/multi-phase -> spec first (`spec-first`); covering `.ai/specs` match -> reuse and update it (`reuse-spec`); bug fix/minor fix/docs/dependency/isolated refactor -> proceed (`direct`); only the request's explicit words waive a feature spec; workflow-changing ambiguity -> ask once (`ask`). Then `om-module-scaffold` starts at `src/modules/example/README.md`.
97
+ Spec gate before code: new capability/architecture/schema/API contract/cross-module/multi-phase -> spec first (`spec-first`); covering `.ai/specs` match -> reuse and update it (`reuse-spec`); bug fix/minor fix/docs/dependency/isolated refactor -> proceed (`direct`); only the request's explicit words waive a feature spec; workflow-changing ambiguity -> ask once (`ask`). New modules start at `src/modules/example/README.md`.
100
98
 
101
99
  Read `.agents/skills/<id>/SKILL.md` AND any `.ai/skills/<id>/SKILL.md` override. Missing skill: `yarn install-skills`. Commit+ready PR MUST add `spec-pr`, read `.ai/skills/om-auto-create-pr/SKILL.md`, and keep task routes (`delivery-route-preserves-task-routes`).
102
100
 
@@ -108,11 +106,9 @@ Read `.agents/skills/<id>/SKILL.md` AND any `.ai/skills/<id>/SKILL.md` override.
108
106
 
109
107
  ### Token-Efficient Assembly Policy
110
108
 
111
- - Load matched guides once; only needed references/facts.
112
- - Budget order: guide > skill > references; only subject-matched references.
109
+ - Read each matched guide once, then relevant skills and required references/facts.
113
110
  - `spec-pr` reads template via spec-delivery.
114
- - Inspect app call sites before bounded `framework-context`.
115
- - Additive page/form/table/conflict UI skips it.
111
+ - Inspect app call sites before bounded `framework-context`. Skip it for additive page/form/table/conflict UI.
116
112
  - Never bulk-read guide, skill, fact, or source trees.
117
113
 
118
114
  ## Module-Specific Facts