@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
package/dist/src/services/deployment/docker/__tests__/docker-compose-generator.service.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-generator.service.test.js","sourceRoot":"","sources":["../../../../../../../../src/services/deployment/docker/__tests__/docker-compose-generator.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACvG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,GAC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IAAI,EAAE,OAAO;gBACb,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,wBAAwB,EAAE;aACrE,CAAC,CAAC;YACH,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;YAC9C,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,oDAAoD,EAAE,KAAK,IAAI,EAAE;YAClE,MAAM,QAAQ,GAAG,MAAM,yBAAyB,CAAC;gBAC/C,IAAI,EAAE,OAAO;gBACb,aAAa,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;aAClC,CAAC,CAAC;YACH,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;YAClD,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,8BAA8B,CAAC,CAAC;QACjE,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,wFAAwF,EAAE,KAAK,IAAI,EAAE;YACtG,MAAM,QAAQ,GAAG,MAAM,yBAAyB,CAAC;gBAC/C,IAAI,EAAE,OAAO;gBACb,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,iCAAiC,EAAE;aAC9E,CAAC,CAAC;YACH,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';\nimport { existsSync, mkdtempSync, mkdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'fs';\nimport { dirname, join, resolve } from 'path';\nimport { fileURLToPath } from 'url';\nimport { tmpdir } from 'os';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n DatabaseEngine,\n} from '@wildo-ai/platform-config-lib';\n\nvi.mock('~wildo-cli/services/environment/environment.service', () => ({\n EnvironmentUtils: {\n loadConfigJson: vi.fn(),\n needsLocalMongoDB: vi.fn(() => false),\n /**\n * The Compose PostgreSQL gate now delegates to this shared predicate instead of reading\n * `config.database.engine` directly — the old expression could never render PostgreSQL and\n * MongoDB together, because the same field also SUBTRACTS MongoDB.\n *\n * Mocked here (like `needsLocalMongoDB`), so these tests pin that the generator FORWARDS the\n * predicate. The predicate's own rule — including the `source === MANAGED` refusal that a pin\n * in this file used to assert against the generator — is pinned where it lives, in\n * `environment-lifecycle.needs-local-postgresql.test.ts`.\n */\n needsLocalPostgreSQL: vi.fn(() => false),\n resolveDockerComposeDir: vi.fn(),\n // Persisted per-app APPLICATION_ID lookup baked into the minion/worker\n // `environment:` blocks. Each test sets the return explicitly (a map for\n // the baked-literal case, `null` for the cold-start interpolation fallback).\n loadApplicationRuntimeIdentity: vi.fn(),\n },\n}));\n\n// Slice 4.2 — `renderDockerComposeTemplate` now resolves the SaaS root via\n// `EnvironmentRegistry.getSaasRoot()` to compute the absolute `localDataPath`\n// bind-mount source. The test sandbox has no targeted SaaS app, so we mock\n// the registry to return a known directory; the rendered output for this\n// test does not interpolate `{{localDataPath}}` so the value is opaque.\nvi.mock('~wildo-cli/services/environment/environment-registry.service', () => ({\n EnvironmentRegistry: {\n getSaasRoot: vi.fn(() => '/tmp/saas-root-stub'),\n },\n}));\n\n// Audit Phase 2 — `renderDockerComposeTemplate` now reads `credentials.immudb` (via\n// `SecretsReader.loadSecrets`) to materialize the immudb state-signing key when the env\n// self-hosts immudb. Default the mock to `null` (no keypair ⇒ immudb renders unsigned); the\n// signing-render test below overrides it with a provisioned keypair.\nvi.mock('~wildo-cli/services/credentials/secrets-reader.service', () => ({\n SecretsReader: {\n loadSecrets: vi.fn(() => null),\n },\n}));\n\n// Slice 4.3 / 4.4 — wipe + ensure helpers delegate to `EnvironmentPaths`.\n// We spy on the two host-mutating static methods (`ensureLocalDataService\\\n// Dirs`, `wipeLocalDataServiceDirs`) so the per-env list contract can be\n// asserted in isolation without touching the host filesystem, while keeping\n// the rest of the class (esp. `resolveScopedLocalDataDir` used by the real\n// template render path) intact.\n\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport {\n ensureLocalDataServiceDirsForComposeRender,\n getDockerComposeLocalDataServices,\n renderDockerComposeTemplate,\n wipeLocalDataServiceDirsForCompose,\n} from '../docker-compose-generator.service';\n\nconst repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../../..');\n\ndescribe('renderDockerComposeTemplate', () => {\n const tempDirs: string[] = [];\n\n beforeEach(() => {\n vi.spyOn(EnvironmentPaths, 'ensureLocalDataServiceDirs').mockImplementation(() => {});\n vi.spyOn(EnvironmentPaths, 'wipeLocalDataServiceDirs').mockImplementation(() => {});\n });\n\n afterEach(() => {\n vi.restoreAllMocks();\n for (const dir of tempDirs.splice(0)) {\n rmSync(dir, { recursive: true, force: true });\n }\n });\n\n it('Slice 4.3 — getDockerComposeLocalDataServices returns the env-aware service list (mongo+postgres+clamav gated)', () => {\n // Always-on baseline (Slice 4.1 — F-8): valkey + rabbitmq + minio\n // bind-mount under `local_data/<svc>` regardless of authored config.\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n\n const baseEnv = { name: 'local', backingServices: undefined } as never;\n expect(getDockerComposeLocalDataServices(baseEnv)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n ]);\n\n // mongodb included only when `needsLocalMongoDB` returns true (D3 —\n // ATLAS / MANAGED MongoDB envs do NOT spin up a local container).\n //\n // `mongot` rides the SAME predicate (issue #74): it is an attachment to a self-hosted\n // mongod, never an independently sourced service, so the two are one decision. The\n // ATLAS / MANAGED case below is the half that matters — a managed Mongo must get\n // NEITHER, since Atlas serves search itself and DocumentDB cannot run mongot at all.\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n expect(getDockerComposeLocalDataServices(baseEnv)).toEqual([\n 'mongodb',\n 'mongot',\n 'valkey',\n 'rabbitmq',\n 'minio',\n ]);\n\n // postgresql included only when `needsLocalPostgreSQL` says so. That predicate is a UNION —\n // the platform database engine OR an authored `backingServices.postgresql` — precisely so an\n // application can persist to PostgreSQL while the platform control plane stays on MongoDB.\n // Gating on the engine alone (the previous expression) could never express that, because the\n // same field removes MongoDB.\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n // ... and with mongod off, `mongot` is off too — the negative half of the shared gate.\n expect(getDockerComposeLocalDataServices(baseEnv)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n 'postgresql',\n ]);\n\n // clamav included only when `backingServices.clamav.source === SELF`\n // (Slice 4.8 — same predicate the K8s side uses, so Compose ⇄ K8s\n // parity stays structural).\n const envWithClamav = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF },\n },\n } as never;\n expect(getDockerComposeLocalDataServices(envWithClamav)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n 'postgresql',\n 'clamav',\n ]);\n\n // immudb included only when `backingServices.immudb.source === SELF`\n // (Audit Phase 2 — stateful data-volume pattern, same predicate as clamav).\n const envWithImmudb = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF },\n },\n } as never;\n expect(getDockerComposeLocalDataServices(envWithImmudb)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n 'postgresql',\n 'immudb',\n ]);\n\n // gotenberg is intentionally absent from the list — it is stateless\n // by design and has no bind mount in the rendered template (no\n // `local_data/gotenberg/` subdir to pre-create or wipe).\n expect(getDockerComposeLocalDataServices(envWithClamav)).not.toContain('gotenberg');\n });\n\n it('Slice 4.3 — ensureLocalDataServiceDirsForComposeRender resolves saas root and forwards the per-env list', () => {\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/some/saas-root');\n\n ensureLocalDataServiceDirsForComposeRender({ name: 'local' } as never);\n\n expect(EnvironmentPaths.ensureLocalDataServiceDirs).toHaveBeenCalledWith(\n '/some/saas-root',\n ['mongodb', 'mongot', 'valkey', 'rabbitmq', 'minio', 'postgresql'],\n );\n });\n\n it('Slice 4.4 — wipeLocalDataServiceDirsForCompose is fail-closed when no SaaS root is detected (D6)', () => {\n // Symmetry with the K8s wipe path: silently swallowing a missing\n // saas-root would leave stale on-host state behind and corrupt the\n // next `wildo local up`.\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(null);\n\n expect(() => wipeLocalDataServiceDirsForCompose({ name: 'local' } as never)).toThrow(\n /no targeted SaaS app root detected/,\n );\n expect(EnvironmentPaths.wipeLocalDataServiceDirs).not.toHaveBeenCalled();\n });\n\n it('Slice 4.2 — renderDockerComposeTemplate emits absolute bind mounts and omits the named-volumes block (real template)', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-real-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n // MongoDB AND PostgreSQL together — the configuration the gate fix exists to make expressible,\n // and the one this bind-mount assertion now covers.\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n const env = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF },\n },\n } as never;\n\n // Use the REAL framework templates folder — this is the only way to\n // catch a regression where a future refactor decouples the generator\n // context from the template `{{...}}` placeholders.\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // D4 — `localDataPath` is ABSOLUTE. The generator uses the resolved\n // saas-root + the canonical `.wildo-saas/local_data` segment so each\n // bind mount survives any future shuffling of the runtime layout.\n //\n // MongoDB binds its REAL child data paths directly. `mongo:8.2` declares\n // `VOLUME /data/db` + `/data/configdb`, so a single parent `/data` bind is\n // shadowed by the anonymous volumes Docker layers on those child paths and\n // silently loses the database on every recreate\n // (local-dev-stack-instability-analysis.md Cause 4). Pin the two child binds\n // AND assert the parent-bind decoy does NOT reappear.\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/mongodb/db:/data/db');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/mongodb/configdb:/data/configdb');\n expect(rendered).not.toContain('/abs/saas-root/.wildo-saas/local_data/mongodb:/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/valkey:/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/rabbitmq:/var/lib/rabbitmq');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/minio:/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/postgresql:/var/lib/postgresql/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/clamav:/var/lib/clamav');\n\n // Slice 4.1 — no top-level `volumes:` section (named volumes are\n // gone). A regression here would silently re-introduce the\n // double-source-of-truth between Docker volume drivers and the\n // host-side wipe contract.\n expect(rendered).not.toMatch(/^volumes:\\s*$/m);\n\n // ClamAV block is emitted only because `backingServices.clamav.source\n // === SELF` is authored. Mongo block is emitted because\n // `needsLocalMongoDB` returned true.\n expect(rendered).toContain('container_name: wildo-clamav');\n expect(rendered).toContain('container_name: wildo-mongodb');\n\n /**\n * The 5.3 review's compose-transport HIGH, pinned at the transport: the platform service\n * blocks are explicit interpolation ALLOW-LISTS, so a key written to `.env.wildo-platform`\n * but not listed in the container's `environment:` never reaches the process. Both platform\n * containers (INIT and NORMAL) must list both keys — INIT so its PostgreSQL refusal can see\n * the adapter, NORMAL so the boot can honor it. `:-` defaults keep Mongo-engined env files\n * (which omit the keys) interpolation-warning-free.\n */\n const pgConnectUrlDeliveries = rendered.match(/PG_CONNECT_URL: \\$\\{PG_CONNECT_URL:-\\}/g) ?? [];\n const adapterDeliveries = rendered.match(/DATABASE_DEFAULT_ADAPTER: \\$\\{DATABASE_DEFAULT_ADAPTER:-\\}/g) ?? [];\n expect(pgConnectUrlDeliveries.length).toBeGreaterThanOrEqual(2);\n expect(adapterDeliveries.length).toBeGreaterThanOrEqual(2);\n\n // And the startup edge: with the postgres container rendered, platform-init must wait for it\n // to be HEALTHY — INIT/boot would otherwise race initdb on the first `docker compose up`.\n expect(rendered).toMatch(/postgresql:\\s*\\n\\s*condition: service_healthy/);\n });\n\n it('Slice 4.8 — clamav block is omitted when source !== SELF (no orphan container declared)', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-no-clamav-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n await renderDockerComposeTemplate(\n { name: 'local', backingServices: undefined } as never,\n repoRoot,\n false,\n );\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n expect(rendered).not.toContain('container_name: wildo-clamav');\n expect(rendered).not.toContain('container_name: wildo-mongodb');\n expect(rendered).not.toContain('container_name: wildo-immudb');\n });\n\n it('Audit Phase 2 — renderDockerComposeTemplate emits the immudb service + data volume when source === SELF', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n const env = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF },\n },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // immudb is the STATEFUL data-volume pattern (like clamav/mongo), NOT the\n // stateless otel-collector `configs:` pattern — its audit history persists\n // under `local_data/immudb`.\n expect(rendered).toContain('container_name: wildo-immudb');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/immudb:/var/lib/immudb');\n // No keypair provisioned (loadSecrets → null) ⇒ immudb runs UNSIGNED (no --signingKey).\n expect(rendered).not.toContain('--signingKey');\n });\n\n it('Audit Phase 2 — materializes the SEC1 signing key + renders --signingKey when a keypair is provisioned', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-sign-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const SIGNING_PEM = '-----BEGIN EC PRIVATE KEY-----\\nMHcCAQEEexampleSEC1payload\\n-----END EC PRIVATE KEY-----\\n';\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // A REAL writable saasRoot so the generator can materialize the key file under local_data.\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({\n immudb: { stateSigningPrivateKey: SIGNING_PEM, stateSigningPublicKey: 'pub-spki' },\n } as never);\n\n const env = {\n name: 'local',\n backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n const keyPath = join(sandboxRoot, '.wildo-saas', 'local_data', 'immudb-signing', 'state-signing.key');\n\n // The SEC1 private key is materialized under local_data (SERVER-side only, never app env)...\n expect(existsSync(keyPath)).toBe(true);\n expect(readFileSync(keyPath, 'utf8')).toBe(SIGNING_PEM);\n // ...and the immudb service signs its state with it (bind mount + `--signingKey` command).\n expect(rendered).toContain('command: [\"--signingKey\", \"/etc/immudb/state-signing.key\"]');\n expect(rendered).toContain(`${keyPath}:/etc/immudb/state-signing.key:ro`);\n });\n\n // Issue #74 — the MongoDB 8.2 + `mongot` baseline, pinned in BOTH directions against the REAL\n // template.\n //\n // Both halves are needed and neither substitutes for the other. The positive half alone stays\n // green if the `{{#if mongotPasswordHostPath}}` guards are dropped — the sidecar would then be\n // rendered for every environment, including one with no credential, and mongod would route\n // `$vectorSearch` to a container that cannot authenticate. The negative half alone stays green if\n // the mongot blocks are deleted outright.\n //\n // The `setParameter` assertion is the one that matters most: it is the ONLY thing tying mongod to\n // the sidecar. Without it mongod starts, answers, and reports healthy, while every `$vectorSearch`\n // fails — the failure mode a container-level health check cannot see.\n it('Issue #74 — renders the mongot sidecar, its config, and mongod\\'s mongot setParameters when the credential exists', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-mongot-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // A REAL writable saasRoot so the generator can materialize the password file under local_data.\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({\n mongot: { syncSourcePassword: 'probe-mongot-password' },\n } as never);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n const passwordPath = join(sandboxRoot, '.wildo-saas', 'local_data', 'mongot-auth', 'sync-source.password');\n\n // The credential is materialized ONCE, owner-read-only. `0400` is not a preference: mongot\n // refuses a more permissive file at startup and exits, so a loosened mode is a crash-loop.\n expect(existsSync(passwordPath)).toBe(true);\n expect(readFileSync(passwordPath, 'utf8')).toBe('probe-mongot-password');\n expect(statSync(passwordPath).mode & 0o777).toBe(0o400);\n\n // RE-RENDER IS IDEMPOTENT — the regression this pins is not hypothetical. `PASSWORD_FILE_MODE`\n // is 0400 (owner READ-only) and `writeFileSync` opens for WRITE, so the SECOND render used to\n // fail `EACCES` on the file the FIRST render wrote. `wildo local init` therefore worked exactly\n // once per machine and broke on every run after — a shape no single-render assertion can catch,\n // which is why this renders twice rather than asserting harder about one render.\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n expect(readFileSync(passwordPath, 'utf8')).toBe('probe-mongot-password');\n expect(statSync(passwordPath).mode & 0o777).toBe(0o400);\n\n // Both images move together — 8.2 for mongod AND the init container, pinned mongot beside them.\n expect(rendered).toContain('image: mongo:8.2');\n expect(rendered).toContain('image: mongodb/mongodb-community-search:1.70.3');\n expect(rendered).not.toContain('image: mongo:7');\n\n // mongod is wired to the sidecar. All five, because a partial set is a mongod that believes it\n // has search and cannot reach it.\n expect(rendered).toContain('--setParameter mongotHost=mongot:27028');\n expect(rendered).toContain('--setParameter searchIndexManagementHostAndPort=mongot:27028');\n expect(rendered).toContain('--setParameter skipAuthenticationToSearchIndexManagementServer=false');\n expect(rendered).toContain('--setParameter useGrpcForSearch=true');\n expect(rendered).toContain('--setParameter searchTLSMode=disabled');\n\n // ONE file reaches both the step that CREATES the searchCoordinator user and the process that\n // AUTHENTICATES as it — the whole reason the credential is a framework-managed material.\n expect(rendered).toContain(`${passwordPath}:/mongot-password:ro`);\n expect(rendered).toContain(\"roles: ['searchCoordinator']\");\n expect(rendered).toContain('source: wildo-mongot-config');\n expect(rendered).toContain('wildo-mongot-config:');\n expect(rendered).toContain('passwordFile: \"/mongot-password\"');\n // mongot waits for the user to exist; mongod does NOT wait for mongot (no cycle).\n expect(rendered).toContain('condition: service_completed_successfully');\n });\n\n it('Issue #74 — renders NO mongot service and NO mongot setParameters when the credential is absent', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-no-mongot-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n // A CI-reconstructed secrets.json publishes no mongot material. The degradation must be\n // CONSISTENT — no sidecar AND no routing — never a mongod that routes to a container that\n // was not rendered.\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({ providerEnv: {} } as never);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n expect(rendered).toContain('image: mongo:8.2');\n expect(rendered).not.toContain('mongodb/mongodb-community-search');\n expect(rendered).not.toContain('--setParameter mongotHost=');\n expect(rendered).not.toContain('searchCoordinator');\n expect(rendered).not.toContain('wildo-mongot-config');\n });\n\n // The compose lane's half of the contract `IMMUDB_CREDENTIAL_ENV_KEYS` states: the self-hosted\n // server's admin password is SOURCED FROM the operator's `providerEnv.IMMUDB_PASSWORD` so the\n // server admin and the audit-sink client cannot diverge. The k8s lane implemented it; this lane\n // rendered no `environment:` at all, so a local immudb always initialized on immudb's PACKAGED\n // DEFAULT while the app connected with the authored password — silent, and only on the lane every\n // developer runs.\n //\n // Both directions are pinned deliberately. The positive half alone would stay green if the `{{#if}}`\n // guard were dropped (it would then render an empty password on every env); the negative half alone\n // would stay green if the block were deleted outright. Neither survives the other.\n it('Audit Phase 2 — sources the immudb server admin password from providerEnv.IMMUDB_PASSWORD', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-admin-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n // No signing keypair — isolates the admin-password path from the `--signingKey` path, so a\n // regression in one cannot be masked by the other.\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({\n providerEnv: { IMMUDB_PASSWORD: 'authored-admin-pw' },\n } as never);\n\n const env = {\n name: 'local',\n backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n expect(rendered).toContain('IMMUDB_ADMIN_PASSWORD: \"authored-admin-pw\"');\n });\n\n it('Audit Phase 2 — omits IMMUDB_ADMIN_PASSWORD entirely when no provider password is authored', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-noadmin-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({ providerEnv: {} } as never);\n\n const env = {\n name: 'local',\n backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n // Not merely \"no value\" — the key must be ABSENT, so immudb keeps its packaged default rather\n // than initializing with an empty-string admin password. Mirrors the k8s lane's `optional: true`.\n expect(rendered).toContain('container_name: wildo-immudb');\n expect(rendered).not.toContain('IMMUDB_ADMIN_PASSWORD');\n });\n\n it('app-creator mode renders every platform service, module-registry included, on the registry-qualified image (real template)', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-image-ref-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n\n // isFrameworkDeveloper = false → the platform-service blocks are rendered.\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n // All four platform blocks name the SAME registry-qualified ref — bare `wildo-platform:` would\n // resolve to Docker Hub, where no such image exists, which is how an app-creator `local up`\n // could never have started the platform before 2026-09-03.\n const imageRefs = rendered.match(/image: docker\\.io\\/wildoai\\/wildo-platform:[^\\s]+/g) ?? [];\n expect(imageRefs).toHaveLength(4);\n expect(new Set(imageRefs).size).toBe(1);\n expect(imageRefs[0]).not.toContain(':latest');\n expect(rendered).not.toMatch(/image: wildo-platform:/);\n\n // The third platform service is a compose service now, wired like its siblings.\n expect(rendered).toContain(' platform-module-registry:\\n');\n expect(rendered).toContain('PLATFORM_SERVICE: platform_module_registry');\n expect(rendered).toContain('MODULE_REGISTRY_PORT: \"5154\"');\n expect(rendered).toContain('PLATFORM_MODULE_REGISTRY_URL: ${PLATFORM_MODULE_REGISTRY_URL}');\n expect(rendered).toContain('http://localhost:5154/health');\n });\n\n it('framework-developer mode renders NO platform-service block (they run natively), so no platform image ref at all', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-fwk-dev-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, true);\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n expect(rendered).not.toContain('platform-apps-manager:');\n expect(rendered).not.toContain('platform-module-registry:');\n expect(rendered).not.toMatch(/image: .*wildo-platform/);\n });\n\n it('renders from the framework docker-compose templates home', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-'));\n const frameworkRoot = join(sandboxRoot, 'wildo-ai');\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n mkdirSync(join(frameworkRoot, 'templates', 'infra', 'docker-compose'), {\n recursive: true,\n });\n writeFileSync(\n join(\n frameworkRoot,\n 'templates',\n 'infra',\n 'docker-compose',\n FILE_NAMES.DOCKER_COMPOSE_TEMPLATE,\n ),\n 'name: {{composeName}}\\nincludePostgreSQL: {{includePostgreSQL}}\\n',\n 'utf8',\n );\n\n // Present but irrelevant to the PostgreSQL gate now: `renderDockerComposeTemplate` still\n // requires a config.json, it simply no longer reads `database.engine` to decide this.\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // `includePostgreSQL` is the shared `EnvironmentUtils.needsLocalPostgreSQL` predicate, forwarded\n // verbatim. This pins the FORWARDING; the predicate's own rule is pinned against the real\n // implementation in `environment-lifecycle.needs-local-postgresql.test.ts`.\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, frameworkRoot, false);\n\n const renderedPath = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n expect(existsSync(renderedPath)).toBe(true);\n expect(readFileSync(renderedPath, 'utf8')).toContain('includePostgreSQL: true');\n });\n\n /**\n * The source-aware gate is RESTORED, and this is the pin that used to record its absence.\n *\n * Its previous form asserted `includePostgreSQL: true` for `engine=POSTGRESQL + source=MANAGED`\n * and said so in its own name — pinning the regression deliberately, with the instruction \"flip\n * the assertion back to `includePostgreSQL: false` when the source-aware gate is restored\". It is\n * restored, so it is flipped.\n *\n * It also MOVED, and that matters more than the flip. Asserting a predicate's rule through the\n * generator only worked while the generator INLINED the rule; now that it forwards a shared\n * helper the assertion would run against a mock and pass for any predicate at all. The rule is\n * therefore pinned where it is implemented — see\n * `environment-lifecycle.needs-local-postgresql.test.ts`, which exercises the real function\n * (MANAGED refused on both halves, SELF admitted on either). What survives here is the one thing\n * this file can still prove: the generator asks the shared predicate rather than re-deriving.\n */\n it('forwards `needsLocalPostgreSQL` to the template context rather than re-deriving the rule', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-'));\n const frameworkRoot = join(sandboxRoot, 'wildo-ai');\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n mkdirSync(join(frameworkRoot, 'templates', 'infra', 'docker-compose'), {\n recursive: true,\n });\n writeFileSync(\n join(\n frameworkRoot,\n 'templates',\n 'infra',\n 'docker-compose',\n FILE_NAMES.DOCKER_COMPOSE_TEMPLATE,\n ),\n 'name: {{composeName}}\\nincludePostgreSQL: {{includePostgreSQL}}\\n',\n 'utf8',\n );\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.POSTGRESQL },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // engine=POSTGRESQL above, and the gate still says NO — which is only possible because the\n // decision comes from the predicate. Under the old inline expression this rendered `true`.\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n\n const env = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.POSTGRESQL]: { source: BackingServiceSource.MANAGED },\n },\n } as never;\n await renderDockerComposeTemplate(env, frameworkRoot, false);\n\n // The predicate is consulted with the WHOLE env, not just its name: its `backingServices` half\n // is unreachable otherwise, which is exactly how the additive declaration would go missing.\n expect(EnvironmentUtils.needsLocalPostgreSQL).toHaveBeenCalledWith(env);\n\n const renderedPath = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n expect(existsSync(renderedPath)).toBe(true);\n expect(readFileSync(renderedPath, 'utf8')).toContain('includePostgreSQL: false');\n });\n\n /**\n * Step 6 acceptance — emits per-app minion + worker compose services\n * under the `app-runtimes` profile against the real Wonder Todos\n * dogfood (`wildo.saas.config.ts` declares `marketingScrapper`,\n * `myRustWorker`, `myNodeWorker`).\n *\n * This tests the actual provider-runtime-sync ↔ compose template\n * coupling: the env-file path written by Step 5b becomes the\n * `env_file:` mount in compose, the worker http port lands in\n * `ports:`, and the build context points at the package directory\n * relative to saasRoot.\n */\n it('Step 6 — emits minion + worker compose services from Wonder Todos saas config', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-app-runtimes-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const wonderTodosRoot = resolve(repoRoot, 'examples/wonder-todos');\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(wonderTodosRoot);\n // No persisted identity → APPLICATION_ID resolves to the cold-start\n // `${APPLICATION_ID}` interpolation fallback (the baked-literal path is\n // covered by the sibling test below).\n vi.mocked(EnvironmentUtils.loadApplicationRuntimeIdentity).mockReturnValue(null);\n\n await renderDockerComposeTemplate(\n { name: 'local', backingServices: undefined } as never,\n repoRoot,\n false,\n );\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // Step 6 (Q1 (B)) — `build.context` is the wildo-ai monorepo root\n // for ALL runtime-host services (so each Dockerfile can resolve\n // file:-injected `@wildo-ai/*` engine deps). The Dockerfile path is\n // relative to that context.\n const frameworkRoot = repoRoot;\n\n // Minion entry from `wildo.saas.config.ts > minions.marketingScrapper`. The\n // camelCase bucket key is RFC1123-normalized into the compose service +\n // container name (byte-identical to the k8s Service name + the CI image ref).\n expect(rendered).toContain('wonder-todos-minion-marketing-scrapper:');\n expect(rendered).toContain('container_name: wonder-todos-minion-marketing-scrapper');\n expect(rendered).toContain(`context: ${frameworkRoot}`);\n expect(rendered).toContain('dockerfile: examples/wonder-todos/minions/marketing-scrapper/Dockerfile');\n expect(rendered).toContain(\n `- ${join(wonderTodosRoot, 'minions/marketing-scrapper', '.wildo-providers.env')}`,\n );\n\n // Worker entries — both Rust (no JS bundle, only env-file) and Node\n // (env-file + generated source module, but compose only needs the\n // env-file because the generated module is imported at build time\n // by the worker's own TS code). camelCase keys normalize to kebab.\n expect(rendered).toContain('wonder-todos-worker-my-rust-worker:');\n expect(rendered).toContain('wonder-todos-worker-my-node-worker:');\n expect(rendered).toContain('dockerfile: examples/wonder-todos/workers/my-rust-worker/Dockerfile');\n expect(rendered).toContain('dockerfile: examples/wonder-todos/workers/my-node-worker/Dockerfile');\n\n // IDENTITY axis stays RAW while the service NAME normalizes — the worker\n // forwards its bucket key verbatim as the apps-manager `appConfig.workers[key]`\n // bootstrap path segment, so `APP_OWNED_SERVICE_NAME` must NOT be normalized.\n expect(rendered).toContain('APP_OWNED_SERVICE_NAME: \"myRustWorker\"');\n expect(rendered).toContain('APP_OWNED_SERVICE_NAME: \"myNodeWorker\"');\n\n // Worker http ports surface as compose `ports:` mappings.\n // myRustWorker listens on 8080 (Rust acknowledge stub).\n // myNodeWorker listens on 8081 (Step 5a Node exemplar).\n expect(rendered).toContain('\"8080:8080\"');\n expect(rendered).toContain('\"8081:8081\"');\n\n // All app-runtime services live under the `app-runtimes` profile so\n // `wildo local up` (default profile) brings only platform up.\n expect(rendered).toContain('profiles:\\n - app-runtimes');\n\n // Bootstrap-env-contract vars are wired through compose-level env so the\n // worker's `readWorkerBootstrapEnv()` (and the minion backend's\n // `ApplicationBackendBootstrapEnvKey` reads) resolve at boot. The LHS keys\n // MUST be the canonical enum names — a prior drift shipped `WILDO_NODE_ENV`\n // / `PRIMARY_SECRET` / `APPS_MANAGER_URL`, which the runtimes never read.\n //\n // `APPLICATION_ID` is now BAKED per service from the persisted\n // `application-runtime-identity.json` (it is app-specific and absent from\n // the app-agnostic `.env.wildo-platform`, so a bare `${APPLICATION_ID}`\n // would resolve empty and fail-close the container at boot). This render\n // sets up NO persisted identity, so it exercises the cold-start fallback:\n // the quoted `\"${APPLICATION_ID}\"` interpolation token (the real-id\n // baked-literal case is the sibling test below). The other three vars stay\n // platform-env interpolation passthroughs. Anchoring the multiline match on\n // APPLICATION_ID still pins this to the minion/worker `environment:` block\n // (platform services never carry it).\n expect(rendered).toContain(\n [\n 'APPLICATION_ENV: ${APPLICATION_ENV}',\n 'APPLICATION_ID: \"${APPLICATION_ID}\"',\n 'PLATFORM_APPLICATION_PRIMARY_SECRET: ${PLATFORM_APPLICATION_PRIMARY_SECRET}',\n 'PLATFORM_APPS_MANAGER_URL: ${PLATFORM_APPS_MANAGER_URL}',\n ].join('\\n '),\n );\n // Contention headroom, NOT slowness. Measured nominal on an idle machine is\n // ~1.1s against the 5s default: `renderDockerComposeTemplate` end-to-end is\n // ~0.6s, of which loading the real Wonder Todos config graph through jiti is\n // ~0.58s and the minion/worker config loads are ~3ms combined.\n //\n // vitest's budget is WALL-CLOCK, not CPU time. Under a saturated worker pool\n // (a full-package sweep racing other compilations, or a small CI runner) that\n // ~1.1s has been measured stretching to 7-10s and failing as a timeout that\n // reads like a hang.\n //\n // Do NOT \"fix\" a failure here by swapping the real config for a fixture: this\n // test exists to catch provider-runtime-sync ↔ compose-template drift against\n // the actual dogfood app, which a synthetic config cannot do. Caching the\n // config load is equally pointless — jiti already memoizes it to 0ms after\n // the first call within a process.\n }, 30_000);\n\n /**\n * APPLICATION_ID fail-closed fix — when the app has been bootstrapped, the\n * apps-manager-minted id (a Mongo `_id`, persisted to\n * `application-runtime-identity.json` by the credential-fetching flows) is\n * baked as a per-service literal into every minion AND worker\n * `environment:` block, so a `docker compose --profile app-runtimes up`\n * container boots with the correct identity instead of an empty\n * `${APPLICATION_ID}` interpolation. This is the OFFLINE read path that lets\n * even `config sync --domain manifest` / `local up` self-heal bake it.\n */\n it('Step 6 — bakes the persisted APPLICATION_ID literal into every minion + worker service', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-app-id-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const wonderTodosRoot = resolve(repoRoot, 'examples/wonder-todos');\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(wonderTodosRoot);\n // Persisted identity keyed by the Wonder Todos slug → the render bakes it.\n // Fixture is a realistic 24-hex Mongo ObjectId (APPLICATION_ID is an `_id`),\n // which also pins that a hex id passes through Handlebars `{{ }}` verbatim.\n vi.mocked(EnvironmentUtils.loadApplicationRuntimeIdentity).mockReturnValue({\n 'wonder-todos': { applicationId: '663f2a1e9c4b1a2b3c4d5e6f' },\n });\n\n await renderDockerComposeTemplate(\n { name: 'local', backingServices: undefined } as never,\n repoRoot,\n false,\n );\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // The real id is baked as a quoted literal — never the interpolation token.\n expect(rendered).toContain('APPLICATION_ID: \"663f2a1e9c4b1a2b3c4d5e6f\"');\n expect(rendered).not.toContain('APPLICATION_ID: ${APPLICATION_ID}');\n expect(rendered).not.toContain('APPLICATION_ID: \"${APPLICATION_ID}\"');\n\n // One occurrence per app-runtime service: Wonder Todos declares 1 minion\n // (marketingScrapper) + 2 workers (myRustWorker, myNodeWorker) = 3, all\n // sharing the single owning-app id. Service names are RFC1123-normalized.\n expect(rendered).toContain('wonder-todos-minion-marketing-scrapper:');\n expect(rendered).toContain('wonder-todos-worker-my-rust-worker:');\n expect(rendered).toContain('wonder-todos-worker-my-node-worker:');\n const occurrences = rendered.split('APPLICATION_ID: \"663f2a1e9c4b1a2b3c4d5e6f\"').length - 1;\n expect(occurrences).toBe(3);\n });\n\n /**\n * Container isolation in compose (F-B + Step 5-core), rendered against the\n * REAL Wonder Todos config graph — 1 minion + 2 workers.\n *\n * ⚠️ What this does NOT cover: compose has no `NetworkPolicy` analogue, so\n * egress restriction is unexpressible here. A green run proves the process\n * posture, never the network posture.\n */\n it('emits the container-isolation floor on every app-runtime service, with per-image uids', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-isolation-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(resolve(repoRoot, 'examples/wonder-todos'));\n vi.mocked(EnvironmentUtils.loadApplicationRuntimeIdentity).mockReturnValue(null);\n\n await renderDockerComposeTemplate({ name: 'local', backingServices: undefined } as never, repoRoot, false);\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n // The floor: 3 app-runtime services (1 minion + 2 workers), each carrying\n // every unconditional clause. Counting rather than `toContain` is what makes\n // this catch the actual F-B defect — the minion block existed and the worker\n // block did not, so a presence check would have passed on a half-hardened\n // render.\n const count = (needle: string): number => rendered.split(needle).length - 1;\n expect(count('read_only: true')).toBe(3);\n expect(count('no-new-privileges:true')).toBe(3);\n expect(count('pids_limit: 512')).toBe(3);\n expect(count('cap_drop:\\n - ALL')).toBe(3);\n // `read_only` without a writable mount is the pairing that breaks a healthy\n // runtime (for the minion, unwritably so — its liveness heartbeat lives at\n // /tmp/wildo-minion-alive). Never emit one without the other.\n expect(count('tmpfs:\\n - /tmp')).toBe(3);\n\n // The authorable uid, per image. Both Wonder Todos workers author one\n // because their images bake DIFFERENT non-root accounts — `USER node`\n // (1000) vs distroless `nonroot` (65532) — while the minion authors nothing\n // and takes the framework default.\n expect(rendered).toContain('user: \"1000:1000\"'); // my-node-worker\n expect(rendered).toContain('user: \"65532:65532\"'); // my-rust-worker\n expect(rendered).toContain('user: \"10001:10001\"'); // marketingScrapper (default)\n }, 30_000);\n\n describe('Slice 2 Phase 5b — local otel-collector', () => {\n // Renders the REAL compose template (copied into a sandbox framework root)\n // with the given env so the `{{#if includeOtelCollector}}` service block AND\n // the top-level inline `configs:` entry are exercised end-to-end (not a\n // stub). `isFrameworkDeveloper=true` skips the saas-config-driven\n // minion/worker/platform sections (there is no app root in the sandbox);\n // the otel block is gated purely on `observability`, independent of that\n // flag.\n async function renderRealTemplateWithEnv(env: unknown): Promise<string> {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-otel-'));\n const frameworkRoot = join(sandboxRoot, 'wildo-ai');\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const realTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', FILE_NAMES.DOCKER_COMPOSE_TEMPLATE),\n 'utf8',\n );\n mkdirSync(join(frameworkRoot, 'templates', 'infra', 'docker-compose'), {\n recursive: true,\n });\n writeFileSync(\n join(frameworkRoot, 'templates', 'infra', 'docker-compose', FILE_NAMES.DOCKER_COMPOSE_TEMPLATE),\n realTemplate,\n 'utf8',\n );\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n\n await renderDockerComposeTemplate(env as never, frameworkRoot, true);\n\n return readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n }\n\n it('renders the collector service + inline config when observability targets localhost', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: true, endpoint: 'http://localhost:4318' },\n });\n // Service (under `services:`)\n expect(rendered).toContain('otel-collector:');\n expect(rendered).toContain('image: otel/opentelemetry-collector-contrib:0.154.0');\n expect(rendered).toContain('container_name: wildo-otel-collector');\n expect(rendered).toContain('\"4318:4318\"');\n expect(rendered).toContain('source: wildo-otel-collector-config');\n expect(rendered).toContain('target: /etc/otelcol-contrib/config.yaml');\n // Top-level inline `configs:` block (content mirrors the verified 5a smoke config).\n expect(rendered).toMatch(/configs:\\n {2}wildo-otel-collector-config:\\n {4}content: \\|/);\n expect(rendered).toContain('endpoint: 0.0.0.0:4318');\n expect(rendered).toContain('verbosity: detailed');\n });\n\n it('parses a non-default endpoint port into the published host mapping (container side stays 4318)', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: true, endpoint: 'http://127.0.0.1:14318' },\n });\n expect(rendered).toContain('otel-collector:');\n expect(rendered).toContain('\"14318:4318\"');\n });\n\n it('omits the collector when observability is disabled', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: false },\n });\n expect(rendered).not.toContain('otel-collector:');\n expect(rendered).not.toContain('wildo-otel-collector-config:');\n });\n\n it('omits the collector when the endpoint is remote (no local collector for a remote sink)', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: true, endpoint: 'https://in-otel.betterstack.com' },\n });\n expect(rendered).not.toContain('otel-collector:');\n });\n });\n});\n"]}
|
|
1
|
+
{"version":3,"file":"docker-compose-generator.service.test.js","sourceRoot":"","sources":["../../../../../../src/services/deployment/docker/__tests__/docker-compose-generator.service.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AACvG,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,SAAS,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,GACf,MAAM,+BAA+B,CAAC;AAEvC,EAAE,CAAC,IAAI,CAAC,qDAAqD,EAAE,GAAG,EAAE,CAAC,CAAC;IACpE,gBAAgB,EAAE;QAChB,cAAc,EAAE,EAAE,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AC3E,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;gBACjC,MAAM,QAAQ,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;gBAChD,KAAK,MAAM,CAAC,WAAW,EAAE,UAAU,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;oBACjE,KAAK,MAAM,UAAU,IAAI,MAAM,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,UAAU,IAAI,EAAE,CAA4B,CAAC,EAAE,CAAC;wBAC/F,MAAM,CAAC,GAAG,WAAW,OAAO,UAAU,eAAe,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC;6BAC9E,IAAI,CAAC,GAAG,WAAW,OAAO,UAAU,mBAAmB,CAAC,CAAC;oBAC9D,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';\nimport { existsSync, mkdtempSync, mkdirSync, readFileSync, rmSync, statSync, writeFileSync } from 'fs';\nimport { dirname, join, resolve } from 'path';\nimport { fileURLToPath } from 'url';\nimport { tmpdir } from 'os';\nimport { parse as parseYaml } from 'yaml';\nimport {\n BackingServiceKind,\n BackingServiceSource,\n DatabaseEngine,\n} from '@wildo-ai/platform-config-lib';\n\nvi.mock('~wildo-cli/services/environment/environment.service', () => ({\n EnvironmentUtils: {\n loadConfigJson: vi.fn(),\n needsLocalMongoDB: vi.fn(() => false),\n /**\n * The Compose PostgreSQL gate now delegates to this shared predicate instead of reading\n * `config.database.engine` directly — the old expression could never render PostgreSQL and\n * MongoDB together, because the same field also SUBTRACTS MongoDB.\n *\n * Mocked here (like `needsLocalMongoDB`), so these tests pin that the generator FORWARDS the\n * predicate. The predicate's own rule — including the `source === MANAGED` refusal that a pin\n * in this file used to assert against the generator — is pinned where it lives, in\n * `environment-lifecycle.needs-local-postgresql.test.ts`.\n */\n needsLocalPostgreSQL: vi.fn(() => false),\n /**\n * The TOTAL per-kind self-deploy predicate both deployment lanes now gate on. Its\n * implementation is installed in `beforeEach` (a hoisted `vi.mock` factory cannot reference the\n * sibling mocks it must delegate to) — see the comment there for why a stand-in is acceptable\n * HERE and where the real rule is pinned.\n */\n selfHostsBackingService: vi.fn(),\n resolveDockerComposeDir: vi.fn(),\n // Persisted per-app APPLICATION_ID lookup baked into the minion/worker\n // `environment:` blocks. Each test sets the return explicitly (a map for\n // the baked-literal case, `null` for the cold-start interpolation fallback).\n loadApplicationRuntimeIdentity: vi.fn(),\n },\n}));\n\n// Slice 4.2 — `renderDockerComposeTemplate` now resolves the SaaS root via\n// `EnvironmentRegistry.getSaasRoot()` to compute the absolute `localDataPath`\n// bind-mount source. The test sandbox has no targeted SaaS app, so we mock\n// the registry to return a known directory; the rendered output for this\n// test does not interpolate `{{localDataPath}}` so the value is opaque.\nvi.mock('~wildo-cli/services/environment/environment-registry.service', () => ({\n EnvironmentRegistry: {\n getSaasRoot: vi.fn(() => '/tmp/saas-root-stub'),\n },\n}));\n\n// Audit Phase 2 — `renderDockerComposeTemplate` now reads `credentials.immudb` (via\n// `SecretsReader.loadSecrets`) to materialize the immudb state-signing key when the env\n// self-hosts immudb. Default the mock to `null` (no keypair ⇒ immudb renders unsigned); the\n// signing-render test below overrides it with a provisioned keypair.\nvi.mock('~wildo-cli/services/credentials/secrets-reader.service', () => ({\n SecretsReader: {\n loadSecrets: vi.fn(() => null),\n },\n}));\n\n// Slice 4.3 / 4.4 — wipe + ensure helpers delegate to `EnvironmentPaths`.\n// We spy on the two host-mutating static methods (`ensureLocalDataService\\\n// Dirs`, `wipeLocalDataServiceDirs`) so the per-env list contract can be\n// asserted in isolation without touching the host filesystem, while keeping\n// the rest of the class (esp. `resolveScopedLocalDataDir` used by the real\n// template render path) intact.\n\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { EnvironmentUtils } from '~wildo-cli/services/environment/environment.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { EnvironmentRegistry } from '~wildo-cli/services/environment/environment-registry.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport {\n ensureLocalDataServiceDirsForComposeRender,\n getDockerComposeLocalDataServices,\n renderDockerComposeTemplate,\n wipeLocalDataServiceDirsForCompose,\n} from '../docker-compose-generator.service';\n\nconst repoRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../../../../../../../..');\n\ndescribe('renderDockerComposeTemplate', () => {\n const tempDirs: string[] = [];\n\n beforeEach(() => {\n vi.spyOn(EnvironmentPaths, 'ensureLocalDataServiceDirs').mockImplementation(() => {});\n vi.spyOn(EnvironmentPaths, 'wipeLocalDataServiceDirs').mockImplementation(() => {});\n\n /*\n * A STAND-IN for `EnvironmentLifecycle.selfHostsBackingService`, restating its shape so this\n * suite keeps driving the generator through the two mocked union predicates it has always\n * driven it through (`needsLocalMongoDB` / `needsLocalPostgreSQL`) while the five\n * authored-only kinds read the `backingServices` snapshot each case supplies.\n *\n * Restating a rule in a test is normally the drift this repository refuses. It is admissible\n * here for one reason: this suite's contract is that the generator FORWARDS a shared predicate\n * and wires it into the template — it mocks `EnvironmentUtils` wholesale, so an assertion about\n * the RULE placed here would run against a `vi.fn()` and pass for any predicate whatsoever. The\n * rule itself is pinned against the REAL implementation in three places that mock only the\n * registry: `environment-lifecycle.self-hosts-backing-service.test.ts`,\n * `catalog/__tests__/service-catalog.schemas.test.ts` and `parity.compose-vs-k8s.test.ts`.\n *\n * Note the asymmetry that is the whole point of the fix, reproduced faithfully: the three\n * MANDATORY kinds read `!== MANAGED` (an omitted key still deploys), the two OPTIONAL ones read\n * `=== SELF` (an omitted key deploys nothing).\n */\n vi.mocked(EnvironmentUtils.selfHostsBackingService).mockImplementation((env, kind) => {\n switch (kind) {\n case BackingServiceKind.MONGODB:\n return EnvironmentUtils.needsLocalMongoDB(env);\n case BackingServiceKind.POSTGRESQL:\n return EnvironmentUtils.needsLocalPostgreSQL(env);\n case BackingServiceKind.REDIS:\n case BackingServiceKind.RABBITMQ:\n case BackingServiceKind.S3:\n return env.backingServices?.[kind]?.source !== BackingServiceSource.MANAGED;\n default:\n return env.backingServices?.[kind]?.source === BackingServiceSource.SELF;\n }\n });\n });\n\n afterEach(() => {\n vi.restoreAllMocks();\n for (const dir of tempDirs.splice(0)) {\n rmSync(dir, { recursive: true, force: true });\n }\n });\n\n it('Slice 4.3 — getDockerComposeLocalDataServices returns the env-aware service list (mongo+postgres+clamav gated)', () => {\n // Always-on baseline (Slice 4.1 — F-8): valkey + rabbitmq + minio\n // bind-mount under `local_data/<svc>` regardless of authored config.\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n\n const baseEnv = { name: 'local', backingServices: undefined } as never;\n expect(getDockerComposeLocalDataServices(baseEnv)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n ]);\n\n // mongodb included only when `needsLocalMongoDB` returns true (D3 —\n // ATLAS / MANAGED MongoDB envs do NOT spin up a local container).\n //\n // `mongot` rides the SAME predicate (issue #74): it is an attachment to a self-hosted\n // mongod, never an independently sourced service, so the two are one decision. The\n // ATLAS / MANAGED case below is the half that matters — a managed Mongo must get\n // NEITHER, since Atlas serves search itself and DocumentDB cannot run mongot at all.\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n expect(getDockerComposeLocalDataServices(baseEnv)).toEqual([\n 'mongodb',\n 'mongot',\n 'valkey',\n 'rabbitmq',\n 'minio',\n ]);\n\n // postgresql included only when `needsLocalPostgreSQL` says so. That predicate is a UNION —\n // the platform database engine OR an authored `backingServices.postgresql` — precisely so an\n // application can persist to PostgreSQL while the platform control plane stays on MongoDB.\n // Gating on the engine alone (the previous expression) could never express that, because the\n // same field removes MongoDB.\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n // ... and with mongod off, `mongot` is off too — the negative half of the shared gate.\n expect(getDockerComposeLocalDataServices(baseEnv)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n 'postgresql',\n ]);\n\n // clamav included only when `backingServices.clamav.source === SELF`\n // (Slice 4.8 — same predicate the K8s side uses, so Compose ⇄ K8s\n // parity stays structural).\n const envWithClamav = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF },\n },\n } as never;\n expect(getDockerComposeLocalDataServices(envWithClamav)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n 'postgresql',\n 'clamav',\n ]);\n\n // immudb included only when `backingServices.immudb.source === SELF`\n // (Audit Phase 2 — stateful data-volume pattern, same predicate as clamav).\n const envWithImmudb = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF },\n },\n } as never;\n expect(getDockerComposeLocalDataServices(envWithImmudb)).toEqual([\n 'valkey',\n 'rabbitmq',\n 'minio',\n 'postgresql',\n 'immudb',\n ]);\n });\n\n it('Slice 4.3 — ensureLocalDataServiceDirsForComposeRender resolves saas root and forwards the per-env list', () => {\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/some/saas-root');\n\n ensureLocalDataServiceDirsForComposeRender({ name: 'local' } as never);\n\n expect(EnvironmentPaths.ensureLocalDataServiceDirs).toHaveBeenCalledWith(\n '/some/saas-root',\n ['mongodb', 'mongot', 'valkey', 'rabbitmq', 'minio', 'postgresql'],\n );\n });\n\n it('Slice 4.4 — wipeLocalDataServiceDirsForCompose is fail-closed when no SaaS root is detected (D6)', () => {\n // Symmetry with the K8s wipe path: silently swallowing a missing\n // saas-root would leave stale on-host state behind and corrupt the\n // next `wildo local up`.\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(null);\n\n expect(() => wipeLocalDataServiceDirsForCompose({ name: 'local' } as never)).toThrow(\n /no targeted SaaS app root detected/,\n );\n expect(EnvironmentPaths.wipeLocalDataServiceDirs).not.toHaveBeenCalled();\n });\n\n it('Slice 4.2 — renderDockerComposeTemplate emits absolute bind mounts and omits the named-volumes block (real template)', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-real-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n // MongoDB AND PostgreSQL together — the configuration the gate fix exists to make expressible,\n // and the one this bind-mount assertion now covers.\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n const env = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.CLAMAV]: { source: BackingServiceSource.SELF },\n },\n } as never;\n\n // Use the REAL framework templates folder — this is the only way to\n // catch a regression where a future refactor decouples the generator\n // context from the template `{{...}}` placeholders.\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // D4 — `localDataPath` is ABSOLUTE. The generator uses the resolved\n // saas-root + the canonical `.wildo-saas/local_data` segment so each\n // bind mount survives any future shuffling of the runtime layout.\n //\n // MongoDB binds its REAL child data paths directly. `mongo:8.2` declares\n // `VOLUME /data/db` + `/data/configdb`, so a single parent `/data` bind is\n // shadowed by the anonymous volumes Docker layers on those child paths and\n // silently loses the database on every recreate\n // (local-dev-stack-instability-analysis.md Cause 4). Pin the two child binds\n // AND assert the parent-bind decoy does NOT reappear.\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/mongodb/db:/data/db');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/mongodb/configdb:/data/configdb');\n expect(rendered).not.toContain('/abs/saas-root/.wildo-saas/local_data/mongodb:/data');\n // mongod runs AS `mongodb`: started as root the image gosu's to uid 999, and on Docker Desktop's\n // gRPC FUSE a bind-mounted file presents root:root 0600 whatever the host says — so 999 cannot\n // reopen its own database (EPERM, assertion 28595, every start after the first).\n expect(rendered).toContain('user: \"mongodb\"');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/valkey:/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/rabbitmq:/var/lib/rabbitmq');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/minio:/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/postgresql:/var/lib/postgresql/data');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/clamav:/var/lib/clamav');\n\n // Slice 4.1 — no top-level `volumes:` section (named volumes are gone). A regression here\n // would re-introduce the double-source-of-truth between Docker volume drivers and the\n // host-side wipe contract.\n expect(rendered).not.toMatch(/^volumes:\\s*$/m);\n\n // ClamAV block is emitted only because `backingServices.clamav.source\n // === SELF` is authored. Mongo block is emitted because\n // `needsLocalMongoDB` returned true.\n expect(rendered).toContain('container_name: wildo-clamav');\n expect(rendered).toContain('container_name: wildo-mongodb');\n\n /**\n * The 5.3 review's compose-transport HIGH, pinned at the transport: the platform service\n * blocks are explicit interpolation ALLOW-LISTS, so a key written to `.env.wildo-platform`\n * but not listed in the container's `environment:` never reaches the process. Both platform\n * containers (INIT and NORMAL) must list both keys — INIT so its PostgreSQL refusal can see\n * the adapter, NORMAL so the boot can honor it. `:-` defaults keep Mongo-engined env files\n * (which omit the keys) interpolation-warning-free.\n */\n const pgConnectUrlDeliveries = rendered.match(/PG_CONNECT_URL: \\$\\{PG_CONNECT_URL:-\\}/g) ?? [];\n const adapterDeliveries = rendered.match(/DATABASE_DEFAULT_ADAPTER: \\$\\{DATABASE_DEFAULT_ADAPTER:-\\}/g) ?? [];\n expect(pgConnectUrlDeliveries.length).toBeGreaterThanOrEqual(2);\n expect(adapterDeliveries.length).toBeGreaterThanOrEqual(2);\n\n // And the startup edge: with the postgres container rendered, platform-init must wait for it\n // to be HEALTHY — INIT/boot would otherwise race initdb on the first `docker compose up`.\n expect(rendered).toMatch(/postgresql:\\s*\\n\\s*condition: service_healthy/);\n });\n\n it('Slice 4.8 — clamav block is omitted when source !== SELF (no orphan container declared)', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-no-clamav-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n await renderDockerComposeTemplate(\n { name: 'local', backingServices: undefined } as never,\n repoRoot,\n false,\n );\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n expect(rendered).not.toContain('container_name: wildo-clamav');\n expect(rendered).not.toContain('container_name: wildo-mongodb');\n expect(rendered).not.toContain('container_name: wildo-immudb');\n });\n\n it('Audit Phase 2 — renderDockerComposeTemplate emits the immudb service + data volume when source === SELF', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n const env = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF },\n },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // immudb is the STATEFUL data-volume pattern (like clamav/mongo), NOT the\n // stateless otel-collector `configs:` pattern — its audit history persists\n // under `local_data/immudb`.\n expect(rendered).toContain('container_name: wildo-immudb');\n expect(rendered).toContain('/abs/saas-root/.wildo-saas/local_data/immudb:/var/lib/immudb');\n // No keypair provisioned (loadSecrets → null) ⇒ immudb runs UNSIGNED (no --signingKey).\n expect(rendered).not.toContain('--signingKey');\n });\n\n it('Audit Phase 2 — materializes the SEC1 signing key + renders --signingKey when a keypair is provisioned', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-sign-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const SIGNING_PEM = '-----BEGIN EC PRIVATE KEY-----\\nMHcCAQEEexampleSEC1payload\\n-----END EC PRIVATE KEY-----\\n';\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // A REAL writable saasRoot so the generator can materialize the key file under local_data.\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({\n immudb: { stateSigningPrivateKey: SIGNING_PEM, stateSigningPublicKey: 'pub-spki' },\n } as never);\n\n const env = {\n name: 'local',\n backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n const keyPath = join(sandboxRoot, '.wildo-saas', 'local_data', 'immudb-signing', 'state-signing.key');\n\n // The SEC1 private key is materialized under local_data (SERVER-side only, never app env)...\n expect(existsSync(keyPath)).toBe(true);\n expect(readFileSync(keyPath, 'utf8')).toBe(SIGNING_PEM);\n // ...and the immudb service signs its state with it (bind mount + `--signingKey` command).\n expect(rendered).toContain('command: [\"--signingKey\", \"/etc/immudb/state-signing.key\"]');\n expect(rendered).toContain(`${keyPath}:/etc/immudb/state-signing.key:ro`);\n });\n\n // Issue #74 — the MongoDB 8.2 + `mongot` baseline, pinned in BOTH directions against the REAL\n // template.\n //\n // Both halves are needed and neither substitutes for the other. The positive half alone stays\n // green if the `{{#if mongotPasswordHostPath}}` guards are dropped — the sidecar would then be\n // rendered for every environment, including one with no credential, and mongod would route\n // `$vectorSearch` to a container that cannot authenticate. The negative half alone stays green if\n // the mongot blocks are deleted outright.\n //\n // The `setParameter` assertion is the one that matters most: it is the ONLY thing tying mongod to\n // the sidecar. Without it mongod starts, answers, and reports healthy, while every `$vectorSearch`\n // fails — the failure mode a container-level health check cannot see.\n it('Issue #74 — renders the mongot sidecar, its config, and mongod\\'s mongot setParameters when the credential exists', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-mongot-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // A REAL writable saasRoot so the generator can materialize the password file under local_data.\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({\n mongot: { syncSourcePassword: 'probe-mongot-password' },\n } as never);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n const passwordPath = join(sandboxRoot, '.wildo-saas', 'local_data', 'mongot-auth', 'sync-source.password');\n\n // The credential is materialized ONCE, owner-read-only. `0400` is not a preference: mongot\n // refuses a more permissive file at startup and exits, so a loosened mode is a crash-loop.\n expect(existsSync(passwordPath)).toBe(true);\n expect(readFileSync(passwordPath, 'utf8')).toBe('probe-mongot-password');\n expect(statSync(passwordPath).mode & 0o777).toBe(0o400);\n\n // RE-RENDER IS IDEMPOTENT — the regression this pins is not hypothetical. `PASSWORD_FILE_MODE`\n // is 0400 (owner READ-only) and `writeFileSync` opens for WRITE, so the SECOND render used to\n // fail `EACCES` on the file the FIRST render wrote. `wildo local init` therefore worked exactly\n // once per machine and broke on every run after — a shape no single-render assertion can catch,\n // which is why this renders twice rather than asserting harder about one render.\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n expect(readFileSync(passwordPath, 'utf8')).toBe('probe-mongot-password');\n expect(statSync(passwordPath).mode & 0o777).toBe(0o400);\n\n // Both images move together — 8.2 for mongod AND the init container, pinned mongot beside them.\n expect(rendered).toContain('image: mongo:8.2');\n expect(rendered).toContain('image: mongodb/mongodb-community-search:1.70.3');\n expect(rendered).not.toContain('image: mongo:7');\n\n // mongod is wired to the sidecar. All five, because a partial set is a mongod that believes it\n // has search and cannot reach it.\n expect(rendered).toContain('--setParameter mongotHost=mongot:27028');\n expect(rendered).toContain('--setParameter searchIndexManagementHostAndPort=mongot:27028');\n expect(rendered).toContain('--setParameter skipAuthenticationToSearchIndexManagementServer=false');\n expect(rendered).toContain('--setParameter useGrpcForSearch=true');\n expect(rendered).toContain('--setParameter searchTLSMode=disabled');\n\n // ONE file reaches both the step that CREATES the searchCoordinator user and the process that\n // AUTHENTICATES as it — the whole reason the credential is a framework-managed material.\n expect(rendered).toContain(`${passwordPath}:/mongot-password:ro`);\n expect(rendered).toContain(\"roles: ['searchCoordinator']\");\n expect(rendered).toContain('source: wildo-mongot-config');\n expect(rendered).toContain('wildo-mongot-config:');\n expect(rendered).toContain('passwordFile: \"/mongot-password\"');\n // mongot waits for the user to exist; mongod does NOT wait for mongot (no cycle).\n expect(rendered).toContain('condition: service_completed_successfully');\n });\n\n it('Issue #74 — renders NO mongot service and NO mongot setParameters when the credential is absent', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-no-mongot-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n // A CI-reconstructed secrets.json publishes no mongot material. The degradation must be\n // CONSISTENT — no sidecar AND no routing — never a mongod that routes to a container that\n // was not rendered.\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({ providerEnv: {} } as never);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n expect(rendered).toContain('image: mongo:8.2');\n expect(rendered).not.toContain('mongodb/mongodb-community-search');\n expect(rendered).not.toContain('--setParameter mongotHost=');\n expect(rendered).not.toContain('searchCoordinator');\n expect(rendered).not.toContain('wildo-mongot-config');\n });\n\n // The compose lane's half of the contract `IMMUDB_CREDENTIAL_ENV_KEYS` states: the self-hosted\n // server's admin password is SOURCED FROM the operator's `providerEnv.IMMUDB_PASSWORD` so the\n // server admin and the audit-sink client cannot diverge. The k8s lane implemented it; this lane\n // rendered no `environment:` at all, so a local immudb always initialized on immudb's PACKAGED\n // DEFAULT while the app connected with the authored password — silent, and only on the lane every\n // developer runs.\n //\n // Both directions are pinned deliberately. The positive half alone would stay green if the `{{#if}}`\n // guard were dropped (it would then render an empty password on every env); the negative half alone\n // would stay green if the block were deleted outright. Neither survives the other.\n it('Audit Phase 2 — sources the immudb server admin password from providerEnv.IMMUDB_PASSWORD', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-admin-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n // No signing keypair — isolates the admin-password path from the `--signingKey` path, so a\n // regression in one cannot be masked by the other.\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({\n providerEnv: { IMMUDB_PASSWORD: 'authored-admin-pw' },\n } as never);\n\n const env = {\n name: 'local',\n backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n expect(rendered).toContain('IMMUDB_ADMIN_PASSWORD: \"authored-admin-pw\"');\n });\n\n it('Audit Phase 2 — omits IMMUDB_ADMIN_PASSWORD entirely when no provider password is authored', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-immudb-noadmin-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(sandboxRoot);\n vi.mocked(SecretsReader.loadSecrets).mockReturnValue({ providerEnv: {} } as never);\n\n const env = {\n name: 'local',\n backingServices: { [BackingServiceKind.IMMUDB]: { source: BackingServiceSource.SELF } },\n } as never;\n\n await renderDockerComposeTemplate(env, repoRoot, false);\n\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n // Not merely \"no value\" — the key must be ABSENT, so immudb keeps its packaged default rather\n // than initializing with an empty-string admin password. Mirrors the k8s lane's `optional: true`.\n expect(rendered).toContain('container_name: wildo-immudb');\n expect(rendered).not.toContain('IMMUDB_ADMIN_PASSWORD');\n });\n\n it('app-creator mode renders every platform service, module-registry included, on the registry-qualified image (real template)', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-image-ref-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n\n // isFrameworkDeveloper = false → the platform-service blocks are rendered.\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, false);\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n // All four platform blocks name the SAME registry-qualified ref — bare `wildo-platform:` would\n // resolve to Docker Hub, where no such image exists, which is how an app-creator `local up`\n // could never have started the platform before 2026-09-03.\n const imageRefs = rendered.match(/image: docker\\.io\\/wildoai\\/wildo-platform:[^\\s]+/g) ?? [];\n expect(imageRefs).toHaveLength(4);\n expect(new Set(imageRefs).size).toBe(1);\n expect(imageRefs[0]).not.toContain(':latest');\n expect(rendered).not.toMatch(/image: wildo-platform:/);\n\n // The third platform service is a compose service now, wired like its siblings.\n expect(rendered).toContain(' platform-module-registry:\\n');\n expect(rendered).toContain('PLATFORM_SERVICE: platform_module_registry');\n expect(rendered).toContain('MODULE_REGISTRY_PORT: \"5154\"');\n expect(rendered).toContain('PLATFORM_MODULE_REGISTRY_URL: ${PLATFORM_MODULE_REGISTRY_URL}');\n expect(rendered).toContain('http://localhost:5154/health');\n });\n\n it('framework-developer mode renders NO platform-service block (they run natively), so no platform image ref at all', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-fwk-dev-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(true);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, repoRoot, true);\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n expect(rendered).not.toContain('platform-apps-manager:');\n expect(rendered).not.toContain('platform-module-registry:');\n expect(rendered).not.toMatch(/image: .*wildo-platform/);\n });\n\n it('renders from the framework docker-compose templates home', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-'));\n const frameworkRoot = join(sandboxRoot, 'wildo-ai');\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n mkdirSync(join(frameworkRoot, 'templates', 'infra', 'docker-compose'), {\n recursive: true,\n });\n writeFileSync(\n join(\n frameworkRoot,\n 'templates',\n 'infra',\n 'docker-compose',\n FILE_NAMES.DOCKER_COMPOSE_TEMPLATE,\n ),\n 'name: {{composeName}}\\nincludePostgreSQL: {{includePostgreSQL}}\\n',\n 'utf8',\n );\n\n // Present but irrelevant to the PostgreSQL gate now: `renderDockerComposeTemplate` still\n // requires a config.json, it simply no longer reads `database.engine` to decide this.\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // `includePostgreSQL` is the shared `EnvironmentUtils.needsLocalPostgreSQL` predicate, forwarded\n // verbatim. This pins the FORWARDING; the predicate's own rule is pinned against the real\n // implementation in `environment-lifecycle.needs-local-postgresql.test.ts`.\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(true);\n\n await renderDockerComposeTemplate({ name: 'local' } as never, frameworkRoot, false);\n\n const renderedPath = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n expect(existsSync(renderedPath)).toBe(true);\n expect(readFileSync(renderedPath, 'utf8')).toContain('includePostgreSQL: true');\n });\n\n /**\n * The source-aware gate is RESTORED, and this is the pin that used to record its absence.\n *\n * Its previous form asserted `includePostgreSQL: true` for `engine=POSTGRESQL + source=MANAGED`\n * and said so in its own name — pinning the regression deliberately, with the instruction \"flip\n * the assertion back to `includePostgreSQL: false` when the source-aware gate is restored\". It is\n * restored, so it is flipped.\n *\n * It also MOVED, and that matters more than the flip. Asserting a predicate's rule through the\n * generator only worked while the generator INLINED the rule; now that it forwards a shared\n * helper the assertion would run against a mock and pass for any predicate at all. The rule is\n * therefore pinned where it is implemented — see\n * `environment-lifecycle.needs-local-postgresql.test.ts`, which exercises the real function\n * (MANAGED refused on both halves, SELF admitted on either). What survives here is the one thing\n * this file can still prove: the generator asks the shared predicate rather than re-deriving.\n */\n it('forwards `needsLocalPostgreSQL` to the template context rather than re-deriving the rule', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-'));\n const frameworkRoot = join(sandboxRoot, 'wildo-ai');\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n mkdirSync(join(frameworkRoot, 'templates', 'infra', 'docker-compose'), {\n recursive: true,\n });\n writeFileSync(\n join(\n frameworkRoot,\n 'templates',\n 'infra',\n 'docker-compose',\n FILE_NAMES.DOCKER_COMPOSE_TEMPLATE,\n ),\n 'name: {{composeName}}\\nincludePostgreSQL: {{includePostgreSQL}}\\n',\n 'utf8',\n );\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.POSTGRESQL },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n // engine=POSTGRESQL above, and the gate still says NO — which is only possible because the\n // decision comes from the predicate. Under the old inline expression this rendered `true`.\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(false);\n\n const env = {\n name: 'local',\n backingServices: {\n [BackingServiceKind.POSTGRESQL]: { source: BackingServiceSource.MANAGED },\n },\n } as never;\n await renderDockerComposeTemplate(env, frameworkRoot, false);\n\n // The predicate is consulted with the WHOLE env, not just its name: its `backingServices` half\n // is unreachable otherwise, which is exactly how the additive declaration would go missing.\n expect(EnvironmentUtils.needsLocalPostgreSQL).toHaveBeenCalledWith(env);\n\n const renderedPath = join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM);\n expect(existsSync(renderedPath)).toBe(true);\n expect(readFileSync(renderedPath, 'utf8')).toContain('includePostgreSQL: false');\n });\n\n /**\n * Step 6 acceptance — emits per-app minion + worker compose services\n * under the `app-runtimes` profile against the real Wonder Todos\n * dogfood (`wildo.saas.config.ts` declares `marketingScrapper`,\n * `myRustWorker`, `myNodeWorker`).\n *\n * This tests the actual provider-runtime-sync ↔ compose template\n * coupling: the env-file path written by Step 5b becomes the\n * `env_file:` mount in compose, the worker http port lands in\n * `ports:`, and the build context points at the package directory\n * relative to saasRoot.\n */\n it('Step 6 — emits minion + worker compose services from Wonder Todos saas config', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-app-runtimes-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const wonderTodosRoot = resolve(repoRoot, 'examples/wonder-todos');\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(wonderTodosRoot);\n // No persisted identity → APPLICATION_ID resolves to the cold-start\n // `${APPLICATION_ID}` interpolation fallback (the baked-literal path is\n // covered by the sibling test below).\n vi.mocked(EnvironmentUtils.loadApplicationRuntimeIdentity).mockReturnValue(null);\n\n await renderDockerComposeTemplate(\n { name: 'local', backingServices: undefined } as never,\n repoRoot,\n false,\n );\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // Step 6 (Q1 (B)) — `build.context` is the wildo-ai monorepo root\n // for ALL runtime-host services (so each Dockerfile can resolve\n // file:-injected `@wildo-ai/*` engine deps). The Dockerfile path is\n // relative to that context.\n const frameworkRoot = repoRoot;\n\n // Minion entry from `wildo.saas.config.ts > minions.marketingScrapper`. The\n // camelCase bucket key is RFC1123-normalized into the compose service +\n // container name (byte-identical to the k8s Service name + the CI image ref).\n expect(rendered).toContain('wonder-todos-minion-marketing-scrapper:');\n expect(rendered).toContain('container_name: wonder-todos-minion-marketing-scrapper');\n expect(rendered).toContain(`context: ${frameworkRoot}`);\n expect(rendered).toContain('dockerfile: examples/wonder-todos/minions/marketing-scrapper/Dockerfile');\n expect(rendered).toContain(\n `- ${join(wonderTodosRoot, 'minions/marketing-scrapper', '.wildo-providers.env')}`,\n );\n\n // Worker entries — both Rust (no JS bundle, only env-file) and Node\n // (env-file + generated source module, but compose only needs the\n // env-file because the generated module is imported at build time\n // by the worker's own TS code). camelCase keys normalize to kebab.\n expect(rendered).toContain('wonder-todos-worker-my-rust-worker:');\n expect(rendered).toContain('wonder-todos-worker-my-node-worker:');\n expect(rendered).toContain('dockerfile: examples/wonder-todos/workers/my-rust-worker/Dockerfile');\n expect(rendered).toContain('dockerfile: examples/wonder-todos/workers/my-node-worker/Dockerfile');\n\n // IDENTITY axis stays RAW while the service NAME normalizes — the worker\n // forwards its bucket key verbatim as the apps-manager `appConfig.workers[key]`\n // bootstrap path segment, so `APP_OWNED_SERVICE_NAME` must NOT be normalized.\n expect(rendered).toContain('APP_OWNED_SERVICE_NAME: \"myRustWorker\"');\n expect(rendered).toContain('APP_OWNED_SERVICE_NAME: \"myNodeWorker\"');\n\n // Worker http ports surface as compose `ports:` mappings.\n // myRustWorker listens on 8080 (Rust acknowledge stub).\n // myNodeWorker listens on 8081 (Step 5a Node exemplar).\n expect(rendered).toContain('\"8080:8080\"');\n expect(rendered).toContain('\"8081:8081\"');\n\n // All app-runtime services live under the `app-runtimes` profile so\n // `wildo local up` (default profile) brings only platform up.\n expect(rendered).toContain('profiles:\\n - app-runtimes');\n\n // Bootstrap-env-contract vars are wired through compose-level env so the\n // worker's `readWorkerBootstrapEnv()` (and the minion backend's\n // `ApplicationBackendBootstrapEnvKey` reads) resolve at boot. The LHS keys\n // MUST be the canonical enum names — a prior drift shipped `WILDO_NODE_ENV`\n // / `PRIMARY_SECRET` / `APPS_MANAGER_URL`, which the runtimes never read.\n //\n // `APPLICATION_ID` is now BAKED per service from the persisted\n // `application-runtime-identity.json` (it is app-specific and absent from\n // the app-agnostic `.env.wildo-platform`, so a bare `${APPLICATION_ID}`\n // would resolve empty and fail-close the container at boot). This render\n // sets up NO persisted identity, so it exercises the cold-start fallback:\n // the quoted `\"${APPLICATION_ID}\"` interpolation token (the real-id\n // baked-literal case is the sibling test below). The other three vars stay\n // platform-env interpolation passthroughs. Anchoring the multiline match on\n // APPLICATION_ID still pins this to the minion/worker `environment:` block\n // (platform services never carry it).\n expect(rendered).toContain(\n [\n 'APPLICATION_ENV: ${APPLICATION_ENV}',\n 'APPLICATION_ID: \"${APPLICATION_ID}\"',\n 'PLATFORM_APPLICATION_PRIMARY_SECRET: ${PLATFORM_APPLICATION_PRIMARY_SECRET}',\n 'PLATFORM_APPS_MANAGER_URL: ${PLATFORM_APPS_MANAGER_URL}',\n ].join('\\n '),\n );\n // Contention headroom, NOT slowness. Measured nominal on an idle machine is\n // ~1.1s against the 5s default: `renderDockerComposeTemplate` end-to-end is\n // ~0.6s, of which loading the real Wonder Todos config graph through jiti is\n // ~0.58s and the minion/worker config loads are ~3ms combined.\n //\n // vitest's budget is WALL-CLOCK, not CPU time. Under a saturated worker pool\n // (a full-package sweep racing other compilations, or a small CI runner) that\n // ~1.1s has been measured stretching to 7-10s and failing as a timeout that\n // reads like a hang.\n //\n // Do NOT \"fix\" a failure here by swapping the real config for a fixture: this\n // test exists to catch provider-runtime-sync ↔ compose-template drift against\n // the actual dogfood app, which a synthetic config cannot do. Caching the\n // config load is equally pointless — jiti already memoizes it to 0ms after\n // the first call within a process.\n }, 30_000);\n\n /**\n * APPLICATION_ID fail-closed fix — when the app has been bootstrapped, the\n * apps-manager-minted id (a Mongo `_id`, persisted to\n * `application-runtime-identity.json` by the credential-fetching flows) is\n * baked as a per-service literal into every minion AND worker\n * `environment:` block, so a `docker compose --profile app-runtimes up`\n * container boots with the correct identity instead of an empty\n * `${APPLICATION_ID}` interpolation. This is the OFFLINE read path that lets\n * even `config sync --domain manifest` / `local up` self-heal bake it.\n */\n it('Step 6 — bakes the persisted APPLICATION_ID literal into every minion + worker service', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-app-id-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const wonderTodosRoot = resolve(repoRoot, 'examples/wonder-todos');\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(wonderTodosRoot);\n // Persisted identity keyed by the Wonder Todos slug → the render bakes it.\n // Fixture is a realistic 24-hex Mongo ObjectId (APPLICATION_ID is an `_id`),\n // which also pins that a hex id passes through Handlebars `{{ }}` verbatim.\n vi.mocked(EnvironmentUtils.loadApplicationRuntimeIdentity).mockReturnValue({\n 'wonder-todos': { applicationId: '663f2a1e9c4b1a2b3c4d5e6f' },\n });\n\n await renderDockerComposeTemplate(\n { name: 'local', backingServices: undefined } as never,\n repoRoot,\n false,\n );\n\n const rendered = readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n\n // The real id is baked as a quoted literal — never the interpolation token.\n expect(rendered).toContain('APPLICATION_ID: \"663f2a1e9c4b1a2b3c4d5e6f\"');\n expect(rendered).not.toContain('APPLICATION_ID: ${APPLICATION_ID}');\n expect(rendered).not.toContain('APPLICATION_ID: \"${APPLICATION_ID}\"');\n\n // One occurrence per app-runtime service: Wonder Todos declares 1 minion\n // (marketingScrapper) + 2 workers (myRustWorker, myNodeWorker) = 3, all\n // sharing the single owning-app id. Service names are RFC1123-normalized.\n expect(rendered).toContain('wonder-todos-minion-marketing-scrapper:');\n expect(rendered).toContain('wonder-todos-worker-my-rust-worker:');\n expect(rendered).toContain('wonder-todos-worker-my-node-worker:');\n const occurrences = rendered.split('APPLICATION_ID: \"663f2a1e9c4b1a2b3c4d5e6f\"').length - 1;\n expect(occurrences).toBe(3);\n });\n\n /**\n * Container isolation in compose (F-B + Step 5-core), rendered against the\n * REAL Wonder Todos config graph — 1 minion + 2 workers.\n *\n * ⚠️ What this does NOT cover: compose has no `NetworkPolicy` analogue, so\n * egress restriction is unexpressible here. A green run proves the process\n * posture, never the network posture.\n */\n it('emits the container-isolation floor on every app-runtime service, with per-image uids', async () => {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-isolation-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue(resolve(repoRoot, 'examples/wonder-todos'));\n vi.mocked(EnvironmentUtils.loadApplicationRuntimeIdentity).mockReturnValue(null);\n\n await renderDockerComposeTemplate({ name: 'local', backingServices: undefined } as never, repoRoot, false);\n const rendered = readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8');\n\n // The floor: 3 app-runtime services (1 minion + 2 workers), each carrying\n // every unconditional clause. Counting rather than `toContain` is what makes\n // this catch the actual F-B defect — the minion block existed and the worker\n // block did not, so a presence check would have passed on a half-hardened\n // render.\n const count = (needle: string): number => rendered.split(needle).length - 1;\n expect(count('read_only: true')).toBe(3);\n expect(count('no-new-privileges:true')).toBe(3);\n expect(count('pids_limit: 512')).toBe(3);\n expect(count('cap_drop:\\n - ALL')).toBe(3);\n // `read_only` without a writable mount is the pairing that breaks a healthy\n // runtime (for the minion, unwritably so — its liveness heartbeat lives at\n // /tmp/wildo-minion-alive). Never emit one without the other.\n expect(count('tmpfs:\\n - /tmp')).toBe(3);\n\n // The authorable uid, per image. Both Wonder Todos workers author one\n // because their images bake DIFFERENT non-root accounts — `USER node`\n // (1000) vs distroless `nonroot` (65532) — while the minion authors nothing\n // and takes the framework default.\n expect(rendered).toContain('user: \"1000:1000\"'); // my-node-worker\n expect(rendered).toContain('user: \"65532:65532\"'); // my-rust-worker\n expect(rendered).toContain('user: \"10001:10001\"'); // marketingScrapper (default)\n }, 30_000);\n\n describe('Slice 2 Phase 5b — local otel-collector', () => {\n // Renders the REAL compose template (copied into a sandbox framework root)\n // with the given env so the `{{#if includeOtelCollector}}` service block AND\n // the top-level inline `configs:` entry are exercised end-to-end (not a\n // stub). `isFrameworkDeveloper=true` skips the saas-config-driven\n // minion/worker/platform sections (there is no app root in the sandbox);\n // the otel block is gated purely on `observability`, independent of that\n // flag.\n async function renderRealTemplateWithEnv(env: unknown): Promise<string> {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-docker-compose-otel-'));\n const frameworkRoot = join(sandboxRoot, 'wildo-ai');\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n const realTemplate = readFileSync(\n join(repoRoot, 'templates', 'infra', 'docker-compose', FILE_NAMES.DOCKER_COMPOSE_TEMPLATE),\n 'utf8',\n );\n mkdirSync(join(frameworkRoot, 'templates', 'infra', 'docker-compose'), {\n recursive: true,\n });\n writeFileSync(\n join(frameworkRoot, 'templates', 'infra', 'docker-compose', FILE_NAMES.DOCKER_COMPOSE_TEMPLATE),\n realTemplate,\n 'utf8',\n );\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n\n await renderDockerComposeTemplate(env as never, frameworkRoot, true);\n\n return readFileSync(\n join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM),\n 'utf8',\n );\n }\n\n it('renders the collector service + inline config when observability targets localhost', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: true, endpoint: 'http://localhost:4318' },\n });\n // Service (under `services:`)\n expect(rendered).toContain('otel-collector:');\n expect(rendered).toContain('image: otel/opentelemetry-collector-contrib:0.154.0');\n expect(rendered).toContain('container_name: wildo-otel-collector');\n expect(rendered).toContain('\"4318:4318\"');\n expect(rendered).toContain('source: wildo-otel-collector-config');\n expect(rendered).toContain('target: /etc/otelcol-contrib/config.yaml');\n // Top-level inline `configs:` block (content mirrors the verified 5a smoke config).\n expect(rendered).toMatch(/configs:\\n {2}wildo-otel-collector-config:\\n {4}content: \\|/);\n expect(rendered).toContain('endpoint: 0.0.0.0:4318');\n expect(rendered).toContain('verbosity: detailed');\n });\n\n it('parses a non-default endpoint port into the published host mapping (container side stays 4318)', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: true, endpoint: 'http://127.0.0.1:14318' },\n });\n expect(rendered).toContain('otel-collector:');\n expect(rendered).toContain('\"14318:4318\"');\n });\n\n it('omits the collector when observability is disabled', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: false },\n });\n expect(rendered).not.toContain('otel-collector:');\n expect(rendered).not.toContain('wildo-otel-collector-config:');\n });\n\n it('omits the collector when the endpoint is remote (no local collector for a remote sink)', async () => {\n const rendered = await renderRealTemplateWithEnv({\n name: 'local',\n observability: { enabled: true, endpoint: 'https://in-otel.betterstack.com' },\n });\n expect(rendered).not.toContain('otel-collector:');\n });\n });\n\n /**\n * The managed-selection fix, at the TEMPLATE.\n *\n * `getDockerComposeLocalDataServices` above pins which `local_data/<svc>/` directories are\n * created; that is the bind-mount half. This block pins the other half — that the SERVICE blocks\n * and the `depends_on` edges that reference them are gated on the same flags — because those are\n * two distinct call sites of one invariant and a half-applied gate is worse than none: compose\n * refuses the entire project with `service \"platform-init\" depends on undefined service \"valkey\"`\n * rather than starting without the container.\n *\n * The assertions parse the rendered YAML rather than grepping it, so a gate that leaves the block\n * behind malformed indentation cannot pass by accident.\n */\n describe('self-hosted workloads are gated on the backing-service declaration', () => {\n async function renderPlatformComposeForBackingServices(\n backingServices: unknown,\n overrides: { needsLocalMongoDB?: boolean; needsLocalPostgreSQL?: boolean } = {},\n ): Promise<Record<string, unknown>> {\n const sandboxRoot = mkdtempSync(join(tmpdir(), 'wildo-compose-managed-'));\n const composeDir = join(sandboxRoot, 'generated-compose');\n tempDirs.push(sandboxRoot);\n\n vi.mocked(EnvironmentUtils.loadConfigJson).mockReturnValue({\n database: { engine: DatabaseEngine.MONGODB },\n } as never);\n vi.mocked(EnvironmentUtils.needsLocalMongoDB).mockReturnValue(overrides.needsLocalMongoDB ?? false);\n vi.mocked(EnvironmentUtils.needsLocalPostgreSQL).mockReturnValue(overrides.needsLocalPostgreSQL ?? false);\n vi.mocked(EnvironmentUtils.resolveDockerComposeDir).mockReturnValue(composeDir);\n vi.mocked(EnvironmentRegistry.getSaasRoot).mockReturnValue('/abs/saas-root');\n\n // `isFrameworkDeveloper: false` so the platform-service blocks — and therefore\n // `platform-init`'s `depends_on` — are actually rendered. A framework-developer render omits\n // them entirely and could not see the second half of the invariant.\n await renderDockerComposeTemplate({ name: 'local', backingServices } as never, repoRoot, false);\n\n return parseYaml(readFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), 'utf8')) as Record<string, unknown>;\n }\n\n const servicesOf = (doc: Record<string, unknown>): Record<string, Record<string, unknown>> =>\n doc.services as Record<string, Record<string, unknown>>;\n\n it('renders the cache, broker and object store for an env that declares NOTHING', () => {\n // The pre-existing behaviour, preserved on purpose: an omitted key is not a withdrawal. Every\n // environment authored before these keys existed keeps its containers, which is what makes\n // the gate safe to land — see `EnvironmentLifecycle.selfHostsBackingService`.\n return renderPlatformComposeForBackingServices(undefined).then((doc) => {\n const services = servicesOf(doc);\n expect(Object.keys(services)).toEqual(expect.arrayContaining(['valkey', 'rabbitmq', 'minio', 'minio-init']));\n expect(services['platform-init'].depends_on).toEqual({\n valkey: { condition: 'service_healthy' },\n rabbitmq: { condition: 'service_healthy' },\n 'minio-init': { condition: 'service_completed_successfully' },\n });\n });\n });\n\n it('omits valkey / rabbitmq / minio + minio-init when redis / rabbitmq / s3 are declared MANAGED', async () => {\n const doc = await renderPlatformComposeForBackingServices({\n [BackingServiceKind.REDIS]: { source: BackingServiceSource.MANAGED },\n [BackingServiceKind.RABBITMQ]: { source: BackingServiceSource.MANAGED },\n [BackingServiceKind.S3]: { source: BackingServiceSource.MANAGED },\n });\n const services = servicesOf(doc);\n\n for (const gone of ['valkey', 'rabbitmq', 'minio', 'minio-init']) {\n expect(Object.keys(services)).not.toContain(gone);\n }\n // …and with mongod and postgres also absent, `platform-init` has nothing local left to wait\n // for, so the whole `depends_on` key must disappear. An empty mapping is invalid compose, so\n // the outer guard is not tidiness — it is the difference between a project that starts and\n // one that is refused.\n expect(services['platform-init']).not.toHaveProperty('depends_on');\n // The platform still needs the addresses; only the WORKLOAD went away.\n expect((services['platform-init'].environment as Record<string, string>).REDIS_HOST).toBe('${REDIS_HOST}');\n });\n\n it('drops only the MANAGED member from platform-init depends_on, keeping the self-hosted ones', async () => {\n // The mixed shape is where a coarse \"all or nothing\" gate would break the project: naming a\n // service that was not rendered is exactly the `undefined service` refusal.\n const doc = await renderPlatformComposeForBackingServices({\n [BackingServiceKind.REDIS]: { source: BackingServiceSource.MANAGED },\n [BackingServiceKind.RABBITMQ]: { source: BackingServiceSource.SELF },\n });\n const services = servicesOf(doc);\n\n expect(Object.keys(services)).not.toContain('valkey');\n expect(Object.keys(services)).toEqual(expect.arrayContaining(['rabbitmq', 'minio', 'minio-init']));\n expect(services['platform-init'].depends_on).toEqual({\n rabbitmq: { condition: 'service_healthy' },\n 'minio-init': { condition: 'service_completed_successfully' },\n });\n });\n\n it('never names a service in depends_on that it did not render', async () => {\n // The invariant itself, stated once over every combination this suite can reach cheaply: the\n // dependency graph must be a subset of the rendered service set.\n for (const backingServices of [\n undefined,\n { [BackingServiceKind.REDIS]: { source: BackingServiceSource.MANAGED } },\n { [BackingServiceKind.S3]: { source: BackingServiceSource.MANAGED } },\n {\n [BackingServiceKind.REDIS]: { source: BackingServiceSource.MANAGED },\n [BackingServiceKind.RABBITMQ]: { source: BackingServiceSource.MANAGED },\n [BackingServiceKind.S3]: { source: BackingServiceSource.MANAGED },\n },\n ]) {\n const doc = await renderPlatformComposeForBackingServices(backingServices);\n const services = servicesOf(doc);\n const declared = new Set(Object.keys(services));\n for (const [serviceName, definition] of Object.entries(services)) {\n for (const dependency of Object.keys((definition.depends_on ?? {}) as Record<string, unknown>)) {\n expect(`${serviceName} -> ${dependency} (declared: ${declared.has(dependency)})`)\n .toBe(`${serviceName} -> ${dependency} (declared: true)`);\n }\n }\n }\n });\n });\n});\n"]}
|
package/dist/src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-readiness.service.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"docker-compose-readiness.service.test.d.ts","sourceRoot":"","sources":["../../../../../../src/services/deployment/docker/__tests__/docker-compose-readiness.service.test.ts"],"names":[],"mappings":""}
|
|
@@ -72,7 +72,7 @@ export declare function wipeLocalDataServiceDirsForCompose(env: PlatformEnvironm
|
|
|
72
72
|
* permission-denied failures on first up — so callers MUST use this helper,
|
|
73
73
|
* not a hand-written list.
|
|
74
74
|
*
|
|
75
|
-
* Stateless services
|
|
75
|
+
* Stateless services are intentionally excluded — they have no
|
|
76
76
|
* bind mount in the template.
|
|
77
77
|
*/
|
|
78
78
|
export declare function getDockerComposeLocalDataServices(env: PlatformEnvironmentConfiguration): readonly string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"docker-compose-generator.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AA4H5G;;;;;;;;;;;;;;GAcG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,mCAAmC,CACjD,GAAG,EAAE,gCAAgC,EACrC,aAAa,EAAE,MAAM,GACpB,OAAO,CAWT;AAED,wBAAgB,0CAA0C,CACxD,GAAG,EAAE,gCAAgC,GACpC,IAAI,CASN;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kCAAkC,CAChD,GAAG,EAAE,gCAAgC,GACpC,IAAI,CASN;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iCAAiC,CAC/C,GAAG,EAAE,gCAAgC,GACpC,SAAS,MAAM,EAAE,CAgCnB;AAuCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAG3D;AAED,wBAAgB,wBAAwB,CACtC,GAAG,EAAE,gCAAgC,EACrC,oBAAoB,EAAE,OAAO,EAC7B,WAAW,EAAE,sBAAsB,GAClC,IAAI,CAwCN;AAMD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,2BAA2B;IAC1C,yHAAyH;IACzH,WAAW,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,aAAa,EAAE,M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