@open-mercato/cli 0.9.1-develop.7574.1.837288eec1 → 0.9.1-develop.7575.1.8480826a9b

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 (178) hide show
  1. package/.turbo/turbo-build.log +1 -5
  2. package/dist/agentic/guides/architecture.md +0 -2
  3. package/dist/agentic/guides/extensions.md +0 -2
  4. package/dist/agentic/guides/module-facts.json +699 -4287
  5. package/dist/agentic/guides/module-facts.v2.json +699 -4287
  6. package/dist/agentic/guides/modules/agent_orchestrator/index.md +1 -1
  7. package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
  8. package/dist/agentic/guides/modules/api_docs/index.md +1 -1
  9. package/dist/agentic/guides/modules/api_keys/index.md +1 -1
  10. package/dist/agentic/guides/modules/attachments/index.md +1 -1
  11. package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
  12. package/dist/agentic/guides/modules/auth/index.md +1 -1
  13. package/dist/agentic/guides/modules/availability/index.md +1 -1
  14. package/dist/agentic/guides/modules/business_rules/index.md +1 -1
  15. package/dist/agentic/guides/modules/catalog/acl-features.md +1 -3
  16. package/dist/agentic/guides/modules/catalog/active-extension-bindings.md +3 -3
  17. package/dist/agentic/guides/modules/catalog/cli-commands.md +0 -1
  18. package/dist/agentic/guides/modules/catalog/contribution-resolutions.md +0 -2
  19. package/dist/agentic/guides/modules/catalog/di-registrations-rich.md +4 -5
  20. package/dist/agentic/guides/modules/catalog/di-service-tokens.md +1 -2
  21. package/dist/agentic/guides/modules/catalog/entities.md +0 -1
  22. package/dist/agentic/guides/modules/catalog/exact-override-targets.md +4 -10
  23. package/dist/agentic/guides/modules/catalog/index.md +5 -5
  24. package/dist/agentic/guides/modules/catalog/umes-contributions.md +0 -2
  25. package/dist/agentic/guides/modules/catalog/umes-hosts.md +0 -1
  26. package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
  27. package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
  28. package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
  29. package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
  30. package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
  31. package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
  32. package/dist/agentic/guides/modules/channel_resend/index.md +1 -1
  33. package/dist/agentic/guides/modules/channel_ses/index.md +1 -1
  34. package/dist/agentic/guides/modules/checkout/index.md +1 -1
  35. package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
  36. package/dist/agentic/guides/modules/configs/index.md +1 -1
  37. package/dist/agentic/guides/modules/content/index.md +1 -1
  38. package/dist/agentic/guides/modules/currencies/index.md +1 -1
  39. package/dist/agentic/guides/modules/customer_accounts/index.md +2 -3
  40. package/dist/agentic/guides/modules/customer_groups/active-extension-bindings.md +1 -1
  41. package/dist/agentic/guides/modules/customer_groups/index.md +2 -3
  42. package/dist/agentic/guides/modules/customers/active-extension-bindings.md +5 -5
  43. package/dist/agentic/guides/modules/customers/di-registrations-rich.md +3 -5
  44. package/dist/agentic/guides/modules/customers/exact-override-targets.md +3 -5
  45. package/dist/agentic/guides/modules/customers/index.md +2 -2
  46. package/dist/agentic/guides/modules/customers/owned-contract-module-metadata.md +1 -1
  47. package/dist/agentic/guides/modules/customers/umes-hosts.md +0 -2
  48. package/dist/agentic/guides/modules/dashboards/index.md +1 -1
  49. package/dist/agentic/guides/modules/data_sync/di-registrations-rich.md +8 -8
  50. package/dist/agentic/guides/modules/data_sync/di-service-tokens.md +4 -4
  51. package/dist/agentic/guides/modules/data_sync/exact-override-targets.md +8 -8
  52. package/dist/agentic/guides/modules/data_sync/index.md +1 -1
  53. package/dist/agentic/guides/modules/design_system/index.md +1 -1
  54. package/dist/agentic/guides/modules/devices/index.md +1 -1
  55. package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
  56. package/dist/agentic/guides/modules/directory/index.md +1 -1
  57. package/dist/agentic/guides/modules/documents/index.md +1 -1
  58. package/dist/agentic/guides/modules/entities/index.md +1 -1
  59. package/dist/agentic/guides/modules/eudr/index.md +1 -1
  60. package/dist/agentic/guides/modules/events/index.md +1 -1
  61. package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
  62. package/dist/agentic/guides/modules/forms/index.md +1 -1
  63. package/dist/agentic/guides/modules/gateway_stripe/di-registrations-rich.md +1 -1
  64. package/dist/agentic/guides/modules/gateway_stripe/exact-override-targets.md +1 -1
  65. package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
  66. package/dist/agentic/guides/modules/generators/index.md +1 -1
  67. package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
  68. package/dist/agentic/guides/modules/integrations/di-registrations-rich.md +8 -9
  69. package/dist/agentic/guides/modules/integrations/di-service-tokens.md +4 -5
  70. package/dist/agentic/guides/modules/integrations/exact-override-targets.md +8 -9
  71. package/dist/agentic/guides/modules/integrations/index.md +1 -1
  72. package/dist/agentic/guides/modules/messages/index.md +1 -1
  73. package/dist/agentic/guides/modules/notifications/index.md +1 -1
  74. package/dist/agentic/guides/modules/onboarding/index.md +1 -1
  75. package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
  76. package/dist/agentic/guides/modules/perspectives/index.md +1 -1
  77. package/dist/agentic/guides/modules/phone_calls/index.md +1 -1
  78. package/dist/agentic/guides/modules/planner/index.md +1 -1
  79. package/dist/agentic/guides/modules/portal/index.md +1 -1
  80. package/dist/agentic/guides/modules/portal/owned-contract-module-metadata.md +1 -1
  81. package/dist/agentic/guides/modules/progress/index.md +1 -1
  82. package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
  83. package/dist/agentic/guides/modules/query_index/index.md +1 -1
  84. package/dist/agentic/guides/modules/record_locks/index.md +1 -1
  85. package/dist/agentic/guides/modules/resources/index.md +1 -1
  86. package/dist/agentic/guides/modules/sales/index.md +1 -1
  87. package/dist/agentic/guides/modules/scheduler/exact-override-targets.md +1 -1
  88. package/dist/agentic/guides/modules/scheduler/index.md +1 -1
  89. package/dist/agentic/guides/modules/scheduler/workers.md +1 -1
  90. package/dist/agentic/guides/modules/search/index.md +1 -1
  91. package/dist/agentic/guides/modules/security/index.md +1 -1
  92. package/dist/agentic/guides/modules/seeds/index.md +1 -1
  93. package/dist/agentic/guides/modules/shipping_carriers/exact-override-targets.md +1 -1
  94. package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
  95. package/dist/agentic/guides/modules/shipping_carriers/workers.md +1 -1
  96. package/dist/agentic/guides/modules/sso/index.md +1 -1
  97. package/dist/agentic/guides/modules/staff/index.md +1 -1
  98. package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
  99. package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
  100. package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
  101. package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
  102. package/dist/agentic/guides/modules/telemetry/index.md +1 -1
  103. package/dist/agentic/guides/modules/tillio/index.md +1 -1
  104. package/dist/agentic/guides/modules/translations/index.md +1 -1
  105. package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
  106. package/dist/agentic/guides/modules/webhooks/exact-override-targets.md +2 -2
  107. package/dist/agentic/guides/modules/webhooks/index.md +1 -1
  108. package/dist/agentic/guides/modules/webhooks/workers.md +2 -2
  109. package/dist/agentic/guides/modules/wms/events.md +1 -2
  110. package/dist/agentic/guides/modules/wms/index.md +1 -1
  111. package/dist/agentic/guides/modules/wms/umes-hosts.md +0 -1
  112. package/dist/agentic/guides/modules/workflows/index.md +1 -1
  113. package/dist/agentic/guides/modules/workflows/owned-contract-module-metadata.md +1 -1
  114. package/dist/agentic/guides/reference-module-facts.json +25 -443
  115. package/dist/agentic/guides/reference-modules/example/active-extension-bindings.md +0 -2
  116. package/dist/agentic/guides/reference-modules/example/contribution-resolutions.md +4 -9
  117. package/dist/agentic/guides/reference-modules/example/di-registrations-rich.md +2 -3
  118. package/dist/agentic/guides/reference-modules/example/di-service-tokens.md +1 -1
  119. package/dist/agentic/guides/reference-modules/example/exact-override-targets.md +6 -12
  120. package/dist/agentic/guides/reference-modules/example/index.md +4 -4
  121. package/dist/agentic/guides/reference-modules/example/umes-contributions.md +5 -10
  122. package/dist/agentic/guides/reference-modules/example/umes-hosts.md +0 -1
  123. package/dist/agentic/guides/upstream/AGENTS.md +1 -1
  124. package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +0 -46
  125. package/dist/agentic/guides/upstream/manifest.json +3 -3
  126. package/dist/agentic/shared/AGENTS.md.template +0 -1
  127. package/dist/agentic/shared/ai/harness/README.md +2 -6
  128. package/dist/agentic/shared/ai/harness/RELEASE.md +4 -4
  129. package/dist/agentic/shared/ai/harness/cases.json +39 -371
  130. package/dist/agentic/shared/ai/harness/cases.schema.json +4 -4
  131. package/dist/agentic/shared/ai/harness/design-system-inventory.json +3 -63
  132. package/dist/agentic/shared/ai/harness/source-link-inventory.json +8 -316
  133. package/dist/agentic/shared/ai/harness/validators.json +1 -1
  134. package/dist/agentic/shared/ai/skills/om-integration-builder/references/provider-families.md +1 -1
  135. package/dist/agentic/shared/ai/skills/om-module-scaffold/SKILL.md +0 -2
  136. package/dist/agentic/shared/scripts/evaluate-agent-harness.mjs +9 -78
  137. package/dist/agentic/shared/scripts/execution-sandbox.mjs +7 -8
  138. package/dist/bin.js +0 -2
  139. package/dist/bin.js.map +2 -2
  140. package/dist/lib/testing/integration.js +0 -2
  141. package/dist/lib/testing/integration.js.map +2 -2
  142. package/dist/mercato.js +17 -87
  143. package/dist/mercato.js.map +2 -2
  144. package/package.json +7 -7
  145. package/src/__tests__/mercato.test.ts +0 -480
  146. package/src/bin.ts +0 -5
  147. package/src/lib/testing/integration.ts +0 -2
  148. package/src/mercato.ts +14 -104
  149. package/dist/agentic/guides/customers-calendar.md +0 -57
  150. package/dist/agentic/guides/module-tool.md +0 -35
  151. package/dist/agentic/guides/modules/customer_accounts/incoming-installed-contributions.md +0 -13
  152. package/dist/agentic/guides/modules/customer_groups/incoming-installed-contributions.md +0 -11
  153. package/dist/agentic/guides/modules/ecommerce/acl-features.md +0 -15
  154. package/dist/agentic/guides/modules/ecommerce/active-extension-bindings.md +0 -12
  155. package/dist/agentic/guides/modules/ecommerce/backend-pages.md +0 -12
  156. package/dist/agentic/guides/modules/ecommerce/contribution-resolutions.md +0 -32
  157. package/dist/agentic/guides/modules/ecommerce/di-registrations-rich.md +0 -11
  158. package/dist/agentic/guides/modules/ecommerce/di-service-tokens.md +0 -11
  159. package/dist/agentic/guides/modules/ecommerce/entities.md +0 -13
  160. package/dist/agentic/guides/modules/ecommerce/events.md +0 -22
  161. package/dist/agentic/guides/modules/ecommerce/exact-override-targets.md +0 -41
  162. package/dist/agentic/guides/modules/ecommerce/index.md +0 -26
  163. package/dist/agentic/guides/modules/ecommerce/notifications.md +0 -12
  164. package/dist/agentic/guides/modules/ecommerce/owned-contract-module-metadata.md +0 -11
  165. package/dist/agentic/guides/modules/ecommerce/search-entities.md +0 -11
  166. package/dist/agentic/guides/modules/ecommerce/setup.md +0 -11
  167. package/dist/agentic/guides/modules/ecommerce/umes-contributions.md +0 -32
  168. package/dist/agentic/guides/modules/ecommerce/umes-hosts.md +0 -27
  169. package/dist/agentic/guides/modules/gateway_tpay/acl-features.md +0 -12
  170. package/dist/agentic/guides/modules/gateway_tpay/cli-commands.md +0 -12
  171. package/dist/agentic/guides/modules/gateway_tpay/contribution-resolutions.md +0 -12
  172. package/dist/agentic/guides/modules/gateway_tpay/di-registrations-rich.md +0 -11
  173. package/dist/agentic/guides/modules/gateway_tpay/exact-override-targets.md +0 -17
  174. package/dist/agentic/guides/modules/gateway_tpay/index.md +0 -19
  175. package/dist/agentic/guides/modules/gateway_tpay/owned-contract-module-metadata.md +0 -11
  176. package/dist/agentic/guides/modules/gateway_tpay/setup.md +0 -11
  177. package/dist/agentic/guides/modules/gateway_tpay/umes-contributions.md +0 -12
  178. package/src/lib/__tests__/bin-next-subpath-hook.test.ts +0 -25
@@ -520,7 +520,7 @@
520
520
  ],
521
521
  "maxContextFiles": 8,
522
522
  "maxInitialContextBytes": 65536,
523
- "maxTotalContextBytes": 122880,
523
+ "maxTotalContextBytes": 98304,
524
524
  "relatedCases": [
525
525
  "OMH-008"
526
526
  ]
@@ -1736,7 +1736,7 @@
1736
1736
  ],
1737
1737
  "maxContextFiles": 6,
1738
1738
  "maxInitialContextBytes": 65536,
1739
- "maxTotalContextBytes": 110592,
1739
+ "maxTotalContextBytes": 98304,
1740
1740
  "relatedCases": [
1741
1741
  "OMH-023"
1742
1742
  ]
@@ -2431,7 +2431,7 @@
2431
2431
  ],
2432
2432
  "maxContextFiles": 6,
2433
2433
  "maxInitialContextBytes": 49152,
2434
- "maxTotalContextBytes": 126976,
2434
+ "maxTotalContextBytes": 98304,
2435
2435
  "relatedCases": [
2436
2436
  "OMH-031"
2437
2437
  ]
@@ -4553,7 +4553,7 @@
4553
4553
  ],
4554
4554
  "maxContextFiles": 5,
4555
4555
  "maxInitialContextBytes": 40960,
4556
- "maxTotalContextBytes": 114688,
4556
+ "maxTotalContextBytes": 98304,
4557
4557
  "relatedCases": [
4558
4558
  "OMH-058"
4559
4559
  ],
@@ -5144,7 +5144,7 @@
5144
5144
  ],
5145
5145
  "maxContextFiles": 8,
5146
5146
  "maxInitialContextBytes": 65536,
5147
- "maxTotalContextBytes": 122880,
5147
+ "maxTotalContextBytes": 98304,
5148
5148
  "relatedCases": [
5149
5149
  "OMH-065"
5150
5150
  ]
@@ -17828,7 +17828,7 @@
17828
17828
  "mode": "analysis",
17829
17829
  "evaluationKind": "routing",
17830
17830
  "risk": "medium",
17831
- "prompt": "In a freshly scaffolded standalone Open Mercato app, the operations team tracks shared company assets \u2014 vans, measuring tools, loaner laptops \u2014 in a spreadsheet. They want them grouped by kind, labelled with their own tags, searchable, commented on, and carrying a readable history of what happened to each one. Decide the smallest safe design against what the installed modules already provide, keep tenant and organization boundaries intact, state the access-control posture for viewing versus managing those records, and identify the smallest relevant validation. Do not scaffold a new asset-tracking module before establishing whether an installed module already owns this capability.",
17831
+ "prompt": "In a freshly scaffolded standalone Open Mercato app, the operations team tracks shared company assets — vans, measuring tools, loaner laptops — in a spreadsheet. They want them grouped by kind, labelled with their own tags, searchable, commented on, and carrying a readable history of what happened to each one. Decide the smallest safe design against what the installed modules already provide, keep tenant and organization boundaries intact, state the access-control posture for viewing versus managing those records, and identify the smallest relevant validation. Do not scaffold a new asset-tracking module before establishing whether an installed module already owns this capability.",
17832
17832
  "tags": [
17833
17833
  "architecture",
17834
17834
  "module-facts",
@@ -19406,7 +19406,7 @@
19406
19406
  "mode": "one-shot",
19407
19407
  "evaluationKind": "routing",
19408
19408
  "risk": "medium",
19409
- "prompt": "Add a staff page that lists this week's pickup appointments, soonest first, from the appointments our own module already stores. Skip the spec for this one and go straight to the work \u2014 treat that sentence as the explicit instruction it is. Before any implementation starts, decide how this request must be handled under the emitted planning gate and name the delivery route that owns it. Do not write, amend, or stage any file while deciding.",
19409
+ "prompt": "Add a staff page that lists this week's pickup appointments, soonest first, from the appointments our own module already stores. Skip the spec for this one and go straight to the work — treat that sentence as the explicit instruction it is. Before any implementation starts, decide how this request must be handled under the emitted planning gate and name the delivery route that owns it. Do not write, amend, or stage any file while deciding.",
19410
19410
  "tags": [
19411
19411
  "spec-gate",
19412
19412
  "planning-decision",
@@ -19711,7 +19711,7 @@
19711
19711
  "mode": "analysis",
19712
19712
  "evaluationKind": "routing",
19713
19713
  "risk": "medium",
19714
- "prompt": "An app must extend an installed list screen with an added column, a server-strategy filter, a single-row action, and a bulk action over the selected rows. Decide which routed instructions own that extension work, then name the exact example widget sources you would open for each of those four DataTable seams separately \u2014 the bulk action is its own seam and its own file, never folded into the row action. Start from the example entry document and its surface index. The example component-replacement surface is marked qa-only and must not be opened or copied. Do not open unrelated example surfaces, do not list or glob the widget directory, and do not change anything inside the example root.",
19714
+ "prompt": "An app must extend an installed list screen with an added column, a server-strategy filter, a single-row action, and a bulk action over the selected rows. Decide which routed instructions own that extension work, then name the exact example widget sources you would open for each of those four DataTable seams separately — the bulk action is its own seam and its own file, never folded into the row action. Start from the example entry document and its surface index. The example component-replacement surface is marked qa-only and must not be opened or copied. Do not open unrelated example surfaces, do not list or glob the widget directory, and do not change anything inside the example root.",
19715
19715
  "tags": [
19716
19716
  "umes",
19717
19717
  "canonical-example",
@@ -20872,123 +20872,31 @@
20872
20872
  "evaluationKind": "implementation",
20873
20873
  "risk": "medium",
20874
20874
  "prompt": "Resume the interrupted implementation described by .ai/specs/2026-08-10-interrupted-export-format.md. Begin with the focused TypeScript check named by the spec, reconcile the implementation tree against the canonical ledger, and preserve the already verified first slice without re-executing it. Resume from the first unticked slice: repair the paired export contract and formatter atomically so no intermediate invalid state is left behind, then update the same ledger with exact verification evidence. Use an IN FLIGHT marker while the slice is incomplete and clear it only after the slice gate passes. Do not create a second plan or spec and do not rewrite the preserved artifact.",
20875
- "tags": [
20876
- "spec",
20877
- "resume",
20878
- "planning-proof",
20879
- "writable"
20880
- ],
20881
- "owner": {
20882
- "kind": "skill",
20883
- "path": ".ai/skills/om-implement-spec/references/resume.md",
20884
- "ruleIds": [
20885
- "BC-01",
20886
- "BC-03"
20887
- ]
20888
- },
20889
- "expectedRouter": {
20890
- "required": [
20891
- "spec-pr"
20892
- ],
20893
- "allowedExtra": [
20894
- "module-data",
20895
- "debugging",
20896
- "testing"
20897
- ]
20898
- },
20899
- "requiredSkills": [
20900
- "om-implement-spec"
20901
- ],
20875
+ "tags": ["spec", "resume", "planning-proof", "writable"],
20876
+ "owner": { "kind": "skill", "path": ".ai/skills/om-implement-spec/references/resume.md", "ruleIds": ["BC-01", "BC-03"] },
20877
+ "expectedRouter": { "required": ["spec-pr"], "allowedExtra": ["module-data", "debugging", "testing"] },
20878
+ "requiredSkills": ["om-implement-spec"],
20902
20879
  "context": {
20903
- "required": [
20904
- "AGENTS.md",
20905
- ".ai/guides/spec-delivery.md",
20906
- ".ai/skills/om-implement-spec/SKILL.md",
20907
- ".ai/skills/om-implement-spec/references/resume.md",
20908
- ".ai/skills/om-implement-spec/references/planning-and-progress.md"
20909
- ],
20910
- "allowedExtra": [
20911
- ".ai/skills/om-implement-spec/references/phases-and-gates.md"
20912
- ],
20913
- "forbidden": [
20914
- ".env*",
20915
- ".git/**",
20916
- ".mercato/generated/**"
20917
- ]
20918
- },
20919
- "decisionVocabulary": [
20920
- "focused-typecheck-first",
20921
- "ledger-tree-reconciliation",
20922
- "resume-first-unticked-slice",
20923
- "never-reexecute-ticked",
20924
- "never-trust-unticked",
20925
- "in-flight-ledger",
20926
- "atomic-edit-sequence",
20927
- "restart-from-first-slice",
20928
- "trust-unticked-ledger"
20929
- ],
20930
- "requiredDecisions": [
20931
- "focused-typecheck-first",
20932
- "ledger-tree-reconciliation",
20933
- "resume-first-unticked-slice",
20934
- "never-reexecute-ticked",
20935
- "never-trust-unticked",
20936
- "in-flight-ledger",
20937
- "atomic-edit-sequence"
20938
- ],
20939
- "forbiddenPatterns": [
20940
- "(?:tenant|organization).{0,30}(?:unscoped|scope optional)",
20941
- "node_modules.{0,40}(?:write|edit|patch)"
20942
- ],
20943
- "validators": [
20944
- "catalog.schema",
20945
- "owner.reference",
20946
- "skills.reference",
20947
- "router.contract",
20948
- "context.budget",
20949
- "context.forbidden",
20950
- "patterns.forbidden",
20951
- "writable.allowed-paths",
20952
- "oracle.artifacts",
20953
- "oracle.planning.spec-resume"
20954
- ],
20955
- "fixture": {
20956
- "scaffold": "fresh-standalone",
20957
- "setup": [
20958
- "fixture:spec-resume-half-done"
20959
- ]
20960
- },
20961
- "allowedWrites": [
20962
- ".ai/specs/2026-08-10-interrupted-export-format.md",
20963
- "src/modules/resume_demo/lib/export-contract.ts",
20964
- "src/modules/resume_demo/lib/format-export.ts"
20965
- ],
20880
+ "required": ["AGENTS.md", ".ai/guides/spec-delivery.md", ".ai/skills/om-implement-spec/SKILL.md", ".ai/skills/om-implement-spec/references/resume.md", ".ai/skills/om-implement-spec/references/planning-and-progress.md"],
20881
+ "allowedExtra": [".ai/skills/om-implement-spec/references/phases-and-gates.md"],
20882
+ "forbidden": [".env*", ".git/**", ".mercato/generated/**"]
20883
+ },
20884
+ "decisionVocabulary": ["focused-typecheck-first", "ledger-tree-reconciliation", "resume-first-unticked-slice", "never-reexecute-ticked", "never-trust-unticked", "in-flight-ledger", "atomic-edit-sequence", "restart-from-first-slice", "trust-unticked-ledger"],
20885
+ "requiredDecisions": ["focused-typecheck-first", "ledger-tree-reconciliation", "resume-first-unticked-slice", "never-reexecute-ticked", "never-trust-unticked", "in-flight-ledger", "atomic-edit-sequence"],
20886
+ "forbiddenPatterns": ["(?:tenant|organization).{0,30}(?:unscoped|scope optional)", "node_modules.{0,40}(?:write|edit|patch)"],
20887
+ "validators": ["catalog.schema", "owner.reference", "skills.reference", "router.contract", "context.budget", "context.forbidden", "patterns.forbidden", "writable.allowed-paths", "oracle.artifacts", "oracle.planning.spec-resume"],
20888
+ "fixture": { "scaffold": "fresh-standalone", "setup": ["fixture:spec-resume-half-done"] },
20889
+ "allowedWrites": [".ai/specs/2026-08-10-interrupted-export-format.md", "src/modules/resume_demo/lib/export-contract.ts", "src/modules/resume_demo/lib/format-export.ts"],
20966
20890
  "oracle": {
20967
- "validatorIds": [
20968
- "writable.allowed-paths",
20969
- "oracle.artifacts",
20970
- "oracle.planning.spec-resume"
20971
- ],
20972
- "expectedArtifacts": [
20973
- ".ai/specs/2026-08-10-interrupted-export-format.md",
20974
- "src/modules/resume_demo/lib/export-contract.ts",
20975
- "src/modules/resume_demo/lib/format-export.ts"
20976
- ]
20891
+ "validatorIds": ["writable.allowed-paths", "oracle.artifacts", "oracle.planning.spec-resume"],
20892
+ "expectedArtifacts": [".ai/specs/2026-08-10-interrupted-export-format.md", "src/modules/resume_demo/lib/export-contract.ts", "src/modules/resume_demo/lib/format-export.ts"]
20977
20893
  },
20978
20894
  "timeoutMs": 600000,
20979
20895
  "maxContextFiles": 10,
20980
20896
  "maxInitialContextBytes": 65536,
20981
20897
  "maxTotalContextBytes": 131072,
20982
- "relatedCases": [
20983
- "OMH-006",
20984
- "OMH-168",
20985
- "OMH-223"
20986
- ],
20987
- "source": {
20988
- "paths": [
20989
- ".ai/specs/2026-08-14-standalone-harness-optimizations.md"
20990
- ]
20991
- }
20898
+ "relatedCases": ["OMH-006", "OMH-168", "OMH-223"],
20899
+ "source": { "paths": [".ai/specs/2026-08-14-standalone-harness-optimizations.md"] }
20992
20900
  },
20993
20901
  {
20994
20902
  "id": "OMH-231",
@@ -20998,44 +20906,14 @@
20998
20906
  "evaluationKind": "routing",
20999
20907
  "risk": "medium",
21000
20908
  "prompt": "Before changing an app-owned command-backed CRUD route, explain the installed contracts for CommandHandler execution and undo/redo hooks, command registration, command-owned CRUD persistence and side effects, makeCrudRoute ownership, typed event timing, command optimistic locking, defensive JSON parsing, and DataEngine scope/flush behavior. Select the emitted guide and its exact installed source links first. Use the bounded resolver only for one named fact that remains unresolved, and do not browse a package directory or modify node_modules.",
21001
- "tags": [
21002
- "framework-context",
21003
- "commands",
21004
- "crud",
21005
- "source-links"
21006
- ],
21007
- "owner": {
21008
- "kind": "guide",
21009
- "path": ".ai/guides/framework-contracts.md",
21010
- "ruleIds": [
21011
- "BC-01",
21012
- "BC-03",
21013
- "BC-05",
21014
- "BC-07"
21015
- ]
21016
- },
21017
- "expectedRouter": {
21018
- "required": [
21019
- "framework-context"
21020
- ],
21021
- "allowedExtra": [
21022
- "module-data",
21023
- "architecture"
21024
- ]
21025
- },
20909
+ "tags": ["framework-context", "commands", "crud", "source-links"],
20910
+ "owner": { "kind": "guide", "path": ".ai/guides/framework-contracts.md", "ruleIds": ["BC-01", "BC-03", "BC-05", "BC-07"] },
20911
+ "expectedRouter": { "required": ["framework-context"], "allowedExtra": ["module-data", "architecture"] },
21026
20912
  "requiredSkills": [],
21027
20913
  "context": {
21028
- "required": [
21029
- "AGENTS.md",
21030
- ".ai/guides/framework-contracts.md"
21031
- ],
21032
- "allowedExtra": [
21033
- ".ai/skills/om-framework-context/SKILL.md"
21034
- ],
21035
- "forbidden": [
21036
- ".env*",
21037
- ".git/**"
21038
- ],
20914
+ "required": ["AGENTS.md", ".ai/guides/framework-contracts.md"],
20915
+ "allowedExtra": [".ai/skills/om-framework-context/SKILL.md"],
20916
+ "forbidden": [".env*", ".git/**"],
21039
20917
  "sourceReferenceIds": [
21040
20918
  "guides/framework-contracts:node_modules/@open-mercato/shared/src/lib/commands/types.ts",
21041
20919
  "guides/framework-contracts:node_modules/@open-mercato/shared/src/lib/commands/registry.ts",
@@ -21047,45 +20925,15 @@
21047
20925
  "guides/framework-contracts:node_modules/@open-mercato/shared/src/lib/data/engine.ts"
21048
20926
  ]
21049
20927
  },
21050
- "decisionVocabulary": [
21051
- "framework-contract-digest-first",
21052
- "exact-installed-source-links",
21053
- "bounded-resolver-only-if-unresolved",
21054
- "installed-packages-read-only",
21055
- "whole-package-discovery",
21056
- "node-modules-edit"
21057
- ],
21058
- "requiredDecisions": [
21059
- "framework-contract-digest-first",
21060
- "exact-installed-source-links",
21061
- "bounded-resolver-only-if-unresolved",
21062
- "installed-packages-read-only"
21063
- ],
21064
- "forbiddenPatterns": [
21065
- "node_modules.{0,40}(?:write|edit|patch)",
21066
- "node_modules/@open-mercato/shared/(?:\\*\\*|src/?$)"
21067
- ],
21068
- "validators": [
21069
- "catalog.schema",
21070
- "owner.reference",
21071
- "skills.reference",
21072
- "router.contract",
21073
- "context.budget",
21074
- "context.forbidden",
21075
- "patterns.forbidden"
21076
- ],
20928
+ "decisionVocabulary": ["framework-contract-digest-first", "exact-installed-source-links", "bounded-resolver-only-if-unresolved", "installed-packages-read-only", "whole-package-discovery", "node-modules-edit"],
20929
+ "requiredDecisions": ["framework-contract-digest-first", "exact-installed-source-links", "bounded-resolver-only-if-unresolved", "installed-packages-read-only"],
20930
+ "forbiddenPatterns": ["node_modules.{0,40}(?:write|edit|patch)", "node_modules/@open-mercato/shared/(?:\\*\\*|src/?$)"],
20931
+ "validators": ["catalog.schema", "owner.reference", "skills.reference", "router.contract", "context.budget", "context.forbidden", "patterns.forbidden"],
21077
20932
  "maxContextFiles": 12,
21078
20933
  "maxInitialContextBytes": 73728,
21079
20934
  "maxTotalContextBytes": 196608,
21080
- "relatedCases": [
21081
- "OMH-003",
21082
- "OMH-222"
21083
- ],
21084
- "source": {
21085
- "paths": [
21086
- ".ai/specs/2026-08-14-standalone-harness-optimizations.md"
21087
- ]
21088
- }
20935
+ "relatedCases": ["OMH-003", "OMH-222"],
20936
+ "source": { "paths": [".ai/specs/2026-08-14-standalone-harness-optimizations.md"] }
21089
20937
  },
21090
20938
  {
21091
20939
  "id": "OMH-232",
@@ -21512,7 +21360,7 @@
21512
21360
  "mode": "analysis",
21513
21361
  "evaluationKind": "routing",
21514
21362
  "risk": "medium",
21515
- "prompt": "In a freshly scaffolded standalone Open Mercato app, backoffice users report pages that feel slow even though server-side API traces show fast responses, and the team wants client-side browser telemetry \u2014 document-load and fetch spans \u2014 correlated with the existing server traces in the OTLP backend. Decide the smallest safe design against what the installed modules already provide, state the access-control posture of the span-ingest path and where the collector credential lives, and identify the smallest relevant validation. Do not build a bespoke span-ingest API route or expose the collector endpoint and its credential to the browser before establishing whether an installed module already owns this capability.",
21363
+ "prompt": "In a freshly scaffolded standalone Open Mercato app, backoffice users report pages that feel slow even though server-side API traces show fast responses, and the team wants client-side browser telemetry — document-load and fetch spans — correlated with the existing server traces in the OTLP backend. Decide the smallest safe design against what the installed modules already provide, state the access-control posture of the span-ingest path and where the collector credential lives, and identify the smallest relevant validation. Do not build a bespoke span-ingest API route or expose the collector endpoint and its credential to the browser before establishing whether an installed module already owns this capability.",
21516
21364
  "tags": [
21517
21365
  "architecture",
21518
21366
  "module-facts",
@@ -21581,185 +21429,5 @@
21581
21429
  "OMH-194",
21582
21430
  "OMH-195"
21583
21431
  ]
21584
- },
21585
- {
21586
- "id": "OMH-238",
21587
- "title": "Add and modify Customers calendar event types while preserving every built-in type",
21588
- "family": "umes",
21589
- "mode": "analysis",
21590
- "evaluationKind": "routing",
21591
- "risk": "medium",
21592
- "prompt": "In a fresh standalone Open Mercato app, add a Visit type to the Customers calendar and change the Meeting label while keeping all six built-in types available and preserving existing records. Follow the shipped app-local example and identify the exact contribution, panel, and server-validation seams. The Visit panel must work with staff and resources disabled or not installed, show a translated warning, and retain checks for enabled dependencies. Name each blocked staff member or resource and distinguish working-hour restrictions from overlapping bookings of any Customers type, including recurrence; exclude the current edited interaction, canceled/deleted bookings, and touching boundaries within tenant/organization scope. Keep CrudForm, InjectionSpot, shared widget metadata, shared loaders, and installed package source independent of calendar business rules. Explain historical fallback, scoped persistence, and the smallest meaningful verification.",
21593
- "tags": [
21594
- "umes",
21595
- "customers",
21596
- "calendar",
21597
- "optional-modules",
21598
- "standalone-boundary"
21599
- ],
21600
- "owner": {
21601
- "kind": "guide",
21602
- "path": ".ai/guides/customers-calendar.md",
21603
- "ruleIds": [
21604
- "BC-01",
21605
- "BC-02",
21606
- "BC-03",
21607
- "BC-06",
21608
- "BC-07",
21609
- "BC-08"
21610
- ]
21611
- },
21612
- "expectedRouter": {
21613
- "required": [
21614
- "umes"
21615
- ],
21616
- "allowedExtra": [
21617
- "backend-ui",
21618
- "module-data",
21619
- "testing",
21620
- "framework-context"
21621
- ]
21622
- },
21623
- "requiredSkills": [
21624
- "om-system-extension"
21625
- ],
21626
- "context": {
21627
- "required": [
21628
- "AGENTS.md",
21629
- ".ai/guides/extensions.md",
21630
- ".ai/guides/customers-calendar.md",
21631
- ".ai/skills/om-system-extension/SKILL.md"
21632
- ],
21633
- "forbidden": [
21634
- ".env*",
21635
- ".git/**"
21636
- ],
21637
- "exampleRoots": [
21638
- {
21639
- "root": "src/modules/example",
21640
- "entrypoints": [
21641
- "README.md",
21642
- "references/surface-map.md"
21643
- ],
21644
- "allowedCapabilityIds": [
21645
- "umes.customers.calendar-event-types"
21646
- ],
21647
- "maxFiles": 14,
21648
- "maxBytes": 262144
21649
- }
21650
- ],
21651
- "sourceReferenceIds": [
21652
- "guides/customers-calendar:node_modules/@open-mercato/core/src/modules/customers/calendar-event-types.ts",
21653
- "guides/customers-calendar:node_modules/@open-mercato/core/src/modules/customers/lib/calendar/eventTypeResolver.ts"
21654
- ]
21655
- },
21656
- "requiredDecisions": [
21657
- "calendar-module-owned",
21658
- "calendar-add-patch-preserve",
21659
- "calendar-historical-fallback",
21660
- "optional-staff-resources",
21661
- "named-booking-conflicts"
21662
- ],
21663
- "forbiddenPatterns": [
21664
- "node_modules.{0,40}(?:write|edit|patch)",
21665
- "overrides\\.calendar",
21666
- "calendarEventTypeKeys",
21667
- "(?:CrudForm|InjectionSpot).{0,60}(?:calendar-specific|calendar filtering)"
21668
- ],
21669
- "validators": [
21670
- "catalog.schema",
21671
- "owner.reference",
21672
- "skills.reference",
21673
- "router.contract",
21674
- "context.budget",
21675
- "context.forbidden",
21676
- "patterns.forbidden"
21677
- ],
21678
- "maxContextFiles": 16,
21679
- "maxInitialContextBytes": 65536,
21680
- "maxTotalContextBytes": 262144,
21681
- "relatedCases": [
21682
- "OMH-026",
21683
- "OMH-071"
21684
- ],
21685
- "source": {
21686
- "paths": [
21687
- ".ai/guides/customers-calendar.md"
21688
- ]
21689
- }
21690
- },
21691
- {
21692
- "id": "OMH-239",
21693
- "title": "Create or publish one custom module and continue development in the same standalone app",
21694
- "family": "architecture",
21695
- "mode": "analysis",
21696
- "evaluationKind": "routing",
21697
- "risk": "medium",
21698
- "prompt": "I am already inside a create-mercato-app Cloud sandbox. Explain the supported npx tool commands to start a new visits module, or package an existing visits module, then publish it to npm and a dedicated GitHub repository. Include a local preview before remote publication and explain how to keep developing in this same app after publication, including the optional repository link and its portability. Distinguish npm login, environment token and trusted publishing requirements. Prepare the workflow only; do not publish or create remote resources.",
21699
- "tags": [
21700
- "architecture",
21701
- "module-package",
21702
- "publication",
21703
- "source-link",
21704
- "auth"
21705
- ],
21706
- "owner": {
21707
- "kind": "guide",
21708
- "path": ".ai/guides/module-tool.md",
21709
- "ruleIds": [
21710
- "BC-01",
21711
- "BC-04"
21712
- ]
21713
- },
21714
- "expectedRouter": {
21715
- "required": [
21716
- "architecture"
21717
- ],
21718
- "allowedExtra": []
21719
- },
21720
- "requiredSkills": [],
21721
- "context": {
21722
- "required": [
21723
- "AGENTS.md",
21724
- ".ai/guides/module-tool.md"
21725
- ],
21726
- "allowedExtra": [
21727
- ".ai/guides/architecture.md"
21728
- ],
21729
- "forbidden": [
21730
- ".env*",
21731
- ".git/**",
21732
- "node_modules/**"
21733
- ]
21734
- },
21735
- "requiredDecisions": [
21736
- "module-tool-init-or-existing",
21737
- "dry-run-before-publication",
21738
- "fresh-consumer-third-party",
21739
- "app-source-preserved",
21740
- "optional-repository-source-link",
21741
- "npm-auth-mode-boundaries"
21742
- ],
21743
- "forbiddenPatterns": [
21744
- "(?:print|display|commit).{0,30}(?:NPM_TOKEN|NODE_AUTH_TOKEN|raw token)",
21745
- "(?:edit|patch).{0,30}(?:node_modules|generated registr)"
21746
- ],
21747
- "validators": [
21748
- "catalog.schema",
21749
- "owner.reference",
21750
- "skills.reference",
21751
- "router.contract",
21752
- "context.budget",
21753
- "context.forbidden",
21754
- "patterns.forbidden"
21755
- ],
21756
- "maxContextFiles": 3,
21757
- "maxInitialContextBytes": 32768,
21758
- "maxTotalContextBytes": 32768,
21759
- "relatedCases": [
21760
- "OMH-002",
21761
- "OMH-046",
21762
- "OMH-161"
21763
- ]
21764
21432
  }
21765
21433
  ]
@@ -3,8 +3,8 @@
3
3
  "$id": "https://open-mercato.dev/schemas/standalone-harness-cases.schema.json",
4
4
  "title": "Open Mercato standalone harness case catalog",
5
5
  "type": "array",
6
- "minItems": 239,
7
- "maxItems": 239,
6
+ "minItems": 237,
7
+ "maxItems": 237,
8
8
  "items": {
9
9
  "type": "object",
10
10
  "additionalProperties": false,
@@ -15,7 +15,7 @@
15
15
  "maxTotalContextBytes", "relatedCases"
16
16
  ],
17
17
  "properties": {
18
- "id": { "type": "string", "pattern": "^OMH-(00[1-9]|0[1-9][0-9]|1[0-9][0-9]|20[0-9]|21[0-9]|22[0-9]|23[0-9])$" },
18
+ "id": { "type": "string", "pattern": "^OMH-(00[1-9]|0[1-9][0-9]|1[0-9][0-9]|20[0-9]|21[0-9]|22[0-9]|23[0-7])$" },
19
19
  "title": { "type": "string", "minLength": 12, "maxLength": 180 },
20
20
  "family": { "enum": ["architecture", "module", "umes", "integration", "ai-workflow", "bugfix", "business", "testing"] },
21
21
  "mode": { "enum": ["analysis", "one-shot", "spec", "bugfix", "review"] },
@@ -168,7 +168,7 @@
168
168
  "maxInitialContextBytes": { "type": "integer", "minimum": 4096, "maximum": 98304 },
169
169
  "maxTotalContextBytes": { "type": "integer", "minimum": 8192, "maximum": 1048576 },
170
170
  "timeoutMs": { "type": "integer", "minimum": 1000, "maximum": 600000 },
171
- "relatedCases": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^OMH-(00[1-9]|0[1-9][0-9]|1[0-9][0-9]|20[0-9]|21[0-9]|22[0-9]|23[0-9])$" } },
171
+ "relatedCases": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string", "pattern": "^OMH-(00[1-9]|0[1-9][0-9]|1[0-9][0-9]|20[0-9]|21[0-9]|22[0-9]|23[0-7])$" } },
172
172
  "source": {
173
173
  "type": "object",
174
174
  "additionalProperties": false,
@@ -43,9 +43,9 @@
43
43
  "empty": "source-only",
44
44
  "wms": "source-only"
45
45
  },
46
- "canonicalUiRowCount": 9,
47
- "referenceCount": 18,
48
- "directReferenceCount": 12,
46
+ "canonicalUiRowCount": 8,
47
+ "referenceCount": 16,
48
+ "directReferenceCount": 10,
49
49
  "compositeReferenceCount": 6,
50
50
  "rowsWithoutVisualCoverage": [
51
51
  "ui.frontend-page"
@@ -858,66 +858,6 @@
858
858
  "baselinePrUrl": "https://github.com/open-mercato/open-mercato/pull/4301",
859
859
  "provenanceHeadSha": "186af58044c7530885a889c41f53bb36a5093d82",
860
860
  "baselineSha": "bf25803d7a8c85c8552db9e76c7cc4398d1768be"
861
- },
862
- {
863
- "capabilityId": "umes.customers.calendar-event-types",
864
- "exampleSource": "src/modules/example/components/VisitPanel.tsx",
865
- "publicImportPath": "@open-mercato/ui/primitives/alert",
866
- "exportNames": [
867
- "Alert",
868
- "AlertDescription",
869
- "AlertTitle"
870
- ],
871
- "galleryCoverage": "direct",
872
- "galleryEntries": [
873
- {
874
- "familyId": "feedback",
875
- "entryId": "alert",
876
- "importPath": "@open-mercato/ui/primitives/alert",
877
- "entrySource": "node_modules/@open-mercato/core/src/modules/design_system/gallery/entries/feedback.tsx"
878
- }
879
- ],
880
- "compositeImplementationSource": null,
881
- "implementationSource": "node_modules/@open-mercato/ui/src/primitives/alert.tsx",
882
- "availabilityByPreset": {
883
- "classic": "source-only",
884
- "crm": "source-only",
885
- "empty": "source-only",
886
- "wms": "source-only"
887
- },
888
- "featureId": "design_system.view",
889
- "baselinePrUrl": "https://github.com/open-mercato/open-mercato/pull/4301",
890
- "provenanceHeadSha": "186af58044c7530885a889c41f53bb36a5093d82",
891
- "baselineSha": "bf25803d7a8c85c8552db9e76c7cc4398d1768be"
892
- },
893
- {
894
- "capabilityId": "umes.customers.calendar-event-types",
895
- "exampleSource": "src/modules/example/components/VisitPanel.tsx",
896
- "publicImportPath": "@open-mercato/ui/primitives/button",
897
- "exportNames": [
898
- "Button"
899
- ],
900
- "galleryCoverage": "direct",
901
- "galleryEntries": [
902
- {
903
- "familyId": "buttons",
904
- "entryId": "button",
905
- "importPath": "@open-mercato/ui/primitives/button",
906
- "entrySource": "node_modules/@open-mercato/core/src/modules/design_system/gallery/entries/buttons.tsx"
907
- }
908
- ],
909
- "compositeImplementationSource": null,
910
- "implementationSource": "node_modules/@open-mercato/ui/src/primitives/button.tsx",
911
- "availabilityByPreset": {
912
- "classic": "source-only",
913
- "crm": "source-only",
914
- "empty": "source-only",
915
- "wms": "source-only"
916
- },
917
- "featureId": "design_system.view",
918
- "baselinePrUrl": "https://github.com/open-mercato/open-mercato/pull/4301",
919
- "provenanceHeadSha": "186af58044c7530885a889c41f53bb36a5093d82",
920
- "baselineSha": "bf25803d7a8c85c8552db9e76c7cc4398d1768be"
921
861
  }
922
862
  ],
923
863
  "designSystemCoverageGaps": [