@open-mercato/cli 0.11.1-develop.8593.1.50784dae35 → 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 (263) hide show
  1. package/.turbo/turbo-build.log +4 -2
  2. package/AGENTS.md +2 -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-watch-plan.js +4 -0
  177. package/dist/lib/generate-watch-plan.js.map +2 -2
  178. package/dist/lib/generate-watch-runner.js +1 -0
  179. package/dist/lib/generate-watch-runner.js.map +2 -2
  180. package/dist/lib/generate-watch-structure.js +2 -0
  181. package/dist/lib/generate-watch-structure.js.map +2 -2
  182. package/dist/lib/generators/ast/writers.js +5 -1
  183. package/dist/lib/generators/ast/writers.js.map +2 -2
  184. package/dist/lib/generators/cache-providers.js +80 -0
  185. package/dist/lib/generators/cache-providers.js.map +7 -0
  186. package/dist/lib/generators/form-section-ast.js +156 -0
  187. package/dist/lib/generators/form-section-ast.js.map +7 -0
  188. package/dist/lib/generators/form-section-extension-compiler.js +568 -0
  189. package/dist/lib/generators/form-section-extension-compiler.js.map +7 -0
  190. package/dist/lib/generators/form-section-extension-source.js +245 -0
  191. package/dist/lib/generators/form-section-extension-source.js.map +7 -0
  192. package/dist/lib/generators/form-section-runtime-revisions.js +184 -0
  193. package/dist/lib/generators/form-section-runtime-revisions.js.map +7 -0
  194. package/dist/lib/generators/form-sections.js +773 -0
  195. package/dist/lib/generators/form-sections.js.map +7 -0
  196. package/dist/lib/generators/index.js +2 -0
  197. package/dist/lib/generators/index.js.map +2 -2
  198. package/dist/lib/generators/module-entities.js +21 -2
  199. package/dist/lib/generators/module-entities.js.map +2 -2
  200. package/dist/lib/generators/module-extension-facts.js +2 -1
  201. package/dist/lib/generators/module-extension-facts.js.map +2 -2
  202. package/dist/lib/generators/module-facts.js +30 -1
  203. package/dist/lib/generators/module-facts.js.map +2 -2
  204. package/dist/lib/generators/module-override-targets.js +24 -2
  205. package/dist/lib/generators/module-override-targets.js.map +2 -2
  206. package/dist/lib/generators/module-registry.js +75 -3
  207. package/dist/lib/generators/module-registry.js.map +2 -2
  208. package/dist/lib/generators/openapi.js +27 -17
  209. package/dist/lib/generators/openapi.js.map +2 -2
  210. package/dist/lib/post-generate-invalidation.js +20 -1
  211. package/dist/lib/post-generate-invalidation.js.map +2 -2
  212. package/dist/lib/resolver.js +195 -1
  213. package/dist/lib/resolver.js.map +3 -3
  214. package/dist/lib/single-instance-strategy-guard.js +26 -3
  215. package/dist/lib/single-instance-strategy-guard.js.map +2 -2
  216. package/dist/mercato.js +34 -6
  217. package/dist/mercato.js.map +2 -2
  218. package/jest.config.cjs +2 -0
  219. package/package.json +7 -7
  220. package/src/__tests__/mercato.test.ts +18 -0
  221. package/src/__tests__/rotation-json-output.test.ts +52 -0
  222. package/src/lib/__tests__/cache-provider-manifest.test.ts +76 -0
  223. package/src/lib/__tests__/generate-watch-plan.test.ts +3 -2
  224. package/src/lib/__tests__/generate-watch-runner.test.ts +13 -1
  225. package/src/lib/__tests__/generate-watch-structure.test.ts +34 -0
  226. package/src/lib/__tests__/post-generate-invalidation.test.ts +108 -0
  227. package/src/lib/__tests__/resolver.form-section-gates.test.ts +82 -0
  228. package/src/lib/__tests__/single-instance-strategy-guard.test.ts +129 -0
  229. package/src/lib/cache-provider-manifest.ts +8 -0
  230. package/src/lib/generate-watch-plan.ts +6 -3
  231. package/src/lib/generate-watch-runner.ts +1 -0
  232. package/src/lib/generate-watch-structure.ts +5 -1
  233. package/src/lib/generators/__tests__/cache-providers.test.ts +102 -0
  234. package/src/lib/generators/__tests__/derived-crud-route-collisions.test.ts +85 -0
  235. package/src/lib/generators/__tests__/form-section-outbox.test.ts +53 -0
  236. package/src/lib/generators/__tests__/form-sections.test.ts +896 -0
  237. package/src/lib/generators/__tests__/module-extension-facts.test.ts +1 -0
  238. package/src/lib/generators/__tests__/module-facts.bc-guard.test.ts +8 -6
  239. package/src/lib/generators/__tests__/module-facts.example-fact-coverage.test.ts +37 -13
  240. package/src/lib/generators/__tests__/module-facts.local-reference.test.ts +13 -0
  241. package/src/lib/generators/__tests__/module-override-targets.test.ts +2 -3
  242. package/src/lib/generators/__tests__/module-subset.test.ts +1 -1
  243. package/src/lib/generators/__tests__/openapi.test.ts +60 -13
  244. package/src/lib/generators/__tests__/structural-contracts.test.ts +2 -2
  245. package/src/lib/generators/ast/writers.ts +6 -1
  246. package/src/lib/generators/cache-providers.ts +111 -0
  247. package/src/lib/generators/form-section-ast.ts +166 -0
  248. package/src/lib/generators/form-section-extension-compiler.ts +632 -0
  249. package/src/lib/generators/form-section-extension-source.ts +308 -0
  250. package/src/lib/generators/form-section-runtime-revisions.ts +211 -0
  251. package/src/lib/generators/form-sections.ts +896 -0
  252. package/src/lib/generators/index.ts +1 -0
  253. package/src/lib/generators/module-entities.ts +22 -4
  254. package/src/lib/generators/module-extension-facts.ts +1 -0
  255. package/src/lib/generators/module-facts.ts +40 -0
  256. package/src/lib/generators/module-override-targets.ts +19 -0
  257. package/src/lib/generators/module-registry.ts +80 -4
  258. package/src/lib/generators/openapi.ts +31 -20
  259. package/src/lib/post-generate-invalidation.ts +28 -1
  260. package/src/lib/resolver.ts +218 -0
  261. package/src/lib/single-instance-strategy-guard.ts +51 -1
  262. package/src/mercato.ts +32 -4
  263. package/dist/agentic/guides/modules/dashboards/incoming-installed-contributions.md +0 -11
@@ -2,10 +2,10 @@
2
2
  "version": 1,
3
3
  "generatedNote": "Derived asset — the app-facing projection of the repository source-link inventory, regenerated with `yarn workspace create-mercato-app harness:generate-source-link-inventory`. Never hand-edit. Harness cases resolve `context.sourceReferenceIds` against `referenceId` here; a record with `readStatus: \"qa-only\"` is validation evidence only and is refused as a case reference.",
4
4
  "derived": {
5
- "ownerCount": 33,
6
- "recordCount": 161,
7
- "sourceRequiredCount": 135,
8
- "readableCount": 161,
5
+ "ownerCount": 34,
6
+ "recordCount": 169,
7
+ "sourceRequiredCount": 143,
8
+ "readableCount": 169,
9
9
  "baselineSha": "f7c941570003f3abe920b1765995cbef98dcad0b"
10
10
  },
11
11
  "notCovered": [
@@ -24,6 +24,7 @@
24
24
  "resolvedPath": "src/modules/example/components/TodoForm.tsx",
25
25
  "moduleId": "example",
26
26
  "capabilityIds": [
27
+ "example.crud-form-extensions.c12",
27
28
  "ui.form-create",
28
29
  "ui.form-edit"
29
30
  ],
@@ -615,6 +616,75 @@
615
616
  "migration"
616
617
  ]
617
618
  },
619
+ {
620
+ "referenceId": "guides/infrastructure-providers:src/providers/cache.ts",
621
+ "requirement": "source-required",
622
+ "originAsset": ".ai/guides/infrastructure-providers.md",
623
+ "heading": "App Infrastructure Providers",
624
+ "href": "../../src/providers/cache.ts",
625
+ "targetKind": "local-owner",
626
+ "readStatus": "readable",
627
+ "resolvedPath": "src/providers/cache.ts",
628
+ "moduleId": null,
629
+ "capabilityIds": [],
630
+ "presets": [
631
+ "classic",
632
+ "crm",
633
+ "empty",
634
+ "wms"
635
+ ],
636
+ "tiers": [
637
+ "automation",
638
+ "core",
639
+ "migration"
640
+ ]
641
+ },
642
+ {
643
+ "referenceId": "guides/infrastructure-providers:src/providers/kms.example.ts",
644
+ "requirement": "source-required",
645
+ "originAsset": ".ai/guides/infrastructure-providers.md",
646
+ "heading": "App Infrastructure Providers",
647
+ "href": "../../src/providers/kms.example.ts",
648
+ "targetKind": "local-owner",
649
+ "readStatus": "readable",
650
+ "resolvedPath": "src/providers/kms.example.ts",
651
+ "moduleId": null,
652
+ "capabilityIds": [],
653
+ "presets": [
654
+ "classic",
655
+ "crm",
656
+ "empty",
657
+ "wms"
658
+ ],
659
+ "tiers": [
660
+ "automation",
661
+ "core",
662
+ "migration"
663
+ ]
664
+ },
665
+ {
666
+ "referenceId": "guides/infrastructure-providers:src/providers/queue.example.ts",
667
+ "requirement": "source-required",
668
+ "originAsset": ".ai/guides/infrastructure-providers.md",
669
+ "heading": "App Infrastructure Providers",
670
+ "href": "../../src/providers/queue.example.ts",
671
+ "targetKind": "local-owner",
672
+ "readStatus": "readable",
673
+ "resolvedPath": "src/providers/queue.example.ts",
674
+ "moduleId": null,
675
+ "capabilityIds": [],
676
+ "presets": [
677
+ "classic",
678
+ "crm",
679
+ "empty",
680
+ "wms"
681
+ ],
682
+ "tiers": [
683
+ "automation",
684
+ "core",
685
+ "migration"
686
+ ]
687
+ },
618
688
  {
619
689
  "referenceId": "guides/module-tool:node_modules/@open-mercato/cli/src/lib/eject.ts",
620
690
  "requirement": "source-required",
@@ -722,6 +792,7 @@
722
792
  "resolvedPath": "src/modules/example/backend/todos/[id]/edit/page.tsx",
723
793
  "moduleId": "example",
724
794
  "capabilityIds": [
795
+ "example.crud-form-extensions.c12",
725
796
  "ui.form-edit"
726
797
  ],
727
798
  "presets": [
@@ -745,6 +816,7 @@
745
816
  "resolvedPath": "src/modules/example/backend/todos/create/page.tsx",
746
817
  "moduleId": "example",
747
818
  "capabilityIds": [
819
+ "example.crud-form-extensions.c12",
748
820
  "ui.form-create"
749
821
  ],
750
822
  "presets": [
@@ -768,6 +840,7 @@
768
840
  "resolvedPath": "src/modules/example/components/TodoForm.tsx",
769
841
  "moduleId": "example",
770
842
  "capabilityIds": [
843
+ "example.crud-form-extensions.c12",
771
844
  "ui.form-create",
772
845
  "ui.form-edit"
773
846
  ],
@@ -929,7 +1002,7 @@
929
1002
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
930
1003
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
931
1004
  "packageName": "@open-mercato/ui",
932
- "packageVersion": "0.8.0",
1005
+ "packageVersion": "0.11.0",
933
1006
  "packageContentHash": null,
934
1007
  "tokenApplicability": "not-applicable",
935
1008
  "snapshotAvailability": "unavailable",
@@ -972,7 +1045,7 @@
972
1045
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
973
1046
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
974
1047
  "packageName": "@open-mercato/ui",
975
- "packageVersion": "0.8.0",
1048
+ "packageVersion": "0.11.0",
976
1049
  "packageContentHash": null,
977
1050
  "tokenApplicability": "not-applicable",
978
1051
  "snapshotAvailability": "unavailable",
@@ -1015,7 +1088,7 @@
1015
1088
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1016
1089
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1017
1090
  "packageName": "@open-mercato/ui",
1018
- "packageVersion": "0.8.0",
1091
+ "packageVersion": "0.11.0",
1019
1092
  "packageContentHash": null,
1020
1093
  "tokenApplicability": "not-applicable",
1021
1094
  "snapshotAvailability": "unavailable",
@@ -1058,7 +1131,7 @@
1058
1131
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1059
1132
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1060
1133
  "packageName": "@open-mercato/ui",
1061
- "packageVersion": "0.8.0",
1134
+ "packageVersion": "0.11.0",
1062
1135
  "packageContentHash": null,
1063
1136
  "tokenApplicability": "not-applicable",
1064
1137
  "snapshotAvailability": "unavailable",
@@ -1101,7 +1174,7 @@
1101
1174
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1102
1175
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1103
1176
  "packageName": "@open-mercato/ui",
1104
- "packageVersion": "0.8.0",
1177
+ "packageVersion": "0.11.0",
1105
1178
  "packageContentHash": null,
1106
1179
  "tokenApplicability": "not-applicable",
1107
1180
  "snapshotAvailability": "unavailable",
@@ -1144,7 +1217,7 @@
1144
1217
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1145
1218
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1146
1219
  "packageName": "@open-mercato/ui",
1147
- "packageVersion": "0.8.0",
1220
+ "packageVersion": "0.11.0",
1148
1221
  "packageContentHash": null,
1149
1222
  "tokenApplicability": "not-applicable",
1150
1223
  "snapshotAvailability": "unavailable",
@@ -1187,7 +1260,7 @@
1187
1260
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1188
1261
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1189
1262
  "packageName": "@open-mercato/ui",
1190
- "packageVersion": "0.8.0",
1263
+ "packageVersion": "0.11.0",
1191
1264
  "packageContentHash": null,
1192
1265
  "tokenApplicability": "not-applicable",
1193
1266
  "snapshotAvailability": "unavailable",
@@ -1259,7 +1332,7 @@
1259
1332
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1260
1333
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1261
1334
  "packageName": "@open-mercato/ui",
1262
- "packageVersion": "0.8.0",
1335
+ "packageVersion": "0.11.0",
1263
1336
  "packageContentHash": null,
1264
1337
  "tokenApplicability": "not-applicable",
1265
1338
  "snapshotAvailability": "unavailable",
@@ -1331,7 +1404,7 @@
1331
1404
  "auditedHeadSha": "fb9b8ddfe4470ef11d312caa4628c46af7d48adf",
1332
1405
  "baselineSha": "b2d26489c683edc44265212ac8a79be1b981774f",
1333
1406
  "packageName": "@open-mercato/ui",
1334
- "packageVersion": "0.8.0",
1407
+ "packageVersion": "0.11.0",
1335
1408
  "packageContentHash": null,
1336
1409
  "tokenApplicability": "not-applicable",
1337
1410
  "snapshotAvailability": "unavailable",
@@ -1967,6 +2040,7 @@
1967
2040
  "resolvedPath": "src/modules/example/backend/todos/[id]/edit/page.tsx",
1968
2041
  "moduleId": "example",
1969
2042
  "capabilityIds": [
2043
+ "example.crud-form-extensions.c12",
1970
2044
  "ui.form-edit"
1971
2045
  ],
1972
2046
  "presets": [
@@ -2133,7 +2207,8 @@
2133
2207
  "moduleId": "example",
2134
2208
  "capabilityIds": [
2135
2209
  "data.encryption-map",
2136
- "data.entities"
2210
+ "data.entities",
2211
+ "example.crud-form-extensions.c7"
2137
2212
  ],
2138
2213
  "presets": [
2139
2214
  "classic",
@@ -2180,6 +2255,7 @@
2180
2255
  "moduleId": "example",
2181
2256
  "capabilityIds": [
2182
2257
  "api.crud-query-engine-custom-fields",
2258
+ "example.crud-form-extensions.c11",
2183
2259
  "search.encrypted-column-list-filter"
2184
2260
  ],
2185
2261
  "presets": [
@@ -2317,7 +2393,8 @@
2317
2393
  "moduleId": "example",
2318
2394
  "capabilityIds": [
2319
2395
  "data.encryption-map",
2320
- "data.entities"
2396
+ "data.entities",
2397
+ "example.crud-form-extensions.c7"
2321
2398
  ],
2322
2399
  "presets": [
2323
2400
  "classic",
@@ -2706,6 +2783,7 @@
2706
2783
  "moduleId": "example",
2707
2784
  "capabilityIds": [
2708
2785
  "api.crud-query-engine-custom-fields",
2786
+ "example.crud-form-extensions.c11",
2709
2787
  "search.encrypted-column-list-filter"
2710
2788
  ],
2711
2789
  "presets": [
@@ -2779,7 +2857,8 @@
2779
2857
  "moduleId": "example",
2780
2858
  "capabilityIds": [
2781
2859
  "data.encryption-map",
2782
- "data.entities"
2860
+ "data.entities",
2861
+ "example.crud-form-extensions.c7"
2783
2862
  ],
2784
2863
  "presets": [
2785
2864
  "classic",
@@ -3342,6 +3421,40 @@
3342
3421
  "core"
3343
3422
  ]
3344
3423
  },
3424
+ {
3425
+ "referenceId": "om-system-extension/extension-branches:form-sections.ts",
3426
+ "requirement": "source-required",
3427
+ "originAsset": ".ai/skills/om-system-extension/references/extension-branches.md",
3428
+ "heading": "CrudForm section policy",
3429
+ "href": "../../../../src/modules/example/form-sections.ts",
3430
+ "targetKind": "canonical-example",
3431
+ "readStatus": "readable",
3432
+ "resolvedPath": "src/modules/example/form-sections.ts",
3433
+ "moduleId": "example",
3434
+ "capabilityIds": [
3435
+ "example.crud-form-extensions.c1",
3436
+ "example.crud-form-extensions.c10",
3437
+ "example.crud-form-extensions.c11",
3438
+ "example.crud-form-extensions.c12",
3439
+ "example.crud-form-extensions.c2",
3440
+ "example.crud-form-extensions.c3",
3441
+ "example.crud-form-extensions.c4",
3442
+ "example.crud-form-extensions.c5",
3443
+ "example.crud-form-extensions.c6",
3444
+ "example.crud-form-extensions.c7",
3445
+ "example.crud-form-extensions.c8",
3446
+ "example.crud-form-extensions.c9"
3447
+ ],
3448
+ "presets": [
3449
+ "classic",
3450
+ "crm",
3451
+ "empty",
3452
+ "wms"
3453
+ ],
3454
+ "tiers": [
3455
+ "core"
3456
+ ]
3457
+ },
3345
3458
  {
3346
3459
  "referenceId": "om-system-extension/extension-branches:node_modules/@open-mercato/ui/src/backend/inputs/MarkdownField.tsx",
3347
3460
  "requirement": "source-required",
@@ -3434,6 +3547,53 @@
3434
3547
  "core"
3435
3548
  ]
3436
3549
  },
3550
+ {
3551
+ "referenceId": "om-system-extension/extension-branches:references/crud-form-extensions/required-coverage.md",
3552
+ "requirement": "source-required",
3553
+ "originAsset": ".ai/skills/om-system-extension/references/extension-branches.md",
3554
+ "heading": "CrudForm section policy",
3555
+ "href": "../../../../src/modules/example/references/crud-form-extensions/required-coverage.md",
3556
+ "targetKind": "canonical-example",
3557
+ "readStatus": "readable",
3558
+ "resolvedPath": "src/modules/example/references/crud-form-extensions/required-coverage.md",
3559
+ "moduleId": "example",
3560
+ "capabilityIds": [
3561
+ "example.crud-form-extensions.c3"
3562
+ ],
3563
+ "presets": [
3564
+ "classic",
3565
+ "crm",
3566
+ "empty",
3567
+ "wms"
3568
+ ],
3569
+ "tiers": [
3570
+ "core"
3571
+ ]
3572
+ },
3573
+ {
3574
+ "referenceId": "om-system-extension/extension-branches:references/module-overrides.reference.ts",
3575
+ "requirement": "source-required",
3576
+ "originAsset": ".ai/skills/om-system-extension/references/extension-branches.md",
3577
+ "heading": "CrudForm section policy",
3578
+ "href": "../../../../src/modules/example/references/module-overrides.reference.ts",
3579
+ "targetKind": "canonical-example",
3580
+ "readStatus": "readable",
3581
+ "resolvedPath": "src/modules/example/references/module-overrides.reference.ts",
3582
+ "moduleId": "example",
3583
+ "capabilityIds": [
3584
+ "example.crud-form-extensions.c10",
3585
+ "overrides.compileable-reference"
3586
+ ],
3587
+ "presets": [
3588
+ "classic",
3589
+ "crm",
3590
+ "empty",
3591
+ "wms"
3592
+ ],
3593
+ "tiers": [
3594
+ "core"
3595
+ ]
3596
+ },
3437
3597
  {
3438
3598
  "referenceId": "om-system-extension/extension-branches:subscribers/audit-delete.ts",
3439
3599
  "requirement": "source-required",
@@ -3835,6 +3995,7 @@
3835
3995
  "resolvedPath": "src/modules/example/backend/todos/[id]/edit/page.tsx",
3836
3996
  "moduleId": "example",
3837
3997
  "capabilityIds": [
3998
+ "example.crud-form-extensions.c12",
3838
3999
  "ui.form-edit"
3839
4000
  ],
3840
4001
  "presets": [
@@ -4034,6 +4195,52 @@
4034
4195
  "core"
4035
4196
  ]
4036
4197
  },
4198
+ {
4199
+ "referenceId": "root:.ai/guides/infrastructure-providers.md",
4200
+ "requirement": "source-required",
4201
+ "originAsset": "AGENTS.md",
4202
+ "heading": "Always",
4203
+ "href": ".ai/guides/infrastructure-providers.md",
4204
+ "targetKind": "local-owner",
4205
+ "readStatus": "readable",
4206
+ "resolvedPath": ".ai/guides/infrastructure-providers.md",
4207
+ "moduleId": null,
4208
+ "capabilityIds": [],
4209
+ "presets": [
4210
+ "classic",
4211
+ "crm",
4212
+ "empty",
4213
+ "wms"
4214
+ ],
4215
+ "tiers": [
4216
+ "automation",
4217
+ "core",
4218
+ "migration"
4219
+ ]
4220
+ },
4221
+ {
4222
+ "referenceId": "root:.ai/skills/om-system-extension/references/extension-branches.md",
4223
+ "requirement": "source-required",
4224
+ "originAsset": "AGENTS.md",
4225
+ "heading": "Axis 2 — Work Units",
4226
+ "href": ".ai/skills/om-system-extension/references/extension-branches.md",
4227
+ "targetKind": "local-owner",
4228
+ "readStatus": "readable",
4229
+ "resolvedPath": ".ai/skills/om-system-extension/references/extension-branches.md",
4230
+ "moduleId": null,
4231
+ "capabilityIds": [],
4232
+ "presets": [
4233
+ "classic",
4234
+ "crm",
4235
+ "empty",
4236
+ "wms"
4237
+ ],
4238
+ "tiers": [
4239
+ "automation",
4240
+ "core",
4241
+ "migration"
4242
+ ]
4243
+ },
4037
4244
  {
4038
4245
  "referenceId": "rule:guides/module-tool#file-artifact-unknown-origin",
4039
4246
  "requirement": "retained-normative-snippet",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "catalog": {
4
- "expectedCaseCount": 243,
4
+ "expectedCaseCount": 255,
5
5
  "maxContextFiles": 16,
6
6
  "maxInitialContextBytes": 98304,
7
7
  "maxTotalContextBytes": 1048576,
@@ -9,7 +9,7 @@ Select one smallest host contract, then implement the complete read/write/securi
9
9
 
10
10
  ## Workflow
11
11
 
12
- Route before reading: choose routes from the request and mechanism selector, then read only those route guides/skills. Never probe architecture or backend UI and discard the route. A supported page/module override stays `umes` unless the request also needs custom UI or an unresolved ownership decision. Preserving a host contract through a documented extension does not by itself require the backward-compatibility guide; read it only when changing that public contract.
12
+ For a CrudForm policy, use the section policy branch in `references/extension-branches.md` as the discovery workflow. Start Example reads at `form-sections.ts` and follow exactly one matching recipe. For other work, choose routes from the request and mechanism selector. Read matched guides and skills. A supported override stays in `umes`, with UI for custom rendering and architecture for unresolved ownership. Read the compatibility guide when changing a public contract.
13
13
 
14
14
  1. Read `.ai/guides/extensions.md` and `references/mechanism-selector.md`; choose UMES, supported override, package, or eject.
15
15
  2. Resolve host entity/route/spot/component/event IDs from generated facts. Invoke `om-framework-context` only when facts omit the needed contract.
@@ -17,6 +17,31 @@ Load only the selected branch.
17
17
 
18
18
  Run `yarn generate` for every discovered branch and verify generated registration selects the intended host exactly once.
19
19
 
20
+ ## CrudForm section policy
21
+
22
+ For a Todo showcase policy, start at the [Todo showcase declaration](../../../../src/modules/example/form-sections.ts). Read only the sources mapped to that scenario. Follow [required leaf coverage](../../../../src/modules/example/references/crud-form-extensions/required-coverage.md) for an uncovered leaf or the [typed configuration example](../../../../src/modules/example/references/module-overrides.reference.ts) for an exact section mask.
23
+
24
+ Select a single matching recipe before reading Example sources. Open `form-sections.ts` first, then exactly the files in that row. For the uncovered leaf or exact mask, use the reference above as the second read. This recipe supplies the Example sources for planning and review.
25
+
26
+ | Todo showcase recipe | Read next |
27
+ |---|---|
28
+ | Keep a hidden title on edit | `src/modules/example/todo-showcase-update.client.ts` |
29
+ | Default the hidden title on create | `src/modules/example/todo-showcase-create.client.ts` |
30
+ | Replace the completion control | `src/modules/example/todo-showcase-status.client.ts` |
31
+ | Patch or remove a field, validate priority, or add a season Custom Field | `src/modules/example/todo-showcase-sections.client.ts` |
32
+ | Version an extension table independently | `src/modules/example/data/entities.ts` and `src/modules/example/components/TodoShowcaseForm.tsx` |
33
+ | Show an optional observer warning after commit | `src/modules/example/components/TodoShowcaseForm.tsx` |
34
+ | Queue ERP delivery and show retry status | `src/modules/example/lib/exampleExternalErp.ts` and `src/modules/example/components/TodoShowcaseSync.tsx` |
35
+ | Check the guarded route and client request binding | `src/modules/example/api/todos/route.ts` and `src/modules/example/lib/todoShowcaseClient.ts` |
36
+ | Preserve the standard Todo form and pages | `src/modules/example/components/TodoForm.tsx`, `src/modules/example/backend/todos/create/page.tsx` and `src/modules/example/backend/todos/[id]/edit/page.tsx` |
37
+
38
+
39
+ A policy that only hides, preserves, defaults or masks stays in `umes`. Reusing an existing guarded write does not add a data route. Add `backend-ui` for a rendered replacement, relabel, feedback or a visible form variant. Add `module-data` for a new persisted Custom Field or app-owned extension table. External delivery adds `integration`, with `backend-ui` for status or retry controls.
40
+
41
+ - Author `crudFormExtensions` with `defineCrudFormExtension`, `add`/`hide`/`replace`/`modify`, and `field.*` and `store.*` from `@open-mercato/ui/backend/crud-form-extensions`. Use `modify` on field-granular sections and `hide` or `replace` on component-only sections. Use i18n keys, serializable field definitions, and literal browser imports.
42
+ - Added fields inherit a section store or use `store.customField()`. Check the host's definition-set binding, or publish a scoped app-owned entity for `store.table` or `store.external`. Keep storage and validation callbacks on the server. Use `crudFormSections` primitives for a custom host adapter or independent mutation surface.
43
+ - Run `yarn generate`, review the compiled capabilities, routes, and ownership, and commit `form-sections.revisions.json`. Verify the authorized write, denied write, and masked configuration using the exact `overrides.forms.sections` key.
44
+
20
45
  ## Markdown code-block language choices
21
46
 
22
47
  For `MarkdownField`, resolve `section:ui.inputs.MarkdownField` from the framework extension catalog and read the exact installed [props and handle](../../../../node_modules/@open-mercato/ui/src/backend/inputs/MarkdownField.tsx) and [language patch contract](../../../../node_modules/@open-mercato/ui/src/backend/markdown/codeBlockLanguages.ts). Prefer `propsTransform` in `widgets/components.ts` for `codeBlockLanguages`; preserve incoming props and merge the caller's existing language patch. A string adds or renames a choice, `null` hides a nonempty tag, and `{ label, labelKey }` supplies a translated label with fallback. Keep the empty-tag choice and existing Markdown content, including hidden or unknown tags, unchanged. A new choice does not install a syntax highlighter. App-level registration uses the existing `widgets.components` domain described in `unified-overrides.md`.
@@ -10,6 +10,7 @@ Load this reference before choosing files.
10
10
  | Add behavior before/after command execute or undo | `commands/interceptors.ts` command interceptor with stable `id`/`targetCommand`. |
11
11
  | Block/rewrite host mutation with post-success work | Mutation guard contract. |
12
12
  | Add form/table/menu/page content | Headless/rendered widget injection. |
13
+ | Change a published CrudForm section or its owned fields | `defineCrudFormExtension` in `form-sections.ts`. Follow CrudForm section policy in `references/extension-branches.md`. |
13
14
  | Filter a client widget reaction | Widget `eventHandlers.filter.operations`. |
14
15
  | Persist app-owned data against host record | Extension entity with scalar host ID. |
15
16
  | React synchronously or asynchronously | Typed subscriber; use `metadata.sync`/`priority` only for in-pipeline lifecycle work. |
@@ -23,6 +23,7 @@ Load this reference when `src/modules.ts` must disable or replace an installed c
23
23
  | ACL features | `overrides.acl.features` — feature ID |
24
24
  | DI bindings | `overrides.di` — container key |
25
25
  | Encryption maps | `overrides.encryption.maps` — entity ID |
26
+ | CrudForm sections | `overrides.forms.sections` — `<hostId>/<formVariant>/<formOperation>/<sectionId>` |
26
27
 
27
28
  ## Rules
28
29
 
@@ -34,6 +35,7 @@ Load this reference when `src/modules.ts` must disable or replace an installed c
34
35
  - `overrides.guards` targets backend/frontend page route middleware only (the `page-middleware` owned fact). A `data/guards.ts` mutation guard is a different contract with no override domain; it surfaces as an extension activation, never under `overrides.guards`. The target's `page-middleware-not-mutation-guard` note flags this.
35
36
  - Before adding a contribution, check the target module sheet's `incoming` index for an already-installed contributor of the same kind/target, and require a `bound` `activation` (not a broad capability host) before assuming a route/entity extension actually runs. A `capability-only` host is available but unproven; do not claim runtime invocation from it.
36
37
  - Keep AI extensions additive and ordered. Use agent/tool maps only for replacement or disable; do not encode an extension as a `null`-capable map entry.
38
+ - Define CrudForm contributions with `defineCrudFormExtension`. An override selects a published contribution ID and operation for that exact tuple and section. Use `null` to mask the address. The compiler and host must support the resulting composition.
37
39
  - Preserve replacement type/signature, auth/features, scope, stable ID, and observable side effects. A replacement may strengthen safety but never silently narrow a public contract.
38
40
  - Treat unknown/stale override diagnostics as failures. Run `yarn generate`, clear structural nav/module caches with the app's documented command, and verify the old contribution is absent in every bootstrap.
39
41
  - Verify host present/absent, wildcard ACL, direct URL/API access, registry uniqueness, cache/navigation cleanup, and rollback to the base contribution.
@@ -41,6 +41,20 @@ const SENSITIVE_AUTH_DATA_FILE = /^(?:auth|credentials?|secrets?|tokens?)(?:\.(?
41
41
  const SENSITIVE_ENV_KEY = /(?:^|_)(?:api_?key|auth|credential|credentials|password|passwd|private_?key|secret|token)(?:_|$)/i
42
42
  const GENERATED_YARN_CONFIG_PATH = '.yarnrc.yml'
43
43
  const GENERATED_YARN_CONFIG_LIMIT = 16_384
44
+ const GENERATED_YARN_COOLDOWN = [
45
+ "# Yarn refuses versions younger than `npmMinimalAgeGate` (default 1 day) with",
46
+ "# \"All versions satisfying ... are quarantined\". Raised to 5 days to close the",
47
+ "# supply-chain window where a compromised maintainer account pushes a malicious",
48
+ "# patch before any advisory exists. For urgent patches use --no-time-gate.",
49
+ "# This app pins the exact @open-mercato release it was scaffolded from, which",
50
+ "# is usually minutes old, so the first-party scope opts out while every",
51
+ "# third-party package keeps the cooldown. A per-scope `npmRegistryServer` entry",
52
+ "# shadows a top-level `npmMinimalAgeGate: 0`, so the opt-out has to be",
53
+ "# expressed as a preapproval.",
54
+ "npmMinimalAgeGate: 5d",
55
+ "npmPreapprovedPackages:",
56
+ " - \"@open-mercato/*\"",
57
+ ]
44
58
  // The deterministic step invokes no model, so its ceiling must not ride --case-timeout. Timed on
45
59
  // Linux x86_64, the complete catalog finished in 768-998 ms, and narrowing the selection
46
60
  // down to a single case measured 842-890 ms, inside the same spread, so the run is dominated by
@@ -212,6 +226,11 @@ function validGeneratedYarnConfig(contents) {
212
226
  }
213
227
  if (lines.shift() !== 'nodeLinker: node-modules') return false
214
228
  if (migrated && lines.shift() !== 'npmMinimalAgeGate: 0') return false
229
+ if (!migrated && lines[0] === GENERATED_YARN_COOLDOWN[0]) {
230
+ // Keep the comments exact because this file is copied verbatim into each target.
231
+ if (!GENERATED_YARN_COOLDOWN.every((line, index) => lines[index] === line)) return false
232
+ lines.splice(0, GENERATED_YARN_COOLDOWN.length)
233
+ }
215
234
  if (!lines.length) return true
216
235
 
217
236
  const unsafeHttpHosts = []
@@ -1244,6 +1263,7 @@ export function runTargetValidationSteps({ steps, target, timeout, roots, yarnCo
1244
1263
  const tempRoot = fs.mkdtempSync(path.join(os.tmpdir(), 'om-harness-validation-'))
1245
1264
  const reportRoots = [...roots, tempRoot, fs.realpathSync(tempRoot)]
1246
1265
  const { env, toolReadRoots } = createMinimalValidationEnvironment(tempRoot, pathValue)
1266
+ const validationEnv = { ...env, NODE_ENV: 'production' }
1247
1267
  const originalFingerprint = targetContentFingerprint(target)
1248
1268
  let workspace
1249
1269
  let dependencyRoot
@@ -1274,7 +1294,7 @@ export function runTargetValidationSteps({ steps, target, timeout, roots, yarnCo
1274
1294
  writableRoots: [workspace, tempRoot],
1275
1295
  readOnlyRoots,
1276
1296
  networkMode: 'none',
1277
- env,
1297
+ env: validationEnv,
1278
1298
  })
1279
1299
  execution = execute(invocation.command, invocation.args, invocation.cwd, timeout, invocation.env)
1280
1300
  } catch (error) {
@@ -0,0 +1,9 @@
1
+ async function loadCacheProviderManifest(appDir) {
2
+ const { loadCacheProviderManifestFromAppRoot } = await import("@open-mercato/shared/lib/bootstrap/dynamicLoader");
3
+ const format = typeof process.env.JEST_WORKER_ID === "string" ? "cjs" : "esm";
4
+ return loadCacheProviderManifestFromAppRoot(appDir, { format });
5
+ }
6
+ export {
7
+ loadCacheProviderManifest
8
+ };
9
+ //# sourceMappingURL=cache-provider-manifest.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/lib/cache-provider-manifest.ts"],
4
+ "sourcesContent": ["import type { CacheProviderRegistration } from '@open-mercato/shared/lib/cache/providers'\n\n/** Load app provider registrations for CLI commands that do not bootstrap the full app. */\nexport async function loadCacheProviderManifest(appDir: string): Promise<CacheProviderRegistration[]> {\n const { loadCacheProviderManifestFromAppRoot } = await import('@open-mercato/shared/lib/bootstrap/dynamicLoader')\n const format = typeof process.env.JEST_WORKER_ID === 'string' ? 'cjs' : 'esm'\n return loadCacheProviderManifestFromAppRoot(appDir, { format })\n}\n"],
5
+ "mappings": "AAGA,eAAsB,0BAA0B,QAAsD;AACpG,QAAM,EAAE,qCAAqC,IAAI,MAAM,OAAO,kDAAkD;AAChH,QAAM,SAAS,OAAO,QAAQ,IAAI,mBAAmB,WAAW,QAAQ;AACxE,SAAO,qCAAqC,QAAQ,EAAE,OAAO,CAAC;AAChE;",
6
+ "names": []
7
+ }
@@ -5,6 +5,7 @@ const GROUP_ORDER = [
5
5
  "di",
6
6
  "package-sources",
7
7
  "web-research-adapters",
8
+ "cache-providers",
8
9
  "openapi"
9
10
  ];
10
11
  const REGISTRY_ORDER = [
@@ -73,6 +74,9 @@ function planGenerateWatchChanges(changes, fullReasons = []) {
73
74
  case "web-research-adapters":
74
75
  groups.add("web-research-adapters");
75
76
  break;
77
+ case "cache-providers":
78
+ groups.add("cache-providers");
79
+ break;
76
80
  case "frontend-page":
77
81
  registry("main", "runtime", "app", "frontend-routes");
78
82
  break;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/lib/generate-watch-plan.ts"],
4
- "sourcesContent": ["export type GenerateWatchCategory =\n | 'api-route' | 'frontend-page' | 'backend-page' | 'commands' | 'di' | 'entities'\n | 'search' | 'events' | 'subscribers' | 'workers' | 'dashboard-widgets'\n | 'injection-widgets' | 'cli' | 'i18n' | 'registry-convention' | 'extension'\n | 'openapi' | 'web-research-adapters' | 'generator-plugin' | 'configuration' | 'unknown'\n\nexport type GenerateWatchRecord = {\n key: string\n category: GenerateWatchCategory\n fingerprint: string\n path: string\n extensionId?: string\n}\n\nexport type GenerateWatchSnapshot = {\n checksum: string\n records: ReadonlyMap<string, GenerateWatchRecord>\n /** Capture validity failures only; unsupported but readable inputs use full-fallback records. */\n fullReasons: readonly string[]\n}\n\nexport type GenerateWatchChange = {\n kind: 'add' | 'change' | 'delete'\n key: string\n category: GenerateWatchCategory\n path: string\n extensionId?: string\n}\n\nexport type GenerateWatchGroup =\n | 'entity-ids' | 'registry' | 'entities' | 'di' | 'package-sources'\n | 'web-research-adapters' | 'openapi'\n\nexport type GenerateWatchPlan = {\n mode: 'full' | 'incremental' | 'none'\n groups: readonly GenerateWatchGroup[]\n registryOutputs: readonly string[]\n changes: readonly GenerateWatchChange[]\n reasons: readonly string[]\n}\n\nconst GROUP_ORDER: readonly GenerateWatchGroup[] = [\n 'entity-ids', 'registry', 'entities', 'di', 'package-sources', 'web-research-adapters', 'openapi',\n]\n\nconst REGISTRY_ORDER = [\n 'main', 'runtime', 'app', 'bootstrap', 'cli', 'frontend-routes', 'backend-routes',\n 'api-routes', 'commands', 'i18n', 'supervisor', 'enabled-ids', 'bootstrap-registrations', 'plugins',\n 'registry.search', 'registry.notifications', 'registry.messages', 'registry.ai-tools',\n 'registry.ai-agents', 'registry.agent-files', 'registry.events', 'registry.analytics',\n 'registry.translatable-fields', 'registry.enrichers', 'registry.interceptors',\n 'registry.component-overrides', 'registry.inbox-actions', 'registry.guards',\n 'registry.command-interceptors', 'registry.page-middleware', 'registry.dashboard-widgets',\n 'registry.injection-widgets', 'registry.workflows',\n] as const\n\nconst EXTENSION_IDS: readonly string[] = REGISTRY_ORDER.filter((id) => id.startsWith('registry.'))\nconst MAIN_IMPORT_EXTENSIONS: Readonly<Record<string, true>> = {\n 'registry.events': true, 'registry.analytics': true, 'registry.translatable-fields': true, 'registry.workflows': true,\n}\nconst ALL_MODULE_REGISTRIES = ['main', 'runtime', 'app', 'bootstrap', 'cli'] as const\n\n/** Select aggregate consumers, never just the changed module within an aggregate. */\nexport function planGenerateWatchChanges(\n changes: readonly GenerateWatchChange[],\n fullReasons: readonly string[] = [],\n): GenerateWatchPlan {\n const orderedChanges = [...changes].sort((left, right) =>\n left.key.localeCompare(right.key) || left.kind.localeCompare(right.kind),\n )\n const reasons = new Set(fullReasons)\n const groups = new Set<GenerateWatchGroup>()\n const outputs = new Set<string>()\n const registry = (...selected: readonly string[]) => {\n groups.add('registry')\n for (const output of selected) outputs.add(output)\n }\n\n for (const change of orderedChanges) {\n switch (change.category) {\n case 'api-route':\n registry('main', 'runtime', 'api-routes')\n groups.add('openapi')\n break\n case 'openapi':\n groups.add('openapi')\n break\n case 'web-research-adapters':\n groups.add('web-research-adapters')\n break\n case 'frontend-page':\n registry('main', 'runtime', 'app', 'frontend-routes')\n break\n case 'backend-page':\n registry('main', 'runtime', 'app', 'backend-routes')\n break\n case 'entities':\n groups.add('entity-ids')\n groups.add('entities')\n break\n case 'di':\n groups.add('di')\n break\n case 'commands':\n registry('commands')\n break\n case 'search':\n registry('registry.search')\n break\n case 'events':\n registry('main', 'registry.events')\n break\n case 'subscribers':\n registry(...ALL_MODULE_REGISTRIES)\n break\n case 'workers':\n // The existing i18n renderer also emits the worker abandon-hook helper import.\n registry(...ALL_MODULE_REGISTRIES, 'supervisor', 'i18n')\n break\n case 'dashboard-widgets':\n registry('main', 'app', 'bootstrap', 'cli', 'registry.dashboard-widgets')\n break\n case 'injection-widgets':\n registry('registry.injection-widgets')\n break\n case 'cli':\n registry('main', 'cli')\n if (/(?:^|[/\\\\])scheduler[/\\\\]cli\\.[jt]sx?$/.test(change.path) || change.key.includes(':scheduler:')) registry('supervisor')\n break\n case 'i18n':\n registry('main', 'runtime', 'app', 'cli', 'i18n')\n break\n case 'registry-convention':\n if (change.extensionId === 'supervisor') registry('supervisor')\n else if (/(?:^|[/\\\\])vector\\.[jt]sx?$/.test(change.path)) registry('cli')\n else registry(...ALL_MODULE_REGISTRIES)\n break\n case 'extension': {\n const id = change.extensionId\n if (!id || !EXTENSION_IDS.includes(id)) {\n reasons.add(`Unknown generator extension dependency: ${change.path}`)\n break\n }\n registry(id)\n if (MAIN_IMPORT_EXTENSIONS[id]) registry('main')\n // This convention is also discovered as an ordinary command loader.\n if (id === 'registry.command-interceptors') registry('commands')\n break\n }\n case 'generator-plugin':\n reasons.add(`Generator plugin dependency changed: ${change.path}`)\n break\n case 'configuration':\n reasons.add(`Generator configuration or module authority changed: ${change.path}`)\n break\n case 'unknown':\n reasons.add(`Unclassified generator dependency changed: ${change.path}`)\n break\n default:\n reasons.add(`Unsupported generator dependency: ${change.path}`)\n }\n }\n\n if (reasons.size > 0) {\n return {\n mode: 'full', groups: [...GROUP_ORDER], registryOutputs: [],\n changes: orderedChanges, reasons: [...reasons].sort((left, right) => left < right ? -1 : left > right ? 1 : 0),\n }\n }\n return {\n mode: groups.size > 0 ? 'incremental' : 'none',\n groups: GROUP_ORDER.filter((group) => groups.has(group)),\n registryOutputs: REGISTRY_ORDER.filter((output) => outputs.has(output)),\n changes: orderedChanges,\n reasons: [],\n }\n}\n"],
5
- "mappings": "AAyCA,MAAM,cAA6C;AAAA,EACjD;AAAA,EAAc;AAAA,EAAY;AAAA,EAAY;AAAA,EAAM;AAAA,EAAmB;AAAA,EAAyB;AAC1F;AAEA,MAAM,iBAAiB;AAAA,EACrB;AAAA,EAAQ;AAAA,EAAW;AAAA,EAAO;AAAA,EAAa;AAAA,EAAO;AAAA,EAAmB;AAAA,EACjE;AAAA,EAAc;AAAA,EAAY;AAAA,EAAQ;AAAA,EAAc;AAAA,EAAe;AAAA,EAA2B;AAAA,EAC1F;AAAA,EAAmB;AAAA,EAA0B;AAAA,EAAqB;AAAA,EAClE;AAAA,EAAsB;AAAA,EAAwB;AAAA,EAAmB;AAAA,EACjE;AAAA,EAAgC;AAAA,EAAsB;AAAA,EACtD;AAAA,EAAgC;AAAA,EAA0B;AAAA,EAC1D;AAAA,EAAiC;AAAA,EAA4B;AAAA,EAC7D;AAAA,EAA8B;AAChC;AAEA,MAAM,gBAAmC,eAAe,OAAO,CAAC,OAAO,GAAG,WAAW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AAA,MAC1D,SAAS;AAAA,MAAgB,SAAS,CAAC,GAAG,OAAO,EAAE,KAAK,CAAC,MAAM,UAAU,OAAO,QAAQ,KAAK,OAAO,QAAQ,IAAI,CAAC;AAAA,IAC/G;AAAA,EACF;AACA,SAAO;AAAA,IACL,MAAM,OAAO,OAAO,IAAI,gBAAgB;AAAA,IACxC,QAAQ,YAAY,OAAO,CAAC,UAAU,OAAO,IAAI,KAAK,CAAC;AAAA,IACvD,iBAAiB,eAAe,OAAO,CAAC,WAAW,QAAQ,IAAI,MAAM,CAAC;AAAA,IACtE,SAAS;AAAA,IACT,SAAS,CAAC;AAAA,EACZ;AACF;",
4
+ "sourcesContent": ["export type GenerateWatchCategory =\n | 'api-route' | 'frontend-page' | 'backend-page' | 'commands' | 'di' | 'entities'\n | 'search' | 'events' | 'subscribers' | 'workers' | 'dashboard-widgets'\n | 'injection-widgets' | 'cli' | 'i18n' | 'registry-convention' | 'extension'\n | 'openapi' | 'web-research-adapters' | 'cache-providers' | 'generator-plugin' | 'configuration' | 'unknown'\n\nexport type GenerateWatchRecord = {\n key: string\n category: GenerateWatchCategory\n fingerprint: string\n path: string\n extensionId?: string\n}\n\nexport type GenerateWatchSnapshot = {\n checksum: string\n records: ReadonlyMap<string, GenerateWatchRecord>\n /** Capture validity failures only; unsupported but readable inputs use full-fallback records. */\n fullReasons: readonly string[]\n}\n\nexport type GenerateWatchChange = {\n kind: 'add' | 'change' | 'delete'\n key: string\n category: GenerateWatchCategory\n path: string\n extensionId?: string\n}\n\nexport type GenerateWatchGroup =\n | 'entity-ids' | 'registry' | 'entities' | 'di' | 'package-sources'\n | 'web-research-adapters' | 'cache-providers' | 'openapi'\n\nexport type GenerateWatchPlan = {\n mode: 'full' | 'incremental' | 'none'\n groups: readonly GenerateWatchGroup[]\n registryOutputs: readonly string[]\n changes: readonly GenerateWatchChange[]\n reasons: readonly string[]\n}\n\nconst GROUP_ORDER: readonly GenerateWatchGroup[] = [\n 'entity-ids', 'registry', 'entities', 'di', 'package-sources', 'web-research-adapters', 'cache-providers', 'openapi',\n]\n\nconst REGISTRY_ORDER = [\n 'main', 'runtime', 'app', 'bootstrap', 'cli', 'frontend-routes', 'backend-routes',\n 'api-routes', 'commands', 'i18n', 'supervisor', 'enabled-ids', 'bootstrap-registrations', 'plugins',\n 'registry.search', 'registry.notifications', 'registry.messages', 'registry.ai-tools',\n 'registry.ai-agents', 'registry.agent-files', 'registry.events', 'registry.analytics',\n 'registry.translatable-fields', 'registry.enrichers', 'registry.interceptors',\n 'registry.component-overrides', 'registry.inbox-actions', 'registry.guards',\n 'registry.command-interceptors', 'registry.page-middleware', 'registry.dashboard-widgets',\n 'registry.injection-widgets', 'registry.workflows',\n] as const\n\nconst EXTENSION_IDS: readonly string[] = REGISTRY_ORDER.filter((id) => id.startsWith('registry.'))\nconst MAIN_IMPORT_EXTENSIONS: Readonly<Record<string, true>> = {\n 'registry.events': true, 'registry.analytics': true, 'registry.translatable-fields': true, 'registry.workflows': true,\n}\nconst ALL_MODULE_REGISTRIES = ['main', 'runtime', 'app', 'bootstrap', 'cli'] as const\n\n/** Select aggregate consumers, never just the changed module within an aggregate. */\nexport function planGenerateWatchChanges(\n changes: readonly GenerateWatchChange[],\n fullReasons: readonly string[] = [],\n): GenerateWatchPlan {\n const orderedChanges = [...changes].sort((left, right) =>\n left.key.localeCompare(right.key) || left.kind.localeCompare(right.kind),\n )\n const reasons = new Set(fullReasons)\n const groups = new Set<GenerateWatchGroup>()\n const outputs = new Set<string>()\n const registry = (...selected: readonly string[]) => {\n groups.add('registry')\n for (const output of selected) outputs.add(output)\n }\n\n for (const change of orderedChanges) {\n switch (change.category) {\n case 'api-route':\n registry('main', 'runtime', 'api-routes')\n groups.add('openapi')\n break\n case 'openapi':\n groups.add('openapi')\n break\n case 'web-research-adapters':\n groups.add('web-research-adapters')\n break\n case 'cache-providers':\n groups.add('cache-providers')\n break\n case 'frontend-page':\n registry('main', 'runtime', 'app', 'frontend-routes')\n break\n case 'backend-page':\n registry('main', 'runtime', 'app', 'backend-routes')\n break\n case 'entities':\n groups.add('entity-ids')\n groups.add('entities')\n break\n case 'di':\n groups.add('di')\n break\n case 'commands':\n registry('commands')\n break\n case 'search':\n registry('registry.search')\n break\n case 'events':\n registry('main', 'registry.events')\n break\n case 'subscribers':\n registry(...ALL_MODULE_REGISTRIES)\n break\n case 'workers':\n // The existing i18n renderer also emits the worker abandon-hook helper import.\n registry(...ALL_MODULE_REGISTRIES, 'supervisor', 'i18n')\n break\n case 'dashboard-widgets':\n registry('main', 'app', 'bootstrap', 'cli', 'registry.dashboard-widgets')\n break\n case 'injection-widgets':\n registry('registry.injection-widgets')\n break\n case 'cli':\n registry('main', 'cli')\n if (/(?:^|[/\\\\])scheduler[/\\\\]cli\\.[jt]sx?$/.test(change.path) || change.key.includes(':scheduler:')) registry('supervisor')\n break\n case 'i18n':\n registry('main', 'runtime', 'app', 'cli', 'i18n')\n break\n case 'registry-convention':\n if (change.extensionId === 'supervisor') registry('supervisor')\n else if (/(?:^|[/\\\\])vector\\.[jt]sx?$/.test(change.path)) registry('cli')\n else registry(...ALL_MODULE_REGISTRIES)\n break\n case 'extension': {\n const id = change.extensionId\n if (!id || !EXTENSION_IDS.includes(id)) {\n reasons.add(`Unknown generator extension dependency: ${change.path}`)\n break\n }\n registry(id)\n if (MAIN_IMPORT_EXTENSIONS[id]) registry('main')\n // This convention is also discovered as an ordinary command loader.\n if (id === 'registry.command-interceptors') registry('commands')\n break\n }\n case 'generator-plugin':\n reasons.add(`Generator plugin dependency changed: ${change.path}`)\n break\n case 'configuration':\n reasons.add(`Generator configuration or module authority changed: ${change.path}`)\n break\n case 'unknown':\n reasons.add(`Unclassified generator dependency changed: ${change.path}`)\n break\n default:\n reasons.add(`Unsupported generator dependency: ${change.path}`)\n }\n }\n\n if (reasons.size > 0) {\n return {\n mode: 'full', groups: [...GROUP_ORDER], registryOutputs: [],\n changes: orderedChanges, reasons: [...reasons].sort((left, right) => left < right ? -1 : left > right ? 1 : 0),\n }\n }\n return {\n mode: groups.size > 0 ? 'incremental' : 'none',\n groups: GROUP_ORDER.filter((group) => groups.has(group)),\n registryOutputs: REGISTRY_ORDER.filter((output) => outputs.has(output)),\n changes: orderedChanges,\n reasons: [],\n }\n}\n"],
5
+ "mappings": "AAyCA,MAAM,cAA6C;AAAA,EACjD;AAAA,EAAc;AAAA,EAAY;AAAA,EAAY;AAAA,EAAM;AAAA,EAAmB;AAAA,EAAyB;AAAA,EAAmB;AAC7G;AAEA,MAAM,iBAAiB;AAAA,EACrB;AAAA,EAAQ;AAAA,EAAW;AAAA,EAAO;AAAA,EAAa;AAAA,EAAO;AAAA,EAAmB;AAAA,EACjE;AAAA,EAAc;AAAA,EAAY;AAAA,EAAQ;AAAA,EAAc;AAAA,EAAe;AAAA,EAA2B;AAAA,EAC1F;AAAA,EAAmB;AAAA,EAA0B;AAAA,EAAqB;AAAA,EAClE;AAAA,EAAsB;AAAA,EAAwB;AAAA,EAAmB;AAAA,EACjE;AAAA,EAAgC;AAAA,EAAsB;AAAA,EACtD;AAAA,EAAgC;AAAA,EAA0B;AAAA,EAC1D;AAAA,EAAiC;AAAA,EAA4B;AAAA,EAC7D;AAAA,EAA8B;AAChC;AAEA,MAAM,gBAAmC,eAAe,OAAO,CAAC,OAAO,GAAG,WAAW,WAAW,CAAC;AACjG,MAAM,yBAAyD;AAAA,EAC7D,mBAAmB;AAAA,EAAM,sBAAsB;AAAA,EAAM,gCAAgC;AAAA,EAAM,sBAAsB;AACnH;AACA,MAAM,wBAAwB,CAAC,QAAQ,WAAW,OAAO,aAAa,KAAK;AAGpE,SAAS,yBACd,SACA,cAAiC,CAAC,GACf;AACnB,QAAM,iBAAiB,CAAC,GAAG,OAAO,EAAE;AAAA,IAAK,CAAC,MAAM,UAC9C,KAAK,IAAI,cAAc,MAAM,GAAG,KAAK,KAAK,KAAK,cAAc,MAAM,IAAI;AAAA,EACzE;AACA,QAAM,UAAU,IAAI,IAAI,WAAW;AACnC,QAAM,SAAS,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