@wildo-ai/wildo-cli 1.1.2 → 1.1.3
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/dist/bin/wildo.d.ts.map +1 -1
- package/dist/src/__tests__/sandbox-dependencies.test-helpers.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.d.ts.map +1 -1
- package/dist/src/commands/acp/probe.command.js +13 -0
- package/dist/src/commands/acp/probe.command.js.map +1 -1
- package/dist/src/commands/align-deps.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.d.ts +6 -0
- package/dist/src/commands/assets/sync.command.d.ts.map +1 -1
- package/dist/src/commands/assets/sync.command.js +13 -3
- package/dist/src/commands/assets/sync.command.js.map +1 -1
- package/dist/src/commands/brand/propagate.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.d.ts.map +1 -1
- package/dist/src/commands/compose.command.js +16 -0
- package/dist/src/commands/compose.command.js.map +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js +1 -1
- package/dist/src/commands/config/__tests__/reapply-declaration.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/sync.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/__tests__/sync.command.test.js +115 -8
- package/dist/src/commands/config/__tests__/sync.command.test.js.map +1 -1
- package/dist/src/commands/config/__tests__/validate.command.test.d.ts.map +1 -1
- package/dist/src/commands/config/mutate.command.d.ts.map +1 -1
- package/dist/src/commands/config/reapply-declaration.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.d.ts +36 -0
- package/dist/src/commands/config/sync.command.d.ts.map +1 -1
- package/dist/src/commands/config/sync.command.js +61 -7
- package/dist/src/commands/config/sync.command.js.map +1 -1
- package/dist/src/commands/config/validate.command.d.ts.map +1 -1
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts +19 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.d.ts.map +1 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js +106 -0
- package/dist/src/commands/context/__tests__/jurisdictions.command.test.js.map +1 -0
- package/dist/src/commands/context/coherence.command.d.ts.map +1 -1
- package/dist/src/commands/context/context-command.utils.d.ts.map +1 -1
- package/dist/src/commands/context/health.command.d.ts.map +1 -1
- package/dist/src/commands/context/info.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.d.ts +6 -2
- package/dist/src/commands/context/journey.command.d.ts.map +1 -1
- package/dist/src/commands/context/journey.command.js +8 -4
- package/dist/src/commands/context/journey.command.js.map +1 -1
- package/dist/src/commands/context/jurisdictions.command.d.ts +36 -0
- package/dist/src/commands/context/jurisdictions.command.d.ts.map +1 -0
- package/dist/src/commands/context/jurisdictions.command.js +115 -0
- package/dist/src/commands/context/jurisdictions.command.js.map +1 -0
- package/dist/src/commands/context/list.command.d.ts.map +1 -1
- package/dist/src/commands/db/db-schema-plan.utils.d.ts.map +1 -1
- package/dist/src/commands/db/diff.command.d.ts.map +1 -1
- package/dist/src/commands/db/generate.command.d.ts.map +1 -1
- package/dist/src/commands/db/migrate.command.d.ts.map +1 -1
- package/dist/src/commands/db/resolve.command.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/design-tokens.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/start.command.test.js +6 -6
- package/dist/src/commands/dev/__tests__/start.command.test.js.map +1 -1
- package/dist/src/commands/dev/__tests__/stop.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.d.ts.map +1 -1
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js +71 -0
- package/dist/src/commands/dev/__tests__/sync-csp.command.test.js.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.d.ts.map +1 -1
- package/dist/src/commands/dev/charts-audit.command.js +1 -1
- package/dist/src/commands/dev/charts-audit.command.js.map +1 -1
- package/dist/src/commands/dev/design-tokens-generate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-init.command.d.ts.map +1 -1
- package/dist/src/commands/dev/design-tokens-validate.command.d.ts.map +1 -1
- package/dist/src/commands/dev/force-stop.command.d.ts.map +1 -1
- package/dist/src/commands/dev/resources.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.d.ts.map +1 -1
- package/dist/src/commands/dev/start.command.js +8 -7
- package/dist/src/commands/dev/start.command.js.map +1 -1
- package/dist/src/commands/dev/stop-all.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.d.ts.map +1 -1
- package/dist/src/commands/dev/sync-csp.command.js +35 -7
- package/dist/src/commands/dev/sync-csp.command.js.map +1 -1
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts +2 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.d.ts.map +1 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.js +101 -0
- package/dist/src/commands/docs/__tests__/publish.command.test.js.map +1 -0
- package/dist/src/commands/docs/publish.command.d.ts +29 -0
- package/dist/src/commands/docs/publish.command.d.ts.map +1 -0
- package/dist/src/commands/docs/publish.command.js +82 -0
- package/dist/src/commands/docs/publish.command.js.map +1 -0
- package/dist/src/commands/frontend/publish.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/dev-skills.command.test.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.d.ts.map +1 -1
- package/dist/src/commands/fwk/__tests__/generate-docs.command.test.js.map +1 -1
- package/dist/src/commands/fwk/audit.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/dev-skills.command.js +12 -0
- package/dist/src/commands/fwk/dev-skills.command.js.map +1 -1
- package/dist/src/commands/fwk/generate-docs.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/generate-providers.command.d.ts +21 -0
- package/dist/src/commands/fwk/generate-providers.command.d.ts.map +1 -0
- package/dist/src/commands/fwk/generate-providers.command.js +309 -0
- package/dist/src/commands/fwk/generate-providers.command.js.map +1 -0
- package/dist/src/commands/fwk/graph.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-all.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-docker.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/publish-npm.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-bump.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-set.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/version-show.command.js +9 -1
- package/dist/src/commands/fwk/version-show.command.js.map +1 -1
- package/dist/src/commands/fwk/version-sync.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/what-touches.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.d.ts +13 -4
- package/dist/src/commands/fwk/wt-status.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-status.command.js +34 -5
- package/dist/src/commands/fwk/wt-status.command.js.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.d.ts +12 -6
- package/dist/src/commands/fwk/wt-tail.command.d.ts.map +1 -1
- package/dist/src/commands/fwk/wt-tail.command.js +40 -10
- package/dist/src/commands/fwk/wt-tail.command.js.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.d.ts.map +1 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js +0 -1
- package/dist/src/commands/generate/__tests__/email-command.utils.test.js.map +1 -1
- package/dist/src/commands/generate/email-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/email-command.utils.js +1 -0
- package/dist/src/commands/generate/email-command.utils.js.map +1 -1
- package/dist/src/commands/generate/email-preview.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-status.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-test-send.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email-translate.command.d.ts.map +1 -1
- package/dist/src/commands/generate/email.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.d.ts.map +1 -1
- package/dist/src/commands/generate/labelling-command.utils.js +1 -0
- package/dist/src/commands/generate/labelling-command.utils.js.map +1 -1
- package/dist/src/commands/generate/labels-plan.command.d.ts.map +1 -1
- package/dist/src/commands/generate/labels.command.d.ts.map +1 -1
- package/dist/src/commands/generate/translate.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.d.ts.map +1 -1
- package/dist/src/commands/help.command.js +2 -0
- package/dist/src/commands/help.command.js.map +1 -1
- package/dist/src/commands/init.command.d.ts +17 -0
- package/dist/src/commands/init.command.d.ts.map +1 -1
- package/dist/src/commands/init.command.js +57 -4
- package/dist/src/commands/init.command.js.map +1 -1
- package/dist/src/commands/local/__tests__/dev-status.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/dev.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/dev.command.test.js +60 -0
- package/dist/src/commands/local/__tests__/dev.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/doctor.command.test.js +16 -2
- package/dist/src/commands/local/__tests__/doctor.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/init.command.test.js +28 -1
- package/dist/src/commands/local/__tests__/init.command.test.js.map +1 -1
- package/dist/src/commands/local/__tests__/reinit.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/reset.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/up.command.test.d.ts.map +1 -1
- package/dist/src/commands/local/__tests__/up.command.test.js +7 -0
- package/dist/src/commands/local/__tests__/up.command.test.js.map +1 -1
- package/dist/src/commands/local/dev-status.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.d.ts +6 -3
- package/dist/src/commands/local/dev.command.d.ts.map +1 -1
- package/dist/src/commands/local/dev.command.js +13 -4
- package/dist/src/commands/local/dev.command.js.map +1 -1
- package/dist/src/commands/local/doctor.command.d.ts +9 -0
- package/dist/src/commands/local/doctor.command.d.ts.map +1 -1
- package/dist/src/commands/local/doctor.command.js +24 -6
- package/dist/src/commands/local/doctor.command.js.map +1 -1
- package/dist/src/commands/local/down.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.d.ts.map +1 -1
- package/dist/src/commands/local/init.command.js +11 -2
- package/dist/src/commands/local/init.command.js.map +1 -1
- package/dist/src/commands/local/logs.command.d.ts.map +1 -1
- package/dist/src/commands/local/reinit.command.d.ts.map +1 -1
- package/dist/src/commands/local/reset.command.d.ts.map +1 -1
- package/dist/src/commands/local/status.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.d.ts.map +1 -1
- package/dist/src/commands/local/up.command.js.map +1 -1
- package/dist/src/commands/lock/__tests__/check.command.test.d.ts.map +1 -1
- package/dist/src/commands/lock/__tests__/check.live.contract.test.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.d.ts.map +1 -1
- package/dist/src/commands/lock/check.command.js +3 -10
- package/dist/src/commands/lock/check.command.js.map +1 -1
- package/dist/src/commands/market/__tests__/generate.command.test.d.ts.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.d.ts.map +1 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js +0 -1
- package/dist/src/commands/market/__tests__/market-command.utils.test.js.map +1 -1
- package/dist/src/commands/market/generate.command.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.d.ts.map +1 -1
- package/dist/src/commands/market/market-command.utils.js +1 -0
- package/dist/src/commands/market/market-command.utils.js.map +1 -1
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts +2 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.d.ts.map +1 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.js +35 -0
- package/dist/src/commands/providers/__tests__/required-inputs.test.js.map +1 -0
- package/dist/src/commands/providers/show.command.d.ts +51 -0
- package/dist/src/commands/providers/show.command.d.ts.map +1 -0
- package/dist/src/commands/providers/show.command.js +152 -0
- package/dist/src/commands/providers/show.command.js.map +1 -0
- package/dist/src/commands/registry/add.command.d.ts.map +1 -1
- package/dist/src/commands/registry/info.command.d.ts.map +1 -1
- package/dist/src/commands/registry/lockfile-smoke.command.d.ts.map +1 -1
- package/dist/src/commands/registry/login.command.d.ts.map +1 -1
- package/dist/src/commands/registry/logout.command.d.ts.map +1 -1
- package/dist/src/commands/registry/ping.command.d.ts.map +1 -1
- package/dist/src/commands/registry/publish.command.d.ts.map +1 -1
- package/dist/src/commands/registry/remove.command.d.ts.map +1 -1
- package/dist/src/commands/registry/repair-lockfile.command.d.ts.map +1 -1
- package/dist/src/commands/registry/search.command.d.ts.map +1 -1
- package/dist/src/commands/registry/update.command.d.ts.map +1 -1
- package/dist/src/commands/registry/whoami.command.d.ts.map +1 -1
- package/dist/src/commands/remote/__tests__/remote-commands.test.d.ts.map +1 -1
- package/dist/src/commands/remote/create.command.d.ts.map +1 -1
- package/dist/src/commands/remote/list.command.d.ts.map +1 -1
- package/dist/src/commands/remote/status.command.d.ts.map +1 -1
- package/dist/src/commands/remote/sync.command.d.ts.map +1 -1
- package/dist/src/commands/setup.command.d.ts.map +1 -1
- package/dist/src/commands/version.command.d.ts.map +1 -1
- package/dist/src/commands/website/__tests__/audit.command.test.d.ts.map +1 -1
- package/dist/src/commands/website/audit.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/__tests__/workbench.commands.test.d.ts.map +1 -1
- package/dist/src/commands/workbench/open.command.d.ts.map +1 -1
- package/dist/src/commands/workbench/status.command.d.ts.map +1 -1
- package/dist/src/infrastructure/errors/error.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/file.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/io/io.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/io/template-processor.d.ts.map +1 -1
- package/dist/src/infrastructure/logger/logger.service.d.ts.map +1 -1
- package/dist/src/infrastructure/process/__tests__/spawn.utils.test.d.ts.map +1 -1
- package/dist/src/infrastructure/process/spawn.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/formatting.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/interaction-engine.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/markdown-renderer.service.d.ts.map +1 -1
- package/dist/src/infrastructure/ui/ui.schemas.d.ts.map +1 -1
- package/dist/src/infrastructure/utils/string.utils.d.ts.map +1 -1
- package/dist/src/infrastructure/validation/validator.service.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/bootstrap.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-registry.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-registry.test.js +9 -0
- package/dist/src/kernel/__tests__/command-registry.test.js.map +1 -1
- package/dist/src/kernel/__tests__/command-runner.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/command-scope-utils.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/flag-utils.test.d.ts.map +1 -1
- package/dist/src/kernel/__tests__/hooks.test.d.ts.map +1 -1
- package/dist/src/kernel/base-command.d.ts.map +1 -1
- package/dist/src/kernel/bootstrap.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.d.ts.map +1 -1
- package/dist/src/kernel/command-registry.js +6 -0
- package/dist/src/kernel/command-registry.js.map +1 -1
- package/dist/src/kernel/command-runner.d.ts.map +1 -1
- package/dist/src/kernel/command-scope-utils.d.ts.map +1 -1
- package/dist/src/kernel/flag-utils.d.ts.map +1 -1
- package/dist/src/kernel/hooks.d.ts.map +1 -1
- package/dist/src/kernel/logger.d.ts.map +1 -1
- package/dist/src/kernel/types.d.ts +17 -1
- package/dist/src/kernel/types.d.ts.map +1 -1
- package/dist/src/kernel/types.js +16 -0
- package/dist/src/kernel/types.js.map +1 -1
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/admin-user.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js +2 -2
- package/dist/src/modules/domain/credentials/__tests__/providers-config.module.test.js.map +1 -1
- package/dist/src/modules/domain/credentials/admin-user.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts +17 -9
- package/dist/src/modules/domain/credentials/providers-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/credentials/providers-config.module.js +18 -10
- package/dist/src/modules/domain/credentials/providers-config.module.js.map +1 -1
- package/dist/src/modules/domain/environment/__tests__/database-config.module.test.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/database-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/module.types.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/paths-config.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-selector.module.d.ts.map +1 -1
- package/dist/src/modules/domain/environment/runtime-semantics.module.d.ts.map +1 -1
- package/dist/src/modules/domain/module.types.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.apps-manager-reconnect.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.degraded-env.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.operation-timeout.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js +22 -29
- package/dist/src/services/application/__tests__/app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js +1 -1
- package/dist/src/services/application/__tests__/app-bootstrap.two-phase-seeding.test.js.map +1 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js +2 -2
- package/dist/src/services/application/__tests__/app-runtime-targets.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js +19 -0
- package/dist/src/services/application/__tests__/application-assets-delivery.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/application-dependency-alignment.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-initialization-verification.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/application-runtime-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/apps-manager-unavailable-classification.test.js.map +1 -1
- package/dist/src/services/application/__tests__/audit-provider-immudb-backing.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/dev-orchestrator.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/dev-schema-drift.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js +0 -1
- package/dist/src/services/application/__tests__/existing-app-bootstrap.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js +8 -1
- package/dist/src/services/application/__tests__/local-app-reinit.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.guard.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js +35 -0
- package/dist/src/services/application/__tests__/local-application-initialization.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts +2 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.d.ts.map +1 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js +156 -0
- package/dist/src/services/application/__tests__/provider-package-links.service.test.js.map +1 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js +28 -0
- package/dist/src/services/application/__tests__/provider-runtime-sync.service.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js +0 -1
- package/dist/src/services/application/__tests__/saas-and-infra-contracts.test.js.map +1 -1
- package/dist/src/services/application/__tests__/saas-scaffold.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.d.ts.map +1 -1
- package/dist/src/services/application/__tests__/saas-skeleton.service.test.js.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.d.ts +34 -10
- package/dist/src/services/application/app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/app-bootstrap.service.js +62 -48
- package/dist/src/services/application/app-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/app-env.service.d.ts.map +1 -1
- package/dist/src/services/application/app-local-runtime-addresses.service.d.ts.map +1 -1
- package/dist/src/services/application/app-runtime-targets.service.d.ts.map +1 -1
- package/dist/src/services/application/app-schema-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts +22 -1
- package/dist/src/services/application/application-assets-delivery.service.d.ts.map +1 -1
- package/dist/src/services/application/application-assets-delivery.service.js +35 -7
- package/dist/src/services/application/application-assets-delivery.service.js.map +1 -1
- package/dist/src/services/application/application-dependency-alignment.service.d.ts.map +1 -1
- package/dist/src/services/application/application-dev-port-offsets.d.ts.map +1 -1
- package/dist/src/services/application/application-initialization-verification.service.d.ts.map +1 -1
- package/dist/src/services/application/application-root.utils.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/application-runtime-bootstrap.service.js +0 -2
- package/dist/src/services/application/application-runtime-bootstrap.service.js.map +1 -1
- package/dist/src/services/application/dev-orchestrator.service.d.ts.map +1 -1
- package/dist/src/services/application/dev-schema-drift.service.d.ts.map +1 -1
- package/dist/src/services/application/existing-app-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/application/local-app-reinit.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.d.ts.map +1 -1
- package/dist/src/services/application/local-application-initialization.service.js +22 -6
- package/dist/src/services/application/local-application-initialization.service.js.map +1 -1
- package/dist/src/services/application/provider-package-links.service.d.ts +130 -0
- package/dist/src/services/application/provider-package-links.service.d.ts.map +1 -0
- package/dist/src/services/application/provider-package-links.service.js +280 -0
- package/dist/src/services/application/provider-package-links.service.js.map +1 -0
- package/dist/src/services/application/provider-runtime-sync.service.d.ts.map +1 -1
- package/dist/src/services/application/provider-runtime-sync.service.js +6 -20
- package/dist/src/services/application/provider-runtime-sync.service.js.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-scaffold.service.js +11 -2
- package/dist/src/services/application/saas-scaffold.service.js.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.d.ts.map +1 -1
- package/dist/src/services/application/saas-skeleton.service.js +24 -24
- package/dist/src/services/application/saas-skeleton.service.js.map +1 -1
- package/dist/src/services/brand/__tests__/brand-asset-delivery.test.d.ts.map +1 -1
- package/dist/src/services/brand/brand-asset-projection.d.ts.map +1 -1
- package/dist/src/services/brand/brand-destination-utils.d.ts.map +1 -1
- package/dist/src/services/brand/brand-propagation.types.d.ts.map +1 -1
- package/dist/src/services/brand/brand-ssot-reader.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/app-public.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/runtime-app-config.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/technical-doc-static.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/website-og.destination.d.ts.map +1 -1
- package/dist/src/services/brand/destinations/website-public.destination.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts +2 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.d.ts.map +1 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js +93 -0
- package/dist/src/services/catalog/__tests__/durable-state-classification.test.js.map +1 -0
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js +25 -5
- package/dist/src/services/catalog/__tests__/service-address-resolver.service.test.js.map +1 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.d.ts.map +1 -1
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js +109 -51
- package/dist/src/services/catalog/__tests__/service-catalog.schemas.test.js.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts +0 -1
- package/dist/src/services/catalog/service-address-resolver.service.d.ts.map +1 -1
- package/dist/src/services/catalog/service-address-resolver.service.js +23 -7
- package/dist/src/services/catalog/service-address-resolver.service.js.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.d.ts +148 -51
- package/dist/src/services/catalog/service-catalog.schemas.d.ts.map +1 -1
- package/dist/src/services/catalog/service-catalog.schemas.js +230 -78
- package/dist/src/services/catalog/service-catalog.schemas.js.map +1 -1
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts +2 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.d.ts.map +1 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js +110 -0
- package/dist/src/services/coding-agents/__tests__/acp-conformance-probe.service.test.js.map +1 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts +32 -0
- package/dist/src/services/coding-agents/acp-conformance-probe.service.d.ts.map +1 -1
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js +165 -7
- package/dist/src/services/coding-agents/acp-conformance-probe.service.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/companion-client.service.test.js +96 -0
- package/dist/src/services/companion/__tests__/companion-client.service.test.js.map +1 -1
- package/dist/src/services/companion/__tests__/companion-lifecycle.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/workbench-browser-launcher.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/__tests__/workbench-cli.service.test.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client-options.utils.js +6 -0
- package/dist/src/services/companion/companion-client-options.utils.js.map +1 -1
- package/dist/src/services/companion/companion-client.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-client.service.js +34 -0
- package/dist/src/services/companion/companion-client.service.js.map +1 -1
- package/dist/src/services/companion/companion-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/companion/companion-local-token.utils.d.ts +20 -0
- package/dist/src/services/companion/companion-local-token.utils.d.ts.map +1 -0
- package/dist/src/services/companion/companion-local-token.utils.js +62 -0
- package/dist/src/services/companion/companion-local-token.utils.js.map +1 -0
- package/dist/src/services/companion/companion.schemas.d.ts +12 -0
- package/dist/src/services/companion/companion.schemas.d.ts.map +1 -1
- package/dist/src/services/companion/companion.schemas.js.map +1 -1
- package/dist/src/services/companion/git-helper.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.d.ts.map +1 -1
- package/dist/src/services/companion/local-companion-authority.service.js +9 -30
- package/dist/src/services/companion/local-companion-authority.service.js.map +1 -1
- package/dist/src/services/companion/workbench-browser-launcher.service.d.ts.map +1 -1
- package/dist/src/services/companion/workbench-cli.service.d.ts.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.d.ts.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js +7 -0
- package/dist/src/services/context/__tests__/context-manager.installed-assets.test.js.map +1 -1
- package/dist/src/services/context/__tests__/context-manager.service.test.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.d.ts +9 -0
- package/dist/src/services/context/context-manager.service.d.ts.map +1 -1
- package/dist/src/services/context/context-manager.service.js +13 -1
- package/dist/src/services/context/context-manager.service.js.map +1 -1
- package/dist/src/services/context/context.schemas.d.ts.map +1 -1
- package/dist/src/services/context/state-manager.service.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts +28 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js +197 -0
- package/dist/src/services/credentials/__tests__/ci-secrets-mapping.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts +2 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.d.ts.map +1 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js +327 -0
- package/dist/src/services/credentials/__tests__/composed-provider-secrets.guard.test.js.map +1 -0
- package/dist/src/services/credentials/__tests__/framework-managed-secrets.test.d.ts.map +1 -1
- package/dist/src/services/credentials/__tests__/secrets-contracts.test.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.d.ts.map +1 -1
- package/dist/src/services/credentials/ci-secrets-adapter.service.js +98 -37
- package/dist/src/services/credentials/ci-secrets-adapter.service.js.map +1 -1
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts +175 -0
- package/dist/src/services/credentials/composed-provider-catalogue.d.ts.map +1 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js +228 -0
- package/dist/src/services/credentials/composed-provider-catalogue.js.map +1 -0
- package/dist/src/services/credentials/credentials.schemas.d.ts +2 -22
- package/dist/src/services/credentials/credentials.schemas.d.ts.map +1 -1
- package/dist/src/services/credentials/credentials.schemas.js +17 -5
- package/dist/src/services/credentials/credentials.schemas.js.map +1 -1
- package/dist/src/services/credentials/credentials.service.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts +105 -1
- package/dist/src/services/credentials/framework-managed-secrets.d.ts.map +1 -1
- package/dist/src/services/credentials/framework-managed-secrets.js +2 -0
- package/dist/src/services/credentials/framework-managed-secrets.js.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts +127 -7
- package/dist/src/services/credentials/provider-env-vars.utils.d.ts.map +1 -1
- package/dist/src/services/credentials/provider-env-vars.utils.js +189 -45
- package/dist/src/services/credentials/provider-env-vars.utils.js.map +1 -1
- package/dist/src/services/credentials/secrets-provisioning.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-reader.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-rotation.service.d.ts.map +1 -1
- package/dist/src/services/credentials/secrets-writer.service.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts +0 -1
- package/dist/src/services/data-services/data-services.schemas.d.ts.map +1 -1
- package/dist/src/services/data-services/data-services.schemas.js +0 -1
- package/dist/src/services/data-services/data-services.schemas.js.map +1 -1
- package/dist/src/services/data-services/data-services.service.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/apps-manager-diagnostics.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js +91 -1
- package/dist/src/services/deployment/__tests__/ci-deploy-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/ci-workflow-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js +45 -15
- package/dist/src/services/deployment/__tests__/deployment-template-contracts.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js +33 -1
- package/dist/src/services/deployment/__tests__/host-toolchain-readiness.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/infra-templates-render-smoke.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-observer-lifecycle.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-output-boundary.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-session-lease.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-dev-shutdown-coordinator.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js +44 -1
- package/dist/src/services/deployment/__tests__/local-precondition-checks.service.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/local-runtime-process-cleanup.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js +82 -87
- package/dist/src/services/deployment/__tests__/parity.compose-vs-k8s.test.js.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-lifecycle.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/__tests__/platform-runtime-policy.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/apps-manager-diagnostics.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js +11 -1
- package/dist/src/services/deployment/ci-deploy-generator.service.js.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/ci-workflow-generator.service.js +23 -4
- package/dist/src/services/deployment/ci-workflow-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/compose-env-value-encoding.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/compose-host-mounted-artifact.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js +150 -7
- package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js +60 -12
- package/dist/src/services/deployment/docker/docker-compose-generator.service.js.map +1 -1
- package/dist/src/services/deployment/docker/docker-compose-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/docker/docker.service.d.ts.map +1 -1
- package/dist/src/services/deployment/host-toolchain-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.d.ts.map +1 -1
- package/dist/src/services/deployment/infra-writer.service.js +11 -3
- package/dist/src/services/deployment/infra-writer.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js +110 -9
- package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-operations.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts +2 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.d.ts.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js +226 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-runtime-env-secrets.test.js.map +1 -0
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js +132 -12
- package/dist/src/services/deployment/k8s/__tests__/k8s-secrets-generator.service.test.js.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/kind.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/__tests__/local-k8s-application-pruning.service.test.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js +3 -0
- package/dist/src/services/deployment/k8s/k8s-bootstrap.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-local-infra-readiness.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js +45 -9
- package/dist/src/services/deployment/k8s/k8s-manifest-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts +4 -3
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js +0 -4
- package/dist/src/services/deployment/k8s/k8s-manifest.schemas.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-operations.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts +10 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js +193 -33
- package/dist/src/services/deployment/k8s/k8s-secrets-generator.service.js.map +1 -1
- package/dist/src/services/deployment/k8s/k8s.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/kind.service.d.ts.map +1 -1
- package/dist/src/services/deployment/k8s/local-k8s-application-pruning.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-observer-lifecycle.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-output-boundary.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-session-lease.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-dev-shutdown-coordinator.d.ts.map +1 -1
- package/dist/src/services/deployment/local-infrastructure-initialization.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.schemas.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts +28 -17
- package/dist/src/services/deployment/local-precondition-checks.service.d.ts.map +1 -1
- package/dist/src/services/deployment/local-precondition-checks.service.js +83 -3
- package/dist/src/services/deployment/local-precondition-checks.service.js.map +1 -1
- package/dist/src/services/deployment/local-runtime-process-cleanup.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/deployment/platform-runtime-policy.service.d.ts.map +1 -1
- package/dist/src/services/deployment/version-compare.utils.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-command.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-config.template.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-css-block.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens-paths.service.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.constants.d.ts.map +1 -1
- package/dist/src/services/design-tokens/design-tokens.models.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/compose-converge-args.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/config-hydration-seam.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js +36 -20
- package/dist/src/services/environment/__tests__/env-configuration-generator.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-sync.service.test.js +6 -4
- package/dist/src/services/environment/__tests__/env-sync.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js +89 -8
- package/dist/src/services/environment/__tests__/env-vars-builder.service.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/environment-hydration.utils.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-mongodb.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.needs-local-postgresql.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts +2 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.d.ts.map +1 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js +136 -0
- package/dist/src/services/environment/__tests__/environment-lifecycle.self-hosts-backing-service.test.js.map +1 -0
- package/dist/src/services/environment/__tests__/environment-paths.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-registry.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js +23 -0
- package/dist/src/services/environment/__tests__/environment-setup.non-interactive.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/platform-engine-change.utils.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/platform-image-ref.test.js.map +1 -1
- package/dist/src/services/environment/__tests__/platform-runtime-state.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/provider-secrets-env.service.test.d.ts.map +1 -1
- package/dist/src/services/environment/__tests__/runtime-bootstrap.authored-database-refresh.test.d.ts.map +1 -1
- package/dist/src/services/environment/authored-infra-config.utils.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.d.ts +52 -14
- package/dist/src/services/environment/env-configuration-generator.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-configuration-generator.service.js +41 -38
- package/dist/src/services/environment/env-configuration-generator.service.js.map +1 -1
- package/dist/src/services/environment/env-sync.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-sync.service.js +13 -13
- package/dist/src/services/environment/env-sync.service.js.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.d.ts +28 -0
- package/dist/src/services/environment/env-vars-builder.service.d.ts.map +1 -1
- package/dist/src/services/environment/env-vars-builder.service.js +169 -41
- package/dist/src/services/environment/env-vars-builder.service.js.map +1 -1
- package/dist/src/services/environment/environment-hydration.utils.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts +53 -1
- package/dist/src/services/environment/environment-lifecycle.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-lifecycle.service.js +65 -1
- package/dist/src/services/environment/environment-lifecycle.service.js.map +1 -1
- package/dist/src/services/environment/environment-paths.service.d.ts +2 -1
- package/dist/src/services/environment/environment-paths.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-paths.service.js +5 -3
- package/dist/src/services/environment/environment-paths.service.js.map +1 -1
- package/dist/src/services/environment/environment-registry.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment-setup.service.js +23 -9
- package/dist/src/services/environment/environment-setup.service.js.map +1 -1
- package/dist/src/services/environment/environment.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.d.ts +6 -1
- package/dist/src/services/environment/environment.service.d.ts.map +1 -1
- package/dist/src/services/environment/environment.service.js +2 -0
- package/dist/src/services/environment/environment.service.js.map +1 -1
- package/dist/src/services/environment/platform-engine-change.utils.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime-state.service.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.d.ts.map +1 -1
- package/dist/src/services/environment/platform-runtime.schemas.js.map +1 -1
- package/dist/src/services/environment/runtime-bootstrap.service.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js +58 -0
- package/dist/src/services/framework/__tests__/application-rule-imports.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts +2 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.d.ts.map +1 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js +47 -0
- package/dist/src/services/framework/__tests__/engine-provider-specifications.reconciliation.test.js.map +1 -0
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/fixtures/framework-knowledge-package-only.fixture.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.installed-package.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.package-only.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-development-skills-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-docker-publish.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-application-guidance.validator.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.live.contract.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js +50 -0
- package/dist/src/services/framework/__tests__/framework-knowledge-audit.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js +4 -70
- package/dist/src/services/framework/__tests__/framework-knowledge-generation.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-npm-publish.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js +78 -6
- package/dist/src/services/framework/__tests__/framework-publish-manifest.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-release.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/framework-secrets-writer.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/__tests__/framework-version.service.test.js.map +1 -1
- package/dist/src/services/framework/__tests__/installed-framework-assets.service.test.d.ts.map +1 -1
- package/dist/src/services/framework/application-rule-imports.d.ts +36 -0
- package/dist/src/services/framework/application-rule-imports.d.ts.map +1 -0
- package/dist/src/services/framework/application-rule-imports.js +77 -0
- package/dist/src/services/framework/application-rule-imports.js.map +1 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts +23 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-development-skills-sync.service.js +51 -0
- package/dist/src/services/framework/framework-development-skills-sync.service.js.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-docker-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-application-guidance.validator.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts +45 -0
- package/dist/src/services/framework/framework-knowledge-audit.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js +122 -1
- package/dist/src/services/framework/framework-knowledge-audit.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts +0 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-knowledge-generation.service.js +29 -215
- package/dist/src/services/framework/framework-knowledge-generation.service.js.map +1 -1
- package/dist/src/services/framework/framework-knowledge-scan.constants.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-npm-publish.service.js +7 -3
- package/dist/src/services/framework/framework-npm-publish.service.js.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts +44 -1
- package/dist/src/services/framework/framework-publish-manifest.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-publish-manifest.service.js +79 -4
- package/dist/src/services/framework/framework-publish-manifest.service.js.map +1 -1
- package/dist/src/services/framework/framework-release.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.d.ts +13 -0
- package/dist/src/services/framework/framework-version.service.d.ts.map +1 -1
- package/dist/src/services/framework/framework-version.service.js +23 -24
- package/dist/src/services/framework/framework-version.service.js.map +1 -1
- package/dist/src/services/framework/installed-framework-assets.service.d.ts.map +1 -1
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js +92 -0
- package/dist/src/services/framework/provider-transposition/__tests__/client-and-schema-agree.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js +83 -0
- package/dist/src/services/framework/provider-transposition/__tests__/decision-projection.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js +166 -0
- package/dist/src/services/framework/provider-transposition/__tests__/plan-matches-emit.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js +372 -0
- package/dist/src/services/framework/provider-transposition/__tests__/provider-catalogue-record.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts +2 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js +794 -0
- package/dist/src/services/framework/provider-transposition/__tests__/transposition-contract.test.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts +14 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js +1047 -0
- package/dist/src/services/framework/provider-transposition/activepieces-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts +26 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js +57 -0
- package/dist/src/services/framework/provider-transposition/openapi-enrichment.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts +35 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js +204 -0
- package/dist/src/services/framework/provider-transposition/openapi-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts +410 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js +434 -0
- package/dist/src/services/framework/provider-transposition/provider-catalogue-record.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts +39 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.js +274 -0
- package/dist/src/services/framework/provider-transposition/provider-merge.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts +130 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js +1466 -0
- package/dist/src/services/framework/provider-transposition/provider-package.emitter.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts +35 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js +527 -0
- package/dist/src/services/framework/provider-transposition/sim-source.reader.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts +229 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js +96 -0
- package/dist/src/services/framework/provider-transposition/transposed-provider.model.js.map +1 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts +55 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.d.ts.map +1 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js +196 -0
- package/dist/src/services/framework/provider-transposition/url-template.extractor.js.map +1 -0
- package/dist/src/services/frontend/__tests__/cloudflare-cdn.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/frontend-dist-uploader.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/__tests__/frontend-publish.service.test.d.ts.map +1 -1
- package/dist/src/services/frontend/cloudflare-cdn.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-dist-uploader.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.d.ts.map +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js +1 -1
- package/dist/src/services/frontend/frontend-publish.service.js.map +1 -1
- package/dist/src/services/generation/domain-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/generator.schemas.d.ts.map +1 -1
- package/dist/src/services/generation/operation-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/resource-generator.service.d.ts.map +1 -1
- package/dist/src/services/generation/template-registry.service.d.ts.map +1 -1
- package/dist/src/services/registry/artifact-extractor.utils.d.ts.map +1 -1
- package/dist/src/services/registry/boundary-fanout.utils.d.ts.map +1 -1
- package/dist/src/services/registry/index.d.ts.map +1 -1
- package/dist/src/services/registry/registry-command.utils.d.ts.map +1 -1
- package/dist/src/services/registry/registry-config-resolver.service.d.ts.map +1 -1
- package/dist/src/services/registry/registry-credentials.service.d.ts.map +1 -1
- package/dist/src/services/registry/saas-root-required.error.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts +67 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.d.ts.map +1 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js +212 -0
- package/dist/src/services/security/__tests__/csp-artifact-currency.live.contract.test.js.map +1 -0
- package/dist/src/services/security/__tests__/csp-boundary.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.d.ts.map +1 -1
- package/dist/src/services/security/__tests__/csp-sync.service.test.js +411 -5
- package/dist/src/services/security/__tests__/csp-sync.service.test.js.map +1 -1
- package/dist/src/services/security/csp-sync.service.d.ts +27 -5
- package/dist/src/services/security/csp-sync.service.d.ts.map +1 -1
- package/dist/src/services/security/csp-sync.service.js +204 -16
- package/dist/src/services/security/csp-sync.service.js.map +1 -1
- package/dist/src/services/tools/utility-tools.service.d.ts.map +1 -1
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts +2 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.d.ts.map +1 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js +94 -0
- package/dist/src/services/website/__tests__/website-structured-data-audit.adapter-seam.test.js.map +1 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts +9 -0
- package/dist/src/services/website/website-structured-data-audit.service.d.ts.map +1 -1
- package/dist/src/services/website/website-structured-data-audit.service.js +72 -11
- package/dist/src/services/website/website-structured-data-audit.service.js.map +1 -1
- package/dist/src/test-utils/resolved-homes.test.utils.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/framework-root-package.json +2 -0
- package/package.json +19 -17
- package/scripts/app-dependency-alignment/propagated-engine-overrides.json +2 -0
- package/templates/infra/ci/deploy-docker-compose.yml.hbs +1 -1
- package/templates/infra/ci/deploy-k8s.yml.hbs +1 -1
- package/templates/infra/docker-compose/docker-compose.wildo-platform.yml.hbs +330 -74
- package/templates/infra/docker-images/backend/Dockerfile.backend-base +7 -1
- package/templates/infra/docker-images/backend/Dockerfile.backend-base-java +7 -1
- package/templates/infra/docker-images/platform/Dockerfile.platform-base.dockerignore +23 -0
- package/templates/infra/k8s/applications/wildo-ai-application/backend.deployment.yaml.hbs +8 -5
- package/templates/infra/k8s/applications/wildo-ai-application/ingress.yaml.hbs +3 -2
- package/templates/infra/k8s/applications/wildo-ai-application/minion.deployment.yaml.hbs +22 -6
- package/templates/infra/k8s/applications/wildo-ai-application/worker.deployment.yaml.hbs +17 -13
- package/templates/infra/k8s/platform/platform-crontabs-batches-manager/deployment.yaml.hbs +11 -0
- package/templates/infra/k8s/storage/local/persistent-volumes.yaml.hbs +18 -4
- package/templates/saas/i18n/email/components/EmailHeader.tsx +9 -0
- package/templates/saas/i18n/email/components/EmailLayout.tsx +14 -0
- package/templates/saas/i18n/email/resources/applicationApiKeys/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/deactivate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/reactivate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/regenerate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationApiKeys/rotate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/regenerate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationOAuthClients/rotate.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/deprecate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/promote.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applicationVersions/rollback.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/transfer.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/transfer.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/update.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/applications/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/deactivate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/reactivate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/regenerate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationApiKeys/rotate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/disable_feature.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/enable_feature.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/reset_features.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationFeatures/update.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/create.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/delete.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/grantOwnership.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/reactivate.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/resend.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_admin/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/revoke.user-self_invitee/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/suspend.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationMembers/update.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/regenerate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationOAuthClients/rotate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/archive.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/create.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/delete.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/move.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/restore.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizationUnits/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/activate.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/create.admin.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/create.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/request_deletion.admin.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/request_deletion.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/restore.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/suspend.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/update.admin.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/organizations/update.organization-administrative/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/platformAccessGrants/requestAccess.organization-users/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/user_self/deactivate_account.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/user_self/reactivate_account.user-self/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/assign_roles.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/create.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/delete.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/force_password_reset.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/revoke_roles.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/send_invitation.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/suspend_user.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/unsuspend_user.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/resources/users/update.application-administrator/template.tsx +1 -1
- package/templates/saas/i18n/email/system/email-otp/template.tsx +1 -0
- package/templates/saas/i18n/email/system/email-verification/template.tsx +1 -1
- package/templates/saas/i18n/email/system/magic-link/template.tsx +1 -1
- package/templates/saas/i18n/email/system/new-device-login/template.tsx +1 -1
- package/templates/saas/i18n/email/system/organization-invitation/template.tsx +1 -0
- package/templates/saas/i18n/email/system/organization-member-removed/template.tsx +1 -0
- package/templates/saas/i18n/email/system/password-reset/template.tsx +1 -1
- package/templates/saas/i18n/email/system/payment-failed/template.tsx +1 -1
- package/templates/saas/i18n/email/system/security-alert/template.tsx +1 -0
- package/templates/saas/i18n/email/system/subscription-cancelled/template.tsx +1 -1
- package/templates/saas/i18n/email/system/subscription-confirmation/template.tsx +1 -0
- package/templates/saas/i18n/email/system/welcome-email/template.tsx +1 -1
- package/templates/saas/scenarios/add-backend-provider/scenario.json +2 -2
- package/templates/saas/scenarios/add-file-picker-provider/files/frontend/src/engine/providers/__providerRef__.frontend-app.module.ts.hbs +10 -4
- package/templates/saas/scenarios/add-minion/files/minions/__minionDir__/src/index.ts.hbs +9 -5
- package/templates/saas/scenarios/add-module/scenario.json +3 -3
- package/templates/saas/scenarios/add-provider/scenario.json +36 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/docusaurus.config.ts.hbs +18 -2
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/csp.config.ts +20 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/auth/exchange.tsx +52 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/pages/search.tsx.hbs +47 -3
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/src/theme/Root.tsx +26 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.svg +5 -4
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.svg +11 -5
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/wildo.tech-doc.config.ts.hbs +18 -7
- package/templates/saas/scenarios/add-website/files/website/src/app-origin.ts.hbs +32 -16
- package/templates/saas/scenarios/add-website/files/website/src/components/HeaderComponent.tsx +2 -2
- package/templates/saas/scenarios/add-website/files/website/src/pages/index.astro +1 -0
- package/templates/saas/scenarios/add-website/files/website/src/sections/landing.sections.tsx +2 -2
- package/templates/saas/scenarios/add-worker-node/files/workers/__workerDir__/src/index.ts.hbs +9 -5
- package/templates/saas/skeleton/.wildo-saas/dev-framework-scripts/sync-engine.sh +46 -14
- package/templates/saas/skeleton/CLAUDE.md.hbs +12 -0
- package/templates/saas/skeleton/backend-api/src/index.ts +16 -0
- package/templates/saas/skeleton/frontend/src/config/settings-hub.config.ts +11 -5
- package/templates/saas/skeleton/frontend/src/engine/app-level-views/app-level-views.definitions.module.frontend.ts +1 -1
- package/templates/saas/skeleton/frontend/src/generated/csp.generated.json.hbs +17 -0
- package/templates/saas/skeleton/infrastructure/local/wildo.infra.local.config.ts.hbs +19 -0
- package/templates/saas/skeleton/wildo.saas.config.ts.init.hbs +59 -2
- package/wildo-framework.info.json +1 -1
- package/templates/infra/k8s/internal/gotenberg/deployment.yaml.hbs +0 -46
- package/templates/infra/k8s/internal/gotenberg/service.yaml.hbs +0 -19
- package/templates/infra/k8s/middleware.yaml.hbs +0 -101
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/favicon.png +0 -0
- package/templates/saas/scenarios/add-technical-doc/files/technical-doc/static/img/logo.png +0 -0
|
@@ -7,9 +7,103 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { join } from 'path';
|
|
9
9
|
import { PlatformDataServices, InfraDeploymentType } from '../../services/data-services/data-services.schemas.js';
|
|
10
|
-
import { BackingServiceKind,
|
|
10
|
+
import { BackingServiceKind, INFRA_DEFAULT_PORTS, PLATFORM_DEFAULT_PORTS, PlatformWildoServices, } from '@wildo-ai/platform-config-lib';
|
|
11
11
|
import { PlatformApplicationType } from '@wildo-ai/platform-core-shared';
|
|
12
12
|
import { EnvironmentUtils } from '../../services/environment/environment.service.js';
|
|
13
|
+
// ============================================================================
|
|
14
|
+
// Entry types
|
|
15
|
+
// ============================================================================
|
|
16
|
+
/**
|
|
17
|
+
* The hostname a CONTAINER dials a compose service by, as opposed to the compose
|
|
18
|
+
* service name.
|
|
19
|
+
*
|
|
20
|
+
* ## Why a second name exists at all
|
|
21
|
+
*
|
|
22
|
+
* `wildo-host-access` is the publish plane, and it is created with
|
|
23
|
+
* `com.docker.network.bridge.enable_icc: 'false'` — container-to-container traffic
|
|
24
|
+
* on that bridge is BLOCKED by design, while published host ports keep working.
|
|
25
|
+
* Every service that declares `ports:` is attached to it, which includes both the
|
|
26
|
+
* backing services (so host processes can reach them) and the platform services
|
|
27
|
+
* (so the CLI can reach apps-manager).
|
|
28
|
+
*
|
|
29
|
+
* That makes the two ends of a platform→backing call share TWO networks: the data
|
|
30
|
+
* segment, and the blocked publish bridge. Docker's embedded DNS then answers the
|
|
31
|
+
* service name with ONE of them, and measured on this stack (2026-09-09) it answers
|
|
32
|
+
* with the host-access address:
|
|
33
|
+
*
|
|
34
|
+
* apps-manager resolves `mongodb` -> 172.27.0.6 (host-access, ICC-blocked)
|
|
35
|
+
* the reachable address is -> 172.19.0.2 (wildo-data-mongo)
|
|
36
|
+
*
|
|
37
|
+
* So every containerised platform service dialled a dead address and restart-looped
|
|
38
|
+
* on `MongoServerSelectionError`, while `platform-init` — the one platform container
|
|
39
|
+
* NOT attached to host-access — connected on the first try. The framework-developer
|
|
40
|
+
* lane never saw it because there the platform services run natively on the host and
|
|
41
|
+
* reach backing services through published ports, never resolving these names at all.
|
|
42
|
+
*
|
|
43
|
+
* ## The fix, and why it is an ALIAS rather than a re-ordering
|
|
44
|
+
*
|
|
45
|
+
* A docker network alias is registered on ONE network. `mongodb-internal` therefore
|
|
46
|
+
* exists only on `wildo-data-mongo`, so it cannot resolve to the blocked bridge no
|
|
47
|
+
* matter how many networks the caller holds. DNS ordering between shared networks is
|
|
48
|
+
* not a documented, controllable property; single-network registration is.
|
|
49
|
+
*
|
|
50
|
+
* Verified against the live stack before it was implemented: a server on
|
|
51
|
+
* `wildo-data-mongo` + `wildo-host-access` with this alias, resolved from a client
|
|
52
|
+
* attached to five networks including host-access, answered the DATA address and
|
|
53
|
+
* carried traffic.
|
|
54
|
+
*
|
|
55
|
+
* ## Keeping it in lockstep
|
|
56
|
+
*
|
|
57
|
+
* The compose template declares these aliases literally, beside each service's
|
|
58
|
+
* `networks:` entry, the same way it already hardcodes the service names. A service
|
|
59
|
+
* that is attached to `wildo-host-access` and dialled by another container MUST carry
|
|
60
|
+
* its alias on its own primary segment, or it regresses to the defect above.
|
|
61
|
+
*
|
|
62
|
+
* Compose-only: on Kubernetes there is no publish bridge and no shared-network
|
|
63
|
+
* ambiguity, so cluster DNS keeps answering with the Service name.
|
|
64
|
+
*/
|
|
65
|
+
export const CONTAINER_INTERNAL_ALIAS_SUFFIX = '-internal';
|
|
66
|
+
/**
|
|
67
|
+
* The compose network alias a container uses to dial `containerName`.
|
|
68
|
+
* @see CONTAINER_INTERNAL_ALIAS_SUFFIX for the defect this exists to prevent.
|
|
69
|
+
*/
|
|
70
|
+
export function resolveContainerInternalAlias(containerName) {
|
|
71
|
+
return `${containerName}${CONTAINER_INTERNAL_ALIAS_SUFFIX}`;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* What is lost when a stateful service's volume is lost — the axis a backup set is derived from.
|
|
75
|
+
*
|
|
76
|
+
* Distinct from {@link InfraDeploymentType}, and the distinction is the whole point. That answers
|
|
77
|
+
* "does this need a volume", which is a DEPLOYMENT question and is already true of all eight
|
|
78
|
+
* services. This answers "does anything in the world still have it afterwards", which is a
|
|
79
|
+
* RECOVERY question, and the eight answer it three different ways. Backing up all eight equally
|
|
80
|
+
* would spend the same effort on a virus-signature cache as on the audit ledger; backing up an
|
|
81
|
+
* unclassified subset is how a store added later is silently left out.
|
|
82
|
+
*
|
|
83
|
+
* Required on every entry, so a service added to {@link PlatformDataServices} is a compile error
|
|
84
|
+
* until someone says which of the three it is — the same reason `applicationStartupGate` is
|
|
85
|
+
* required on a platform service.
|
|
86
|
+
*/
|
|
87
|
+
export var DurableStateClass;
|
|
88
|
+
(function (DurableStateClass) {
|
|
89
|
+
/**
|
|
90
|
+
* Nothing else has it. Losing the volume loses the thing itself — customer data, or the evidence
|
|
91
|
+
* about what happened to it. This is the set a backup exists for.
|
|
92
|
+
*/
|
|
93
|
+
DurableStateClass["IRREPLACEABLE"] = "irreplaceable";
|
|
94
|
+
/**
|
|
95
|
+
* Derived from a store that is itself IRREPLACEABLE, so it can be rebuilt. Losing it costs the
|
|
96
|
+
* time to rebuild and nothing else, which is why backing it up is worse than not: the copy is
|
|
97
|
+
* large, and a restored index that disagrees with its source is harder to detect than an absent
|
|
98
|
+
* one.
|
|
99
|
+
*/
|
|
100
|
+
DurableStateClass["REBUILDABLE"] = "rebuildable";
|
|
101
|
+
/**
|
|
102
|
+
* Regenerated by ordinary operation. Losing it is visible to people — someone signs in again, a
|
|
103
|
+
* counter restarts, a definition file re-downloads — and costs no truth.
|
|
104
|
+
*/
|
|
105
|
+
DurableStateClass["OPERATIONAL"] = "operational";
|
|
106
|
+
})(DurableStateClass || (DurableStateClass = {}));
|
|
13
107
|
/**
|
|
14
108
|
* Whether the APPLICATION process tree may start before this platform service is
|
|
15
109
|
* ready.
|
|
@@ -64,43 +158,65 @@ export const INFRA_SERVICE_CATALOG = {
|
|
|
64
158
|
containerName: 'mongodb',
|
|
65
159
|
defaultPort: INFRA_DEFAULT_PORTS.MONGODB,
|
|
66
160
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
161
|
+
durableState: {
|
|
162
|
+
class: DurableStateClass.IRREPLACEABLE,
|
|
163
|
+
whatIsLost: 'every tenant\'s primary application data, and the FILES rows whose storageKey addresses the bytes in object storage',
|
|
164
|
+
},
|
|
67
165
|
},
|
|
68
166
|
[PlatformDataServices.VALKEY]: {
|
|
69
167
|
containerName: 'valkey',
|
|
70
168
|
defaultPort: INFRA_DEFAULT_PORTS.VALKEY,
|
|
71
169
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
170
|
+
durableState: {
|
|
171
|
+
class: DurableStateClass.OPERATIONAL,
|
|
172
|
+
whatIsLost: 'signed-in sessions, lockout and rate-limit counters, single-flight locks and cached configuration — people sign in again and counters restart from zero',
|
|
173
|
+
},
|
|
72
174
|
},
|
|
73
175
|
[PlatformDataServices.RABBITMQ]: {
|
|
74
176
|
containerName: 'rabbitmq',
|
|
75
177
|
defaultPort: INFRA_DEFAULT_PORTS.RABBITMQ,
|
|
76
178
|
additionalPorts: { management: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT },
|
|
77
179
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
180
|
+
durableState: {
|
|
181
|
+
class: DurableStateClass.IRREPLACEABLE,
|
|
182
|
+
whatIsLost: 'durable queues, and with them the SIEM delivery dead-letter queue: audit events the application ACCEPTED and has not yet delivered, which exist nowhere else once the queue is gone',
|
|
183
|
+
},
|
|
78
184
|
},
|
|
79
185
|
[PlatformDataServices.MINIO]: {
|
|
80
186
|
containerName: 'minio',
|
|
81
187
|
defaultPort: INFRA_DEFAULT_PORTS.MINIO,
|
|
82
188
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
189
|
+
durableState: {
|
|
190
|
+
class: DurableStateClass.IRREPLACEABLE,
|
|
191
|
+
whatIsLost: 'the bytes of every uploaded file; the MongoDB rows that address them survive and point at nothing',
|
|
192
|
+
},
|
|
83
193
|
},
|
|
84
194
|
[PlatformDataServices.POSTGRESQL]: {
|
|
85
195
|
containerName: 'postgresql',
|
|
86
196
|
defaultPort: INFRA_DEFAULT_PORTS.POSTGRESQL,
|
|
87
197
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
additionalPorts: { internal: INFRA_DEFAULT_PORTS.GOTENBERG_INTERNAL },
|
|
93
|
-
deploymentType: InfraDeploymentType.STATELESS,
|
|
198
|
+
durableState: {
|
|
199
|
+
class: DurableStateClass.IRREPLACEABLE,
|
|
200
|
+
whatIsLost: 'every hybrid-SQL resource table, and the platform\'s own registered-application and configuration rows',
|
|
201
|
+
},
|
|
94
202
|
},
|
|
95
203
|
[PlatformDataServices.CLAMAV]: {
|
|
96
204
|
containerName: 'clamav',
|
|
97
205
|
defaultPort: INFRA_DEFAULT_PORTS.CLAMAV,
|
|
98
206
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
207
|
+
durableState: {
|
|
208
|
+
class: DurableStateClass.OPERATIONAL,
|
|
209
|
+
whatIsLost: 'the ~500 MB virus signature database, which freshclam re-downloads on the next start — the reason it holds a volume at all is to avoid that download, not to keep anything',
|
|
210
|
+
},
|
|
99
211
|
},
|
|
100
212
|
[PlatformDataServices.IMMUDB]: {
|
|
101
213
|
containerName: 'immudb',
|
|
102
214
|
defaultPort: INFRA_DEFAULT_PORTS.IMMUDB,
|
|
103
215
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
216
|
+
durableState: {
|
|
217
|
+
class: DurableStateClass.IRREPLACEABLE,
|
|
218
|
+
whatIsLost: 'the tamper-evident audit ledger. It is the one store whose PURPOSE is to be the evidence, so losing it loses the ability to show what happened rather than the ability to do something',
|
|
219
|
+
},
|
|
104
220
|
},
|
|
105
221
|
// Issue #74 — the MongoDB Search / Vector Search sidecar. `defaultPort` is its gRPC
|
|
106
222
|
// listener, the only one another process ever dials; the health and metrics listeners
|
|
@@ -110,6 +226,10 @@ export const INFRA_SERVICE_CATALOG = {
|
|
|
110
226
|
containerName: 'mongot',
|
|
111
227
|
defaultPort: INFRA_DEFAULT_PORTS.MONGOT_GRPC,
|
|
112
228
|
deploymentType: InfraDeploymentType.STATEFUL,
|
|
229
|
+
durableState: {
|
|
230
|
+
class: DurableStateClass.REBUILDABLE,
|
|
231
|
+
whatIsLost: 'the Lucene search and vector index, rebuilt by re-reading every indexed collection from the mongod beside it',
|
|
232
|
+
},
|
|
113
233
|
},
|
|
114
234
|
};
|
|
115
235
|
// ============================================================================
|
|
@@ -174,7 +294,6 @@ export const ALL_SERVICE_CONTAINER_NAMES = {
|
|
|
174
294
|
RABBITMQ: INFRA_SERVICE_CATALOG[PlatformDataServices.RABBITMQ].containerName,
|
|
175
295
|
MINIO: INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName,
|
|
176
296
|
POSTGRESQL: INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName,
|
|
177
|
-
GOTENBERG: INFRA_SERVICE_CATALOG[PlatformDataServices.GOTENBERG].containerName,
|
|
178
297
|
CLAMAV: INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName,
|
|
179
298
|
APPS_MANAGER: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].containerName,
|
|
180
299
|
CRONTABS_BATCHES: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.CRONTABS_BATCHES_MANAGER].containerName,
|
|
@@ -184,61 +303,101 @@ export const STATEFUL_INFRA_SERVICES = Object.values(INFRA_SERVICE_CATALOG)
|
|
|
184
303
|
.filter(e => e.deploymentType === InfraDeploymentType.STATEFUL)
|
|
185
304
|
.map(e => e.containerName);
|
|
186
305
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
* `
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
200
|
-
*
|
|
306
|
+
* The services whose volumes a backup exists for — DERIVED, never listed.
|
|
307
|
+
*
|
|
308
|
+
* Derived for the reason `SELF_HOSTED_INFRA_WORKLOADS` is a Record rather than an array of names:
|
|
309
|
+
* a hand-kept backup list is wrong the first time a store is added and says nothing when it is.
|
|
310
|
+
* That is not hypothetical here — `mongot` landed on 2026-08-27 and the inventory in issue #8,
|
|
311
|
+
* taken on 2026-08-14, does not know it exists. A derived set had gained it for free, classified it,
|
|
312
|
+
* and (correctly) excluded it.
|
|
313
|
+
*
|
|
314
|
+
* Five of eight. The three excluded are excluded on their own recorded reason, not by omission:
|
|
315
|
+
* `valkey` and `clamav` are OPERATIONAL, `mongot` is REBUILDABLE from the mongod beside it.
|
|
316
|
+
*
|
|
317
|
+
* ## Two things hold irreplaceable state and are NOT in this set, by construction
|
|
318
|
+
*
|
|
319
|
+
* This catalog knows platform data services. It cannot see either of these, so neither is a gap in
|
|
320
|
+
* the derivation — they are a second and third population that any backup mechanism must union in:
|
|
321
|
+
*
|
|
322
|
+
* 1. **The per-application immudb audit-state PVC** (`backend.immudb-audit-state.pvc.yaml.hbs`) —
|
|
323
|
+
* one per APPLICATION, not per platform. It holds the anti-rollback anchor, and it must be
|
|
324
|
+
* captured at the SAME INSTANT as the immudb volume above: restore the ledger to T1 and the
|
|
325
|
+
* anchor to T2 > T1 and the application refuses to start, reading exactly like a real tamper
|
|
326
|
+
* event; restore an older anchor and a rollback is silently re-adopted, which is the failure the
|
|
327
|
+
* anchor exists to prevent.
|
|
328
|
+
* 2. **Secrets** — the session `encryptionKey`, the SIEM HMAC domain derived from it, and the
|
|
329
|
+
* signing keys live in the `secretsPath` pipeline, outside every volume here. Data recovered
|
|
330
|
+
* without its matching secret generation is data nobody can read or verify.
|
|
331
|
+
*
|
|
332
|
+
* Both are why a backup UNIT is the coordinated instant across a set, rather than a per-service job.
|
|
201
333
|
*/
|
|
202
|
-
export const
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName,
|
|
206
|
-
INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName,
|
|
207
|
-
INFRA_SERVICE_CATALOG[PlatformDataServices.GOTENBERG].containerName,
|
|
208
|
-
];
|
|
334
|
+
export const IRREPLACEABLE_INFRA_SERVICES = Object.values(INFRA_SERVICE_CATALOG)
|
|
335
|
+
.filter(e => e.durableState.class === DurableStateClass.IRREPLACEABLE)
|
|
336
|
+
.map(e => e.containerName);
|
|
209
337
|
/**
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
* `
|
|
234
|
-
*
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
338
|
+
* Every self-hosted infra workload the K8s lane knows how to emit, keyed by the backing-service
|
|
339
|
+
* kind whose declaration decides it, in EMISSION ORDER.
|
|
340
|
+
*
|
|
341
|
+
* ## Why a Record over the kind vocabulary rather than a list of names
|
|
342
|
+
*
|
|
343
|
+
* This replaced a `DEPLOYABLE_INFRA_SERVICE_NAMES` constant that was spread unconditionally — four
|
|
344
|
+
* workloads (`valkey`, `rabbitmq`, `minio`, `postgresql`) emitted for every environment, whatever
|
|
345
|
+
* its `backingServices` said. Declaring `redis: { source: MANAGED }` therefore bought a managed
|
|
346
|
+
* cache AND a Valkey StatefulSet beside it; the constant's own note conceded the same about
|
|
347
|
+
* PostgreSQL and deferred it to "a future slice".
|
|
348
|
+
*
|
|
349
|
+
* The replacement is keyed on {@link BackingServiceKind} so the vocabulary itself carries the
|
|
350
|
+
* decision: a kind added to that enum is a compile error here until someone says what workload (if
|
|
351
|
+
* any) it emits, and `EnvironmentLifecycle.selfHostsBackingService` — the total predicate below —
|
|
352
|
+
* refuses to compile until someone says when. Two hand-written lists of service names, drifting
|
|
353
|
+
* apart across two lanes, is precisely what produced the defect.
|
|
354
|
+
*
|
|
355
|
+
* Empty array ⇒ this kind has no self-hosted workload in either lane; it is a declaration an
|
|
356
|
+
* application reads to address an external sink. Ordering matters and is preserved by insertion
|
|
357
|
+
* order (none of the keys is integer-like, so `Object.entries` is stable): `mongot` must follow
|
|
358
|
+
* `mongodb`, and the readiness loop consumes the same sequence.
|
|
359
|
+
*
|
|
360
|
+
* NOTE the readiness ORDER differs from this emission order — `waitForLocalK8sInfraReady` defers
|
|
361
|
+
* mongot past the `mongodb-init` Job, because mongot cannot authenticate until that Job has created
|
|
362
|
+
* its `searchCoordinator` user.
|
|
363
|
+
*/
|
|
364
|
+
const SELF_HOSTED_INFRA_WORKLOADS = {
|
|
365
|
+
// `mongot` rides mongod's decision rather than carrying its own (issue #74): the Search / Vector
|
|
366
|
+
// Search sidecar is an attachment to a self-hosted mongod, never an independently sourced
|
|
367
|
+
// service. A managed Mongo deploys neither — Atlas serves search itself, and DocumentDB cannot
|
|
368
|
+
// run mongot at all.
|
|
369
|
+
[BackingServiceKind.MONGODB]: [
|
|
370
|
+
INFRA_SERVICE_CATALOG[PlatformDataServices.MONGODB].containerName,
|
|
371
|
+
INFRA_SERVICE_CATALOG[PlatformDataServices.MONGOT].containerName,
|
|
372
|
+
],
|
|
373
|
+
[BackingServiceKind.REDIS]: [INFRA_SERVICE_CATALOG[PlatformDataServices.VALKEY].containerName],
|
|
374
|
+
[BackingServiceKind.RABBITMQ]: [INFRA_SERVICE_CATALOG[PlatformDataServices.RABBITMQ].containerName],
|
|
375
|
+
[BackingServiceKind.S3]: [INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName],
|
|
376
|
+
[BackingServiceKind.POSTGRESQL]: [INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName],
|
|
377
|
+
[BackingServiceKind.CLAMAV]: [INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName],
|
|
378
|
+
[BackingServiceKind.IMMUDB]: [INFRA_SERVICE_CATALOG[PlatformDataServices.IMMUDB].containerName],
|
|
379
|
+
// A backup target is addressed, never deployed: no `internal/<svc>/` template exists for it. A
|
|
380
|
+
// future template author lands here first, which is the point of listing it rather than omitting
|
|
381
|
+
// it. (`METRICS` was the other entry and was withdrawn 2026-09-09 — telemetry is not a backing
|
|
382
|
+
// service; see `RUNTIME_GRANTED_INFRA_CAPABILITIES`.)
|
|
383
|
+
[BackingServiceKind.BACKUP]: [],
|
|
384
|
+
};
|
|
385
|
+
/**
|
|
386
|
+
* Per-env deployable list for K8s manifest emission — the workloads this environment RUNS ITSELF.
|
|
387
|
+
*
|
|
388
|
+
* One rule for all nine kinds: {@link EnvironmentLifecycle.selfHostsBackingService}, the same
|
|
389
|
+
* predicate `getDockerComposeLocalDataServices` gates on, so Compose ⇄ K8s parity is structural
|
|
390
|
+
* rather than two implementations that happen to agree. Read that JSDoc for what an OMITTED
|
|
391
|
+
* declaration means per kind — it is not one rule, and the difference is what keeps this change
|
|
392
|
+
* from deleting a cache/broker/object-store from environments that never declared one.
|
|
393
|
+
*
|
|
394
|
+
* `postgresql` joined the gated set here in the same change (it was the last member of the old
|
|
395
|
+
* always-on list). Its predecessor's note deferred that as "a deployment change that must be made
|
|
396
|
+
* deliberately"; what makes it safe rather than merely consistent is that the workload it removes
|
|
397
|
+
* could never have run: `generateK8sSecrets` emits `postgresql-secret` only for an environment that
|
|
398
|
+
* wants PostgreSQL, and the StatefulSet's `POSTGRES_USER` / `POSTGRES_PASSWORD` / `POSTGRES_DB` are
|
|
399
|
+
* REQUIRED `secretKeyRef`s — so an environment that asked for no PostgreSQL was being handed a pod
|
|
400
|
+
* that cannot start (`CreateContainerConfigError`) and a readiness loop that waits on it forever.
|
|
242
401
|
*
|
|
243
402
|
* Single source of truth for:
|
|
244
403
|
* - {@link K8sManifestGenerator.renderAllManifests} → which `internal/<svc>/`
|
|
@@ -246,27 +405,20 @@ export const DEPLOYABLE_INFRA_SERVICE_NAMES = [
|
|
|
246
405
|
* - The K8s bootstrap service's post-apply readiness loop (every emitted
|
|
247
406
|
* workload must be probed; conversely, never wait on a service we did
|
|
248
407
|
* not deploy).
|
|
408
|
+
* - `local-infrastructure-initialization` → which `/mnt/local-data/<svc>/` host dirs to create.
|
|
249
409
|
*
|
|
250
|
-
*
|
|
251
|
-
* —
|
|
410
|
+
* The storage PersistentVolume template is gated separately, on the SAME predicate, in
|
|
411
|
+
* `K8sManifestGenerator.buildForInternalService` — a PV is a distinct manifest, so it is a distinct
|
|
412
|
+
* call site of one invariant, not a consumer of this list.
|
|
252
413
|
*/
|
|
253
414
|
export function getDeployableInfraServicesForK8s(env) {
|
|
254
415
|
const services = [];
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
// tests mongot REACHABILITY rather than dispatching on a brand string.
|
|
262
|
-
services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.MONGOT].containerName);
|
|
263
|
-
}
|
|
264
|
-
services.push(...DEPLOYABLE_INFRA_SERVICE_NAMES);
|
|
265
|
-
if (env.backingServices?.[BackingServiceKind.CLAMAV]?.source === BackingServiceSource.SELF) {
|
|
266
|
-
services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName);
|
|
267
|
-
}
|
|
268
|
-
if (env.backingServices?.[BackingServiceKind.IMMUDB]?.source === BackingServiceSource.SELF) {
|
|
269
|
-
services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.IMMUDB].containerName);
|
|
416
|
+
for (const [kind, containerNames] of Object.entries(SELF_HOSTED_INFRA_WORKLOADS)) {
|
|
417
|
+
if (containerNames.length === 0)
|
|
418
|
+
continue;
|
|
419
|
+
if (!EnvironmentUtils.selfHostsBackingService(env, kind))
|
|
420
|
+
continue;
|
|
421
|
+
services.push(...containerNames);
|
|
270
422
|
}
|
|
271
423
|
return services;
|
|
272
424
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-catalog.schemas.js","sourceRoot":"","sources":["../../../../../../src/services/catalog/service-catalog.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AACpH,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,GAEtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,E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,CAAC;QAC5C,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC;QACjF,iFAAiF;QACjF,sFAAsF;QACtF,uFAAuF;QACvF,qFAAqF;QACrF,uEAAuE;QACvE,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC;IAClF,CAAC;IACD,QAAQ,CAAC,IAAI,CAAC,GAAG,8BAA8B,CAAC,CAAC;IACjD,IAAI,GAAG,CAAC,eAAe,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,oBAAoB,CAAC,IAAI,EAAE,CAAC;QAC3F,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC;IAClF,CAAC;IACD,IAAI,GAAG,CAAC,eAAe,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,oBAAoB,CAAC,IAAI,EAAE,CAAC;QAC3F,QAAQ,CAAC,IAAI,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,CAAC;IAClF,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["/**\n * Service Catalog — single source of truth for all service identity.\n *\n * Every service (infra + platform) is defined here with its metadata:\n * container name, ports, env var names, deployment type, source directory.\n * All other modules derive from this catalog — no parallel definitions.\n */\n\nimport { join } from 'path';\n\nimport { PlatformDataServices, InfraDeploymentType } from '~wildo-cli/services/data-services/data-services.schemas';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n INFRA_DEFAULT_PORTS,\n PLATFORM_DEFAULT_PORTS,\n PlatformWildoServices,\n type BackingServicesEnvConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { PlatformApplicationType } from '@wildo-ai/platform-core-shared';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\n\n// ============================================================================\n// Entry types\n// ============================================================================\n\nexport interface InfraServiceEntry {\n containerName: string;\n defaultPort: number;\n additionalPorts?: Record<string, number>;\n deploymentType: InfraDeploymentType;\n}\n\n/**\n * Whether the APPLICATION process tree may start before this platform service is\n * ready.\n *\n * ## Why this is its own vocabulary\n *\n * `wildo local dev` used to derive its readiness barrier from\n * `BOOTSTRAP_PLATFORM_SERVICES`, which answers a DIFFERENT question: \"does this\n * service boot from the shared bootstrap env contract?\" Sharing an env builder\n * says nothing about whether the application needs the service alive to start,\n * and conflating the two made every platform service an implicit precondition —\n * silently, and with no place to record why.\n *\n * The distinction is load-bearing because the barrier waits with NO timeout (by\n * design — a compile error or a slow generation must never tear the owned stack\n * down). So a service wrongly marked as blocking does not degrade startup, it\n * removes it: the application tree is simply never spawned, and the only symptom\n * is silence.\n *\n * ## How to choose\n *\n * Mark a service {@link BLOCKS_APPLICATION_STARTUP} only when the application\n * bootstrap itself calls it — apps-manager is the case that exists, because\n * registered-application bootstrap materializes credentials and configuration\n * through it before any application process is spawned.\n *\n * Everything else is {@link INDEPENDENT_OF_APPLICATION_STARTUP}. Receiving a\n * service's URL in the runtime topology is NOT a dependency: the address is\n * config, and a service consulted later (or never) at boot must not decide\n * whether the application runs at all. Guard against the deadlock shape in\n * `.claude/rules/continuity-drift-and-cas-basis.md` (Rule 3) — if the remedy for\n * the service being unready routes back through a running stack, gating startup\n * on it means the remedy can never be applied.\n *\n * `PLATFORM_SERVICE_CATALOG` is keyed exhaustively over `PlatformWildoServices`,\n * so this field cannot be defaulted or forgotten: a new platform service is a\n * compile error until someone decides which of the two it is.\n */\nexport enum PlatformServiceApplicationStartupGate {\n /** Application bootstrap calls this service; the tree cannot start without it. */\n BLOCKS_APPLICATION_STARTUP = 'blocks-application-startup',\n /** Started and supervised, but the application tree does not wait for it. */\n INDEPENDENT_OF_APPLICATION_STARTUP = 'independent-of-application-startup',\n}\n\nexport interface PlatformServiceEntry {\n containerName: string;\n defaultPort: number;\n serviceEnvVarName: string;\n portEnvVarName: string;\n sourceDir: string;\n /** @see PlatformServiceApplicationStartupGate — required, never defaulted. */\n applicationStartupGate: PlatformServiceApplicationStartupGate;\n}\n\n// ============================================================================\n// Infrastructure services\n// ============================================================================\n\nconst BACK_OFFICE_BASE = join('platform', 'platform-back-office');\n\nexport const INFRA_SERVICE_CATALOG: Record<\n Exclude<PlatformDataServices, PlatformDataServices.MONGODB_INIT | PlatformDataServices.MINIO_INIT>,\n InfraServiceEntry\n> = {\n [PlatformDataServices.MONGODB]: {\n containerName: 'mongodb',\n defaultPort: INFRA_DEFAULT_PORTS.MONGODB,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n [PlatformDataServices.VALKEY]: {\n containerName: 'valkey',\n defaultPort: INFRA_DEFAULT_PORTS.VALKEY,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n [PlatformDataServices.RABBITMQ]: {\n containerName: 'rabbitmq',\n defaultPort: INFRA_DEFAULT_PORTS.RABBITMQ,\n additionalPorts: { management: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT },\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n [PlatformDataServices.MINIO]: {\n containerName: 'minio',\n defaultPort: INFRA_DEFAULT_PORTS.MINIO,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n [PlatformDataServices.POSTGRESQL]: {\n containerName: 'postgresql',\n defaultPort: INFRA_DEFAULT_PORTS.POSTGRESQL,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n [PlatformDataServices.GOTENBERG]: {\n containerName: 'gotenberg',\n defaultPort: INFRA_DEFAULT_PORTS.GOTENBERG,\n additionalPorts: { internal: INFRA_DEFAULT_PORTS.GOTENBERG_INTERNAL },\n deploymentType: InfraDeploymentType.STATELESS,\n },\n [PlatformDataServices.CLAMAV]: {\n containerName: 'clamav',\n defaultPort: INFRA_DEFAULT_PORTS.CLAMAV,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n [PlatformDataServices.IMMUDB]: {\n containerName: 'immudb',\n defaultPort: INFRA_DEFAULT_PORTS.IMMUDB,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n // Issue #74 — the MongoDB Search / Vector Search sidecar. `defaultPort` is its gRPC\n // listener, the only one another process ever dials; the health and metrics listeners\n // are container-internal diagnostics and are not additionalPorts because nothing in the\n // catalog's consumers (host-port publication, readiness probing) has a use for them.\n [PlatformDataServices.MONGOT]: {\n containerName: 'mongot',\n defaultPort: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n deploymentType: InfraDeploymentType.STATEFUL,\n },\n};\n\n// ============================================================================\n// Platform (Wildo) services\n// ============================================================================\n\nexport const PLATFORM_SERVICE_CATALOG: Record<\n Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>,\n PlatformServiceEntry\n> = {\n [PlatformWildoServices.APPS_MANAGER]: {\n containerName: 'platform-apps-manager',\n defaultPort: PLATFORM_DEFAULT_PORTS.APPS_MANAGER,\n serviceEnvVarName: PlatformApplicationType.PLATFORM_APPS_MANAGER,\n portEnvVarName: 'PORT',\n sourceDir: join(BACK_OFFICE_BASE, 'platform-apps-manager'),\n // Registered-application bootstrap runs against it before any application\n // process is spawned (`ApplicationRuntimeBootstrapService.initialize`).\n applicationStartupGate: PlatformServiceApplicationStartupGate.BLOCKS_APPLICATION_STARTUP,\n },\n [PlatformWildoServices.CRONTABS_BATCHES_MANAGER]: {\n containerName: 'platform-crontabs-batches-manager',\n defaultPort: PLATFORM_DEFAULT_PORTS.CRONTABS_BATCHES_MANAGER,\n serviceEnvVarName: PlatformApplicationType.PLATFORM_CRONTABS_BATCHES_MANAGER,\n portEnvVarName: 'CRONTABS_BATCHES_MANAGER_PORT',\n sourceDir: join(BACK_OFFICE_BASE, 'platform-crontabs-batches-manager'),\n // Left BLOCKING deliberately — this preserves the behavior that existed\n // before the gate was named, and reclassifying it is a separate decision\n // from the module-registry one. The application backend only receives its\n // URL in the runtime topology and makes no boot-time call to it, so this\n // entry is a candidate for INDEPENDENT_OF_APPLICATION_STARTUP; it is not\n // changed here because scheduled-tick ownership was not traced.\n applicationStartupGate: PlatformServiceApplicationStartupGate.BLOCKS_APPLICATION_STARTUP,\n },\n [PlatformWildoServices.MODULE_REGISTRY]: {\n containerName: 'platform-module-registry',\n defaultPort: PLATFORM_DEFAULT_PORTS.MODULE_REGISTRY,\n serviceEnvVarName: PlatformApplicationType.PLATFORM_MODULE_REGISTRY,\n portEnvVarName: 'MODULE_REGISTRY_PORT',\n sourceDir: join(BACK_OFFICE_BASE, 'platform-module-registry'),\n /**\n * Hosts the `wildo registry *` HTTP surface. The application backend\n * receives `PLATFORM_MODULE_REGISTRY_URL` and stores it as\n * `runtime.endPoints.moduleRegistry`; enumerated 2026-08-13, nothing reads\n * that address during application startup. So an unready registry has never\n * been a reason the application cannot run — it only ever prevented it from\n * being started.\n */\n applicationStartupGate: PlatformServiceApplicationStartupGate.INDEPENDENT_OF_APPLICATION_STARTUP,\n },\n};\n\n// ============================================================================\n// PLATFORM_INIT shares identity with APPS_MANAGER\n// ============================================================================\n\nexport const PLATFORM_INIT_SERVICE_ENV_VAR_NAME = PlatformApplicationType.PLATFORM_APPS_MANAGER;\n\n// ============================================================================\n// Derived constants\n// ============================================================================\n\n/**\n * All service container names — derived from catalogs.\n * Replaces the hand-maintained `ALL_PLATFORM_SERVICES_NAMES`.\n */\nexport const ALL_SERVICE_CONTAINER_NAMES = {\n MONGODB: INFRA_SERVICE_CATALOG[PlatformDataServices.MONGODB].containerName,\n VALKEY: INFRA_SERVICE_CATALOG[PlatformDataServices.VALKEY].containerName,\n RABBITMQ: INFRA_SERVICE_CATALOG[PlatformDataServices.RABBITMQ].containerName,\n MINIO: INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName,\n POSTGRESQL: INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName,\n GOTENBERG: INFRA_SERVICE_CATALOG[PlatformDataServices.GOTENBERG].containerName,\n CLAMAV: INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName,\n APPS_MANAGER: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].containerName,\n CRONTABS_BATCHES: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.CRONTABS_BATCHES_MANAGER].containerName,\n MODULE_REGISTRY: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.MODULE_REGISTRY].containerName,\n} as const;\n\nexport const STATEFUL_INFRA_SERVICES = Object.values(INFRA_SERVICE_CATALOG)\n .filter(e => e.deploymentType === InfraDeploymentType.STATEFUL)\n .map(e => e.containerName);\n\n/**\n * Always-deployable infra service container names — services that are\n * emitted to K8s for every local env regardless of source / database choice.\n *\n * MongoDB is intentionally excluded here: it's gated on\n * `EnvironmentUtils.needsLocalMongoDB(env)` so Atlas / managed\n * configurations do not pay the cost of a local mongod workload. Use\n * {@link getDeployableInfraServicesForK8s} for the per-env list that\n * resolves those gates and is the single source of truth for both\n * manifest emission AND post-bootstrap readiness probing.\n *\n * NOTE — `postgresql` and `gotenberg` currently sit in this \"always\"\n * list for parity with the legacy behavior (PG was always rendered\n * even with database.engine !== POSTGRESQL). A future slice should gate\n * those too, mirroring the Mongo / ClamAV pattern.\n */\nexport const DEPLOYABLE_INFRA_SERVICE_NAMES: readonly string[] = [\n INFRA_SERVICE_CATALOG[PlatformDataServices.VALKEY].containerName,\n INFRA_SERVICE_CATALOG[PlatformDataServices.RABBITMQ].containerName,\n INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName,\n INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName,\n INFRA_SERVICE_CATALOG[PlatformDataServices.GOTENBERG].containerName,\n];\n\n/**\n * Structural shape of the env input consumed by\n * {@link getDeployableInfraServicesForK8s}. Defined locally to keep the\n * catalog free of any dependency on `PlatformEnvironmentConfiguration`\n * (which lives downstream in `~wildo-cli/services/environment`). Both the\n * `name` and the optional authored `backingServices` snapshot are read so\n * the resolver can gate per-service self-deploy decisions identically to\n * the Compose-side `resolveIncludeLocalClamAV`.\n */\nexport interface DeployableInfraServicesEnvInput {\n name: string;\n backingServices?: BackingServicesEnvConfig;\n}\n\n/**\n * Slice 4 (4.7 + 4.8) — per-env deployable list for K8s manifest emission.\n *\n * Returns {@link DEPLOYABLE_INFRA_SERVICE_NAMES} plus the conditional\n * services for the given env:\n * - `mongodb` — when `EnvironmentUtils.needsLocalMongoDB(env)` is true: the platform\n * engine is self-hosted Mongo OR the env authors\n * `backingServices.mongodb.source: SELF` (the Phase 5.1 union —\n * transition envs keep mongod for Mongo-backed apps after the\n * platform engine moves to PostgreSQL).\n * - `mongot` — issue #74, on the SAME predicate as `mongodb`: the MongoDB Search /\n * Vector Search sidecar is an attachment to a self-hosted mongod, not an\n * independently sourced service. Note the readiness ORDER differs from the\n * emission order — `waitForLocalK8sInfraReady` defers mongot past the\n * `mongodb-init` Job, because mongot cannot authenticate until that Job has\n * created its `searchCoordinator` user.\n * - `clamav` — when `backingServices.clamav.source === SELF`. Mirrors\n * the Compose-side `resolveIncludeLocalClamAV` predicate\n * (the catalog reads `backingServices` directly to keep\n * the rule co-located with the K8s manifest emission\n * surface; both predicates evaluate to the same boolean\n * for a given env).\n * - `immudb` — same rule, on `backingServices.immudb`.\n *\n * `postgresql` is deliberately NOT gated here: it sits in the always-on\n * {@link DEPLOYABLE_INFRA_SERVICE_NAMES}, whose own note already records that a\n * future slice should gate it \"mirroring the Mongo / ClamAV pattern\". The\n * predicate that slice needs now exists —\n * {@link EnvironmentLifecycle.needsLocalPostgreSQL} — and the Compose side has\n * adopted it. Gating it HERE would stop emitting a PostgreSQL workload for\n * every environment that has been getting one, which is a deployment change\n * that must be made deliberately and verified against a real cluster, not as a\n * side effect of fixing the Compose gate.\n *\n * Single source of truth for:\n * - {@link K8sManifestGenerator.renderAllManifests} → which `internal/<svc>/`\n * templates to render.\n * - The K8s bootstrap service's post-apply readiness loop (every emitted\n * workload must be probed; conversely, never wait on a service we did\n * not deploy).\n *\n * This is the K8s-side counterpart of `getDockerComposeLocalDataServices`\n * — both must stay in lockstep so Compose ⇄ K8s parity is preserved.\n */\nexport function getDeployableInfraServicesForK8s(\n env: DeployableInfraServicesEnvInput,\n): readonly string[] {\n const services: string[] = [];\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.MONGODB].containerName);\n // Issue #74 — mongot rides the SAME gate as mongod rather than carrying its own,\n // because it is an attachment to a self-hosted mongod and is meaningless without one.\n // A managed Mongo (Atlas, DocumentDB) deploys neither: Atlas serves search itself, and\n // DocumentDB cannot run mongot at all — which is why the application-side boot probe\n // tests mongot REACHABILITY rather than dispatching on a brand string.\n services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.MONGOT].containerName);\n }\n services.push(...DEPLOYABLE_INFRA_SERVICE_NAMES);\n if (env.backingServices?.[BackingServiceKind.CLAMAV]?.source === BackingServiceSource.SELF) {\n services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName);\n }\n if (env.backingServices?.[BackingServiceKind.IMMUDB]?.source === BackingServiceSource.SELF) {\n services.push(INFRA_SERVICE_CATALOG[PlatformDataServices.IMMUDB].containerName);\n }\n return services;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"service-catalog.schemas.js","sourceRoot":"","sources":["../../../../src/services/catalog/service-catalog.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AACpH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,GAEtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAEvF,+EAA+E;A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C,qBAAqB,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC,aAAa,CAAC;IACvG,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC;IAC/F,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC;IAC/F,+FAA+F;IAC/F,iGAAiG;IACjG,+FAA+F;IAC/F,sDAAsD;IACtD,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE;CAChC,CAAC;AAgBF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,UAAU,gCAAgC,CAC9C,GAAoC;IAEpC,MAAM,QAAQ,GAAa,EAAE,CAAC;IAC9B,KAAK,MAAM,CAAC,IAAI,EAAE,cAAc,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,2BAA2B,CAA8C,EAAE,CAAC;QAC9H,IAAI,cAAc,CAAC,MAAM,KAAK,CAAC;YAAE,SAAS;QAC1C,IAAI,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,GAAG,EAAE,IAAI,CAAC;YAAE,SAAS;QACnE,QAAQ,CAAC,IAAI,CAAC,GAAG,cAAc,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC","sourcesContent":["/**\n * Service Catalog — single source of truth for all service identity.\n *\n * Every service (infra + platform) is defined here with its metadata:\n * container name, ports, env var names, deployment type, source directory.\n * All other modules derive from this catalog — no parallel definitions.\n */\n\nimport { join } from 'path';\n\nimport { PlatformDataServices, InfraDeploymentType } from '~wildo-cli/services/data-services/data-services.schemas';\nimport {\n BackingServiceKind,\n INFRA_DEFAULT_PORTS,\n PLATFORM_DEFAULT_PORTS,\n PlatformWildoServices,\n type BackingServicesEnvConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { PlatformApplicationType } from '@wildo-ai/platform-core-shared';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\n\n// ============================================================================\n// Entry types\n// ============================================================================\n\n/**\n * The hostname a CONTAINER dials a compose service by, as opposed to the compose\n * service name.\n *\n * ## Why a second name exists at all\n *\n * `wildo-host-access` is the publish plane, and it is created with\n * `com.docker.network.bridge.enable_icc: 'false'` — container-to-container traffic\n * on that bridge is BLOCKED by design, while published host ports keep working.\n * Every service that declares `ports:` is attached to it, which includes both the\n * backing services (so host processes can reach them) and the platform services\n * (so the CLI can reach apps-manager).\n *\n * That makes the two ends of a platform→backing call share TWO networks: the data\n * segment, and the blocked publish bridge. Docker's embedded DNS then answers the\n * service name with ONE of them, and measured on this stack (2026-09-09) it answers\n * with the host-access address:\n *\n * apps-manager resolves `mongodb` -> 172.27.0.6 (host-access, ICC-blocked)\n * the reachable address is -> 172.19.0.2 (wildo-data-mongo)\n *\n * So every containerised platform service dialled a dead address and restart-looped\n * on `MongoServerSelectionError`, while `platform-init` — the one platform container\n * NOT attached to host-access — connected on the first try. The framework-developer\n * lane never saw it because there the platform services run natively on the host and\n * reach backing services through published ports, never resolving these names at all.\n *\n * ## The fix, and why it is an ALIAS rather than a re-ordering\n *\n * A docker network alias is registered on ONE network. `mongodb-internal` therefore\n * exists only on `wildo-data-mongo`, so it cannot resolve to the blocked bridge no\n * matter how many networks the caller holds. DNS ordering between shared networks is\n * not a documented, controllable property; single-network registration is.\n *\n * Verified against the live stack before it was implemented: a server on\n * `wildo-data-mongo` + `wildo-host-access` with this alias, resolved from a client\n * attached to five networks including host-access, answered the DATA address and\n * carried traffic.\n *\n * ## Keeping it in lockstep\n *\n * The compose template declares these aliases literally, beside each service's\n * `networks:` entry, the same way it already hardcodes the service names. A service\n * that is attached to `wildo-host-access` and dialled by another container MUST carry\n * its alias on its own primary segment, or it regresses to the defect above.\n *\n * Compose-only: on Kubernetes there is no publish bridge and no shared-network\n * ambiguity, so cluster DNS keeps answering with the Service name.\n */\nexport const CONTAINER_INTERNAL_ALIAS_SUFFIX = '-internal';\n\n/**\n * The compose network alias a container uses to dial `containerName`.\n * @see CONTAINER_INTERNAL_ALIAS_SUFFIX for the defect this exists to prevent.\n */\nexport function resolveContainerInternalAlias(containerName: string): string {\n return `${containerName}${CONTAINER_INTERNAL_ALIAS_SUFFIX}`;\n}\n\n/**\n * What is lost when a stateful service's volume is lost — the axis a backup set is derived from.\n *\n * Distinct from {@link InfraDeploymentType}, and the distinction is the whole point. That answers\n * \"does this need a volume\", which is a DEPLOYMENT question and is already true of all eight\n * services. This answers \"does anything in the world still have it afterwards\", which is a\n * RECOVERY question, and the eight answer it three different ways. Backing up all eight equally\n * would spend the same effort on a virus-signature cache as on the audit ledger; backing up an\n * unclassified subset is how a store added later is silently left out.\n *\n * Required on every entry, so a service added to {@link PlatformDataServices} is a compile error\n * until someone says which of the three it is — the same reason `applicationStartupGate` is\n * required on a platform service.\n */\nexport enum DurableStateClass {\n /**\n * Nothing else has it. Losing the volume loses the thing itself — customer data, or the evidence\n * about what happened to it. This is the set a backup exists for.\n */\n IRREPLACEABLE = 'irreplaceable',\n /**\n * Derived from a store that is itself IRREPLACEABLE, so it can be rebuilt. Losing it costs the\n * time to rebuild and nothing else, which is why backing it up is worse than not: the copy is\n * large, and a restored index that disagrees with its source is harder to detect than an absent\n * one.\n */\n REBUILDABLE = 'rebuildable',\n /**\n * Regenerated by ordinary operation. Losing it is visible to people — someone signs in again, a\n * counter restarts, a definition file re-downloads — and costs no truth.\n */\n OPERATIONAL = 'operational',\n}\n\n/** What this service's durable state IS, and why it falls in that class. */\nexport interface DurableStateClassification {\n readonly class: DurableStateClass;\n /** Stated from the consumer's side: what a person no longer has. Not \"the data directory\". */\n readonly whatIsLost: string;\n}\n\nexport interface InfraServiceEntry {\n containerName: string;\n defaultPort: number;\n additionalPorts?: Record<string, number>;\n deploymentType: InfraDeploymentType;\n /**\n * Required for a STATEFUL service, absent for a STATELESS one — every service in this catalog is\n * STATEFUL today, so it is required outright rather than modelled as a union that has no second\n * member. If a stateless infra service is ever added, split this then, with the case in hand.\n */\n durableState: DurableStateClassification;\n}\n\n/**\n * Whether the APPLICATION process tree may start before this platform service is\n * ready.\n *\n * ## Why this is its own vocabulary\n *\n * `wildo local dev` used to derive its readiness barrier from\n * `BOOTSTRAP_PLATFORM_SERVICES`, which answers a DIFFERENT question: \"does this\n * service boot from the shared bootstrap env contract?\" Sharing an env builder\n * says nothing about whether the application needs the service alive to start,\n * and conflating the two made every platform service an implicit precondition —\n * silently, and with no place to record why.\n *\n * The distinction is load-bearing because the barrier waits with NO timeout (by\n * design — a compile error or a slow generation must never tear the owned stack\n * down). So a service wrongly marked as blocking does not degrade startup, it\n * removes it: the application tree is simply never spawned, and the only symptom\n * is silence.\n *\n * ## How to choose\n *\n * Mark a service {@link BLOCKS_APPLICATION_STARTUP} only when the application\n * bootstrap itself calls it — apps-manager is the case that exists, because\n * registered-application bootstrap materializes credentials and configuration\n * through it before any application process is spawned.\n *\n * Everything else is {@link INDEPENDENT_OF_APPLICATION_STARTUP}. Receiving a\n * service's URL in the runtime topology is NOT a dependency: the address is\n * config, and a service consulted later (or never) at boot must not decide\n * whether the application runs at all. Guard against the deadlock shape in\n * `.claude/rules/continuity-drift-and-cas-basis.md` (Rule 3) — if the remedy for\n * the service being unready routes back through a running stack, gating startup\n * on it means the remedy can never be applied.\n *\n * `PLATFORM_SERVICE_CATALOG` is keyed exhaustively over `PlatformWildoServices`,\n * so this field cannot be defaulted or forgotten: a new platform service is a\n * compile error until someone decides which of the two it is.\n */\nexport enum PlatformServiceApplicationStartupGate {\n /** Application bootstrap calls this service; the tree cannot start without it. */\n BLOCKS_APPLICATION_STARTUP = 'blocks-application-startup',\n /** Started and supervised, but the application tree does not wait for it. */\n INDEPENDENT_OF_APPLICATION_STARTUP = 'independent-of-application-startup',\n}\n\nexport interface PlatformServiceEntry {\n containerName: string;\n defaultPort: number;\n serviceEnvVarName: string;\n portEnvVarName: string;\n sourceDir: string;\n /** @see PlatformServiceApplicationStartupGate — required, never defaulted. */\n applicationStartupGate: PlatformServiceApplicationStartupGate;\n}\n\n// ============================================================================\n// Infrastructure services\n// ============================================================================\n\nconst BACK_OFFICE_BASE = join('platform', 'platform-back-office');\n\nexport const INFRA_SERVICE_CATALOG: Record<\n Exclude<PlatformDataServices, PlatformDataServices.MONGODB_INIT | PlatformDataServices.MINIO_INIT>,\n InfraServiceEntry\n> = {\n [PlatformDataServices.MONGODB]: {\n containerName: 'mongodb',\n defaultPort: INFRA_DEFAULT_PORTS.MONGODB,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.IRREPLACEABLE,\n whatIsLost:\n 'every tenant\\'s primary application data, and the FILES rows whose storageKey addresses the bytes in object storage',\n },\n },\n [PlatformDataServices.VALKEY]: {\n containerName: 'valkey',\n defaultPort: INFRA_DEFAULT_PORTS.VALKEY,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.OPERATIONAL,\n whatIsLost:\n 'signed-in sessions, lockout and rate-limit counters, single-flight locks and cached configuration — people sign in again and counters restart from zero',\n },\n },\n [PlatformDataServices.RABBITMQ]: {\n containerName: 'rabbitmq',\n defaultPort: INFRA_DEFAULT_PORTS.RABBITMQ,\n additionalPorts: { management: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT },\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.IRREPLACEABLE,\n whatIsLost:\n 'durable queues, and with them the SIEM delivery dead-letter queue: audit events the application ACCEPTED and has not yet delivered, which exist nowhere else once the queue is gone',\n },\n },\n [PlatformDataServices.MINIO]: {\n containerName: 'minio',\n defaultPort: INFRA_DEFAULT_PORTS.MINIO,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.IRREPLACEABLE,\n whatIsLost:\n 'the bytes of every uploaded file; the MongoDB rows that address them survive and point at nothing',\n },\n },\n [PlatformDataServices.POSTGRESQL]: {\n containerName: 'postgresql',\n defaultPort: INFRA_DEFAULT_PORTS.POSTGRESQL,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.IRREPLACEABLE,\n whatIsLost:\n 'every hybrid-SQL resource table, and the platform\\'s own registered-application and configuration rows',\n },\n },\n [PlatformDataServices.CLAMAV]: {\n containerName: 'clamav',\n defaultPort: INFRA_DEFAULT_PORTS.CLAMAV,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.OPERATIONAL,\n whatIsLost:\n 'the ~500 MB virus signature database, which freshclam re-downloads on the next start — the reason it holds a volume at all is to avoid that download, not to keep anything',\n },\n },\n [PlatformDataServices.IMMUDB]: {\n containerName: 'immudb',\n defaultPort: INFRA_DEFAULT_PORTS.IMMUDB,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.IRREPLACEABLE,\n whatIsLost:\n 'the tamper-evident audit ledger. It is the one store whose PURPOSE is to be the evidence, so losing it loses the ability to show what happened rather than the ability to do something',\n },\n },\n // Issue #74 — the MongoDB Search / Vector Search sidecar. `defaultPort` is its gRPC\n // listener, the only one another process ever dials; the health and metrics listeners\n // are container-internal diagnostics and are not additionalPorts because nothing in the\n // catalog's consumers (host-port publication, readiness probing) has a use for them.\n [PlatformDataServices.MONGOT]: {\n containerName: 'mongot',\n defaultPort: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n deploymentType: InfraDeploymentType.STATEFUL,\n durableState: {\n class: DurableStateClass.REBUILDABLE,\n whatIsLost:\n 'the Lucene search and vector index, rebuilt by re-reading every indexed collection from the mongod beside it',\n },\n },\n};\n\n// ============================================================================\n// Platform (Wildo) services\n// ============================================================================\n\nexport const PLATFORM_SERVICE_CATALOG: Record<\n Exclude<PlatformWildoServices, PlatformWildoServices.PLATFORM_INIT>,\n PlatformServiceEntry\n> = {\n [PlatformWildoServices.APPS_MANAGER]: {\n containerName: 'platform-apps-manager',\n defaultPort: PLATFORM_DEFAULT_PORTS.APPS_MANAGER,\n serviceEnvVarName: PlatformApplicationType.PLATFORM_APPS_MANAGER,\n portEnvVarName: 'PORT',\n sourceDir: join(BACK_OFFICE_BASE, 'platform-apps-manager'),\n // Registered-application bootstrap runs against it before any application\n // process is spawned (`ApplicationRuntimeBootstrapService.initialize`).\n applicationStartupGate: PlatformServiceApplicationStartupGate.BLOCKS_APPLICATION_STARTUP,\n },\n [PlatformWildoServices.CRONTABS_BATCHES_MANAGER]: {\n containerName: 'platform-crontabs-batches-manager',\n defaultPort: PLATFORM_DEFAULT_PORTS.CRONTABS_BATCHES_MANAGER,\n serviceEnvVarName: PlatformApplicationType.PLATFORM_CRONTABS_BATCHES_MANAGER,\n portEnvVarName: 'CRONTABS_BATCHES_MANAGER_PORT',\n sourceDir: join(BACK_OFFICE_BASE, 'platform-crontabs-batches-manager'),\n // Left BLOCKING deliberately — this preserves the behavior that existed\n // before the gate was named, and reclassifying it is a separate decision\n // from the module-registry one. The application backend only receives its\n // URL in the runtime topology and makes no boot-time call to it, so this\n // entry is a candidate for INDEPENDENT_OF_APPLICATION_STARTUP; it is not\n // changed here because scheduled-tick ownership was not traced.\n applicationStartupGate: PlatformServiceApplicationStartupGate.BLOCKS_APPLICATION_STARTUP,\n },\n [PlatformWildoServices.MODULE_REGISTRY]: {\n containerName: 'platform-module-registry',\n defaultPort: PLATFORM_DEFAULT_PORTS.MODULE_REGISTRY,\n serviceEnvVarName: PlatformApplicationType.PLATFORM_MODULE_REGISTRY,\n portEnvVarName: 'MODULE_REGISTRY_PORT',\n sourceDir: join(BACK_OFFICE_BASE, 'platform-module-registry'),\n /**\n * Hosts the `wildo registry *` HTTP surface. The application backend\n * receives `PLATFORM_MODULE_REGISTRY_URL` and stores it as\n * `runtime.endPoints.moduleRegistry`; enumerated 2026-08-13, nothing reads\n * that address during application startup. So an unready registry has never\n * been a reason the application cannot run — it only ever prevented it from\n * being started.\n */\n applicationStartupGate: PlatformServiceApplicationStartupGate.INDEPENDENT_OF_APPLICATION_STARTUP,\n },\n};\n\n// ============================================================================\n// PLATFORM_INIT shares identity with APPS_MANAGER\n// ============================================================================\n\nexport const PLATFORM_INIT_SERVICE_ENV_VAR_NAME = PlatformApplicationType.PLATFORM_APPS_MANAGER;\n\n// ============================================================================\n// Derived constants\n// ============================================================================\n\n/**\n * All service container names — derived from catalogs.\n * Replaces the hand-maintained `ALL_PLATFORM_SERVICES_NAMES`.\n */\nexport const ALL_SERVICE_CONTAINER_NAMES = {\n MONGODB: INFRA_SERVICE_CATALOG[PlatformDataServices.MONGODB].containerName,\n VALKEY: INFRA_SERVICE_CATALOG[PlatformDataServices.VALKEY].containerName,\n RABBITMQ: INFRA_SERVICE_CATALOG[PlatformDataServices.RABBITMQ].containerName,\n MINIO: INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName,\n POSTGRESQL: INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName,\n CLAMAV: INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName,\n APPS_MANAGER: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.APPS_MANAGER].containerName,\n CRONTABS_BATCHES: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.CRONTABS_BATCHES_MANAGER].containerName,\n MODULE_REGISTRY: PLATFORM_SERVICE_CATALOG[PlatformWildoServices.MODULE_REGISTRY].containerName,\n} as const;\n\nexport const STATEFUL_INFRA_SERVICES = Object.values(INFRA_SERVICE_CATALOG)\n .filter(e => e.deploymentType === InfraDeploymentType.STATEFUL)\n .map(e => e.containerName);\n\n/**\n * The services whose volumes a backup exists for — DERIVED, never listed.\n *\n * Derived for the reason `SELF_HOSTED_INFRA_WORKLOADS` is a Record rather than an array of names:\n * a hand-kept backup list is wrong the first time a store is added and says nothing when it is.\n * That is not hypothetical here — `mongot` landed on 2026-08-27 and the inventory in issue #8,\n * taken on 2026-08-14, does not know it exists. A derived set had gained it for free, classified it,\n * and (correctly) excluded it.\n *\n * Five of eight. The three excluded are excluded on their own recorded reason, not by omission:\n * `valkey` and `clamav` are OPERATIONAL, `mongot` is REBUILDABLE from the mongod beside it.\n *\n * ## Two things hold irreplaceable state and are NOT in this set, by construction\n *\n * This catalog knows platform data services. It cannot see either of these, so neither is a gap in\n * the derivation — they are a second and third population that any backup mechanism must union in:\n *\n * 1. **The per-application immudb audit-state PVC** (`backend.immudb-audit-state.pvc.yaml.hbs`) —\n * one per APPLICATION, not per platform. It holds the anti-rollback anchor, and it must be\n * captured at the SAME INSTANT as the immudb volume above: restore the ledger to T1 and the\n * anchor to T2 > T1 and the application refuses to start, reading exactly like a real tamper\n * event; restore an older anchor and a rollback is silently re-adopted, which is the failure the\n * anchor exists to prevent.\n * 2. **Secrets** — the session `encryptionKey`, the SIEM HMAC domain derived from it, and the\n * signing keys live in the `secretsPath` pipeline, outside every volume here. Data recovered\n * without its matching secret generation is data nobody can read or verify.\n *\n * Both are why a backup UNIT is the coordinated instant across a set, rather than a per-service job.\n */\nexport const IRREPLACEABLE_INFRA_SERVICES = Object.values(INFRA_SERVICE_CATALOG)\n .filter(e => e.durableState.class === DurableStateClass.IRREPLACEABLE)\n .map(e => e.containerName);\n\n/**\n * Every self-hosted infra workload the K8s lane knows how to emit, keyed by the backing-service\n * kind whose declaration decides it, in EMISSION ORDER.\n *\n * ## Why a Record over the kind vocabulary rather than a list of names\n *\n * This replaced a `DEPLOYABLE_INFRA_SERVICE_NAMES` constant that was spread unconditionally — four\n * workloads (`valkey`, `rabbitmq`, `minio`, `postgresql`) emitted for every environment, whatever\n * its `backingServices` said. Declaring `redis: { source: MANAGED }` therefore bought a managed\n * cache AND a Valkey StatefulSet beside it; the constant's own note conceded the same about\n * PostgreSQL and deferred it to \"a future slice\".\n *\n * The replacement is keyed on {@link BackingServiceKind} so the vocabulary itself carries the\n * decision: a kind added to that enum is a compile error here until someone says what workload (if\n * any) it emits, and `EnvironmentLifecycle.selfHostsBackingService` — the total predicate below —\n * refuses to compile until someone says when. Two hand-written lists of service names, drifting\n * apart across two lanes, is precisely what produced the defect.\n *\n * Empty array ⇒ this kind has no self-hosted workload in either lane; it is a declaration an\n * application reads to address an external sink. Ordering matters and is preserved by insertion\n * order (none of the keys is integer-like, so `Object.entries` is stable): `mongot` must follow\n * `mongodb`, and the readiness loop consumes the same sequence.\n *\n * NOTE the readiness ORDER differs from this emission order — `waitForLocalK8sInfraReady` defers\n * mongot past the `mongodb-init` Job, because mongot cannot authenticate until that Job has created\n * its `searchCoordinator` user.\n */\nconst SELF_HOSTED_INFRA_WORKLOADS: Record<BackingServiceKind, readonly string[]> = {\n // `mongot` rides mongod's decision rather than carrying its own (issue #74): the Search / Vector\n // Search sidecar is an attachment to a self-hosted mongod, never an independently sourced\n // service. A managed Mongo deploys neither — Atlas serves search itself, and DocumentDB cannot\n // run mongot at all.\n [BackingServiceKind.MONGODB]: [\n INFRA_SERVICE_CATALOG[PlatformDataServices.MONGODB].containerName,\n INFRA_SERVICE_CATALOG[PlatformDataServices.MONGOT].containerName,\n ],\n [BackingServiceKind.REDIS]: [INFRA_SERVICE_CATALOG[PlatformDataServices.VALKEY].containerName],\n [BackingServiceKind.RABBITMQ]: [INFRA_SERVICE_CATALOG[PlatformDataServices.RABBITMQ].containerName],\n [BackingServiceKind.S3]: [INFRA_SERVICE_CATALOG[PlatformDataServices.MINIO].containerName],\n [BackingServiceKind.POSTGRESQL]: [INFRA_SERVICE_CATALOG[PlatformDataServices.POSTGRESQL].containerName],\n [BackingServiceKind.CLAMAV]: [INFRA_SERVICE_CATALOG[PlatformDataServices.CLAMAV].containerName],\n [BackingServiceKind.IMMUDB]: [INFRA_SERVICE_CATALOG[PlatformDataServices.IMMUDB].containerName],\n // A backup target is addressed, never deployed: no `internal/<svc>/` template exists for it. A\n // future template author lands here first, which is the point of listing it rather than omitting\n // it. (`METRICS` was the other entry and was withdrawn 2026-09-09 — telemetry is not a backing\n // service; see `RUNTIME_GRANTED_INFRA_CAPABILITIES`.)\n [BackingServiceKind.BACKUP]: [],\n};\n\n/**\n * Structural shape of the env input consumed by\n * {@link getDeployableInfraServicesForK8s}. Defined locally to keep the\n * catalog free of any dependency on `PlatformEnvironmentConfiguration`\n * (which lives downstream in `~wildo-cli/services/environment`). Both the\n * `name` and the optional authored `backingServices` snapshot are read so\n * the resolver can gate per-service self-deploy decisions identically to\n * the Compose side.\n */\nexport interface DeployableInfraServicesEnvInput {\n name: string;\n backingServices?: BackingServicesEnvConfig;\n}\n\n/**\n * Per-env deployable list for K8s manifest emission — the workloads this environment RUNS ITSELF.\n *\n * One rule for all nine kinds: {@link EnvironmentLifecycle.selfHostsBackingService}, the same\n * predicate `getDockerComposeLocalDataServices` gates on, so Compose ⇄ K8s parity is structural\n * rather than two implementations that happen to agree. Read that JSDoc for what an OMITTED\n * declaration means per kind — it is not one rule, and the difference is what keeps this change\n * from deleting a cache/broker/object-store from environments that never declared one.\n *\n * `postgresql` joined the gated set here in the same change (it was the last member of the old\n * always-on list). Its predecessor's note deferred that as \"a deployment change that must be made\n * deliberately\"; what makes it safe rather than merely consistent is that the workload it removes\n * could never have run: `generateK8sSecrets` emits `postgresql-secret` only for an environment that\n * wants PostgreSQL, and the StatefulSet's `POSTGRES_USER` / `POSTGRES_PASSWORD` / `POSTGRES_DB` are\n * REQUIRED `secretKeyRef`s — so an environment that asked for no PostgreSQL was being handed a pod\n * that cannot start (`CreateContainerConfigError`) and a readiness loop that waits on it forever.\n *\n * Single source of truth for:\n * - {@link K8sManifestGenerator.renderAllManifests} → which `internal/<svc>/`\n * templates to render.\n * - The K8s bootstrap service's post-apply readiness loop (every emitted\n * workload must be probed; conversely, never wait on a service we did\n * not deploy).\n * - `local-infrastructure-initialization` → which `/mnt/local-data/<svc>/` host dirs to create.\n *\n * The storage PersistentVolume template is gated separately, on the SAME predicate, in\n * `K8sManifestGenerator.buildForInternalService` — a PV is a distinct manifest, so it is a distinct\n * call site of one invariant, not a consumer of this list.\n */\nexport function getDeployableInfraServicesForK8s(\n env: DeployableInfraServicesEnvInput,\n): readonly string[] {\n const services: string[] = [];\n for (const [kind, containerNames] of Object.entries(SELF_HOSTED_INFRA_WORKLOADS) as [BackingServiceKind, readonly string[]][]) {\n if (containerNames.length === 0) continue;\n if (!EnvironmentUtils.selfHostsBackingService(env, kind)) continue;\n services.push(...containerNames);\n }\n return services;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"acp-conformance-probe.service.test.d.ts","sourceRoot":"","sources":["../../../../../src/services/coding-agents/__tests__/acp-conformance-probe.service.test.ts"],"names":[],"mappings":""}
|