@open-mercato/cli 0.11.1-develop.8784.1.e9d95a72f5 → 0.11.1-develop.8843.1.b02f9b125d
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.
- package/.turbo/turbo-build.log +8 -2
- package/AGENTS.md +2 -0
- package/dist/agentic/guides/architecture.md +1 -0
- package/dist/agentic/guides/module-facts.json +2453 -1146
- package/dist/agentic/guides/module-facts.v2.json +2453 -1146
- package/dist/agentic/guides/modules/agent_orchestrator/index.md +1 -1
- package/dist/agentic/guides/modules/ai_assistant/index.md +1 -1
- package/dist/agentic/guides/modules/ai_assistant/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/api_docs/index.md +1 -1
- package/dist/agentic/guides/modules/api_keys/index.md +1 -1
- package/dist/agentic/guides/modules/assisted_selling/index.md +1 -1
- package/dist/agentic/guides/modules/attachments/index.md +1 -1
- package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
- package/dist/agentic/guides/modules/auth/index.md +1 -1
- package/dist/agentic/guides/modules/auth/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/availability/index.md +1 -1
- package/dist/agentic/guides/modules/backups/index.md +1 -1
- package/dist/agentic/guides/modules/business_rules/index.md +1 -1
- package/dist/agentic/guides/modules/carrier_inpost/index.md +1 -1
- package/dist/agentic/guides/modules/cart/index.md +1 -1
- package/dist/agentic/guides/modules/cart/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/catalog/di-registrations-rich.md +11 -8
- package/dist/agentic/guides/modules/catalog/di-service-tokens.md +5 -5
- package/dist/agentic/guides/modules/catalog/exact-override-targets.md +11 -8
- package/dist/agentic/guides/modules/catalog/index.md +2 -2
- package/dist/agentic/guides/modules/catalog/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/channel_apns/index.md +1 -1
- package/dist/agentic/guides/modules/channel_discord/index.md +1 -1
- package/dist/agentic/guides/modules/channel_expo/index.md +1 -1
- package/dist/agentic/guides/modules/channel_fcm/index.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail/index.md +1 -1
- package/dist/agentic/guides/modules/channel_gmail/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/channel_imap/index.md +1 -1
- package/dist/agentic/guides/modules/channel_imap/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/channel_resend/index.md +1 -1
- package/dist/agentic/guides/modules/channel_ses/index.md +1 -1
- package/dist/agentic/guides/modules/channel_smtp/index.md +1 -1
- package/dist/agentic/guides/modules/checkout/index.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/exact-override-targets.md +2 -2
- package/dist/agentic/guides/modules/communication_channels/index.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/communication_channels/workers.md +2 -2
- package/dist/agentic/guides/modules/configs/acl-features.md +2 -1
- package/dist/agentic/guides/modules/configs/backend-pages.md +1 -0
- package/dist/agentic/guides/modules/configs/entities.md +0 -1
- package/dist/agentic/guides/modules/configs/exact-override-targets.md +2 -0
- package/dist/agentic/guides/modules/configs/host-extension-points.md +10 -0
- package/dist/agentic/guides/modules/configs/index.md +5 -3
- package/dist/agentic/guides/modules/configs/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/configs/setup.md +1 -1
- package/dist/agentic/guides/modules/configs/umes-diagnostics.md +9 -0
- package/dist/agentic/guides/modules/configs/umes-hosts.md +9 -1
- package/dist/agentic/guides/modules/content/index.md +1 -1
- package/dist/agentic/guides/modules/currencies/index.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
- package/dist/agentic/guides/modules/customer_groups/index.md +1 -1
- package/dist/agentic/guides/modules/customers/acl-features.md +2 -1
- package/dist/agentic/guides/modules/customers/active-extension-bindings.md +2 -0
- package/dist/agentic/guides/modules/customers/contribution-resolutions.md +2 -0
- package/dist/agentic/guides/modules/customers/di-registrations-rich.md +8 -5
- package/dist/agentic/guides/modules/customers/domain-commands.md +1 -1
- package/dist/agentic/guides/modules/customers/exact-override-targets.md +11 -5
- package/dist/agentic/guides/modules/customers/index.md +5 -5
- package/dist/agentic/guides/modules/customers/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/customers/umes-contributions.md +2 -0
- package/dist/agentic/guides/modules/dashboards/active-extension-bindings.md +0 -10
- package/dist/agentic/guides/modules/dashboards/contribution-resolutions.md +0 -10
- package/dist/agentic/guides/modules/dashboards/exact-override-targets.md +0 -10
- package/dist/agentic/guides/modules/dashboards/index.md +5 -5
- package/dist/agentic/guides/modules/dashboards/umes-contributions.md +0 -10
- package/dist/agentic/guides/modules/data_sync/index.md +1 -1
- package/dist/agentic/guides/modules/design_system/index.md +1 -1
- package/dist/agentic/guides/modules/devices/index.md +1 -1
- package/dist/agentic/guides/modules/devices/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
- package/dist/agentic/guides/modules/directory/index.md +1 -1
- package/dist/agentic/guides/modules/documents/index.md +1 -1
- package/dist/agentic/guides/modules/ecommerce/index.md +1 -1
- package/dist/agentic/guides/modules/ecommerce/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/entities/index.md +1 -1
- package/dist/agentic/guides/modules/entities/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/eudr/index.md +1 -1
- package/dist/agentic/guides/modules/events/index.md +1 -1
- package/dist/agentic/guides/modules/events/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/feature_toggles/index.md +1 -1
- package/dist/agentic/guides/modules/forms/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_autopay/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_stripe/index.md +1 -1
- package/dist/agentic/guides/modules/gateway_tpay/index.md +1 -1
- package/dist/agentic/guides/modules/generators/index.md +1 -1
- package/dist/agentic/guides/modules/inbox_ops/index.md +1 -1
- package/dist/agentic/guides/modules/integrations/index.md +1 -1
- package/dist/agentic/guides/modules/integrations/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/ledger/index.md +1 -1
- package/dist/agentic/guides/modules/maintenance/contribution-resolutions.md +11 -0
- package/dist/agentic/guides/modules/maintenance/events.md +14 -0
- package/dist/agentic/guides/modules/maintenance/exact-override-targets.md +11 -0
- package/dist/agentic/guides/modules/maintenance/index.md +17 -0
- package/dist/agentic/guides/modules/maintenance/owned-contract-module-metadata.md +11 -0
- package/dist/agentic/guides/modules/maintenance/umes-contributions.md +11 -0
- package/dist/agentic/guides/modules/maintenance/umes-hosts.md +14 -0
- package/dist/agentic/guides/modules/messages/index.md +1 -1
- package/dist/agentic/guides/modules/notifications/index.md +1 -1
- package/dist/agentic/guides/modules/onboarding/index.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways/exact-override-targets.md +3 -3
- package/dist/agentic/guides/modules/payment_gateways/index.md +1 -1
- package/dist/agentic/guides/modules/payment_gateways/setup.md +1 -1
- package/dist/agentic/guides/modules/perspectives/index.md +1 -1
- package/dist/agentic/guides/modules/phone_calls/index.md +1 -1
- package/dist/agentic/guides/modules/phone_calls/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/planner/index.md +1 -1
- package/dist/agentic/guides/modules/portal/index.md +1 -1
- package/dist/agentic/guides/modules/progress/index.md +1 -1
- package/dist/agentic/guides/modules/promotions/index.md +1 -1
- package/dist/agentic/guides/modules/push_notifications/index.md +1 -1
- package/dist/agentic/guides/modules/query_index/index.md +1 -1
- package/dist/agentic/guides/modules/record_locks/index.md +1 -1
- package/dist/agentic/guides/modules/resources/index.md +1 -1
- package/dist/agentic/guides/modules/sales/active-extension-bindings.md +8 -0
- package/dist/agentic/guides/modules/sales/contribution-resolutions.md +8 -0
- package/dist/agentic/guides/modules/sales/di-registrations-rich.md +31 -30
- package/dist/agentic/guides/modules/sales/di-service-tokens.md +5 -5
- package/dist/agentic/guides/modules/sales/exact-override-targets.md +39 -30
- package/dist/agentic/guides/modules/sales/index.md +5 -5
- package/dist/agentic/guides/modules/sales/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/sales/umes-contributions.md +8 -0
- package/dist/agentic/guides/modules/scheduler/index.md +1 -1
- package/dist/agentic/guides/modules/search/index.md +1 -1
- package/dist/agentic/guides/modules/search/owned-contract-module-metadata.md +1 -1
- package/dist/agentic/guides/modules/security/index.md +1 -1
- package/dist/agentic/guides/modules/seeds/index.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/shipping_carriers/index.md +1 -1
- package/dist/agentic/guides/modules/sso/index.md +1 -1
- package/dist/agentic/guides/modules/staff/active-extension-bindings.md +2 -1
- package/dist/agentic/guides/modules/staff/contribution-resolutions.md +1 -0
- package/dist/agentic/guides/modules/staff/exact-override-targets.md +1 -0
- package/dist/agentic/guides/modules/staff/index.md +8 -8
- package/dist/agentic/guides/modules/staff/umes-contributions.md +1 -0
- package/dist/agentic/guides/modules/storage_s3/index.md +1 -1
- package/dist/agentic/guides/modules/sync_akeneo/index.md +1 -1
- package/dist/agentic/guides/modules/sync_excel/index.md +1 -1
- package/dist/agentic/guides/modules/system_status_overlays/index.md +1 -1
- package/dist/agentic/guides/modules/telemetry/index.md +1 -1
- package/dist/agentic/guides/modules/tillio/index.md +1 -1
- package/dist/agentic/guides/modules/translations/index.md +1 -1
- package/dist/agentic/guides/modules/upgrade_actions/cli-commands.md +11 -0
- package/dist/agentic/guides/modules/upgrade_actions/contribution-resolutions.md +12 -0
- package/dist/agentic/guides/modules/upgrade_actions/entities.md +11 -0
- package/dist/agentic/guides/modules/upgrade_actions/exact-override-targets.md +12 -0
- package/dist/agentic/guides/modules/upgrade_actions/index.md +18 -0
- package/dist/agentic/guides/modules/upgrade_actions/owned-contract-module-metadata.md +11 -0
- package/dist/agentic/guides/modules/upgrade_actions/umes-contributions.md +12 -0
- package/dist/agentic/guides/modules/upgrade_actions/umes-hosts.md +11 -0
- package/dist/agentic/guides/modules/warranty_claims/index.md +1 -1
- package/dist/agentic/guides/modules/webhooks/index.md +1 -1
- package/dist/agentic/guides/modules/wms/index.md +1 -1
- package/dist/agentic/guides/modules/workflows/domain-commands.md +3 -0
- package/dist/agentic/guides/modules/workflows/index.md +1 -1
- package/dist/agentic/guides/production-deployment.md +6 -0
- package/dist/agentic/guides/reference-module-facts.json +1 -1
- package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +17 -9
- package/dist/agentic/guides/upstream/manifest.json +2 -2
- package/dist/agentic/shared/AGENTS.md.template +1 -1
- package/dist/agentic/shared/ai/harness/cases.json +7 -7
- package/dist/lib/generators/extensions/dashboard-widgets.js +46 -4
- package/dist/lib/generators/extensions/dashboard-widgets.js.map +2 -2
- package/dist/lib/generators/extensions/workflows.js +25 -2
- package/dist/lib/generators/extensions/workflows.js.map +2 -2
- package/dist/lib/generators/module-facts.js +2 -0
- package/dist/lib/generators/module-facts.js.map +2 -2
- package/dist/lib/generators/module-registry.js +35 -6
- package/dist/lib/generators/module-registry.js.map +2 -2
- package/dist/lib/module-coupling/analyze.js +391 -0
- package/dist/lib/module-coupling/analyze.js.map +7 -0
- package/dist/lib/module-diagnostics.js +160 -0
- package/dist/lib/module-diagnostics.js.map +7 -0
- package/dist/lib/module-index.js +103 -0
- package/dist/lib/module-index.js.map +7 -0
- package/dist/lib/testing/ephemeral-database-guard.js +89 -0
- package/dist/lib/testing/ephemeral-database-guard.js.map +7 -0
- package/dist/lib/testing/integration-discovery.js +20 -15
- package/dist/lib/testing/integration-discovery.js.map +3 -3
- package/dist/mercato.js +45 -5
- package/dist/mercato.js.map +2 -2
- package/package.json +7 -7
- package/src/__tests__/init-ephemeral-database.test.ts +112 -0
- package/src/__tests__/mercato.test.ts +15 -0
- package/src/__tests__/rotation-json-output.test.ts +13 -0
- package/src/lib/__tests__/module-diagnostics.test.ts +207 -0
- package/src/lib/__tests__/modules-config.test.ts +1 -0
- package/src/lib/generators/__tests__/module-facts.customers.fixture.test.ts +2 -1
- package/src/lib/generators/__tests__/module-facts.owned-contracts.test.ts +2 -2
- package/src/lib/generators/__tests__/module-registry-requires-enforcement.test.ts +18 -0
- package/src/lib/generators/__tests__/output-snapshots.test.ts +19 -0
- package/src/lib/generators/__tests__/registry-variant-parity.test.ts +95 -19
- package/src/lib/generators/__tests__/structural-contracts.test.ts +18 -0
- package/src/lib/generators/extensions/dashboard-widgets.ts +49 -3
- package/src/lib/generators/extensions/workflows.ts +26 -2
- package/src/lib/generators/module-facts.ts +2 -0
- package/src/lib/generators/module-registry.ts +55 -7
- package/src/lib/module-coupling/analyze.ts +464 -0
- package/src/lib/module-diagnostics.ts +182 -0
- package/src/lib/module-index.ts +133 -0
- package/src/lib/testing/__tests__/ephemeral-database-guard.test.ts +88 -0
- package/src/lib/testing/__tests__/integration-discovery.test.ts +26 -2
- package/src/lib/testing/ephemeral-database-guard.ts +105 -0
- package/src/lib/testing/integration-discovery.ts +19 -11
- package/src/mercato.ts +47 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# security — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/enterprise 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/enterprise 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/enterprise/src/modules/security
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# seeds — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/seeds
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
8
8
|
|---|---|---|---|---|---|---|
|
|
9
|
-
| entity:shipping_carriers.shipment:mutation-guard | mutation-guard | entity:shipping_carriers.shipment @shipping_carriers | mutation-guard | — | — | [api/cancel/route.ts:
|
|
9
|
+
| entity:shipping_carriers.shipment:mutation-guard | mutation-guard | entity:shipping_carriers.shipment @shipping_carriers | mutation-guard | — | — | [api/cancel/route.ts:44](../../../../node_modules/@open-mercato/core/src/modules/shipping_carriers/api/cancel/route.ts#L44) |
|
|
10
10
|
|
|
11
11
|
<!-- end module facts section: shipping_carriers/active-extension-bindings -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# shipping_carriers — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/shipping_carriers
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# sso — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/enterprise 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/enterprise 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/enterprise/src/modules/sso
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
8
8
|
|---|---|---|---|---|---|---|
|
|
9
|
+
| api-route:staff/timesheets/reports:GET:api-interceptor-bridge | api-interceptor-bridge | api-route:staff/timesheets/reports GET @staff | api-interceptor | before | apiRoutes:/staff/timesheets/reports | [api/timesheets/reports/route.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/timesheets/reports/route.ts) |
|
|
9
10
|
| api-route:staff/timesheets/time-entries:GET:api-interceptor-bridge | api-interceptor-bridge | api-route:staff/timesheets/time-entries GET @staff | api-interceptor | before | apiRoutes:/staff/timesheets/time-entries | [api/timesheets/time-entries/route.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/timesheets/time-entries/route.ts) |
|
|
10
11
|
| entity:staff:staff_time_entry:crud-response-enricher | crud-response-enricher | entity:staff:staff_time_entry @staff | response-enricher | — | — | [api/timesheets/time-entries/route.ts:478](../../../../node_modules/@open-mercato/core/src/modules/staff/api/timesheets/time-entries/route.ts#L478) |
|
|
11
12
|
| entity:staff:staff_time_project:crud-response-enricher | crud-response-enricher | entity:staff:staff_time_project @staff | response-enricher | — | — | [api/timesheets/time-projects/route.ts:360](../../../../node_modules/@open-mercato/core/src/modules/staff/api/timesheets/time-projects/route.ts#L360) |
|
|
12
|
-
| entity:staff:staff_time_report:crud-response-enricher | crud-response-enricher | entity:staff:staff_time_report @staff | response-enricher | — | — | [api/timesheets/reports/route.ts:
|
|
13
|
+
| entity:staff:staff_time_report:crud-response-enricher | crud-response-enricher | entity:staff:staff_time_report @staff | response-enricher | — | — | [api/timesheets/reports/route.ts:281](../../../../node_modules/@open-mercato/core/src/modules/staff/api/timesheets/reports/route.ts#L281) |
|
|
13
14
|
| entity:staff:staff_time_task:crud-response-enricher | crud-response-enricher | entity:staff:staff_time_task @staff | response-enricher | — | — | [api/timesheets/tasks/route.ts:404](../../../../node_modules/@open-mercato/core/src/modules/staff/api/timesheets/tasks/route.ts#L404) |
|
|
14
15
|
| widget-spot:dashboard:staff.timesheets.hoursByProject:dashboard-host-consumer | dashboard-host-consumer | widget-spot:dashboard:staff.timesheets.hoursByProject @framework | widget | — | hosts:framework.dashboard | packages/ui/src |
|
|
15
16
|
| widget-spot:dashboard:staff.timesheets.timeReporting:dashboard-host-consumer | dashboard-host-consumer | widget-spot:dashboard:staff.timesheets.timeReporting @framework | widget | — | hosts:framework.dashboard | packages/ui/src |
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
| staff.timesheets-tasks-support-ticket | entity:staff:staff_time_task @staff | bound | entity:staff:staff_time_task:crud-response-enricher | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/enrichers.ts) |
|
|
74
74
|
| staff.timesheets-tasks-tags | entity:staff:staff_time_task @staff | bound | entity:staff:staff_time_task:crud-response-enricher | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/enrichers.ts) |
|
|
75
75
|
| staff.timesheets-time-entries | entity:staff:staff_time_entry @staff | bound | entity:staff:staff_time_entry:crud-response-enricher | [data/enrichers.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/data/enrichers.ts) |
|
|
76
|
+
| staff.timesheets.reports-money-sort | api-route:staff/timesheets/reports @staff | bound | api-route:staff/timesheets/reports:GET:api-interceptor-bridge | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
76
77
|
| staff.timesheets.self-scope-time-entries | api-route:staff/timesheets/time-entries @staff | bound | api-route:staff/timesheets/time-entries:GET:api-interceptor-bridge | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
77
78
|
| staff.timesheets.self-scope-widget-data | api-route:dashboards/widgets/data | capability-only | — | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
78
79
|
| staff.timesheets.time_entry.created.browser | event:staff.timesheets.time_entry.created @staff | capability-only | — | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/events.ts) |
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
|
|
114
114
|
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
115
115
|
|---|---|---|---|---|
|
|
116
|
+
| interceptors | `overrides.interceptors["staff.timesheets.reports-money-sort"]` | disable-replace | extensionSurfaces.contributions:staff.timesheets.reports-money-sort | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
116
117
|
| interceptors | `overrides.interceptors["staff.timesheets.self-scope-time-entries"]` | disable-replace | extensionSurfaces.contributions:staff.timesheets.self-scope-time-entries | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
117
118
|
| interceptors | `overrides.interceptors["staff.timesheets.self-scope-widget-data"]` | disable-replace | extensionSurfaces.contributions:staff.timesheets.self-scope-widget-data | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
118
119
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# staff — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/staff
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -22,8 +22,8 @@ Source root: node_modules/@open-mercato/core/src/modules/staff
|
|
|
22
22
|
- UMES hosts / portal-page — umes-hosts.md:L257, ~1 KB
|
|
23
23
|
- UMES hosts / query-lifecycle — umes-hosts.md:L264, ~3 KB
|
|
24
24
|
- UMES hosts / specialized-registry — umes-hosts.md:L285, ~3 KB
|
|
25
|
-
- [UMES contributions](umes-contributions.md) — ~
|
|
26
|
-
- [Active extension bindings](active-extension-bindings.md) — ~
|
|
25
|
+
- [UMES contributions](umes-contributions.md) — ~29 KB — Generated umes contributions facts for staff.
|
|
26
|
+
- [Active extension bindings](active-extension-bindings.md) — ~4 KB — Generated active extension bindings facts for staff.
|
|
27
27
|
- [Contribution resolutions](contribution-resolutions.md) — ~20 KB — Generated contribution resolutions facts for staff.
|
|
28
28
|
- [UMES diagnostics](umes-diagnostics.md) — ~3 KB — Generated umes diagnostics facts for staff.
|
|
29
29
|
- [Notifications](notifications.md) — ~2 KB — Generated notifications facts for staff.
|
|
@@ -39,11 +39,11 @@ Source root: node_modules/@open-mercato/core/src/modules/staff
|
|
|
39
39
|
- Exact override targets / enrichers — exact-override-targets.md:L80, ~3 KB
|
|
40
40
|
- Exact override targets / events — exact-override-targets.md:L93, ~5 KB
|
|
41
41
|
- Exact override targets / interceptors — exact-override-targets.md:L112, ~1 KB
|
|
42
|
-
- Exact override targets / notifications — exact-override-targets.md:
|
|
43
|
-
- Exact override targets / routes — exact-override-targets.md:
|
|
44
|
-
- Exact override targets / setup — exact-override-targets.md:
|
|
45
|
-
- Exact override targets / widgets — exact-override-targets.md:
|
|
46
|
-
- Exact override targets / workers — exact-override-targets.md:
|
|
42
|
+
- Exact override targets / notifications — exact-override-targets.md:L120, ~5 KB
|
|
43
|
+
- Exact override targets / routes — exact-override-targets.md:L142, ~13 KB
|
|
44
|
+
- Exact override targets / setup — exact-override-targets.md:L188, ~1 KB
|
|
45
|
+
- Exact override targets / widgets — exact-override-targets.md:L197, ~3 KB
|
|
46
|
+
- Exact override targets / workers — exact-override-targets.md:L208, ~1 KB
|
|
47
47
|
- [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for staff.
|
|
48
48
|
- [Domain commands](domain-commands.md) — ~8 KB — Generated domain commands facts for staff.
|
|
49
49
|
- [Workers](workers.md) — ~1 KB — Generated workers facts for staff.
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
| ID | Kind | Target | Phase / operations | Contract | Resolution | Source |
|
|
8
8
|
|---|---|---|---|---|---|---|
|
|
9
|
+
| staff.timesheets.reports-money-sort | api-interceptor | staff/timesheets/reports | before | activation=crud-pipeline; failurePosture=fallback; methods=GET; phases=before; route=staff/timesheets/reports; timeoutMs=2000 | fact-ref | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
9
10
|
| staff.timesheets.self-scope-time-entries | api-interceptor | staff/timesheets/time-entries | before | activation=crud-pipeline; failurePosture=fallback; methods=GET; phases=before; route=staff/timesheets/time-entries; timeoutMs=2000 | fact-ref | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
10
11
|
| staff.timesheets.self-scope-widget-data | api-interceptor | dashboards/widgets/data | before | activation=crud-pipeline; failurePosture=fallback; methods=POST; phases=before; route=dashboards/widgets/data; timeoutMs=2000 | fact-ref | [api/interceptors.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/api/interceptors.ts) |
|
|
11
12
|
| staff.support_ticket.activity_recorded.browser | browser-reaction | staff.support_ticket.activity_recorded | — | audienceScopeContract=tenant-organization-user-role-and-customer; hooks=useAppEvent,useOperationProgress; transports=client | fact-ref | [events.ts](../../../../node_modules/@open-mercato/core/src/modules/staff/events.ts) |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# storage_s3 — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/storage-s3 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/storage-s3 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/storage-s3/src/modules/storage_s3
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# sync_akeneo — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/sync-akeneo 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/sync-akeneo 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/sync-akeneo/src/modules/sync_akeneo
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# sync_excel — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/sync_excel
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# system_status_overlays — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/enterprise 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/enterprise 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/enterprise/src/modules/system_status_overlays
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# telemetry — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/telemetry 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/telemetry 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/telemetry/src/modules/telemetry
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# tillio — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/tillio 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/tillio 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/tillio/src/modules/tillio
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# translations — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/translations
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# upgrade_actions — CLI commands
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## CLI commands
|
|
6
|
+
|
|
7
|
+
| ID / path | Source |
|
|
8
|
+
|---|---|
|
|
9
|
+
| actions | [cli.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/cli.ts) |
|
|
10
|
+
|
|
11
|
+
<!-- end module facts section: upgrade_actions/cli-commands -->
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# upgrade_actions — Contribution resolutions
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## Contribution resolutions
|
|
6
|
+
|
|
7
|
+
| Contribution | Target | Resolution | Activations | Source |
|
|
8
|
+
|---|---|---|---|---|
|
|
9
|
+
| upgrade_actions.injection.banner@backend:layout:top | widget-spot:backend:layout:top | optional-target-missing | — | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/widgets/injection-table.ts) |
|
|
10
|
+
| upgrade_actions.injection.banner@backend:upgrade-actions:legacy-banner | widget-spot:backend:upgrade-actions:legacy-banner | optional-target-missing | — | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/widgets/injection-table.ts) |
|
|
11
|
+
|
|
12
|
+
<!-- end module facts section: upgrade_actions/contribution-resolutions -->
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# upgrade_actions — Entities
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## Entities
|
|
6
|
+
|
|
7
|
+
| Entity ID | Class | Table | Editable | CustomFields | Source |
|
|
8
|
+
|---|---|---|---|---|---|
|
|
9
|
+
| upgrade_actions:upgrade_action_run | UpgradeActionRun | upgrade_action_runs | no | no | [data/entities.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/data/entities.ts) |
|
|
10
|
+
|
|
11
|
+
<!-- end module facts section: upgrade_actions/entities -->
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# upgrade_actions — Exact override targets
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## Exact override targets
|
|
6
|
+
|
|
7
|
+
| Domain | Path / key | Supported modes | Referenced fact | Source |
|
|
8
|
+
|---|---|---|---|---|
|
|
9
|
+
| cli | `overrides.cli["actions"]` | disable-replace | cliCommands:actions | [cli.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/cli.ts) |
|
|
10
|
+
| widgets | `overrides.widgets.injection["upgrade_actions.injection.banner"]` | disable-replace | extensionSurfaces.contributions:upgrade_actions.injection.banner@backend:layout:top | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/widgets/injection-table.ts) |
|
|
11
|
+
|
|
12
|
+
<!-- end module facts section: upgrade_actions/exact-override-targets -->
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# upgrade_actions — module facts (generated, do not edit)
|
|
2
|
+
<!-- generated from @open-mercato/upgrade-actions 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
|
+
Source root: node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions
|
|
4
|
+
|
|
5
|
+
## Sections
|
|
6
|
+
|
|
7
|
+
- [Entities](entities.md) — ~1 KB — Generated entities facts for upgrade_actions.
|
|
8
|
+
- [UMES hosts](umes-hosts.md) — ~1 KB — Generated umes hosts facts for upgrade_actions.
|
|
9
|
+
- [UMES contributions](umes-contributions.md) — ~1 KB — Generated umes contributions facts for upgrade_actions.
|
|
10
|
+
- [Contribution resolutions](contribution-resolutions.md) — ~1 KB — Generated contribution resolutions facts for upgrade_actions.
|
|
11
|
+
- [CLI commands](cli-commands.md) — ~1 KB — Generated cli commands facts for upgrade_actions.
|
|
12
|
+
- [Exact override targets](exact-override-targets.md) — ~1 KB — Generated exact override targets facts for upgrade_actions.
|
|
13
|
+
- [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for upgrade_actions.
|
|
14
|
+
|
|
15
|
+
Read only the section files needed for the task; every section ends with a completion marker.
|
|
16
|
+
A section absent from this list has no facts for upgrade_actions; this index is complete only when the read reaches the marker below.
|
|
17
|
+
|
|
18
|
+
<!-- end module facts: upgrade_actions — 7 sections -->
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# upgrade_actions — Owned contract — module metadata
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## Owned contract — module metadata
|
|
6
|
+
|
|
7
|
+
| ID | Metadata | Source |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| upgrade_actions | name=upgrade_actions; requires=configs, directory; version=0.1.0 | [index.ts:3](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/index.ts#L3) |
|
|
10
|
+
|
|
11
|
+
<!-- end module facts section: upgrade_actions/owned-contract-module-metadata -->
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# upgrade_actions — UMES contributions
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## UMES contributions
|
|
6
|
+
|
|
7
|
+
| ID | Kind | Target | Phase / operations | Contract | Resolution | Source |
|
|
8
|
+
|---|---|---|---|---|---|---|
|
|
9
|
+
| upgrade_actions.injection.banner@backend:layout:top | widget | backend:layout:top | — | executionGuard=host; payload=render; registryKey=upgrade_actions.injection.banner | optional-external | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/widgets/injection-table.ts) |
|
|
10
|
+
| upgrade_actions.injection.banner@backend:upgrade-actions:legacy-banner | widget | backend:upgrade-actions:legacy-banner | — | executionGuard=host; payload=render; registryKey=upgrade_actions.injection.banner | optional-external | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions/widgets/injection-table.ts) |
|
|
11
|
+
|
|
12
|
+
<!-- end module facts section: upgrade_actions/umes-contributions -->
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# upgrade_actions — UMES hosts
|
|
2
|
+
|
|
3
|
+
[Back to module index](index.md)
|
|
4
|
+
|
|
5
|
+
## UMES hosts
|
|
6
|
+
|
|
7
|
+
| ID / pattern | Family | Supports | Context | Stability | Source |
|
|
8
|
+
|---|---|---|---|---|---|
|
|
9
|
+
| upgrade_actions:upgrade_action_run | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:upgrade_actions:upgrade_action_run |
|
|
10
|
+
|
|
11
|
+
<!-- end module facts section: upgrade_actions/umes-hosts -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# warranty_claims — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/warranty_claims
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# webhooks — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/webhooks 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/webhooks 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/webhooks/src/modules/webhooks
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# wms — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/wms
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
| ID | Metadata | Source |
|
|
8
8
|
|---|---|---|
|
|
9
|
+
| workflows.definitions.create | — | [commands/definitions.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/commands/definitions.ts) |
|
|
10
|
+
| workflows.definitions.delete | — | [commands/definitions.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/commands/definitions.ts) |
|
|
11
|
+
| workflows.definitions.update | — | [commands/definitions.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/commands/definitions.ts) |
|
|
9
12
|
| workflows.tasks.complete | — | [commands/tasks.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/commands/tasks.ts) |
|
|
10
13
|
|
|
11
14
|
<!-- end module facts section: workflows/domain-commands -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# workflows — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/core 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/core 0.11.1-develop.8843.1.b02f9b125d; core 0.11.1-develop.8843.1.b02f9b125d — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/workflows
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -4,6 +4,12 @@ Use this provider-neutral checklist before recommending that a standalone Open M
|
|
|
4
4
|
|
|
5
5
|
Classify findings as **required**, **recommended**, or **module-specific**. Do not present every `.env.example` key as mandatory. Ask before accessing or changing credentials, creating billable infrastructure, or starting, changing, or rolling back a live deployment. This guide supports a readiness review; do not perform or claim a live deployment or an unrun check.
|
|
6
6
|
|
|
7
|
+
## Enterprise maintenance page
|
|
8
|
+
|
|
9
|
+
For standalone apps using a version of `@open-mercato/enterprise` that includes `maintenance`, verify that `src/modules.ts` activates the module with `OM_ENABLE_ENTERPRISE_MODULES=true`. Use `mercato maintenance on --title "..." --message "..."` for per-window copy. Use `OM_MAINTENANCE_LOGO_URL`, `OM_MAINTENANCE_SUPPORT_URL`, and `OM_MAINTENANCE_TIMEZONE` for persistent branding and display settings. The default logo is the login asset `public/open-mercato.svg`.
|
|
10
|
+
|
|
11
|
+
For a custom layout, mount an app-owned HTML file at `OM_MAINTENANCE_PAGE_TEMPLATE` on every web process and restart those processes after template edits. Include `{{title}}` and `{{message}}` as HTML text. The renderer escapes values, disallows scripts and event handlers, and falls back to the built-in page if validation fails. Verify HTTP 503, branding and bypass using the [Enterprise maintenance guide](https://docs.openmercato.com/enterprise/maintenance-mode).
|
|
12
|
+
|
|
7
13
|
## 1. HTTPS/TLS, DNS, and the edge
|
|
8
14
|
|
|
9
15
|
- **Required:** Serve every public route over HTTPS with a valid, auto-renewing certificate. Redirect HTTP to HTTPS and verify the redirect, certificate chain, supported TLS versions, and renewal path.
|
|
@@ -1191,7 +1191,7 @@
|
|
|
1191
1191
|
"facts": {
|
|
1192
1192
|
"title": "Example Module",
|
|
1193
1193
|
"description": "Demonstrates pages, APIs, entities and DI.",
|
|
1194
|
-
"coreVersion": "0.11.1-develop.
|
|
1194
|
+
"coreVersion": "0.11.1-develop.8843.1.b02f9b125d",
|
|
1195
1195
|
"sourcePackage": null,
|
|
1196
1196
|
"sourceVersion": null,
|
|
1197
1197
|
"sourceRoot": "src/modules/example",
|
|
@@ -699,6 +699,10 @@ Stop writers; restart replicas. Owner-approved Core unprotected rotation: `--ack
|
|
|
699
699
|
|
|
700
700
|
**Migration:** Accept 303 and follow `Location: /login` with GET. Revocation, cookie expiry, route URL/method, auth events and schema are unchanged. [Spec](.ai/specs/2026-11-05-logout-post-redirect.md#migration--backward-compatibility) · UPGRADE_NOTES.md.
|
|
701
701
|
|
|
702
|
+
## Attachment owner access on direct readers (2026-11-03, #6282)
|
|
703
|
+
|
|
704
|
+
STABLE behavior BREAK, protected owners only (e.g. Documents): the `attachments.*` AI tools, chat `attachmentIds`, the pending-action recheck, `catalog.draft_description_from_media` and Messages compose, reply and draft linking deny protected attachments the caller may not access, and CLI, worker and MCP processes whose generated bootstrap registrations are missing or fail to load deny every direct read and refuse attachment writes; without it they bypass the #6726 owner policy, and a bridge would keep that bypass. New exports and optional tool context and Messages link fields are additive; the spec lists them. [Migration](UPGRADE_NOTES.md#ai-attachment-tools-ai-chat-attachments-and-messages-linking-enforce-attachment-owner-policies-6282); [spec](.ai/specs/2026-11-03-attachment-direct-reader-owner-access.md). Human maintainer waiver: PENDING.
|
|
705
|
+
|
|
702
706
|
## #7809 2026-11-06
|
|
703
707
|
|
|
704
708
|
STABLE CLI: production defaults/policy bypass preserve exposure; steps 1–3 waived by @pkarw. [Migration and approval](.ai/specs/2026-11-06-production-bootstrap-credentials.md).
|
|
@@ -717,19 +721,19 @@ STABLE command/API: unrestricted attribution permits forgery; a bridge retains i
|
|
|
717
721
|
|
|
718
722
|
## 2026-11 — CRUD security (#3827, #9154, #9106)
|
|
719
723
|
|
|
720
|
-
STABLE API limits sorts, deleted rows, labels and global reads.
|
|
724
|
+
STABLE API limits sorts, deleted rows, labels and global reads. Relation options need owner policy (2026-11-24). Bridges leak data. Use Staff timesheets. Named waiver pending. [Upgrade][up].
|
|
721
725
|
|
|
722
726
|
## 2026-11-19 — Entity translation authorization (#9139)
|
|
723
727
|
|
|
724
|
-
STABLE translation API
|
|
728
|
+
STABLE translation API/localization require target permissions and registered text fields. A bridge leaks data. [Migration](UPGRADE_NOTES.md#entity-translation-authorization-and-field-registration-9139). [Piotr Karwatka (@pkarw) waived steps 1–3 on 2026-11-20](https://github.com/open-mercato/open-mercato/pull/9970#issuecomment-7042760775).
|
|
725
729
|
|
|
726
730
|
## SSO authority (2026-11-15, #9014)
|
|
727
731
|
|
|
728
|
-
STABLE SSO/SCIM APIs and `SsoConfigService`/`ScimTokenService`
|
|
732
|
+
STABLE SSO/SCIM APIs and `SsoConfigService`/`ScimTokenService` reject configs/tokens without a live authorized author (403). A bridge permits escalation. Pass `actorUserId` in direct calls, re-save configs, and reissue tokens. [Piotr Karwatka (@pkarw) waived steps 1–3 on 2026-11-20](https://github.com/open-mercato/open-mercato/pull/10070#issuecomment-7042761315). [Upgrade](UPGRADE_NOTES.md#sso-configuration-and-scim-authority-9014); [Spec](.ai/specs/enterprise/2026-11-15-sso-authority-ceiling.md).
|
|
729
733
|
|
|
730
734
|
## 2026-11-22 — Attachment assignment label authorization (#10336)
|
|
731
735
|
|
|
732
|
-
STABLE attachment API
|
|
736
|
+
STABLE attachment API/helper shapes stay. Optional labels/links need tenant/org scope to prevent disclosure. Pass verified auth or use assignment metadata. [Upgrade](UPGRADE_NOTES.md#attachment-assignment-label-authorization-10336) and [spec](.ai/specs/2026-07-05-attachment-metadata-assignment-layout.md#security-follow-up-10336).
|
|
733
737
|
|
|
734
738
|
## #10331 #10332 (2026-11-23)
|
|
735
739
|
|
|
@@ -737,11 +741,11 @@ STABLE UMES/SQL: bridge keeps flaws. [Fix][up].
|
|
|
737
741
|
|
|
738
742
|
## 2026-11-24 — Trace ingest
|
|
739
743
|
|
|
740
|
-
STABLE API: legacy signatures leave
|
|
744
|
+
STABLE API: legacy signatures leave org unverified. Rotate scoped keys and reuse workflow run IDs. [Migration][up]. Named waiver pending.
|
|
741
745
|
|
|
742
746
|
## 2026-11-25 — Encrypted custom field writes
|
|
743
747
|
|
|
744
|
-
STABLE
|
|
748
|
+
STABLE encrypted tenant custom-field writes return 503 without a data key to prevent plaintext storage. Restore key access, retry, and review historical values. [Migration](UPGRADE_NOTES.md#encrypted-tenant-custom-field-writes-require-a-usable-key) · [Spec](.ai/specs/2026-11-25-encrypted-custom-field-write-availability.md). Named waiver pending.
|
|
745
749
|
|
|
746
750
|
## MCP HTTP session token, no fallback (2026-11-14, #5173)
|
|
747
751
|
|
|
@@ -761,15 +765,15 @@ STABLE task fields. A bridge retains bypass. Waiver due. [Guide](UPGRADE_NOTES.m
|
|
|
761
765
|
|
|
762
766
|
## 2026-11-26 — Vector-index entity authorization (#10693)
|
|
763
767
|
|
|
764
|
-
STABLE `GET /api/search/index`
|
|
768
|
+
STABLE `GET /api/search/index` needs entity view and org scope. A bridge leaks rows. [Migration](UPGRADE_NOTES.md#vector-index-entity-authorization-10693) · [Spec](.ai/specs/2026-11-26-vector-index-entity-authorization.md). Named waiver pending.
|
|
765
769
|
|
|
766
770
|
## Staff credential email (2026-11-27, #10594)
|
|
767
771
|
|
|
768
|
-
STABLE superadmin reset
|
|
772
|
+
STABLE superadmin reset/invite email uses the instance provider. Tenant fallback retains exposure. Named waiver pending. [Migration](.ai/specs/2026-06-03-pluggable-email-providers.md).
|
|
769
773
|
|
|
770
774
|
## 2026-11-27 — Staff and organization boundaries (#10503, #10543)
|
|
771
775
|
|
|
772
|
-
STABLE APIs §7 require
|
|
776
|
+
STABLE APIs §7 require org grants (403 for explicitly empty scope). Grant scope and handle 403. Email changes via `PUT /api/auth/profile` need current-password proof and reauthentication. ADDITIVE-ONLY schema §8 uses owner-unique partition codes. Rehome incompatible references. A bridge retains unscoped access or unverified changes. [Migration and specs][up]. Named waiver pending.
|
|
773
777
|
|
|
774
778
|
## [System keys (2026-11-25)](UPGRADE_NOTES.md#system-dictionary-preservation-10341)
|
|
775
779
|
|
|
@@ -778,3 +782,7 @@ STABLE PATCH/DELETE. Backports need a named waiver.
|
|
|
778
782
|
## #10788 (2026-11-26)
|
|
779
783
|
|
|
780
784
|
STABLE audit scope. Bridge leaks. Waived by @kmrosiek. [Guide](UPGRADE_NOTES.md#audit-log-scope-10788).
|
|
785
|
+
|
|
786
|
+
## Staff/ACL grant ceilings (2026-11-26, #10687, #10598)
|
|
787
|
+
|
|
788
|
+
STABLE staff/ACL writes cap target grants. Bridging permits unauthorized writes. @kmrosiek cleared waiver. [Migration, spec and decision][up].
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generator": "@open-mercato/cli@0.11.1-develop.
|
|
3
|
+
"generator": "@open-mercato/cli@0.11.1-develop.8843.1.b02f9b125d",
|
|
4
4
|
"files": {
|
|
5
5
|
"AGENTS.md": "f3a580d0f65b39721211f1edfccb6a22e3a494250d0aaa24804c3f75e4aa9d30",
|
|
6
|
-
"BACKWARD_COMPATIBILITY.md": "
|
|
6
|
+
"BACKWARD_COMPATIBILITY.md": "d9ec52112202289b2d029b1df5001175c81323236a82f9721608cfcc4379e431"
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -32,7 +32,7 @@ Broad: `yarn ci` (generate, typecheck, lint, ds:check, test, build — stops at
|
|
|
32
32
|
|
|
33
33
|
## Production Deployment
|
|
34
34
|
|
|
35
|
-
Route production deployment/go-live/security-readiness to `architecture` + `.ai/guides/production-deployment.md`. During routing, do not open `.env
|
|
35
|
+
Route production deployment/go-live/security-readiness/maintenance pages to `architecture` + `.ai/guides/production-deployment.md`. During routing, do not open `.env*`. Read only `.env.example` names and comments; never read or report live `.env` values. Ask before touching credentials, billable infrastructure, or live deployments.
|
|
36
36
|
|
|
37
37
|
## Three-Axis Context Assembler
|
|
38
38
|
|
|
@@ -520,7 +520,7 @@
|
|
|
520
520
|
],
|
|
521
521
|
"maxContextFiles": 8,
|
|
522
522
|
"maxInitialContextBytes": 65536,
|
|
523
|
-
"maxTotalContextBytes":
|
|
523
|
+
"maxTotalContextBytes": 140528,
|
|
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":
|
|
1739
|
+
"maxTotalContextBytes": 127922,
|
|
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":
|
|
2434
|
+
"maxTotalContextBytes": 143637,
|
|
2435
2435
|
"relatedCases": [
|
|
2436
2436
|
"OMH-031"
|
|
2437
2437
|
]
|
|
@@ -4556,7 +4556,7 @@
|
|
|
4556
4556
|
],
|
|
4557
4557
|
"maxContextFiles": 5,
|
|
4558
4558
|
"maxInitialContextBytes": 40960,
|
|
4559
|
-
"maxTotalContextBytes":
|
|
4559
|
+
"maxTotalContextBytes": 133153,
|
|
4560
4560
|
"relatedCases": [
|
|
4561
4561
|
"OMH-058"
|
|
4562
4562
|
],
|
|
@@ -5147,7 +5147,7 @@
|
|
|
5147
5147
|
],
|
|
5148
5148
|
"maxContextFiles": 8,
|
|
5149
5149
|
"maxInitialContextBytes": 65536,
|
|
5150
|
-
"maxTotalContextBytes":
|
|
5150
|
+
"maxTotalContextBytes": 140528,
|
|
5151
5151
|
"relatedCases": [
|
|
5152
5152
|
"OMH-065"
|
|
5153
5153
|
]
|
|
@@ -22126,8 +22126,8 @@
|
|
|
22126
22126
|
"patterns.forbidden"
|
|
22127
22127
|
],
|
|
22128
22128
|
"maxContextFiles": 16,
|
|
22129
|
-
"maxInitialContextBytes":
|
|
22130
|
-
"maxTotalContextBytes":
|
|
22129
|
+
"maxInitialContextBytes": 74752,
|
|
22130
|
+
"maxTotalContextBytes": 386560,
|
|
22131
22131
|
"relatedCases": [
|
|
22132
22132
|
"OMH-030",
|
|
22133
22133
|
"OMH-088",
|
|
@@ -1,7 +1,48 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import path from "node:path";
|
|
3
|
+
import ts from "typescript-js";
|
|
1
4
|
import { VariableDeclarationKind } from "ts-morph";
|
|
2
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
MODULE_CODE_EXTENSIONS,
|
|
7
|
+
resolveStandaloneSourceMirrorBase,
|
|
8
|
+
scanModuleDir,
|
|
9
|
+
SCAN_CONFIGS,
|
|
10
|
+
stripModuleCodeExtension
|
|
11
|
+
} from "../scanner.js";
|
|
3
12
|
import { arrayLiteral, arrowFunction, identifier, methodCall, nullishCoalesce, objectLiteral, propertyAccess, writeValue } from "../ast/index.js";
|
|
4
13
|
import { dynamicImportExpression, renderGeneratedTsSource } from "./shared.js";
|
|
14
|
+
function readRegisteredWidgetKey(absolutePath) {
|
|
15
|
+
if (!fs.existsSync(absolutePath)) return void 0;
|
|
16
|
+
const source = ts.createSourceFile(absolutePath, fs.readFileSync(absolutePath, "utf8"), ts.ScriptTarget.Latest, true);
|
|
17
|
+
const values = /* @__PURE__ */ new Map();
|
|
18
|
+
let exportName;
|
|
19
|
+
for (const statement of source.statements) {
|
|
20
|
+
if (ts.isVariableStatement(statement)) {
|
|
21
|
+
const exported = statement.modifiers?.some((modifier) => modifier.kind === ts.SyntaxKind.ExportKeyword);
|
|
22
|
+
for (const declaration of statement.declarationList.declarations) {
|
|
23
|
+
if (!ts.isIdentifier(declaration.name) || !declaration.initializer) continue;
|
|
24
|
+
if (!ts.isStringLiteralLike(declaration.initializer) || !declaration.initializer.text) continue;
|
|
25
|
+
values.set(declaration.name.text, declaration.initializer.text);
|
|
26
|
+
if (exported && declaration.name.text === "dashboardWidgetKey") exportName = declaration.name.text;
|
|
27
|
+
}
|
|
28
|
+
} else if (ts.isExportDeclaration(statement) && !statement.moduleSpecifier && statement.exportClause && ts.isNamedExports(statement.exportClause)) {
|
|
29
|
+
const key = statement.exportClause.elements.find((item) => item.name.text === "dashboardWidgetKey");
|
|
30
|
+
if (key) exportName = (key.propertyName ?? key.name).text;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return exportName ? values.get(exportName) : void 0;
|
|
34
|
+
}
|
|
35
|
+
function resolveDashboardWidgetKey(moduleId, roots, file) {
|
|
36
|
+
const relative = path.join("widgets", "dashboard", file.relPath);
|
|
37
|
+
const fallback = [moduleId, ...stripModuleCodeExtension(file.relPath).split("/")].join(":");
|
|
38
|
+
const packageBase = resolveStandaloneSourceMirrorBase(roots.pkgBase) ?? roots.pkgBase;
|
|
39
|
+
if (!file.fromApp) return readRegisteredWidgetKey(path.join(packageBase, relative)) ?? fallback;
|
|
40
|
+
const appKey = readRegisteredWidgetKey(path.join(roots.appBase, relative));
|
|
41
|
+
if (appKey) return appKey;
|
|
42
|
+
const packagePath = stripModuleCodeExtension(path.join(packageBase, relative));
|
|
43
|
+
const packageExtension = MODULE_CODE_EXTENSIONS.find((extension) => fs.existsSync(packagePath + extension));
|
|
44
|
+
return (packageExtension && readRegisteredWidgetKey(packagePath + packageExtension)) ?? fallback;
|
|
45
|
+
}
|
|
5
46
|
function createDashboardWidgetsExtension() {
|
|
6
47
|
const widgetEntries = /* @__PURE__ */ new Map();
|
|
7
48
|
return {
|
|
@@ -12,11 +53,11 @@ function createDashboardWidgetsExtension() {
|
|
|
12
53
|
for (const { relPath, fromApp } of files) {
|
|
13
54
|
const segments = relPath.split("/");
|
|
14
55
|
const file = segments.pop() ?? "";
|
|
15
|
-
const base = file
|
|
56
|
+
const base = stripModuleCodeExtension(file);
|
|
16
57
|
const importPath = ctx.sanitizeGeneratedModuleSpecifier(
|
|
17
58
|
`${fromApp ? ctx.imps.appBase : ctx.imps.pkgBase}/widgets/dashboard/${[...segments, base].join("/")}`
|
|
18
59
|
);
|
|
19
|
-
const key =
|
|
60
|
+
const key = resolveDashboardWidgetKey(ctx.moduleId, ctx.roots, { relPath, fromApp });
|
|
20
61
|
const entry = {
|
|
21
62
|
moduleId: ctx.moduleId,
|
|
22
63
|
key,
|
|
@@ -75,6 +116,7 @@ function createDashboardWidgetsExtension() {
|
|
|
75
116
|
};
|
|
76
117
|
}
|
|
77
118
|
export {
|
|
78
|
-
createDashboardWidgetsExtension
|
|
119
|
+
createDashboardWidgetsExtension,
|
|
120
|
+
resolveDashboardWidgetKey
|
|
79
121
|
};
|
|
80
122
|
//# sourceMappingURL=dashboard-widgets.js.map
|