@open-mercato/cli 0.11.1-develop.8805.1.6357054d1a → 0.11.1-develop.8880.1.3acdbfc734
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/dist/agentic/guides/module-facts.json +1575 -307
- package/dist/agentic/guides/module-facts.v2.json +1575 -307
- package/dist/agentic/guides/modules/agent_orchestrator/exact-override-targets.md +1 -1
- package/dist/agentic/guides/modules/agent_orchestrator/index.md +1 -1
- package/dist/agentic/guides/modules/agent_orchestrator/workers.md +1 -1
- package/dist/agentic/guides/modules/ai_assistant/index.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/attachments/umes-hosts.md +1 -0
- package/dist/agentic/guides/modules/audit_logs/index.md +1 -1
- package/dist/agentic/guides/modules/auth/di-registrations-rich.md +2 -1
- package/dist/agentic/guides/modules/auth/di-service-tokens.md +2 -1
- package/dist/agentic/guides/modules/auth/exact-override-targets.md +2 -1
- package/dist/agentic/guides/modules/auth/index.md +2 -2
- 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/catalog/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/catalog/exact-override-targets.md +4 -4
- package/dist/agentic/guides/modules/catalog/index.md +2 -2
- package/dist/agentic/guides/modules/catalog/umes-hosts.md +3 -1
- package/dist/agentic/guides/modules/catalog/workers.md +4 -4
- 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_imap/index.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/encryption.md +2 -1
- package/dist/agentic/guides/modules/communication_channels/entities.md +1 -0
- package/dist/agentic/guides/modules/communication_channels/events.md +2 -1
- package/dist/agentic/guides/modules/communication_channels/exact-override-targets.md +4 -2
- package/dist/agentic/guides/modules/communication_channels/index.md +3 -3
- package/dist/agentic/guides/modules/communication_channels/umes-hosts.md +2 -0
- package/dist/agentic/guides/modules/communication_channels/workers.md +2 -1
- package/dist/agentic/guides/modules/configs/entities.md +0 -1
- package/dist/agentic/guides/modules/configs/index.md +1 -1
- package/dist/agentic/guides/modules/configs/umes-hosts.md +1 -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/currencies/umes-hosts.md +1 -0
- package/dist/agentic/guides/modules/customer_accounts/active-extension-bindings.md +3 -3
- package/dist/agentic/guides/modules/customer_accounts/index.md +1 -1
- package/dist/agentic/guides/modules/customer_accounts/umes-hosts.md +1 -1
- package/dist/agentic/guides/modules/customer_groups/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/customer_groups/index.md +1 -1
- package/dist/agentic/guides/modules/customer_groups/umes-hosts.md +1 -1
- package/dist/agentic/guides/modules/customers/acl-features.md +2 -1
- package/dist/agentic/guides/modules/customers/active-extension-bindings.md +12 -12
- package/dist/agentic/guides/modules/customers/backend-pages.md +1 -0
- package/dist/agentic/guides/modules/customers/domain-commands.md +1 -1
- package/dist/agentic/guides/modules/customers/exact-override-targets.md +2 -0
- package/dist/agentic/guides/modules/customers/index.md +1 -1
- package/dist/agentic/guides/modules/dashboards/active-extension-bindings.md +3 -3
- package/dist/agentic/guides/modules/dashboards/index.md +1 -1
- package/dist/agentic/guides/modules/data_sync/active-extension-bindings.md +3 -3
- 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/active-extension-bindings.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/active-extension-bindings.md +2 -2
- package/dist/agentic/guides/modules/dictionaries/index.md +1 -1
- package/dist/agentic/guides/modules/directory/active-extension-bindings.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/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/entities/index.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/feature_toggles/active-extension-bindings.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/active-extension-bindings.md +3 -3
- 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/ledger/index.md +2 -2
- package/dist/agentic/guides/modules/ledger/umes-hosts.md +1 -0
- 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/active-extension-bindings.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/active-extension-bindings.md +2 -2
- 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/active-extension-bindings.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/domain-commands.md +1 -0
- package/dist/agentic/guides/modules/promotions/index.md +2 -2
- package/dist/agentic/guides/modules/promotions/umes-hosts.md +2 -0
- package/dist/agentic/guides/modules/push_notifications/index.md +2 -2
- package/dist/agentic/guides/modules/push_notifications/umes-hosts.md +1 -0
- package/dist/agentic/guides/modules/query_index/active-extension-bindings.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/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/resources/index.md +1 -1
- package/dist/agentic/guides/modules/sales/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/sales/index.md +1 -1
- package/dist/agentic/guides/modules/sales/umes-hosts.md +1 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/acl-features.md +12 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/entities.md +12 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/exact-override-targets.md +13 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/index.md +17 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/owned-contract-module-metadata.md +11 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/setup.md +11 -0
- package/dist/agentic/guides/modules/sales_invoices_gl_posting/umes-hosts.md +12 -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/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/index.md +1 -1
- 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/sync_excel/umes-hosts.md +1 -0
- 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/active-extension-bindings.md +2 -2
- 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/entities.md +11 -0
- package/dist/agentic/guides/modules/upgrade_actions/exact-override-targets.md +1 -0
- package/dist/agentic/guides/modules/upgrade_actions/index.md +5 -2
- 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/active-extension-bindings.md +1 -1
- package/dist/agentic/guides/modules/wms/exact-override-targets.md +2 -2
- package/dist/agentic/guides/modules/wms/index.md +1 -1
- package/dist/agentic/guides/modules/wms/setup.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/modules/workflows/umes-hosts.md +2 -0
- package/dist/agentic/guides/production-deployment.md +6 -0
- package/dist/agentic/guides/reference-module-facts.json +12 -13
- package/dist/agentic/guides/reference-modules/example/index.md +1 -1
- package/dist/agentic/guides/reference-modules/example/umes-hosts.md +1 -1
- package/dist/agentic/guides/upstream/AGENTS.md +2 -3
- package/dist/agentic/guides/upstream/BACKWARD_COMPATIBILITY.md +18 -9
- package/dist/agentic/guides/upstream/manifest.json +3 -3
- package/dist/agentic/shared/AGENTS.md.template +1 -1
- package/dist/agentic/shared/ai/harness/cases.json +7 -7
- package/dist/lib/generators/module-extension-facts.js +5 -6
- package/dist/lib/generators/module-extension-facts.js.map +2 -2
- package/dist/lib/generators/module-registry.js +28 -0
- package/dist/lib/generators/module-registry.js.map +2 -2
- 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.js +4 -0
- package/dist/lib/testing/integration.js.map +2 -2
- package/dist/mercato.js +26 -3
- 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/lib/__tests__/modules-config.test.ts +1 -0
- package/src/lib/generators/__tests__/module-extension-facts.test.ts +18 -0
- package/src/lib/generators/__tests__/module-facts.customers.fixture.test.ts +2 -1
- package/src/lib/generators/__tests__/module-registry-requires-enforcement.test.ts +18 -0
- package/src/lib/generators/__tests__/registry-variant-parity.test.ts +95 -19
- package/src/lib/generators/module-extension-facts.ts +5 -10
- package/src/lib/generators/module-registry.ts +44 -0
- package/src/lib/testing/__tests__/ephemeral-database-guard.test.ts +88 -0
- package/src/lib/testing/ephemeral-database-guard.ts +105 -0
- package/src/lib/testing/integration.ts +4 -0
- package/src/mercato.ts +26 -3
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
# upgrade_actions — module facts (generated, do not edit)
|
|
2
|
-
<!-- generated from @open-mercato/upgrade-actions 0.11.1-develop.
|
|
2
|
+
<!-- generated from @open-mercato/upgrade-actions 0.11.1-develop.8880.1.3acdbfc734; core 0.11.1-develop.8880.1.3acdbfc734 — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/upgrade-actions/src/modules/upgrade_actions
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
6
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.
|
|
7
9
|
- [UMES contributions](umes-contributions.md) — ~1 KB — Generated umes contributions facts for upgrade_actions.
|
|
8
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.
|
|
9
12
|
- [Exact override targets](exact-override-targets.md) — ~1 KB — Generated exact override targets facts for upgrade_actions.
|
|
10
13
|
- [Owned contract — module metadata](owned-contract-module-metadata.md) — ~1 KB — Generated owned contract — module metadata facts for upgrade_actions.
|
|
11
14
|
|
|
12
15
|
Read only the section files needed for the task; every section ends with a completion marker.
|
|
13
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.
|
|
14
17
|
|
|
15
|
-
<!-- end module facts: upgrade_actions —
|
|
18
|
+
<!-- end module facts: upgrade_actions — 7 sections -->
|
|
@@ -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.8880.1.3acdbfc734; core 0.11.1-develop.8880.1.3acdbfc734 — 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.8880.1.3acdbfc734; core 0.11.1-develop.8880.1.3acdbfc734 — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/webhooks/src/modules/webhooks
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
| Activation | Kind | Host | Contribution kinds | Phases | Bridge | Source |
|
|
8
8
|
|---|---|---|---|---|---|---|
|
|
9
|
-
| entity:wms.inventory:mutation-guard | mutation-guard | entity:wms.inventory @wms | mutation-guard | — | — | [api/inventory/import/helpers.ts:
|
|
9
|
+
| entity:wms.inventory:mutation-guard | mutation-guard | entity:wms.inventory @wms | mutation-guard | — | — | [api/inventory/import/helpers.ts:143](../../../../node_modules/@open-mercato/core/src/modules/wms/api/inventory/import/helpers.ts#L143) |
|
|
10
10
|
| widget-spot:crud-form:catalog.catalog_product_variant:fields:widget-injection-consumer | widget-injection-consumer | widget-spot:crud-form:catalog.catalog_product_variant:fields @framework | widget, data-table, crud-form | — | hosts:framework.crud-form-wildcard | packages/ui/src |
|
|
11
11
|
|
|
12
12
|
<!-- end module facts section: wms/active-extension-bindings -->
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
| routes | `overrides.routes.pages["backend:/backend/wms/sku/[id]"]` | disable-replace | backendPages:/backend/wms/sku/[id] | [backend/wms/sku/[id]/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/wms/backend/wms/sku/[id]/page.tsx) |
|
|
71
71
|
| routes | `overrides.routes.pages["backend:/backend/wms/warehouses"]` | disable-replace | backendPages:/backend/wms/warehouses | [backend/wms/warehouses/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/wms/backend/wms/warehouses/page.tsx) |
|
|
72
72
|
| routes | `overrides.routes.pages["backend:/backend/wms/zones"]` | disable-replace | backendPages:/backend/wms/zones | [backend/wms/zones/page.tsx](../../../../node_modules/@open-mercato/core/src/modules/wms/backend/wms/zones/page.tsx) |
|
|
73
|
-
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:wms:setup | [setup.ts:
|
|
74
|
-
| setup | `overrides.setup.seedDefaults` | replace | ownedContracts.setup:wms:setup | [setup.ts:
|
|
73
|
+
| setup | `overrides.setup.defaultRoleFeatures` | replace | ownedContracts.setup:wms:setup | [setup.ts:18](../../../../node_modules/@open-mercato/core/src/modules/wms/setup.ts#L18) |
|
|
74
|
+
| setup | `overrides.setup.seedDefaults` | replace | ownedContracts.setup:wms:setup | [setup.ts:18](../../../../node_modules/@open-mercato/core/src/modules/wms/setup.ts#L18) |
|
|
75
75
|
| widgets | `overrides.widgets.injection["wms.injection.catalog-inventory-profile"]` | disable-replace | extensionSurfaces.contributions:wms.injection.catalog-inventory-profile@crud-form:catalog.catalog_product_variant:fields | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
|
|
76
76
|
| widgets | `overrides.widgets.injection["wms.injection.order-items-stock-column"]` | disable-replace | extensionSurfaces.contributions:wms.injection.order-items-stock-column@data-table:sales.order.items:columns | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
|
|
77
77
|
| widgets | `overrides.widgets.injection["wms.injection.sales-order-stock-context"]` | disable-replace | extensionSurfaces.contributions:wms.injection.sales-order-stock-context@sales.document.detail.order:details | [widgets/injection-table.ts](../../../../node_modules/@open-mercato/core/src/modules/wms/widgets/injection-table.ts) |
|
|
@@ -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.8880.1.3acdbfc734; core 0.11.1-develop.8880.1.3acdbfc734 — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/wms
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
| ID | Metadata | Source |
|
|
8
8
|
|---|---|---|
|
|
9
|
-
| wms:setup | hooks=seedDefaults; roles=admin, employee | [setup.ts:
|
|
9
|
+
| wms:setup | hooks=seedDefaults; roles=admin, employee | [setup.ts:18](../../../../node_modules/@open-mercato/core/src/modules/wms/setup.ts#L18) |
|
|
10
10
|
|
|
11
11
|
<!-- end module facts section: wms/setup -->
|
|
@@ -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.8880.1.3acdbfc734; core 0.11.1-develop.8880.1.3acdbfc734 — R1 staleness stamp -->
|
|
3
3
|
Source root: node_modules/@open-mercato/core/src/modules/workflows
|
|
4
4
|
|
|
5
5
|
## Sections
|
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
| workflows:workflow_event_trigger | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:workflows:workflow_event_trigger |
|
|
44
44
|
| workflows:workflow_instance | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:workflows:workflow_instance |
|
|
45
45
|
| workflows.definition | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/definitions/[id]/customize/route.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/api/definitions/[id]/customize/route.ts) |
|
|
46
|
+
| workflows.definition_draft | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/definitions/[id]/draft/route.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/api/definitions/[id]/draft/route.ts) |
|
|
47
|
+
| workflows.instance | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/instances/[id]/context/route.ts](../../../../node_modules/@open-mercato/core/src/modules/workflows/api/instances/[id]/context/route.ts) |
|
|
46
48
|
| approval.completed | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:approval.completed |
|
|
47
49
|
| approval.requested | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:approval.requested |
|
|
48
50
|
| checkout.started | event | async-subscriber, sync-subscriber | tenant-organization-and-audience | STABLE | events:checkout.started |
|
|
@@ -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.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"sourceKind": "local-reference",
|
|
6
6
|
"runtimeSelected": false,
|
|
7
7
|
"sourceFingerprint": "001cfc8d6ef80756d3ebfb1de83a42d54327056506c0181867b86de73a5cc27e",
|
|
8
|
-
"taxonomyFingerprint": "
|
|
8
|
+
"taxonomyFingerprint": "2313a7e21c5035b75f662405dad75acfe976c796cd5b4c4f2f2f41635a009aee",
|
|
9
9
|
"factCoverage": [
|
|
10
10
|
{
|
|
11
11
|
"family": "ModuleFactSourceKind",
|
|
@@ -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.8880.1.3acdbfc734",
|
|
1195
1195
|
"sourcePackage": null,
|
|
1196
1196
|
"sourceVersion": null,
|
|
1197
1197
|
"sourceRoot": "src/modules/example",
|
|
@@ -2022,7 +2022,7 @@
|
|
|
2022
2022
|
}
|
|
2023
2023
|
},
|
|
2024
2024
|
{
|
|
2025
|
-
"key": "entity.example:todo",
|
|
2025
|
+
"key": "api-entity.example:todo",
|
|
2026
2026
|
"id": "example:todo",
|
|
2027
2027
|
"resolution": "fact-ref",
|
|
2028
2028
|
"family": "entity",
|
|
@@ -2030,17 +2030,16 @@
|
|
|
2030
2030
|
"capabilities": [
|
|
2031
2031
|
"response-enricher",
|
|
2032
2032
|
"query-enricher",
|
|
2033
|
-
"mutation-guard"
|
|
2034
|
-
"entity-extension"
|
|
2033
|
+
"mutation-guard"
|
|
2035
2034
|
],
|
|
2036
2035
|
"activation": "host-opt-in",
|
|
2037
2036
|
"scopeContract": "tenant-and-organization",
|
|
2038
2037
|
"bound": true,
|
|
2039
2038
|
"stability": "stable",
|
|
2040
2039
|
"source": {
|
|
2041
|
-
"kind": "
|
|
2042
|
-
"
|
|
2043
|
-
"
|
|
2040
|
+
"kind": "declaration",
|
|
2041
|
+
"path": "src/modules/example/api/todos/bulk-complete/route.ts",
|
|
2042
|
+
"symbol": "example:todo"
|
|
2044
2043
|
}
|
|
2045
2044
|
},
|
|
2046
2045
|
{
|
|
@@ -6873,35 +6872,35 @@
|
|
|
6873
6872
|
},
|
|
6874
6873
|
{
|
|
6875
6874
|
"kind": "extension-host",
|
|
6876
|
-
"id": "api-entity.example
|
|
6875
|
+
"id": "api-entity.example:todo",
|
|
6877
6876
|
"factRef": {
|
|
6878
6877
|
"factSection": "extensionSurfaces.hosts"
|
|
6879
6878
|
}
|
|
6880
6879
|
},
|
|
6881
6880
|
{
|
|
6882
6881
|
"kind": "extension-host",
|
|
6883
|
-
"id": "entity.example
|
|
6882
|
+
"id": "api-entity.example.todo",
|
|
6884
6883
|
"factRef": {
|
|
6885
6884
|
"factSection": "extensionSurfaces.hosts"
|
|
6886
6885
|
}
|
|
6887
6886
|
},
|
|
6888
6887
|
{
|
|
6889
6888
|
"kind": "extension-host",
|
|
6890
|
-
"id": "entity.example:
|
|
6889
|
+
"id": "entity.example:example_customer_priority",
|
|
6891
6890
|
"factRef": {
|
|
6892
6891
|
"factSection": "extensionSurfaces.hosts"
|
|
6893
6892
|
}
|
|
6894
6893
|
},
|
|
6895
6894
|
{
|
|
6896
6895
|
"kind": "extension-host",
|
|
6897
|
-
"id": "entity.example:
|
|
6896
|
+
"id": "entity.example:example_item",
|
|
6898
6897
|
"factRef": {
|
|
6899
6898
|
"factSection": "extensionSurfaces.hosts"
|
|
6900
6899
|
}
|
|
6901
6900
|
},
|
|
6902
6901
|
{
|
|
6903
6902
|
"kind": "extension-host",
|
|
6904
|
-
"id": "entity.example:
|
|
6903
|
+
"id": "entity.example:example_todo_bulk_operation",
|
|
6905
6904
|
"factRef": {
|
|
6906
6905
|
"factSection": "extensionSurfaces.hosts"
|
|
6907
6906
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# example — module facts (generated reference projection, do not edit)
|
|
2
|
-
<!-- generated from local reference src/modules/example; source-fingerprint 001cfc8d6ef80756d3ebfb1de83a42d54327056506c0181867b86de73a5cc27e; taxonomy-fingerprint
|
|
2
|
+
<!-- generated from local reference src/modules/example; source-fingerprint 001cfc8d6ef80756d3ebfb1de83a42d54327056506c0181867b86de73a5cc27e; taxonomy-fingerprint 2313a7e21c5035b75f662405dad75acfe976c796cd5b4c4f2f2f41635a009aee — R1 staleness stamp -->
|
|
3
3
|
> Reference projection: `example` is not selected by the current runtime. Its activations and exact override targets describe behavior only after opt-in in `src/modules.ts`.
|
|
4
4
|
Source root: src/modules/example
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
| example:example_customer_priority | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:example_customer_priority |
|
|
24
24
|
| example:example_item | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:example_item |
|
|
25
25
|
| example:example_todo_bulk_operation | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:example_todo_bulk_operation |
|
|
26
|
-
| example:todo | entity | response-enricher, query-enricher, mutation-guard
|
|
26
|
+
| example:todo | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/todos/bulk-complete/route.ts](../../../../src/modules/example/api/todos/bulk-complete/route.ts) |
|
|
27
27
|
| example:todo_brand | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:todo_brand |
|
|
28
28
|
| example:todo_erp_link | entity | response-enricher, query-enricher, mutation-guard, entity-extension | tenant-and-organization | STABLE | entities:example:todo_erp_link |
|
|
29
29
|
| example.todo | entity | response-enricher, query-enricher, mutation-guard | tenant-and-organization | STABLE | [api/todos/route.ts](../../../../src/modules/example/api/todos/route.ts) |
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Agents Guidelines
|
|
2
2
|
|
|
3
|
-
Leverage the module system and follow strict naming and coding conventions to keep the system consistent and safe to extend.
|
|
4
|
-
|
|
5
3
|
> **Instruction budget:** this file must stay under **32,768 bytes** (Codex's default
|
|
6
4
|
> `project_doc_max_bytes`, shared with the nested `AGENTS.md` files below it) — anything past
|
|
7
5
|
> that byte offset never reaches the agent. Keep hard rules and routing here, put long-form
|
|
@@ -33,6 +31,7 @@ Leverage the module system and follow strict naming and coding conventions to ke
|
|
|
33
31
|
|
|
34
32
|
- Never expose cross-tenant data or skip tenant/organization scoping.
|
|
35
33
|
- Never edit generated files by hand.
|
|
34
|
+
- Never add one-off upgrade commands to the CLI. Use upgrade actions or `UPGRADE_NOTES.md` with a script or AI skill.
|
|
36
35
|
- Never put app source outside its [allowed locations](#where-to-put-code).
|
|
37
36
|
- Never create direct ORM relationships between modules.
|
|
38
37
|
- Never bypass mutation guards, command side effects, encryption helpers, RBAC wildcard matching, or shared UI data-call helpers.
|
|
@@ -246,7 +245,7 @@ These are critical project-wide rules. The top-level `Always`, `Ask First`, and
|
|
|
246
245
|
- Use `findWithDecryption`/`findOneWithDecryption` instead of `em.find`/`em.findOne`
|
|
247
246
|
- Default migration workflow: update ORM entities, run `yarn db:generate`, and review the generated SQL plus `migrations/.snapshot-open-mercato.json`
|
|
248
247
|
- Coding-agent exception: if `yarn db:generate` emits unrelated migrations, delete the unrelated output, keep or write only the intended SQL migration for this entity change, and update the affected module's `.snapshot-open-mercato.json`. Never run `yarn db:migrate` just to make the generator quiet.
|
|
249
|
-
- Hash passwords
|
|
248
|
+
- Hash passwords via `getPasswordHasher()`, never log credentials
|
|
250
249
|
- Return minimal error messages for auth (avoid revealing whether email exists)
|
|
251
250
|
- RBAC: prefer declarative guards (`requireAuth`, `requireFeatures`) in page metadata; avoid `requireRoles` — role names are mutable and can be spoofed; use feature-based guards with immutable IDs from `acl.ts` instead
|
|
252
251
|
- Portal RBAC: use `requireCustomerAuth` and `requireCustomerFeatures` in page metadata for portal pages
|
|
@@ -110,6 +110,7 @@ Required fields MUST NOT be removed or narrowed. Optional fields may be added fr
|
|
|
110
110
|
- `RefreshCredentialsInput` (communication_channels hub): `channelId`, `credentials`, `scope` — MUST NOT remove. `oauthClient?` was added 2026-05-27 as an additive optional field (see [Spec A](.ai/specs/implemented/2026-05-27-email-integration-inbound-reliability-and-threading.md)). The legacy `credentials._client` read path in the Gmail adapter was **removed** (see #3828 / UPGRADE_NOTES) — OAuth client config MUST be passed via `RefreshCredentialsInput.oauthClient`.
|
|
111
111
|
- `OAuthClientConfig` (communication_channels hub): added 2026-05-27 with `clientId` required; optional `clientSecret`, `tenantId`, `scopes`. New optional fields may be added; required `clientId` MUST NOT be removed.
|
|
112
112
|
- `BackendChromePayload`: `groups`, `settingsSections`, `settingsPathPrefixes`, `profileSections`, `profilePathPrefixes`, `grantedFeatures`, `roles` — MUST NOT remove. `currentOrganization?` (`BackendChromeCurrentOrganization | null`) was added 2026-07-30 as an additive optional field (see [spec](.ai/specs/2026-07-30-backend-chrome-current-organization.md)); it is `null` under an all-organizations selection, when no organization is in scope, and when the lookup fails, so consumers MUST treat `null` as "unknown" rather than "no organization". `brand?` is **unchanged** and remains the branding channel — it populates only when the organization has a `logoUrl`, and `currentOrganization` does not supersede it.
|
|
113
|
+
- `KanbanView`/`DEALS_VIEWS` (deals `ViewTabsRow`): **ADDITIVE-ONLY union**; append only.
|
|
113
114
|
|
|
114
115
|
**STABLE field shape, changed value semantics in 0.6.8:** each entry in `BackendChromePayload.settingsSections` keeps its `id`, `label`, `labelKey`, `order`, and `items` fields, but `id` is now the section's **untranslated group id** (the page's `pageGroupKey`, e.g. `settings.sections.moduleConfigs`) instead of a slug of the rendered group label. The old value was locale-dependent, so it could not be targeted reliably (see [#4843](https://github.com/open-mercato/open-mercato/issues/4843)). Consumers matching a settings section — notably injected `menuItems[].groupId` — MUST use the group id, which is the form the widget-injection documentation already prescribes. `buildSettingsSections`' `sectionOrder` parameter keeps a deprecated fallback lookup on the old label slug for at least one minor release.
|
|
115
116
|
|
|
@@ -699,6 +700,10 @@ Stop writers; restart replicas. Owner-approved Core unprotected rotation: `--ack
|
|
|
699
700
|
|
|
700
701
|
**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
702
|
|
|
703
|
+
## Attachment owner access on direct readers (2026-11-03, #6282)
|
|
704
|
+
|
|
705
|
+
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.
|
|
706
|
+
|
|
702
707
|
## #7809 2026-11-06
|
|
703
708
|
|
|
704
709
|
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 +722,19 @@ STABLE command/API: unrestricted attribution permits forgery; a bridge retains i
|
|
|
717
722
|
|
|
718
723
|
## 2026-11 — CRUD security (#3827, #9154, #9106)
|
|
719
724
|
|
|
720
|
-
STABLE API limits sorts, deleted rows, labels and global reads.
|
|
725
|
+
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
726
|
|
|
722
727
|
## 2026-11-19 — Entity translation authorization (#9139)
|
|
723
728
|
|
|
724
|
-
STABLE translation API
|
|
729
|
+
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
730
|
|
|
726
731
|
## SSO authority (2026-11-15, #9014)
|
|
727
732
|
|
|
728
|
-
STABLE SSO/SCIM APIs and `SsoConfigService`/`ScimTokenService`
|
|
733
|
+
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
734
|
|
|
730
735
|
## 2026-11-22 — Attachment assignment label authorization (#10336)
|
|
731
736
|
|
|
732
|
-
STABLE attachment API
|
|
737
|
+
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
738
|
|
|
734
739
|
## #10331 #10332 (2026-11-23)
|
|
735
740
|
|
|
@@ -737,11 +742,11 @@ STABLE UMES/SQL: bridge keeps flaws. [Fix][up].
|
|
|
737
742
|
|
|
738
743
|
## 2026-11-24 — Trace ingest
|
|
739
744
|
|
|
740
|
-
STABLE API: legacy signatures leave
|
|
745
|
+
STABLE API: legacy signatures leave org unverified. Rotate scoped keys and reuse workflow run IDs. [Migration][up]. Named waiver pending.
|
|
741
746
|
|
|
742
747
|
## 2026-11-25 — Encrypted custom field writes
|
|
743
748
|
|
|
744
|
-
STABLE
|
|
749
|
+
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
750
|
|
|
746
751
|
## MCP HTTP session token, no fallback (2026-11-14, #5173)
|
|
747
752
|
|
|
@@ -761,15 +766,15 @@ STABLE task fields. A bridge retains bypass. Waiver due. [Guide](UPGRADE_NOTES.m
|
|
|
761
766
|
|
|
762
767
|
## 2026-11-26 — Vector-index entity authorization (#10693)
|
|
763
768
|
|
|
764
|
-
STABLE `GET /api/search/index`
|
|
769
|
+
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
770
|
|
|
766
771
|
## Staff credential email (2026-11-27, #10594)
|
|
767
772
|
|
|
768
|
-
STABLE superadmin reset
|
|
773
|
+
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
774
|
|
|
770
775
|
## 2026-11-27 — Staff and organization boundaries (#10503, #10543)
|
|
771
776
|
|
|
772
|
-
STABLE APIs §7 require
|
|
777
|
+
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
778
|
|
|
774
779
|
## [System keys (2026-11-25)](UPGRADE_NOTES.md#system-dictionary-preservation-10341)
|
|
775
780
|
|
|
@@ -778,3 +783,7 @@ STABLE PATCH/DELETE. Backports need a named waiver.
|
|
|
778
783
|
## #10788 (2026-11-26)
|
|
779
784
|
|
|
780
785
|
STABLE audit scope. Bridge leaks. Waived by @kmrosiek. [Guide](UPGRADE_NOTES.md#audit-log-scope-10788).
|
|
786
|
+
|
|
787
|
+
## Staff/ACL grant ceilings (2026-11-26, #10687, #10598)
|
|
788
|
+
|
|
789
|
+
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.8880.1.3acdbfc734",
|
|
4
4
|
"files": {
|
|
5
|
-
"AGENTS.md": "
|
|
6
|
-
"BACKWARD_COMPATIBILITY.md": "
|
|
5
|
+
"AGENTS.md": "b5dc75ec890c2e8cc834cf36861be3b7b78ab1a714ecb83c8160f3d3e8834140",
|
|
6
|
+
"BACKWARD_COMPATIBILITY.md": "efb8a6229a4f34e43230d92d6451feb6574e208c6de234467278017f069da8a6"
|
|
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",
|
|
@@ -611,12 +611,11 @@ function apiExtensionHostIds(moduleId, moduleRoot) {
|
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
|
-
if (ts.isCallExpression(node)
|
|
615
|
-
const
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
if (!entitySourceFiles[entityId]) entitySourceFiles[entityId] = filePath;
|
|
614
|
+
if (ts.isCallExpression(node)) {
|
|
615
|
+
const bridge = readMutationGuardBridge(node, context);
|
|
616
|
+
if (bridge) {
|
|
617
|
+
entityIds.add(bridge.entityId);
|
|
618
|
+
if (!entitySourceFiles[bridge.entityId]) entitySourceFiles[bridge.entityId] = filePath;
|
|
620
619
|
}
|
|
621
620
|
}
|
|
622
621
|
node.forEachChild(visit);
|