@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
|
@@ -54,16 +54,44 @@ const MONGOT_PASSWORD_FILENAME = 'sync-source.password';
|
|
|
54
54
|
* `docker-compose.wildo-platform.yml.hbs`).
|
|
55
55
|
* - {@link getDockerComposeLocalDataServices} (decides whether
|
|
56
56
|
* `local_data/clamav/` must be pre-created / wiped).
|
|
57
|
-
* - K8s side: {@link getDeployableInfraServicesForK8s} delegates to
|
|
58
|
-
* this same predicate so Compose ⇄ K8s parity is structural,
|
|
59
|
-
* not duplicated.
|
|
60
57
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
58
|
+
* The RULE itself moved out on 2026-09-09: both lanes now ask
|
|
59
|
+
* `EnvironmentLifecycle.selfHostsBackingService(env, kind)`, which is total over
|
|
60
|
+
* `BackingServiceKind`, so Compose ⇄ K8s parity is structural rather than two
|
|
61
|
+
* predicates that happen to agree — and a kind added to the vocabulary cannot
|
|
62
|
+
* reach either lane without someone deciding what an omitted declaration means
|
|
63
|
+
* for it. This function survives as the NAME the compose lane's context value and
|
|
64
|
+
* local-data list read it by; it is no longer where the rule lives.
|
|
65
|
+
*
|
|
66
|
+
* That predicate reads `env.backingServices` (the in-memory authored snapshot)
|
|
67
|
+
* rather than `loadConfigJson`, which keeps every caller here synchronous and
|
|
63
68
|
* matches the pattern used by {@link resolveInfraHostPort} below.
|
|
64
69
|
*/
|
|
65
70
|
function resolveIncludeLocalClamAV(env) {
|
|
66
|
-
return env
|
|
71
|
+
return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.CLAMAV);
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Cache / broker / object-storage self-deploy gating.
|
|
75
|
+
*
|
|
76
|
+
* These three were the only services in the template with NO gate at all: `valkey`, `rabbitmq`,
|
|
77
|
+
* `minio` (+ its `minio-init` bucket step) were rendered for every environment, so an operator who
|
|
78
|
+
* declared `redis: { source: MANAGED }` got a managed cache AND a local Valkey container beside it.
|
|
79
|
+
*
|
|
80
|
+
* They gate on {@link EnvironmentLifecycle.selfHostsBackingService}, which for these three kinds
|
|
81
|
+
* reads `source !== MANAGED` rather than `source === SELF` — read that JSDoc before "tightening"
|
|
82
|
+
* it. An UNDECLARED entry keeps the container, exactly as today, because the platform cannot boot
|
|
83
|
+
* without a cache, a broker and an object store and an omitted key must not silently remove one.
|
|
84
|
+
*/
|
|
85
|
+
function resolveIncludeLocalValkey(env) {
|
|
86
|
+
return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.REDIS);
|
|
87
|
+
}
|
|
88
|
+
/** @see resolveIncludeLocalValkey — same rule, RabbitMQ's declaration. */
|
|
89
|
+
function resolveIncludeLocalRabbitMQ(env) {
|
|
90
|
+
return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.RABBITMQ);
|
|
91
|
+
}
|
|
92
|
+
/** @see resolveIncludeLocalValkey — same rule, the `s3` declaration (MinIO is its self-hosted brand). */
|
|
93
|
+
function resolveIncludeLocalMinIO(env) {
|
|
94
|
+
return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.S3);
|
|
67
95
|
}
|
|
68
96
|
/**
|
|
69
97
|
* Audit Phase 2 — immudb self-deploy gating. Emits the local `immudb` container
|
|
@@ -72,7 +100,7 @@ function resolveIncludeLocalClamAV(env) {
|
|
|
72
100
|
* {@link resolveIncludeLocalClamAV}.
|
|
73
101
|
*/
|
|
74
102
|
function resolveIncludeLocalImmudb(env) {
|
|
75
|
-
return env
|
|
103
|
+
return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.IMMUDB);
|
|
76
104
|
}
|
|
77
105
|
/**
|
|
78
106
|
* Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the
|
|
@@ -172,11 +200,10 @@ export function wipeLocalDataServiceDirsForCompose(env) {
|
|
|
172
200
|
* permission-denied failures on first up — so callers MUST use this helper,
|
|
173
201
|
* not a hand-written list.
|
|
174
202
|
*
|
|
175
|
-
* Stateless services
|
|
203
|
+
* Stateless services are intentionally excluded — they have no
|
|
176
204
|
* bind mount in the template.
|
|
177
205
|
*/
|
|
178
206
|
export function getDockerComposeLocalDataServices(env) {
|
|
179
|
-
const config = EnvironmentUtils.loadConfigJson(env.name);
|
|
180
207
|
const services = [];
|
|
181
208
|
if (EnvironmentUtils.needsLocalMongoDB(env)) {
|
|
182
209
|
services.push('mongodb');
|
|
@@ -185,7 +212,19 @@ export function getDockerComposeLocalDataServices(env) {
|
|
|
185
212
|
// of every indexed collection through the change stream, not just a restart.
|
|
186
213
|
services.push('mongot');
|
|
187
214
|
}
|
|
188
|
-
|
|
215
|
+
// Gated since the managed-selection fix: an env that declares `redis` / `rabbitmq` / `s3` as
|
|
216
|
+
// MANAGED points at somebody else's endpoint and must not also bind-mount `local_data/<svc>/` for
|
|
217
|
+
// a container it does not run. An UNDECLARED kind still lands here — see
|
|
218
|
+
// {@link resolveIncludeLocalValkey} for why absence is not withdrawal.
|
|
219
|
+
if (resolveIncludeLocalValkey(env)) {
|
|
220
|
+
services.push('valkey');
|
|
221
|
+
}
|
|
222
|
+
if (resolveIncludeLocalRabbitMQ(env)) {
|
|
223
|
+
services.push('rabbitmq');
|
|
224
|
+
}
|
|
225
|
+
if (resolveIncludeLocalMinIO(env)) {
|
|
226
|
+
services.push('minio');
|
|
227
|
+
}
|
|
189
228
|
if (EnvironmentUtils.needsLocalPostgreSQL(env)) {
|
|
190
229
|
services.push('postgresql');
|
|
191
230
|
}
|
|
@@ -606,6 +645,17 @@ export async function renderDockerComposeTemplate(env, frameworkPath, isFramewor
|
|
|
606
645
|
* application's resources", which is what an app on the PostgreSQL persistence adapter needs.
|
|
607
646
|
*/
|
|
608
647
|
includePostgreSQL: EnvironmentUtils.needsLocalPostgreSQL(env),
|
|
648
|
+
/**
|
|
649
|
+
* Cache / broker / object storage. Each gates its own service block AND its `depends_on` entry
|
|
650
|
+
* on `platform-init` — both, or compose refuses the whole project with
|
|
651
|
+
* `service "platform-init" depends on undefined service "valkey"`, which is the failure mode a
|
|
652
|
+
* half-applied gate produces (`.claude/rules/invariant-call-site-enumeration.md`).
|
|
653
|
+
* `includeLocalMinIO` additionally gates the `minio-init` bucket-creation step, which exists
|
|
654
|
+
* only to serve the local MinIO.
|
|
655
|
+
*/
|
|
656
|
+
includeLocalValkey: resolveIncludeLocalValkey(env),
|
|
657
|
+
includeLocalRabbitMQ: resolveIncludeLocalRabbitMQ(env),
|
|
658
|
+
includeLocalMinIO: resolveIncludeLocalMinIO(env),
|
|
609
659
|
includeLocalClamAV: resolveIncludeLocalClamAV(env),
|
|
610
660
|
includeLocalImmudb: resolveIncludeLocalImmudb(env),
|
|
611
661
|
/**
|
|
@@ -661,7 +711,6 @@ export async function renderDockerComposeTemplate(env, frameworkPath, isFramewor
|
|
|
661
711
|
rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,
|
|
662
712
|
minio: resolveInfraHostPort(env, BackingServiceKind.S3, INFRA_DEFAULT_PORTS.MINIO),
|
|
663
713
|
minioConsole: MINIO_CONSOLE_PORT,
|
|
664
|
-
gotenberg: resolveInfraHostPort(env, BackingServiceKind.GOTENBERG, INFRA_DEFAULT_PORTS.GOTENBERG),
|
|
665
714
|
postgresql: resolveInfraHostPort(env, BackingServiceKind.POSTGRESQL, INFRA_DEFAULT_PORTS.POSTGRESQL),
|
|
666
715
|
clamav: resolveInfraHostPort(env, BackingServiceKind.CLAMAV, INFRA_DEFAULT_PORTS.CLAMAV),
|
|
667
716
|
immudb: resolveInfraHostPort(env, BackingServiceKind.IMMUDB, INFRA_DEFAULT_PORTS.IMMUDB),
|
|
@@ -673,7 +722,6 @@ export async function renderDockerComposeTemplate(env, frameworkPath, isFramewor
|
|
|
673
722
|
rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,
|
|
674
723
|
minio: INFRA_DEFAULT_PORTS.MINIO,
|
|
675
724
|
minioConsole: MINIO_CONSOLE_PORT,
|
|
676
|
-
gotenberg: INFRA_DEFAULT_PORTS.GOTENBERG_INTERNAL,
|
|
677
725
|
postgresql: INFRA_DEFAULT_PORTS.POSTGRESQL,
|
|
678
726
|
clamav: INFRA_DEFAULT_PORTS.CLAMAV,
|
|
679
727
|
immudb: INFRA_DEFAULT_PORTS.IMMUDB,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-generator.service.js","sourceRoot":"","sources":["../../../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,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sF;YACtF,kCAAkC;YAClC,UAAU,EAAE,mBAAmB,CAAC,WAAW;YAC3C,YAAY,EAAE,mBAAmB,CAAC,aAAa;YAC/C,aAAa,EAAE,mBAAmB,CAAC,cAAc;SAClD;KACF,CAAC;IAEF,MAAM,QAAQ,GAAG,SAAS,CAAC,eAAe,CAAC,UAAU,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAExF,MAAM,UAAU,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACtE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5B,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,6BAA6B,CAAC,EAAE,QAAQ,CAAC,CAAC;AACtF,CAAC","sourcesContent":["import { chmodSync, existsSync, mkdirSync, statSync, writeFileSync } from 'fs';\nimport { join, posix, relative } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.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 {\n BackingServiceKind,\n BackingServiceSource,\n INFRA_DEFAULT_PORTS,\n loadMinionConfigs,\n loadSaasConfig,\n loadWorkerConfigs,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME,\n resolveFrameworkLayout,\n type WildoMinionConfig,\n type WildoSaasConfig,\n type WildoWorkerConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { IMMUDB_CREDENTIAL_ENV_KEYS, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\n\n/**\n * Local-data subdir + filename for the immudb state-signing PRIVATE key materialized for the\n * self-hosted compose immudb container. Kept OUT of the `immudb/` data volume (which is the\n * store the key protects) so a data wipe never removes the signing key.\n */\nconst IMMUDB_SIGNING_KEY_DIR = 'immudb-signing';\nconst IMMUDB_SIGNING_KEY_FILENAME = 'state-signing.key';\n\n/**\n * Issue #74 — local-data subdir + filename for the `mongot` sync-source password file.\n *\n * Same shape and same reasoning as the immudb signing key above: kept OUT of both the\n * `mongodb/` and `mongot/` data directories so a data wipe never removes it, and mounted as a\n * FILE because mongot reads a path (`syncSource.replicaSet.scramAuth.passwordFile`) and never\n * an environment variable.\n *\n * The MODE differs from immudb's, and that difference is not cosmetic: immudb's key is written\n * `0644` because its container UID differs from the host owner, while mongot REFUSES to start on\n * anything more permissive than `0400` (`Secret file … permissions are too permissive (must only\n * be readable by owner)`, exit 1). mongot's image runs as root, so root reads the file whatever\n * the bind mount reports as its owner — measured 2026-08-27 with a host-owned `0400` file and a\n * `mongodb/mongodb-community-search:1.70.3` container that read it and reached `SERVING`.\n */\nconst MONGOT_PASSWORD_DIR = 'mongot-auth';\nconst MONGOT_PASSWORD_FILENAME = 'sync-source.password';\n\n/**\n * Slice 4.8 — ClamAV self-deploy gating.\n *\n * Returns `true` when the env author declared\n * `backingServices.clamav: { source: SELF }` in\n * `wildo.infra.<env>.config.ts` — i.e. they opted into the local\n * `clamav/clamav:1.4` container instead of pointing at an external\n * MANAGED clamd. Returns `false` for MANAGED / external sources or\n * when the entry is omitted entirely.\n *\n * Single source of truth consumed by:\n * - {@link renderDockerComposeTemplate}'s `includeLocalClamAV`\n * context value (drives the `{{#if includeLocalClamAV}}` block in\n * `docker-compose.wildo-platform.yml.hbs`).\n * - {@link getDockerComposeLocalDataServices} (decides whether\n * `local_data/clamav/` must be pre-created / wiped).\n * - K8s side: {@link getDeployableInfraServicesForK8s} delegates to\n * this same predicate so Compose ⇄ K8s parity is structural,\n * not duplicated.\n *\n * Reading from `env.backingServices` (in-memory authored snapshot)\n * instead of `loadConfigJson` keeps the resolver synchronous and\n * matches the pattern used by {@link resolveInfraHostPort} below.\n */\nfunction resolveIncludeLocalClamAV(env: PlatformEnvironmentConfiguration): boolean {\n return env.backingServices?.[BackingServiceKind.CLAMAV]?.source === BackingServiceSource.SELF;\n}\n\n/**\n * Audit Phase 2 — immudb self-deploy gating. Emits the local `immudb` container\n * (tamper-evident audit-log store) only when `backingServices.immudb.source ===\n * SELF`; a MANAGED immudb (Vault) is an external endpoint. Mirrors\n * {@link resolveIncludeLocalClamAV}.\n */\nfunction resolveIncludeLocalImmudb(env: PlatformEnvironmentConfiguration): boolean {\n return env.backingServices?.[BackingServiceKind.IMMUDB]?.source === BackingServiceSource.SELF;\n}\n\n/**\n * Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the\n * registry and pre-creates every `local_data/<service>/` subdir the\n * compose file will bind-mount.\n *\n * Exists so every CLI seam that runs `docker compose up` against the\n * platform-local compose file shares the SAME pre-up step (single source\n * of truth — D5 decision). Call sites:\n * - `LocalUpCommand.runDockerCompose` / `restartDockerCompose`\n * - `LocalAppReinitService.startEnvironment`\n * - `dev/start.command.ts startDockerInfra`\n *\n * Throws when no SaaS root can be resolved — this keeps the failure\n * loud at the call site (matching how the generator itself throws above).\n */\n/**\n * Whether a host path the generated compose file BIND-MOUNTS is missing, so the render must be\n * redone before `docker compose up`.\n *\n * ## The hazard this closes\n *\n * Docker does not fail on a missing bind-mount SOURCE — it silently creates a DIRECTORY there. So a\n * file the container expects becomes a directory, and the failure surfaces inside the container as\n * something unrelated to mounting. immudb reports\n * `unable to configure the cryptographic signer: read /etc/immudb/state-signing.key: is a directory`\n * and exits unhealthy, which compose reports only as `container wildo-immudb is unhealthy`.\n *\n * Measured 2026-08-22 on the first cold start after a full `local_data` reset: the compose file\n * survived the reset while the key it mounts did not. The render is skipped when the compose file\n * already exists — the \"write only when missing\" test asks about the COMPOSE FILE, never about the\n * files compose MOUNTS — and the only other force condition is \"new secret material was minted\".\n * The key material was NOT new (it lives in the authored `secrets.json`, outside `local_data`), so\n * nothing forced a re-render and `wildo local dev` failed with infrastructure it could not start.\n *\n * The material always survives a data reset, so this is recoverable by construction: re-render, and\n * the key is written back from `secrets.json`.\n *\n * Returns false when immudb is not self-hosted here, or when no keypair is provisioned at all —\n * that second case is the documented graceful degradation (immudb runs UNSIGNED and the client warns\n * once), not something to force a render for.\n */\nexport function isComposeHostMountedArtifactMissing(\n env: PlatformEnvironmentConfiguration,\n localDataPath: string,\n): boolean {\n if (!resolveIncludeLocalImmudb(env)) return false;\n\n const secrets = SecretsReader.loadSecrets(env.name);\n if (!secrets?.immudb?.stateSigningPrivateKey) return false;\n\n const signingKeyPath = join(localDataPath, IMMUDB_SIGNING_KEY_DIR, IMMUDB_SIGNING_KEY_FILENAME);\n // A DIRECTORY at this path is the Docker-created stand-in, and is exactly as broken as absence —\n // re-rendering replaces it with the file.\n if (!existsSync(signingKeyPath)) return true;\n return !statSync(signingKeyPath).isFile();\n}\n\nexport function ensureLocalDataServiceDirsForComposeRender(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot pre-create local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.ensureLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.4) — wipe wrapper for `wildo local reset`.\n *\n * Counterpart of {@link ensureLocalDataServiceDirsForComposeRender}. Resolves\n * the SaaS root and the same per-env service list that compose actually\n * rendered, then calls {@link EnvironmentPaths.wipeLocalDataServiceDirs}\n * fail-closed — so a stale on-host PG datadir or Mongo journal cannot\n * silently survive a reset and corrupt the next `wildo local up`.\n *\n * Caller MUST invoke this AFTER `docker compose down -v` so no container\n * still holds the bind-mount target open.\n */\nexport function wipeLocalDataServiceDirsForCompose(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot wipe local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.wipeLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.3) — single source of truth for which infra services the\n * generated compose file actually renders for a given env.\n *\n * MUST stay in lockstep with the `{{#if include*}}` guards in\n * `docker-compose.wildo-platform.yml.hbs`. Returns the short container-name\n * list (the same tokens used as `local_data/<service>/` subdir names and\n * as the K8s PV `hostPath` `/mnt/local-data/<service>/` segment).\n *\n * Used by every CLI seam that runs `docker compose up` to pre-create the\n * matching `local_data/<service>/` bind-mount source directories before\n * Docker would otherwise create them root-owned. A divergence between this\n * list and the template's `{{#if}}` guards would silently create\n * permission-denied failures on first up — so callers MUST use this helper,\n * not a hand-written list.\n *\n * Stateless services (gotenberg) are intentionally excluded — they have no\n * bind mount in the template.\n */\nexport function getDockerComposeLocalDataServices(\n env: PlatformEnvironmentConfiguration,\n): readonly string[] {\n const config = EnvironmentUtils.loadConfigJson(env.name);\n const services: string[] = [];\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n services.push('mongodb');\n // Issue #74 — mongot's Lucene index directory. Same gate as mongod (it is an attachment to\n // one, not an independently sourced service), and STATEFUL: losing it costs a full re-read\n // of every indexed collection through the change stream, not just a restart.\n services.push('mongot');\n }\n services.push('valkey', 'rabbitmq', 'minio');\n if (EnvironmentUtils.needsLocalPostgreSQL(env)) {\n services.push('postgresql');\n }\n if (resolveIncludeLocalClamAV(env)) {\n services.push('clamav');\n }\n if (resolveIncludeLocalImmudb(env)) {\n services.push('immudb');\n }\n return services;\n}\n\n/**\n * MinIO console UI listens on 9001 alongside the API on 9000. The console\n * port is image-defined and not part of the author's `s3` surface — keep it\n * pinned so the generated compose file always exposes the admin UI for\n * local debugging.\n */\nconst MINIO_CONSOLE_PORT = 9001;\n\n/**\n * Resolve the host-side port to publish for an infra container.\n *\n * The container always listens on its image-default port (`internalPort`).\n * The author may override the host-side port to avoid conflicts with other\n * services on their machine; in that case the compose generator emits\n * `${authorPort}:${internalPort}` so that:\n * - tools on the host connect to `localhost:${authorPort}` (matches the\n * `HOST_FACING` perspective from `ServiceAddressResolver`)\n * - other compose containers connect to `${containerName}:${internalPort}`\n * (matches the `CONTAINER_INTERNAL` perspective)\n */\nfunction resolveInfraHostPort(\n env: PlatformEnvironmentConfiguration,\n kind: BackingServiceKind,\n internalPort: number,\n): number {\n const override = env.backingServices?.[kind];\n if (!override || override.source !== BackingServiceSource.SELF) {\n return internalPort;\n }\n return override.port ?? internalPort;\n}\n\n\n// ============================================================================\n// Generate .env.wildo-platform (Docker Compose env file)\n// ============================================================================\n\n/**\n * Encode one `.env.wildo-platform` value for its reader: **Docker Compose's own env-file parser**\n * (compose-go), which is NOT the `dotenv` package that reads the per-service `.env` files.\n *\n * ## The two readers differ on exactly one axis\n *\n * Both expand `\\n` / `\\r` inside double quotes and both accept a quoted value spanning physical\n * lines. They diverge on backslash escapes — verified 2026-08-05 with `docker compose config`, the\n * authoritative resolution step:\n *\n * | reader | `\\n` in `\"…\"` | `\\\"` in `\"…\"` |\n * |------------|---------------|----------------------|\n * | `dotenv` | expands | NOT unescaped (kept literal — the trap `encodeDotenvValue` documents) |\n * | compose-go | expands | unescapes |\n *\n * So compose-go is a FULLY unescaping reader, and the correct encoding here is the ordinary\n * escape-and-quote — the same contract `formatEnvFile` (ci-deploy-generator) already writes for the\n * compose lane. `encodeDotenvValue`'s form-SELECTION exists to dodge a lossiness that only affects\n * dotenv; do not reuse it here, and do not \"fix\" this to match it.\n *\n * ## Why not the previous verbatim-quote\n *\n * This helper used to emit `\"${value}\"` verbatim for multi-line values (reproducing the bytes the\n * old `quoteMultiline` produced). That is lossy the moment a value carries BOTH a newline and a\n * `\"`: the inner quote closes the string early and Compose rejects the whole file with\n * `unexpected character \"\\\"\" in variable name` (reproduced 2026-08-05). No value routed here does\n * that today — PEMs carry no quotes — but it is the same latent writer/reader mismatch that\n * produced this session's two live incidents, so it is closed rather than documented.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`), so encoding happens exactly once, here.\n */\nexport function encodeComposeEnvValue(value: string): string {\n if (!/[\\s=#\"'\\\\]|\\n/.test(value) && value !== '') return value;\n return `\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`;\n}\n\nexport function generateEnvWildoPlatform(\n env: PlatformEnvironmentConfiguration,\n isFrameworkDeveloper: boolean,\n credentials: PlatformEnvSecretsJson,\n): void {\n // Single load+hydrate seam — the platform env this generator emits for a REMOTE compose deploy\n // must carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n\n const lines: string[] = [\n GENERATED_FILE_HEADER,\n '',\n '# === Infra service credentials ===',\n ];\n\n for (const [key, value] of Object.entries(infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n\n if (!isFrameworkDeveloper) {\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n\n lines.push('');\n lines.push('# === Platform service env vars ===');\n\n for (const [key, value] of Object.entries(platformEnv)) {\n if (!(key in infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n }\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM), lines.join('\\n') + '\\n');\n}\n\n// ============================================================================\n// Render Docker Compose template (Handlebars)\n// ============================================================================\n\n/**\n * Step 6 — compose entry shapes for the per-app minion / worker\n * services. Each service builds from the **wildo-ai monorepo root**\n * (Q1 (B) decision 2026-05-06) so the package's Dockerfile can resolve\n * file:-injected `@wildo-ai/*` engine deps + the nested Wonder Todos\n * workspace lockfile in one go (mirrors `examples/wonder-todos/frontend/Dockerfile`'s\n * established pattern). The Dockerfile path is therefore relative to\n * the framework root, not to the package itself.\n *\n * Env-files mount the Step 5b `.wildo-providers.env`; the platform's\n * `.env.wildo-platform` is loaded separately via `docker compose --env-file`\n * (see `docker.service.ts`) so we deliberately do NOT mount it again\n * via `env_file:` here.\n *\n * Both shapes are emitted under the compose `app-runtimes` profile so\n * `wildo local up` defaults to the platform-only flow and operators\n * opt-in to running app runtimes locally with\n * `docker compose --profile app-runtimes up` (or a future\n * `--include-app-runtimes` flag on `wildo local up`).\n */\nexport interface DockerComposeAppMinionEntry {\n /** Compose service name — `<saasSlug>-minion-<dnsName>` (bucket key RFC1123-normalized via `buildMinionServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the minion package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > minions`. */\n minionKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the minion boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close the container at boot. Resolved from the\n * persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /**\n * `user:` — `<uid>:<gid>` from the authored `isolation`, mirroring the k8s\n * pod `runAsUser`/`runAsGroup`.\n */\n runAsUser: string;\n /**\n * The SAME uid/gid as {@link runAsUser}, kept as separate numbers because each\n * `tmpfs:` entry must carry `uid=`/`gid=` options — docker mounts a tmpfs\n * root-owned 0755, so a non-root container cannot write it. Two fields rather\n * than parsing the combined string back apart in the template.\n */\n runAsUserId: number;\n runAsGroupId: number;\n /**\n * Every writable tmpfs path: the mandatory `/tmp` first, then authored\n * additions. Compose gets `tmpfs:` where k8s gets `emptyDir` volumes; the\n * pairing with `read_only: true` is identical and equally load-bearing (the\n * liveness heartbeat file lives under `/tmp`).\n */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling, mirroring the k8s value. */\n pidsLimit: number;\n}\n\nexport interface DockerComposeAppWorkerEntry {\n /** Compose service name — `<saasSlug>-worker-<dnsName>` (bucket key RFC1123-normalized via `buildWorkerServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the worker package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > workers`. */\n workerKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the worker boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close `readWorkerBootstrapEnv()` at boot. Resolved\n * from the persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /** HTTP port the worker listens on (also the host-side mapping). */\n httpPort: number;\n /** `/healthz` (or operator-overridden) — informational; no compose-side healthcheck is configured. */\n healthPath: string;\n /** `/readyz` (or operator-overridden) — informational; no compose-side readiness probe is configured. */\n readyPath: string;\n /** `user:` — `<uid>:<gid>`, mirroring the k8s pod `runAsUser`/`runAsGroup`. */\n runAsUser: string;\n /** Same values as {@link DockerComposeAppWorkerEntry.runAsUser}, as numbers for the `tmpfs:` `uid=`/`gid=` options. */\n runAsUserId: number;\n runAsGroupId: number;\n /** Writable tmpfs paths: the mandatory one first, then authored additions. */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling. */\n pidsLimit: number;\n}\n\n/**\n * The compose service + container name for a per-app minion/worker. Delegates to\n * the SHARED name builders so the compose service name is RFC1123-normalized and\n * byte-identical to the k8s Service name, the CI-built image ref, and the backend's\n * `WILDO_WORKER_<NAME>_URL` dispatch host (all derived from the same helper). A\n * camelCase bucket key (`marketingScrapper`) therefore resolves the same on the\n * compose network as in k8s (`{slug}-minion-marketing-scrapper`) — the backend\n * dispatch URL host would otherwise never resolve to the raw-key service name. The\n * RAW bucket key stays the runtime IDENTITY (`APP_OWNED_SERVICE_NAME`), carried\n * separately on the compose entry as `workerKey`/`minionKey`.\n */\nfunction deriveAppRuntimeServiceName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return kind === 'minion'\n ? buildMinionServiceName(saasSlug, bucketKey)\n : buildWorkerServiceName(saasSlug, bucketKey);\n}\n\nfunction deriveAppRuntimeContainerName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return deriveAppRuntimeServiceName(saasSlug, kind, bucketKey);\n}\n\n/**\n * Resolve the wildo-ai monorepo root from the framework path passed to\n * the renderer. Used as the compose `build.context` so each runtime-host\n * Dockerfile sees the full monorepo (file:-injected engine deps, nested\n * Wonder Todos workspace lockfile, etc.).\n */\nfunction resolveFrameworkRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).repositoryRoot;\n}\n\n/**\n * POSIX-relative path from the framework root to a package's Dockerfile.\n * Compose's `dockerfile:` field is interpreted relative to `build.context`\n * (the framework root for Step 6), so the path here must be relative\n * AND POSIX-style (Compose normalizes Windows paths but mixed-style is a\n * known footgun on macOS-host / Linux-container builds).\n */\nfunction relativeDockerfilePath(frameworkRoot: string, packageRoot: string): string {\n return posix.join(...relative(frameworkRoot, packageRoot).split(/[/\\\\]/), 'Dockerfile');\n}\n\n/**\n * Build the per-minion compose entries from the loaded saas + minion\n * configs. The provider env-file path is stable across runs (Step 5b\n * emits it on every `wildo config sync`); compose mounts it via\n * `env_file:` so the minion's process env contains the canonical\n * `WILDO_PROVIDER_*` keys at boot.\n */\nfunction buildAppMinionComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n minionEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoMinionConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppMinionEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, minionEntries, applicationId } = input;\n return minionEntries.map((entry) => {\n const ref = saasConfig.minions?.[entry.key];\n if (!ref) {\n // Defensive — `loadMinionConfigs` reads from this same bucket so\n // mismatch is impossible in practice. Fail loudly if invariants drift.\n throw new Error(\n `[docker-compose-generator] Minion '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > minions. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'minion', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'minion', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n minionKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n // Mandatory `/tmp` first, then authored additions — the same ordering and\n // the same reason as the k8s renderer. The schema rejects `/tmp` inside\n // `writablePaths`, so prepending cannot produce a duplicate.\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n };\n });\n}\n\nfunction buildAppWorkerComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n workerEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoWorkerConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppWorkerEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, workerEntries, applicationId } = input;\n return workerEntries.map((entry) => {\n const ref = saasConfig.workers?.[entry.key];\n if (!ref) {\n throw new Error(\n `[docker-compose-generator] Worker '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > workers. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'worker', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'worker', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n workerKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n httpPort: entry.config.http.port,\n healthPath: entry.config.http.healthPath,\n readyPath: entry.config.http.readyPath,\n };\n });\n}\n\n/**\n * Docker Compose shell-interpolation token used as the `APPLICATION_ID` value\n * ONLY when no persisted identity is available yet — a cold\n * `config sync --domain manifest` / `wildo local up` self-heal before the app's\n * first credential fetch. Preserves the pre-fix behaviour (interpolated from\n * `.env.wildo-platform`, which resolves empty) and leaves the operator a manual\n * override escape hatch, rather than silently baking an empty literal. Normal\n * flows persist the real id before rendering, so this is the rare cold path.\n */\nconst APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK = '${APPLICATION_ID}';\n\nexport async function renderDockerComposeTemplate(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n imageTag?: string,\n): Promise<void> {\n const config = EnvironmentUtils.loadConfigJson(env.name);\n if (!config) throw new Error('config.json not found');\n\n const processor = new TemplateProcessor(\n resolveFrameworkLayout(frameworkPath).dockerComposeTemplatesHome,\n );\n\n // Slice 4 (4.2) — `localDataPath` template variable.\n //\n // Resolves to the absolute host path\n // `<saasRoot>/.wildo-saas/local_data` so each per-service bind mount in\n // the rendered compose file is unambiguous. We deliberately use ABSOLUTE\n // paths (D4 decision in the slice plan) instead of paths relative to the\n // generated compose file location:\n // - Relative paths would walk up several segments\n // (`../../../local_data/<svc>`) and break if the on-disk layout\n // between `.wildo-saas/infrastructure/environments/<env>/docker-compose/`\n // and `.wildo-saas/local_data/` ever changes.\n // - Absolute paths are independent of `cwd` and survive any future\n // reshuffling of the runtime layout.\n //\n // The CLI guarantees the per-service subdirs exist before\n // `docker compose up` via `EnvironmentPaths.ensureLocalDataServiceDirs()`\n // (Slice 4.3); Docker would otherwise create them as root-owned mount\n // points which container UIDs cannot write to.\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot render docker-compose template: no targeted SaaS app root detected.',\n );\n }\n const localDataPath = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n\n // Step 6 — load per-app minion/worker configs so the compose template\n // can emit a service for each one under the `app-runtimes` profile.\n // The platform path stays unchanged when there are no minions/workers\n // declared (the template's `{{#if appMinions.length}}` / `{{#if appWorkers.length}}`\n // guards drop the sections entirely in that case). Framework-developer\n // mode skips the load to keep the platform-only flow side-effect-free.\n const saasConfigForRuntimes = isFrameworkDeveloper\n ? null\n : await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n const minionEntries = saasConfigForRuntimes\n ? await loadMinionConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n const workerEntries = saasConfigForRuntimes\n ? await loadWorkerConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n // Step 6 (Q1 (B)) — `build.context` for runtime-host services is the\n // wildo-ai monorepo root so each Dockerfile can resolve file:-injected\n // engine deps. The Dockerfile itself lives inside the package; its\n // path is computed relative to the framework root.\n const frameworkRoot = resolveFrameworkRoot(frameworkPath);\n\n // Resolve the owning app's apps-manager-minted APPLICATION_ID from the\n // persisted `application-runtime-identity.json` so each per-app minion/worker\n // service bakes the correct bootstrap-identity literal. Read OFFLINE (no\n // apps-manager round-trip) so even the `--domain manifest` re-render and the\n // `wildo local up` self-heal produce a runnable app-runtimes block; the\n // credential-fetching flows persist the value up front. Falls back to the\n // `${APPLICATION_ID}` interpolation token only for a cold app that has never\n // been bootstrapped in this env.\n const applicationId = saasConfigForRuntimes\n ? (EnvironmentUtils.loadApplicationRuntimeIdentity(env.name)?.[saasConfigForRuntimes.slug]?.applicationId\n ?? APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK)\n : APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK;\n\n const appMinions = saasConfigForRuntimes\n ? buildAppMinionComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, minionEntries, applicationId })\n : [];\n const appWorkers = saasConfigForRuntimes\n ? buildAppWorkerComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, workerEntries, applicationId })\n : [];\n\n // Slice 2 Phase 5b Wave 2 — local OTel collector inclusion + host port.\n // Emitted only when infra `observability.enabled` AND the authored OTLP\n // endpoint targets localhost (the endpoint IS this local collector; a remote\n // BetterStack endpoint gets no local collector). The host port is parsed from\n // the endpoint so the published `localhost:<port>` matches exactly what the\n // preload-instrumented backend + companion hosts target; defaults to the\n // OTLP/HTTP standard 4318 when the endpoint omits an explicit port.\n const OTEL_OTLP_HTTP_DEFAULT_PORT = '4318';\n const otelObservability = env.observability;\n let includeOtelCollector = false;\n let otelCollectorHostPort = OTEL_OTLP_HTTP_DEFAULT_PORT;\n if (otelObservability?.enabled) {\n let parsedEndpoint: URL | undefined;\n try {\n parsedEndpoint = new URL(otelObservability.endpoint);\n } catch {\n parsedEndpoint = undefined;\n }\n if (\n parsedEndpoint &&\n (parsedEndpoint.hostname === 'localhost' ||\n parsedEndpoint.hostname === '127.0.0.1')\n ) {\n includeOtelCollector = true;\n otelCollectorHostPort = parsedEndpoint.port || OTEL_OTLP_HTTP_DEFAULT_PORT;\n }\n }\n\n // Audit Phase 2 — materialize the immudb state-signing PRIVATE key so the self-hosted immudb\n // container can sign its `ImmutableState` (`--signingKey`), turning the whole-server-substitution\n // defense ON. Only when this env self-hosts immudb AND a keypair was provisioned\n // (`credentials.immudb`, minted from the `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry at setup\n // and by the idempotent self-heal, so present for any file-backed env). The key is the SEC1 \"EC PRIVATE KEY\"\n // PEM immudb parses; written `0644` because the compose bind mount preserves host ownership and\n // immudb's container UID differs, so the file must be world-readable to load (proven in the\n // immudb integration test). SERVER-side ONLY — the private key never enters app env; the matching\n // PUBLIC key reaches the audit client via `IMMUDB_STATE_PUBLIC_KEY` (env-vars-builder). When no\n // keypair is provisioned the template's `{{#if immudbSigningKeyHostPath}}` block drops and immudb\n // runs UNSIGNED (client warns once) — graceful degradation.\n let immudbSigningKeyHostPath: string | undefined;\n // The built-in `immudb` admin's INITIAL password, sourced from the operator's `IMMUDB_PASSWORD`\n // provider secret so the server's admin login matches the credential the audit-sink provider\n // connects with. `IMMUDB_CREDENTIAL_ENV_KEYS`' own docstring states this copy as the contract\n // (\"its value is copied into the server's ADMIN_PASSWORD so the two always match (single source of\n // truth) — otherwise the server's admin login and the app's connection password would diverge (an\n // operator footgun)\"), and the K8S lane implements it (`k8s-secrets-generator` →\n // `immudb/deployment.yaml.hbs`). THIS lane did not: the compose service rendered no `environment:`\n // at all, so a self-hosted local immudb always initialized on immudb's PACKAGED DEFAULT admin\n // password while the app connected with the authored one — the exact divergence the contract names,\n // reachable only on the lane every developer runs. One contract, two deployment lanes, applied to\n // one (`.claude/rules/invariant-call-site-enumeration.md`).\n //\n // Read from the SAME `SecretsReader` load as the signing key. Undefined ⇒ the template's\n // `{{#if immudbAdminPassword}}` block drops and immudb keeps its packaged default, matching both\n // the previous compose behavior and the k8s lane's `optional: true` secretKeyRef.\n //\n // ⚠️ immudb only adopts this on a FRESH data dir — it is the INITIAL password, not a reset. An\n // existing `local_data/immudb` keeps whatever it was initialized with, so changing the authored\n // value on a provisioned env requires removing that directory (or rotating via `immuadmin`).\n let immudbAdminPassword: string | undefined;\n if (resolveIncludeLocalImmudb(env)) {\n const secrets = SecretsReader.loadSecrets(env.name);\n const signingPrivateKey = secrets?.immudb?.stateSigningPrivateKey;\n if (signingPrivateKey) {\n const signingKeyDir = join(localDataPath, IMMUDB_SIGNING_KEY_DIR);\n mkdirSync(signingKeyDir, { recursive: true });\n const signingKeyPath = join(signingKeyDir, IMMUDB_SIGNING_KEY_FILENAME);\n writeFileSync(signingKeyPath, signingPrivateKey, { mode: 0o644 });\n immudbSigningKeyHostPath = signingKeyPath;\n }\n immudbAdminPassword = secrets?.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n }\n\n // Issue #74 — materialize the `mongot` sync-source password so BOTH containers that need it can\n // read the SAME bytes: `mongodb-init` creates the `searchCoordinator` user with it, and `mongot`\n // authenticates with it. Neither can be given the other's copy, and minting it per-container is\n // how the two silently diverge — so it comes from the single framework-managed material and is\n // written once here.\n //\n // `0400` because mongot enforces it (see MONGOT_PASSWORD_DIR). Written on every render, which is\n // deliberate: the compose file is skipped when it already exists, so a `local_data` reset that\n // removes this file while leaving the compose file behind is exactly the failure\n // `isComposeHostMountedArtifactMissing` was written for one service over — and here it would\n // surface as a mongot that cannot authenticate rather than as anything naming the missing file.\n //\n // `undefined` ⇒ the template's `{{#if mongotPasswordHostPath}}` guard drops the mongot service\n // entirely and mongod runs without a search sidecar. That is the honest degradation: a\n // half-wired mongot that mongod routes `$vectorSearch` to and that cannot answer is worse than\n // no mongot at all, because the application's boot probe tests REACHABILITY.\n let mongotPasswordHostPath: string | undefined;\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n const mongotPassword = SecretsReader.loadSecrets(env.name)?.mongot?.syncSourcePassword;\n if (mongotPassword) {\n const mongotAuthDir = join(localDataPath, MONGOT_PASSWORD_DIR);\n mkdirSync(mongotAuthDir, { recursive: true });\n const passwordPath = join(mongotAuthDir, MONGOT_PASSWORD_FILENAME);\n // A PREVIOUS render left this file at 0400 — owner READ-only — and `writeFileSync` opens for\n // WRITE, so a re-render EACCES's on the file it wrote itself. That made `wildo local init`\n // succeed exactly once per machine and fail on every subsequent run, which is the worst shape\n // for a first-run-only bug: the failure lands on someone whose environment already worked.\n // Widen just long enough to rewrite, then re-narrow. Unlinking instead would leave a window\n // with no file at all, which a running mongot re-reading its password would lose.\n if (existsSync(passwordPath)) {\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_REWRITE_MODE);\n }\n writeFileSync(passwordPath, mongotPassword, { mode: MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE });\n // `writeFileSync`'s `mode` is only honored when it CREATES the file — an existing file keeps\n // whatever mode it already had, so re-render alone cannot repair a loosened one. chmod\n // unconditionally, or a file that was ever created differently keeps crashing mongot.\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE);\n mongotPasswordHostPath = passwordPath;\n }\n }\n\n const context = {\n composeName: DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME,\n /**\n * Slice 2 Phase 5b Wave 2 — local OTel collector. `includeOtelCollector`\n * gates both the service (under `services:`) and the inline `configs:`\n * entry that supplies its config (the contrib image is distroless — no\n * shell for an entrypoint heredoc). Ports default to OTLP/HTTP 4318.\n */\n includeOtelCollector,\n otelCollectorHostPort,\n otelCollectorInternalPort: OTEL_OTLP_HTTP_DEFAULT_PORT,\n includeLocalMongoDB: EnvironmentUtils.needsLocalMongoDB(env),\n /**\n * NOT `config.database.engine === POSTGRESQL` — see\n * {@link EnvironmentLifecycle.needsLocalPostgreSQL}. That field also SUBTRACTS MongoDB\n * (`needsLocalMongoDB`), so it could never express \"MongoDB for the platform, PostgreSQL for the\n * application's resources\", which is what an app on the PostgreSQL persistence adapter needs.\n */\n includePostgreSQL: EnvironmentUtils.needsLocalPostgreSQL(env),\n includeLocalClamAV: resolveIncludeLocalClamAV(env),\n includeLocalImmudb: resolveIncludeLocalImmudb(env),\n /**\n * Absolute host path of the materialized immudb state-signing PRIVATE key, or `undefined`\n * when immudb is not self-hosted / no keypair is provisioned. Gates the `--signingKey` block\n * (mount + `command`) in the compose immudb service so it signs its state.\n */\n immudbSigningKeyHostPath,\n /**\n * The self-hosted immudb server's INITIAL admin password, copied from the operator's\n * `providerEnv.IMMUDB_PASSWORD` so the server admin and the audit-sink client share one source of\n * truth. `undefined` ⇒ the template's `environment:` block drops and immudb keeps its packaged\n * default (matching the k8s lane's `optional: true` secretKeyRef).\n */\n immudbAdminPassword,\n /**\n * Issue #74 — absolute host path of the materialized mongot sync-source password file, or\n * `undefined` when this env self-hosts no mongod / carries no mongot material. Gates the whole\n * `mongot` service and the `mongodb-init` step that creates its user.\n */\n mongotPasswordHostPath,\n /** In-container mount point both mongot and mongodb-init read that file at. */\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n includePlatformServices: !isFrameworkDeveloper,\n /** Step 6 — per-app minion + worker compose entries (under `app-runtimes` profile). */\n appMinions,\n appWorkers,\n /** Slug used to disambiguate compose service names across coexisting apps on the same host. */\n saasSlug: saasConfigForRuntimes?.slug ?? '',\n /**\n * Registry-qualified in app-creator mode, bare local name in framework-developer mode —\n * see `resolvePlatformImageRef` for why the two lanes differ and why the tag is the\n * framework version rather than `latest`.\n */\n platformImageRef: resolvePlatformImageRef({ isFrameworkDeveloper, frameworkVersion: readVersion(), imageTag }),\n localDataPath,\n /**\n * Host-side port mappings for self-deployed infra services. Each value\n * defaults to the image-internal port (which is what container-internal\n * traffic always uses); when the author overrides\n * `backingServices.<kind>.port` for a SELF source, that value drives the\n * host-side mapping so `localhost:${authorPort}` reaches the container.\n */\n infraHostPorts: {\n mongodb: resolveInfraHostPort(env, BackingServiceKind.MONGODB, INFRA_DEFAULT_PORTS.MONGODB),\n valkey: resolveInfraHostPort(env, BackingServiceKind.REDIS, INFRA_DEFAULT_PORTS.VALKEY),\n rabbitmq: resolveInfraHostPort(env, BackingServiceKind.RABBITMQ, INFRA_DEFAULT_PORTS.RABBITMQ),\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: resolveInfraHostPort(env, BackingServiceKind.S3, INFRA_DEFAULT_PORTS.MINIO),\n minioConsole: MINIO_CONSOLE_PORT,\n gotenberg: resolveInfraHostPort(env, BackingServiceKind.GOTENBERG, INFRA_DEFAULT_PORTS.GOTENBERG),\n postgresql: resolveInfraHostPort(env, BackingServiceKind.POSTGRESQL, INFRA_DEFAULT_PORTS.POSTGRESQL),\n clamav: resolveInfraHostPort(env, BackingServiceKind.CLAMAV, INFRA_DEFAULT_PORTS.CLAMAV),\n immudb: resolveInfraHostPort(env, BackingServiceKind.IMMUDB, INFRA_DEFAULT_PORTS.IMMUDB),\n },\n infraInternalPorts: {\n mongodb: INFRA_DEFAULT_PORTS.MONGODB,\n valkey: INFRA_DEFAULT_PORTS.VALKEY,\n rabbitmq: INFRA_DEFAULT_PORTS.RABBITMQ,\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: INFRA_DEFAULT_PORTS.MINIO,\n minioConsole: MINIO_CONSOLE_PORT,\n gotenberg: INFRA_DEFAULT_PORTS.GOTENBERG_INTERNAL,\n postgresql: INFRA_DEFAULT_PORTS.POSTGRESQL,\n clamav: INFRA_DEFAULT_PORTS.CLAMAV,\n immudb: INFRA_DEFAULT_PORTS.IMMUDB,\n // Issue #74 — mongot's three listeners. Present in `infraInternalPorts` and deliberately\n // ABSENT from `infraHostPorts`: nothing on the host is a mongot client (clients talk to\n // mongod, which routes to mongot over gRPC), so publishing them would widen the local\n // attack surface for no consumer.\n mongotGrpc: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealth: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetrics: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n },\n };\n\n const rendered = processor.processTemplate(FILE_NAMES.DOCKER_COMPOSE_TEMPLATE, context);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), rendered);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"docker-compose-generator.service.js","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-generator.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,IAAI,CAAC;AAC/E,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAG7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAC7F,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AACnG,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,iBAAiB,EACjB,+BAA+B,EAC/B,wCAAwC,EACxC,sBAAsB,GAIvB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EAAE,yCAAyC,EAAE,uBAAuB,EAAE,MAAM,0DAA0D,CAAC;AAC9I,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,8DAA8D,CAAC;AAC1H,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AAmB;YAC3D,KAAK,EAAE,mBAAmB,CAAC,KAAK;YAChC,YAAY,EAAE,kBAAkB;YAChC,UAAU,EAAE,mBAAmB,CAAC,UAAU;YAC1C,MAAM,EAAE,mBAAmB,CAAC,MAAM;YAClC,MAAM,EAAE,mBAAmB,CAAC,MAAM;YAClC,yFAAyF;YACzF,wFAAwF;YACxF,sFAAsF;YACtF,kCAAkC;YAClC,UAAU,EAAE,mBAAmB,CAAC,WAAW;YAC3C,YAAY,EAAE,mBAAmB,CAAC,aAAa;YAC/C,aAAa,EAAE,mBAAmB,CAAC,cAAc;SAClD;KACF,CAAC;IAEF,MAAM,QAAQ,GAAG,SAAS,CAAC,eAAe,CAAC,UAAU,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAExF,MAAM,UAAU,GAAG,gBAAgB,CAAC,uBAAuB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IACtE,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,CAAC;QAC5B,SAAS,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,6BAA6B,CAAC,EAAE,QAAQ,CAAC,CAAC;AACtF,CAAC","sourcesContent":["import { chmodSync, existsSync, mkdirSync, statSync, writeFileSync } from 'fs';\nimport { join, posix, relative } from 'path';\nimport type { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.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 {\n BackingServiceKind,\n BackingServiceSource,\n INFRA_DEFAULT_PORTS,\n loadMinionConfigs,\n loadSaasConfig,\n loadWorkerConfigs,\n RUNTIME_MANDATORY_WRITABLE_PATH,\n PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME,\n resolveFrameworkLayout,\n type WildoMinionConfig,\n type WildoSaasConfig,\n type WildoWorkerConfig,\n} from '@wildo-ai/platform-config-lib';\nimport { buildMinionServiceName, buildWorkerServiceName } from '@wildo-ai/platform-core-shared';\nimport { FILE_NAMES, GENERATED_FILE_HEADER } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME, resolvePlatformImageRef } from '~wildo-cli/services/environment/platform-runtime.schemas';\nimport { readVersion } from '~wildo-cli/kernel/bootstrap';\nimport { ServiceAddressResolver, AddressPerspective } from '~wildo-cli/services/catalog/service-address-resolver.service';\nimport { PlatformEnvVarsBuilder } from '~wildo-cli/services/environment/env-vars-builder.service';\nimport { loadInfraHydratedConfig } from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { SecretsReader } from '~wildo-cli/services/credentials/secrets-reader.service';\nimport { IMMUDB_CREDENTIAL_ENV_KEYS, MONGOT_SYNC_SOURCE } from '~wildo-cli/services/data-services/data-services.schemas';\nimport { TemplateProcessor } from '~wildo-cli/infrastructure/io/template-processor';\n\n/**\n * Local-data subdir + filename for the immudb state-signing PRIVATE key materialized for the\n * self-hosted compose immudb container. Kept OUT of the `immudb/` data volume (which is the\n * store the key protects) so a data wipe never removes the signing key.\n */\nconst IMMUDB_SIGNING_KEY_DIR = 'immudb-signing';\nconst IMMUDB_SIGNING_KEY_FILENAME = 'state-signing.key';\n\n/**\n * Issue #74 — local-data subdir + filename for the `mongot` sync-source password file.\n *\n * Same shape and same reasoning as the immudb signing key above: kept OUT of both the\n * `mongodb/` and `mongot/` data directories so a data wipe never removes it, and mounted as a\n * FILE because mongot reads a path (`syncSource.replicaSet.scramAuth.passwordFile`) and never\n * an environment variable.\n *\n * The MODE differs from immudb's, and that difference is not cosmetic: immudb's key is written\n * `0644` because its container UID differs from the host owner, while mongot REFUSES to start on\n * anything more permissive than `0400` (`Secret file … permissions are too permissive (must only\n * be readable by owner)`, exit 1). mongot's image runs as root, so root reads the file whatever\n * the bind mount reports as its owner — measured 2026-08-27 with a host-owned `0400` file and a\n * `mongodb/mongodb-community-search:1.70.3` container that read it and reached `SERVING`.\n */\nconst MONGOT_PASSWORD_DIR = 'mongot-auth';\nconst MONGOT_PASSWORD_FILENAME = 'sync-source.password';\n\n/**\n * Slice 4.8 — ClamAV self-deploy gating.\n *\n * Returns `true` when the env author declared\n * `backingServices.clamav: { source: SELF }` in\n * `wildo.infra.<env>.config.ts` — i.e. they opted into the local\n * `clamav/clamav:1.4` container instead of pointing at an external\n * MANAGED clamd. Returns `false` for MANAGED / external sources or\n * when the entry is omitted entirely.\n *\n * Single source of truth consumed by:\n * - {@link renderDockerComposeTemplate}'s `includeLocalClamAV`\n * context value (drives the `{{#if includeLocalClamAV}}` block in\n * `docker-compose.wildo-platform.yml.hbs`).\n * - {@link getDockerComposeLocalDataServices} (decides whether\n * `local_data/clamav/` must be pre-created / wiped).\n *\n * The RULE itself moved out on 2026-09-09: both lanes now ask\n * `EnvironmentLifecycle.selfHostsBackingService(env, kind)`, which is total over\n * `BackingServiceKind`, so Compose ⇄ K8s parity is structural rather than two\n * predicates that happen to agree — and a kind added to the vocabulary cannot\n * reach either lane without someone deciding what an omitted declaration means\n * for it. This function survives as the NAME the compose lane's context value and\n * local-data list read it by; it is no longer where the rule lives.\n *\n * That predicate reads `env.backingServices` (the in-memory authored snapshot)\n * rather than `loadConfigJson`, which keeps every caller here synchronous and\n * matches the pattern used by {@link resolveInfraHostPort} below.\n */\nfunction resolveIncludeLocalClamAV(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.CLAMAV);\n}\n\n/**\n * Cache / broker / object-storage self-deploy gating.\n *\n * These three were the only services in the template with NO gate at all: `valkey`, `rabbitmq`,\n * `minio` (+ its `minio-init` bucket step) were rendered for every environment, so an operator who\n * declared `redis: { source: MANAGED }` got a managed cache AND a local Valkey container beside it.\n *\n * They gate on {@link EnvironmentLifecycle.selfHostsBackingService}, which for these three kinds\n * reads `source !== MANAGED` rather than `source === SELF` — read that JSDoc before \"tightening\"\n * it. An UNDECLARED entry keeps the container, exactly as today, because the platform cannot boot\n * without a cache, a broker and an object store and an omitted key must not silently remove one.\n */\nfunction resolveIncludeLocalValkey(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.REDIS);\n}\n\n/** @see resolveIncludeLocalValkey — same rule, RabbitMQ's declaration. */\nfunction resolveIncludeLocalRabbitMQ(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.RABBITMQ);\n}\n\n/** @see resolveIncludeLocalValkey — same rule, the `s3` declaration (MinIO is its self-hosted brand). */\nfunction resolveIncludeLocalMinIO(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.S3);\n}\n\n/**\n * Audit Phase 2 — immudb self-deploy gating. Emits the local `immudb` container\n * (tamper-evident audit-log store) only when `backingServices.immudb.source ===\n * SELF`; a MANAGED immudb (Vault) is an external endpoint. Mirrors\n * {@link resolveIncludeLocalClamAV}.\n */\nfunction resolveIncludeLocalImmudb(env: PlatformEnvironmentConfiguration): boolean {\n return EnvironmentUtils.selfHostsBackingService(env, BackingServiceKind.IMMUDB);\n}\n\n/**\n * Slice 4 (4.3) — convenience wrapper that resolves saasRoot from the\n * registry and pre-creates every `local_data/<service>/` subdir the\n * compose file will bind-mount.\n *\n * Exists so every CLI seam that runs `docker compose up` against the\n * platform-local compose file shares the SAME pre-up step (single source\n * of truth — D5 decision). Call sites:\n * - `LocalUpCommand.runDockerCompose` / `restartDockerCompose`\n * - `LocalAppReinitService.startEnvironment`\n * - `dev/start.command.ts startDockerInfra`\n *\n * Throws when no SaaS root can be resolved — this keeps the failure\n * loud at the call site (matching how the generator itself throws above).\n */\n/**\n * Whether a host path the generated compose file BIND-MOUNTS is missing, so the render must be\n * redone before `docker compose up`.\n *\n * ## The hazard this closes\n *\n * Docker does not fail on a missing bind-mount SOURCE — it silently creates a DIRECTORY there. So a\n * file the container expects becomes a directory, and the failure surfaces inside the container as\n * something unrelated to mounting. immudb reports\n * `unable to configure the cryptographic signer: read /etc/immudb/state-signing.key: is a directory`\n * and exits unhealthy, which compose reports only as `container wildo-immudb is unhealthy`.\n *\n * Measured 2026-08-22 on the first cold start after a full `local_data` reset: the compose file\n * survived the reset while the key it mounts did not. The render is skipped when the compose file\n * already exists — the \"write only when missing\" test asks about the COMPOSE FILE, never about the\n * files compose MOUNTS — and the only other force condition is \"new secret material was minted\".\n * The key material was NOT new (it lives in the authored `secrets.json`, outside `local_data`), so\n * nothing forced a re-render and `wildo local dev` failed with infrastructure it could not start.\n *\n * The material always survives a data reset, so this is recoverable by construction: re-render, and\n * the key is written back from `secrets.json`.\n *\n * Returns false when immudb is not self-hosted here, or when no keypair is provisioned at all —\n * that second case is the documented graceful degradation (immudb runs UNSIGNED and the client warns\n * once), not something to force a render for.\n */\nexport function isComposeHostMountedArtifactMissing(\n env: PlatformEnvironmentConfiguration,\n localDataPath: string,\n): boolean {\n if (!resolveIncludeLocalImmudb(env)) return false;\n\n const secrets = SecretsReader.loadSecrets(env.name);\n if (!secrets?.immudb?.stateSigningPrivateKey) return false;\n\n const signingKeyPath = join(localDataPath, IMMUDB_SIGNING_KEY_DIR, IMMUDB_SIGNING_KEY_FILENAME);\n // A DIRECTORY at this path is the Docker-created stand-in, and is exactly as broken as absence —\n // re-rendering replaces it with the file.\n if (!existsSync(signingKeyPath)) return true;\n return !statSync(signingKeyPath).isFile();\n}\n\nexport function ensureLocalDataServiceDirsForComposeRender(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot pre-create local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.ensureLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.4) — wipe wrapper for `wildo local reset`.\n *\n * Counterpart of {@link ensureLocalDataServiceDirsForComposeRender}. Resolves\n * the SaaS root and the same per-env service list that compose actually\n * rendered, then calls {@link EnvironmentPaths.wipeLocalDataServiceDirs}\n * fail-closed — so a stale on-host PG datadir or Mongo journal cannot\n * silently survive a reset and corrupt the next `wildo local up`.\n *\n * Caller MUST invoke this AFTER `docker compose down -v` so no container\n * still holds the bind-mount target open.\n */\nexport function wipeLocalDataServiceDirsForCompose(\n env: PlatformEnvironmentConfiguration,\n): void {\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot wipe local_data subdirs: no targeted SaaS app root detected.',\n );\n }\n const services = getDockerComposeLocalDataServices(env);\n EnvironmentPaths.wipeLocalDataServiceDirs(saasRoot, services);\n}\n\n/**\n * Slice 4 (4.3) — single source of truth for which infra services the\n * generated compose file actually renders for a given env.\n *\n * MUST stay in lockstep with the `{{#if include*}}` guards in\n * `docker-compose.wildo-platform.yml.hbs`. Returns the short container-name\n * list (the same tokens used as `local_data/<service>/` subdir names and\n * as the K8s PV `hostPath` `/mnt/local-data/<service>/` segment).\n *\n * Used by every CLI seam that runs `docker compose up` to pre-create the\n * matching `local_data/<service>/` bind-mount source directories before\n * Docker would otherwise create them root-owned. A divergence between this\n * list and the template's `{{#if}}` guards would silently create\n * permission-denied failures on first up — so callers MUST use this helper,\n * not a hand-written list.\n *\n * Stateless services are intentionally excluded — they have no\n * bind mount in the template.\n */\nexport function getDockerComposeLocalDataServices(\n env: PlatformEnvironmentConfiguration,\n): readonly string[] {\n const services: string[] = [];\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n services.push('mongodb');\n // Issue #74 — mongot's Lucene index directory. Same gate as mongod (it is an attachment to\n // one, not an independently sourced service), and STATEFUL: losing it costs a full re-read\n // of every indexed collection through the change stream, not just a restart.\n services.push('mongot');\n }\n // Gated since the managed-selection fix: an env that declares `redis` / `rabbitmq` / `s3` as\n // MANAGED points at somebody else's endpoint and must not also bind-mount `local_data/<svc>/` for\n // a container it does not run. An UNDECLARED kind still lands here — see\n // {@link resolveIncludeLocalValkey} for why absence is not withdrawal.\n if (resolveIncludeLocalValkey(env)) {\n services.push('valkey');\n }\n if (resolveIncludeLocalRabbitMQ(env)) {\n services.push('rabbitmq');\n }\n if (resolveIncludeLocalMinIO(env)) {\n services.push('minio');\n }\n if (EnvironmentUtils.needsLocalPostgreSQL(env)) {\n services.push('postgresql');\n }\n if (resolveIncludeLocalClamAV(env)) {\n services.push('clamav');\n }\n if (resolveIncludeLocalImmudb(env)) {\n services.push('immudb');\n }\n return services;\n}\n\n/**\n * MinIO console UI listens on 9001 alongside the API on 9000. The console\n * port is image-defined and not part of the author's `s3` surface — keep it\n * pinned so the generated compose file always exposes the admin UI for\n * local debugging.\n */\nconst MINIO_CONSOLE_PORT = 9001;\n\n/**\n * Resolve the host-side port to publish for an infra container.\n *\n * The container always listens on its image-default port (`internalPort`).\n * The author may override the host-side port to avoid conflicts with other\n * services on their machine; in that case the compose generator emits\n * `${authorPort}:${internalPort}` so that:\n * - tools on the host connect to `localhost:${authorPort}` (matches the\n * `HOST_FACING` perspective from `ServiceAddressResolver`)\n * - other compose containers connect to `${containerName}:${internalPort}`\n * (matches the `CONTAINER_INTERNAL` perspective)\n */\nfunction resolveInfraHostPort(\n env: PlatformEnvironmentConfiguration,\n kind: BackingServiceKind,\n internalPort: number,\n): number {\n const override = env.backingServices?.[kind];\n if (!override || override.source !== BackingServiceSource.SELF) {\n return internalPort;\n }\n return override.port ?? internalPort;\n}\n\n\n// ============================================================================\n// Generate .env.wildo-platform (Docker Compose env file)\n// ============================================================================\n\n/**\n * Encode one `.env.wildo-platform` value for its reader: **Docker Compose's own env-file parser**\n * (compose-go), which is NOT the `dotenv` package that reads the per-service `.env` files.\n *\n * ## The two readers differ on exactly one axis\n *\n * Both expand `\\n` / `\\r` inside double quotes and both accept a quoted value spanning physical\n * lines. They diverge on backslash escapes — verified 2026-08-05 with `docker compose config`, the\n * authoritative resolution step:\n *\n * | reader | `\\n` in `\"…\"` | `\\\"` in `\"…\"` |\n * |------------|---------------|----------------------|\n * | `dotenv` | expands | NOT unescaped (kept literal — the trap `encodeDotenvValue` documents) |\n * | compose-go | expands | unescapes |\n *\n * So compose-go is a FULLY unescaping reader, and the correct encoding here is the ordinary\n * escape-and-quote — the same contract `formatEnvFile` (ci-deploy-generator) already writes for the\n * compose lane. `encodeDotenvValue`'s form-SELECTION exists to dodge a lossiness that only affects\n * dotenv; do not reuse it here, and do not \"fix\" this to match it.\n *\n * ## Why not the previous verbatim-quote\n *\n * This helper used to emit `\"${value}\"` verbatim for multi-line values (reproducing the bytes the\n * old `quoteMultiline` produced). That is lossy the moment a value carries BOTH a newline and a\n * `\"`: the inner quote closes the string early and Compose rejects the whole file with\n * `unexpected character \"\\\"\" in variable name` (reproduced 2026-08-05). No value routed here does\n * that today — PEMs carry no quotes — but it is the same latent writer/reader mismatch that\n * produced this session's two live incidents, so it is closed rather than documented.\n *\n * Builders hand us RAW values by contract (see the value-contract note in\n * `env-vars-builder.service.ts`), so encoding happens exactly once, here.\n */\nexport function encodeComposeEnvValue(value: string): string {\n if (!/[\\s=#\"'\\\\]|\\n/.test(value) && value !== '') return value;\n return `\"${value.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\r/g, '\\\\r').replace(/\\n/g, '\\\\n')}\"`;\n}\n\nexport function generateEnvWildoPlatform(\n env: PlatformEnvironmentConfiguration,\n isFrameworkDeveloper: boolean,\n credentials: PlatformEnvSecretsJson,\n): void {\n // Single load+hydrate seam — the platform env this generator emits for a REMOTE compose deploy\n // must carry the infra posture (OTEL_*/LOG_LEVEL/provider-selection) the setup config.json omits.\n const config = loadInfraHydratedConfig(env);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n const infraEnv = PlatformEnvVarsBuilder.buildInfraCredentialEnv(credentials, config, env);\n\n const lines: string[] = [\n GENERATED_FILE_HEADER,\n '',\n '# === Infra service credentials ===',\n ];\n\n for (const [key, value] of Object.entries(infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n\n if (!isFrameworkDeveloper) {\n const addressCtx = ServiceAddressResolver.fromEnvironment(env, AddressPerspective.CONTAINER_INTERNAL);\n const addresses = ServiceAddressResolver.resolve(addressCtx);\n const platformEnv = PlatformEnvVarsBuilder.buildAppsManagerFullEnv(\n credentials, addresses, config, env,\n );\n\n lines.push('');\n lines.push('# === Platform service env vars ===');\n\n for (const [key, value] of Object.entries(platformEnv)) {\n if (!(key in infraEnv)) {\n lines.push(`${key}=${encodeComposeEnvValue(value)}`);\n }\n }\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.ENV_WILDO_PLATFORM), lines.join('\\n') + '\\n');\n}\n\n// ============================================================================\n// Render Docker Compose template (Handlebars)\n// ============================================================================\n\n/**\n * Step 6 — compose entry shapes for the per-app minion / worker\n * services. Each service builds from the **wildo-ai monorepo root**\n * (Q1 (B) decision 2026-05-06) so the package's Dockerfile can resolve\n * file:-injected `@wildo-ai/*` engine deps + the nested Wonder Todos\n * workspace lockfile in one go (mirrors `examples/wonder-todos/frontend/Dockerfile`'s\n * established pattern). The Dockerfile path is therefore relative to\n * the framework root, not to the package itself.\n *\n * Env-files mount the Step 5b `.wildo-providers.env`; the platform's\n * `.env.wildo-platform` is loaded separately via `docker compose --env-file`\n * (see `docker.service.ts`) so we deliberately do NOT mount it again\n * via `env_file:` here.\n *\n * Both shapes are emitted under the compose `app-runtimes` profile so\n * `wildo local up` defaults to the platform-only flow and operators\n * opt-in to running app runtimes locally with\n * `docker compose --profile app-runtimes up` (or a future\n * `--include-app-runtimes` flag on `wildo local up`).\n */\nexport interface DockerComposeAppMinionEntry {\n /** Compose service name — `<saasSlug>-minion-<dnsName>` (bucket key RFC1123-normalized via `buildMinionServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the minion package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > minions`. */\n minionKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the minion boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close the container at boot. Resolved from the\n * persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /**\n * `user:` — `<uid>:<gid>` from the authored `isolation`, mirroring the k8s\n * pod `runAsUser`/`runAsGroup`.\n */\n runAsUser: string;\n /**\n * The SAME uid/gid as {@link runAsUser}, kept as separate numbers because each\n * `tmpfs:` entry must carry `uid=`/`gid=` options — docker mounts a tmpfs\n * root-owned 0755, so a non-root container cannot write it. Two fields rather\n * than parsing the combined string back apart in the template.\n */\n runAsUserId: number;\n runAsGroupId: number;\n /**\n * Every writable tmpfs path: the mandatory `/tmp` first, then authored\n * additions. Compose gets `tmpfs:` where k8s gets `emptyDir` volumes; the\n * pairing with `read_only: true` is identical and equally load-bearing (the\n * liveness heartbeat file lives under `/tmp`).\n */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling, mirroring the k8s value. */\n pidsLimit: number;\n}\n\nexport interface DockerComposeAppWorkerEntry {\n /** Compose service name — `<saasSlug>-worker-<dnsName>` (bucket key RFC1123-normalized via `buildWorkerServiceName`). */\n serviceName: string;\n /** Container name pinned for log-tailing convenience. */\n containerName: string;\n /** Absolute build context (the wildo-ai monorepo root). */\n buildContext: string;\n /** POSIX-relative Dockerfile path (from `buildContext` → the worker package's Dockerfile). */\n dockerfile: string;\n /** Per-package provider env-file path (Step 5b emission). */\n providerEnvFile: string;\n /** Bucket key from `wildo.saas.config.ts > workers`. */\n workerKey: string;\n /** Display name from the per-folder config. */\n displayName: string;\n /**\n * The owning app's apps-manager-minted `APPLICATION_ID` (a Mongo `_id`),\n * baked as a per-service literal so the worker boots with the correct\n * bootstrap identity. It is app-specific and NOT present in the app-agnostic\n * `.env.wildo-platform`, so a shell-interpolated `${APPLICATION_ID}` would\n * resolve empty and fail-close `readWorkerBootstrapEnv()` at boot. Resolved\n * from the persisted `application-runtime-identity.json`; falls back to the\n * `${APPLICATION_ID}` interpolation token only when the app has never been\n * bootstrapped in this env (see {@link renderDockerComposeTemplate}).\n */\n applicationId: string;\n /** HTTP port the worker listens on (also the host-side mapping). */\n httpPort: number;\n /** `/healthz` (or operator-overridden) — informational; no compose-side healthcheck is configured. */\n healthPath: string;\n /** `/readyz` (or operator-overridden) — informational; no compose-side readiness probe is configured. */\n readyPath: string;\n /** `user:` — `<uid>:<gid>`, mirroring the k8s pod `runAsUser`/`runAsGroup`. */\n runAsUser: string;\n /** Same values as {@link DockerComposeAppWorkerEntry.runAsUser}, as numbers for the `tmpfs:` `uid=`/`gid=` options. */\n runAsUserId: number;\n runAsGroupId: number;\n /** Writable tmpfs paths: the mandatory one first, then authored additions. */\n writablePaths: readonly string[];\n /** `pids_limit` — fork-bomb ceiling. */\n pidsLimit: number;\n}\n\n/**\n * The compose service + container name for a per-app minion/worker. Delegates to\n * the SHARED name builders so the compose service name is RFC1123-normalized and\n * byte-identical to the k8s Service name, the CI-built image ref, and the backend's\n * `WILDO_WORKER_<NAME>_URL` dispatch host (all derived from the same helper). A\n * camelCase bucket key (`marketingScrapper`) therefore resolves the same on the\n * compose network as in k8s (`{slug}-minion-marketing-scrapper`) — the backend\n * dispatch URL host would otherwise never resolve to the raw-key service name. The\n * RAW bucket key stays the runtime IDENTITY (`APP_OWNED_SERVICE_NAME`), carried\n * separately on the compose entry as `workerKey`/`minionKey`.\n */\nfunction deriveAppRuntimeServiceName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return kind === 'minion'\n ? buildMinionServiceName(saasSlug, bucketKey)\n : buildWorkerServiceName(saasSlug, bucketKey);\n}\n\nfunction deriveAppRuntimeContainerName(saasSlug: string, kind: 'minion' | 'worker', bucketKey: string): string {\n return deriveAppRuntimeServiceName(saasSlug, kind, bucketKey);\n}\n\n/**\n * Resolve the wildo-ai monorepo root from the framework path passed to\n * the renderer. Used as the compose `build.context` so each runtime-host\n * Dockerfile sees the full monorepo (file:-injected engine deps, nested\n * Wonder Todos workspace lockfile, etc.).\n */\nfunction resolveFrameworkRoot(frameworkPath: string): string {\n return resolveFrameworkLayout(frameworkPath).repositoryRoot;\n}\n\n/**\n * POSIX-relative path from the framework root to a package's Dockerfile.\n * Compose's `dockerfile:` field is interpreted relative to `build.context`\n * (the framework root for Step 6), so the path here must be relative\n * AND POSIX-style (Compose normalizes Windows paths but mixed-style is a\n * known footgun on macOS-host / Linux-container builds).\n */\nfunction relativeDockerfilePath(frameworkRoot: string, packageRoot: string): string {\n return posix.join(...relative(frameworkRoot, packageRoot).split(/[/\\\\]/), 'Dockerfile');\n}\n\n/**\n * Build the per-minion compose entries from the loaded saas + minion\n * configs. The provider env-file path is stable across runs (Step 5b\n * emits it on every `wildo config sync`); compose mounts it via\n * `env_file:` so the minion's process env contains the canonical\n * `WILDO_PROVIDER_*` keys at boot.\n */\nfunction buildAppMinionComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n minionEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoMinionConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppMinionEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, minionEntries, applicationId } = input;\n return minionEntries.map((entry) => {\n const ref = saasConfig.minions?.[entry.key];\n if (!ref) {\n // Defensive — `loadMinionConfigs` reads from this same bucket so\n // mismatch is impossible in practice. Fail loudly if invariants drift.\n throw new Error(\n `[docker-compose-generator] Minion '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > minions. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'minion', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'minion', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n minionKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n // Mandatory `/tmp` first, then authored additions — the same ordering and\n // the same reason as the k8s renderer. The schema rejects `/tmp` inside\n // `writablePaths`, so prepending cannot produce a duplicate.\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n };\n });\n}\n\nfunction buildAppWorkerComposeEntries(input: {\n saasRoot: string;\n frameworkRoot: string;\n saasConfig: WildoSaasConfig;\n workerEntries: ReadonlyArray<{ key: string; absolutePath: string; config: WildoWorkerConfig }>;\n /** Owning app's resolved `APPLICATION_ID` (or the `${APPLICATION_ID}` fallback) baked per service. */\n applicationId: string;\n}): DockerComposeAppWorkerEntry[] {\n const { saasRoot, frameworkRoot, saasConfig, workerEntries, applicationId } = input;\n return workerEntries.map((entry) => {\n const ref = saasConfig.workers?.[entry.key];\n if (!ref) {\n throw new Error(\n `[docker-compose-generator] Worker '${entry.key}' loaded but not found in `\n + `wildo.saas.config.ts > workers. Re-run \\`wildo config sync\\`.`,\n );\n }\n const packageRoot = join(saasRoot, ref.path);\n const providerEnvFile = join(packageRoot, PROVIDER_RUNTIME_GENERATED_ENV_FILE_NAME);\n return {\n serviceName: deriveAppRuntimeServiceName(saasConfig.slug, 'worker', entry.key),\n containerName: deriveAppRuntimeContainerName(saasConfig.slug, 'worker', entry.key),\n buildContext: frameworkRoot,\n dockerfile: relativeDockerfilePath(frameworkRoot, packageRoot),\n providerEnvFile,\n workerKey: entry.key,\n displayName: entry.config.displayName,\n applicationId,\n runAsUser: `${entry.config.isolation.runAsUser}:${entry.config.isolation.runAsGroup}`,\n runAsUserId: entry.config.isolation.runAsUser,\n runAsGroupId: entry.config.isolation.runAsGroup,\n writablePaths: [RUNTIME_MANDATORY_WRITABLE_PATH, ...entry.config.isolation.writablePaths],\n pidsLimit: entry.config.isolation.pidsLimit,\n httpPort: entry.config.http.port,\n healthPath: entry.config.http.healthPath,\n readyPath: entry.config.http.readyPath,\n };\n });\n}\n\n/**\n * Docker Compose shell-interpolation token used as the `APPLICATION_ID` value\n * ONLY when no persisted identity is available yet — a cold\n * `config sync --domain manifest` / `wildo local up` self-heal before the app's\n * first credential fetch. Preserves the pre-fix behaviour (interpolated from\n * `.env.wildo-platform`, which resolves empty) and leaves the operator a manual\n * override escape hatch, rather than silently baking an empty literal. Normal\n * flows persist the real id before rendering, so this is the rare cold path.\n */\nconst APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK = '${APPLICATION_ID}';\n\nexport async function renderDockerComposeTemplate(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n imageTag?: string,\n): Promise<void> {\n const config = EnvironmentUtils.loadConfigJson(env.name);\n if (!config) throw new Error('config.json not found');\n\n const processor = new TemplateProcessor(\n resolveFrameworkLayout(frameworkPath).dockerComposeTemplatesHome,\n );\n\n // Slice 4 (4.2) — `localDataPath` template variable.\n //\n // Resolves to the absolute host path\n // `<saasRoot>/.wildo-saas/local_data` so each per-service bind mount in\n // the rendered compose file is unambiguous. We deliberately use ABSOLUTE\n // paths (D4 decision in the slice plan) instead of paths relative to the\n // generated compose file location:\n // - Relative paths would walk up several segments\n // (`../../../local_data/<svc>`) and break if the on-disk layout\n // between `.wildo-saas/infrastructure/environments/<env>/docker-compose/`\n // and `.wildo-saas/local_data/` ever changes.\n // - Absolute paths are independent of `cwd` and survive any future\n // reshuffling of the runtime layout.\n //\n // The CLI guarantees the per-service subdirs exist before\n // `docker compose up` via `EnvironmentPaths.ensureLocalDataServiceDirs()`\n // (Slice 4.3); Docker would otherwise create them as root-owned mount\n // points which container UIDs cannot write to.\n const saasRoot = EnvironmentRegistry.getSaasRoot();\n if (!saasRoot) {\n throw new Error(\n 'Cannot render docker-compose template: no targeted SaaS app root detected.',\n );\n }\n const localDataPath = EnvironmentPaths.resolveScopedLocalDataDir(saasRoot);\n\n // Step 6 — load per-app minion/worker configs so the compose template\n // can emit a service for each one under the `app-runtimes` profile.\n // The platform path stays unchanged when there are no minions/workers\n // declared (the template's `{{#if appMinions.length}}` / `{{#if appWorkers.length}}`\n // guards drop the sections entirely in that case). Framework-developer\n // mode skips the load to keep the platform-only flow side-effect-free.\n const saasConfigForRuntimes = isFrameworkDeveloper\n ? null\n : await loadSaasConfig(join(saasRoot, 'wildo.saas.config.ts'));\n const minionEntries = saasConfigForRuntimes\n ? await loadMinionConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n const workerEntries = saasConfigForRuntimes\n ? await loadWorkerConfigs(saasRoot, saasConfigForRuntimes)\n : [];\n // Step 6 (Q1 (B)) — `build.context` for runtime-host services is the\n // wildo-ai monorepo root so each Dockerfile can resolve file:-injected\n // engine deps. The Dockerfile itself lives inside the package; its\n // path is computed relative to the framework root.\n const frameworkRoot = resolveFrameworkRoot(frameworkPath);\n\n // Resolve the owning app's apps-manager-minted APPLICATION_ID from the\n // persisted `application-runtime-identity.json` so each per-app minion/worker\n // service bakes the correct bootstrap-identity literal. Read OFFLINE (no\n // apps-manager round-trip) so even the `--domain manifest` re-render and the\n // `wildo local up` self-heal produce a runnable app-runtimes block; the\n // credential-fetching flows persist the value up front. Falls back to the\n // `${APPLICATION_ID}` interpolation token only for a cold app that has never\n // been bootstrapped in this env.\n const applicationId = saasConfigForRuntimes\n ? (EnvironmentUtils.loadApplicationRuntimeIdentity(env.name)?.[saasConfigForRuntimes.slug]?.applicationId\n ?? APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK)\n : APPLICATION_ID_COMPOSE_INTERPOLATION_FALLBACK;\n\n const appMinions = saasConfigForRuntimes\n ? buildAppMinionComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, minionEntries, applicationId })\n : [];\n const appWorkers = saasConfigForRuntimes\n ? buildAppWorkerComposeEntries({ saasRoot, frameworkRoot, saasConfig: saasConfigForRuntimes, workerEntries, applicationId })\n : [];\n\n // Slice 2 Phase 5b Wave 2 — local OTel collector inclusion + host port.\n // Emitted only when infra `observability.enabled` AND the authored OTLP\n // endpoint targets localhost (the endpoint IS this local collector; a remote\n // BetterStack endpoint gets no local collector). The host port is parsed from\n // the endpoint so the published `localhost:<port>` matches exactly what the\n // preload-instrumented backend + companion hosts target; defaults to the\n // OTLP/HTTP standard 4318 when the endpoint omits an explicit port.\n const OTEL_OTLP_HTTP_DEFAULT_PORT = '4318';\n const otelObservability = env.observability;\n let includeOtelCollector = false;\n let otelCollectorHostPort = OTEL_OTLP_HTTP_DEFAULT_PORT;\n if (otelObservability?.enabled) {\n let parsedEndpoint: URL | undefined;\n try {\n parsedEndpoint = new URL(otelObservability.endpoint);\n } catch {\n parsedEndpoint = undefined;\n }\n if (\n parsedEndpoint &&\n (parsedEndpoint.hostname === 'localhost' ||\n parsedEndpoint.hostname === '127.0.0.1')\n ) {\n includeOtelCollector = true;\n otelCollectorHostPort = parsedEndpoint.port || OTEL_OTLP_HTTP_DEFAULT_PORT;\n }\n }\n\n // Audit Phase 2 — materialize the immudb state-signing PRIVATE key so the self-hosted immudb\n // container can sign its `ImmutableState` (`--signingKey`), turning the whole-server-substitution\n // defense ON. Only when this env self-hosts immudb AND a keypair was provisioned\n // (`credentials.immudb`, minted from the `FRAMEWORK_MANAGED_SECRET_MATERIALS` registry at setup\n // and by the idempotent self-heal, so present for any file-backed env). The key is the SEC1 \"EC PRIVATE KEY\"\n // PEM immudb parses; written `0644` because the compose bind mount preserves host ownership and\n // immudb's container UID differs, so the file must be world-readable to load (proven in the\n // immudb integration test). SERVER-side ONLY — the private key never enters app env; the matching\n // PUBLIC key reaches the audit client via `IMMUDB_STATE_PUBLIC_KEY` (env-vars-builder). When no\n // keypair is provisioned the template's `{{#if immudbSigningKeyHostPath}}` block drops and immudb\n // runs UNSIGNED (client warns once) — graceful degradation.\n let immudbSigningKeyHostPath: string | undefined;\n // The built-in `immudb` admin's INITIAL password, sourced from the operator's `IMMUDB_PASSWORD`\n // provider secret so the server's admin login matches the credential the audit-sink provider\n // connects with. `IMMUDB_CREDENTIAL_ENV_KEYS`' own docstring states this copy as the contract\n // (\"its value is copied into the server's ADMIN_PASSWORD so the two always match (single source of\n // truth) — otherwise the server's admin login and the app's connection password would diverge (an\n // operator footgun)\"), and the K8S lane implements it (`k8s-secrets-generator` →\n // `immudb/deployment.yaml.hbs`). THIS lane did not: the compose service rendered no `environment:`\n // at all, so a self-hosted local immudb always initialized on immudb's PACKAGED DEFAULT admin\n // password while the app connected with the authored one — the exact divergence the contract names,\n // reachable only on the lane every developer runs. One contract, two deployment lanes, applied to\n // one (`.claude/rules/invariant-call-site-enumeration.md`).\n //\n // Read from the SAME `SecretsReader` load as the signing key. Undefined ⇒ the template's\n // `{{#if immudbAdminPassword}}` block drops and immudb keeps its packaged default, matching both\n // the previous compose behavior and the k8s lane's `optional: true` secretKeyRef.\n //\n // ⚠️ immudb only adopts this on a FRESH data dir — it is the INITIAL password, not a reset. An\n // existing `local_data/immudb` keeps whatever it was initialized with, so changing the authored\n // value on a provisioned env requires removing that directory (or rotating via `immuadmin`).\n let immudbAdminPassword: string | undefined;\n if (resolveIncludeLocalImmudb(env)) {\n const secrets = SecretsReader.loadSecrets(env.name);\n const signingPrivateKey = secrets?.immudb?.stateSigningPrivateKey;\n if (signingPrivateKey) {\n const signingKeyDir = join(localDataPath, IMMUDB_SIGNING_KEY_DIR);\n mkdirSync(signingKeyDir, { recursive: true });\n const signingKeyPath = join(signingKeyDir, IMMUDB_SIGNING_KEY_FILENAME);\n writeFileSync(signingKeyPath, signingPrivateKey, { mode: 0o644 });\n immudbSigningKeyHostPath = signingKeyPath;\n }\n immudbAdminPassword = secrets?.providerEnv?.[IMMUDB_CREDENTIAL_ENV_KEYS.PROVIDER.PASSWORD];\n }\n\n // Issue #74 — materialize the `mongot` sync-source password so BOTH containers that need it can\n // read the SAME bytes: `mongodb-init` creates the `searchCoordinator` user with it, and `mongot`\n // authenticates with it. Neither can be given the other's copy, and minting it per-container is\n // how the two silently diverge — so it comes from the single framework-managed material and is\n // written once here.\n //\n // `0400` because mongot enforces it (see MONGOT_PASSWORD_DIR). Written on every render, which is\n // deliberate: the compose file is skipped when it already exists, so a `local_data` reset that\n // removes this file while leaving the compose file behind is exactly the failure\n // `isComposeHostMountedArtifactMissing` was written for one service over — and here it would\n // surface as a mongot that cannot authenticate rather than as anything naming the missing file.\n //\n // `undefined` ⇒ the template's `{{#if mongotPasswordHostPath}}` guard drops the mongot service\n // entirely and mongod runs without a search sidecar. That is the honest degradation: a\n // half-wired mongot that mongod routes `$vectorSearch` to and that cannot answer is worse than\n // no mongot at all, because the application's boot probe tests REACHABILITY.\n let mongotPasswordHostPath: string | undefined;\n if (EnvironmentUtils.needsLocalMongoDB(env)) {\n const mongotPassword = SecretsReader.loadSecrets(env.name)?.mongot?.syncSourcePassword;\n if (mongotPassword) {\n const mongotAuthDir = join(localDataPath, MONGOT_PASSWORD_DIR);\n mkdirSync(mongotAuthDir, { recursive: true });\n const passwordPath = join(mongotAuthDir, MONGOT_PASSWORD_FILENAME);\n // A PREVIOUS render left this file at 0400 — owner READ-only — and `writeFileSync` opens for\n // WRITE, so a re-render EACCES's on the file it wrote itself. That made `wildo local init`\n // succeed exactly once per machine and fail on every subsequent run, which is the worst shape\n // for a first-run-only bug: the failure lands on someone whose environment already worked.\n // Widen just long enough to rewrite, then re-narrow. Unlinking instead would leave a window\n // with no file at all, which a running mongot re-reading its password would lose.\n if (existsSync(passwordPath)) {\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_REWRITE_MODE);\n }\n writeFileSync(passwordPath, mongotPassword, { mode: MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE });\n // `writeFileSync`'s `mode` is only honored when it CREATES the file — an existing file keeps\n // whatever mode it already had, so re-render alone cannot repair a loosened one. chmod\n // unconditionally, or a file that was ever created differently keeps crashing mongot.\n chmodSync(passwordPath, MONGOT_SYNC_SOURCE.PASSWORD_FILE_MODE);\n mongotPasswordHostPath = passwordPath;\n }\n }\n\n const context = {\n composeName: DEFAULT_DOCKER_COMPOSE_LOCAL_PROJECT_NAME,\n /**\n * Slice 2 Phase 5b Wave 2 — local OTel collector. `includeOtelCollector`\n * gates both the service (under `services:`) and the inline `configs:`\n * entry that supplies its config (the contrib image is distroless — no\n * shell for an entrypoint heredoc). Ports default to OTLP/HTTP 4318.\n */\n includeOtelCollector,\n otelCollectorHostPort,\n otelCollectorInternalPort: OTEL_OTLP_HTTP_DEFAULT_PORT,\n includeLocalMongoDB: EnvironmentUtils.needsLocalMongoDB(env),\n /**\n * NOT `config.database.engine === POSTGRESQL` — see\n * {@link EnvironmentLifecycle.needsLocalPostgreSQL}. That field also SUBTRACTS MongoDB\n * (`needsLocalMongoDB`), so it could never express \"MongoDB for the platform, PostgreSQL for the\n * application's resources\", which is what an app on the PostgreSQL persistence adapter needs.\n */\n includePostgreSQL: EnvironmentUtils.needsLocalPostgreSQL(env),\n /**\n * Cache / broker / object storage. Each gates its own service block AND its `depends_on` entry\n * on `platform-init` — both, or compose refuses the whole project with\n * `service \"platform-init\" depends on undefined service \"valkey\"`, which is the failure mode a\n * half-applied gate produces (`.claude/rules/invariant-call-site-enumeration.md`).\n * `includeLocalMinIO` additionally gates the `minio-init` bucket-creation step, which exists\n * only to serve the local MinIO.\n */\n includeLocalValkey: resolveIncludeLocalValkey(env),\n includeLocalRabbitMQ: resolveIncludeLocalRabbitMQ(env),\n includeLocalMinIO: resolveIncludeLocalMinIO(env),\n includeLocalClamAV: resolveIncludeLocalClamAV(env),\n includeLocalImmudb: resolveIncludeLocalImmudb(env),\n /**\n * Absolute host path of the materialized immudb state-signing PRIVATE key, or `undefined`\n * when immudb is not self-hosted / no keypair is provisioned. Gates the `--signingKey` block\n * (mount + `command`) in the compose immudb service so it signs its state.\n */\n immudbSigningKeyHostPath,\n /**\n * The self-hosted immudb server's INITIAL admin password, copied from the operator's\n * `providerEnv.IMMUDB_PASSWORD` so the server admin and the audit-sink client share one source of\n * truth. `undefined` ⇒ the template's `environment:` block drops and immudb keeps its packaged\n * default (matching the k8s lane's `optional: true` secretKeyRef).\n */\n immudbAdminPassword,\n /**\n * Issue #74 — absolute host path of the materialized mongot sync-source password file, or\n * `undefined` when this env self-hosts no mongod / carries no mongot material. Gates the whole\n * `mongot` service and the `mongodb-init` step that creates its user.\n */\n mongotPasswordHostPath,\n /** In-container mount point both mongot and mongodb-init read that file at. */\n mongotPasswordFilePath: MONGOT_SYNC_SOURCE.PASSWORD_FILE_PATH,\n /** The `searchCoordinator`-roled user mongot authenticates to mongod as. */\n mongotSyncSourceUsername: MONGOT_SYNC_SOURCE.USERNAME,\n mongotSyncSourceAuthSource: MONGOT_SYNC_SOURCE.AUTH_SOURCE,\n mongotConfigFilePath: MONGOT_SYNC_SOURCE.CONFIG_FILE_PATH,\n mongotDataPath: MONGOT_SYNC_SOURCE.DATA_PATH,\n includePlatformServices: !isFrameworkDeveloper,\n /** Step 6 — per-app minion + worker compose entries (under `app-runtimes` profile). */\n appMinions,\n appWorkers,\n /** Slug used to disambiguate compose service names across coexisting apps on the same host. */\n saasSlug: saasConfigForRuntimes?.slug ?? '',\n /**\n * Registry-qualified in app-creator mode, bare local name in framework-developer mode —\n * see `resolvePlatformImageRef` for why the two lanes differ and why the tag is the\n * framework version rather than `latest`.\n */\n platformImageRef: resolvePlatformImageRef({ isFrameworkDeveloper, frameworkVersion: readVersion(), imageTag }),\n localDataPath,\n /**\n * Host-side port mappings for self-deployed infra services. Each value\n * defaults to the image-internal port (which is what container-internal\n * traffic always uses); when the author overrides\n * `backingServices.<kind>.port` for a SELF source, that value drives the\n * host-side mapping so `localhost:${authorPort}` reaches the container.\n */\n infraHostPorts: {\n mongodb: resolveInfraHostPort(env, BackingServiceKind.MONGODB, INFRA_DEFAULT_PORTS.MONGODB),\n valkey: resolveInfraHostPort(env, BackingServiceKind.REDIS, INFRA_DEFAULT_PORTS.VALKEY),\n rabbitmq: resolveInfraHostPort(env, BackingServiceKind.RABBITMQ, INFRA_DEFAULT_PORTS.RABBITMQ),\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: resolveInfraHostPort(env, BackingServiceKind.S3, INFRA_DEFAULT_PORTS.MINIO),\n minioConsole: MINIO_CONSOLE_PORT,\n postgresql: resolveInfraHostPort(env, BackingServiceKind.POSTGRESQL, INFRA_DEFAULT_PORTS.POSTGRESQL),\n clamav: resolveInfraHostPort(env, BackingServiceKind.CLAMAV, INFRA_DEFAULT_PORTS.CLAMAV),\n immudb: resolveInfraHostPort(env, BackingServiceKind.IMMUDB, INFRA_DEFAULT_PORTS.IMMUDB),\n },\n infraInternalPorts: {\n mongodb: INFRA_DEFAULT_PORTS.MONGODB,\n valkey: INFRA_DEFAULT_PORTS.VALKEY,\n rabbitmq: INFRA_DEFAULT_PORTS.RABBITMQ,\n rabbitmqManagement: INFRA_DEFAULT_PORTS.RABBITMQ_MANAGEMENT,\n minio: INFRA_DEFAULT_PORTS.MINIO,\n minioConsole: MINIO_CONSOLE_PORT,\n postgresql: INFRA_DEFAULT_PORTS.POSTGRESQL,\n clamav: INFRA_DEFAULT_PORTS.CLAMAV,\n immudb: INFRA_DEFAULT_PORTS.IMMUDB,\n // Issue #74 — mongot's three listeners. Present in `infraInternalPorts` and deliberately\n // ABSENT from `infraHostPorts`: nothing on the host is a mongot client (clients talk to\n // mongod, which routes to mongot over gRPC), so publishing them would widen the local\n // attack surface for no consumer.\n mongotGrpc: INFRA_DEFAULT_PORTS.MONGOT_GRPC,\n mongotHealth: INFRA_DEFAULT_PORTS.MONGOT_HEALTH,\n mongotMetrics: INFRA_DEFAULT_PORTS.MONGOT_METRICS,\n },\n };\n\n const rendered = processor.processTemplate(FILE_NAMES.DOCKER_COMPOSE_TEMPLATE, context);\n\n const composeDir = EnvironmentUtils.resolveDockerComposeDir(env.name);\n if (!existsSync(composeDir)) {\n mkdirSync(composeDir, { recursive: true });\n }\n\n writeFileSync(join(composeDir, FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM), rendered);\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker-compose-readiness.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"docker-compose-readiness.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker-compose-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAI/D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,8BAA8B,SAAS,CAAC;AAerD,qBAAa,6BAA6B;WAC3B,YAAY,CACvB,QAAQ,EAAE,sBAAsB,EAChC,GAAG,EAAE,MAAM,EACX,cAAc,SAAM,GACnB,OAAO,CAAC,IAAI,CAAC;mBAkEK,qBAAqB;IA+B1C,OAAO,CAAC,MAAM,CAAC,kBAAkB;CAmBlC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAEtF;AAED;;;;;;;GAOG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAEjF;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE,MAAM,GAAG,IAAI,EAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GACzB,MAAM,GAAG,IAAI,CAOf;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,GAAG,GAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAA6E,GACtG,MAAM,GAAG,IAAI,CAgBf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker.schemas.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"docker.schemas.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker.schemas.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,sBAAsB;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docker.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"docker.service.d.ts","sourceRoot":"","sources":["../../../../../src/services/deployment/docker/docker.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,sDAAsD,CAAC;AAIlI,qBAAa,WAAW;IACtB,MAAM,CAAC,kBAAkB,IAAI,WAAW;IAcxC,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAWhD,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAS7C,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IASzE,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IASxE,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE;IAS1E,MAAM,CAAC,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,qBAAqB;IAa9D,MAAM,CAAC,gBAAgB,CACrB,QAAQ,EAAE,sBAAsB,EAChC,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,GAAE;QAAE,OAAO,CAAC,EAAE,OAAO,CAAA;KAAO,GAClC,MAAM;CAmBV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"host-toolchain-readiness.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"host-toolchain-readiness.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/host-toolchain-readiness.service.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC;CACpC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CACjC,OAAO,GAAE;IACP,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACtE,GACL,gBAAgB,CA2BlB;AAmCD,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-writer.service.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"infra-writer.service.d.ts","sourceRoot":"","sources":["../../../../src/services/deployment/infra-writer.service.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,qDAAqD,CAAC;AAC5G,OAAO,EAAE,sBAAsB,EAAE,MAAM,qDAAqD,CAAC;AAG7F,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,EAC/B,KAAK,mCAAmC,EACzC,MAAM,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAEtD;;;;;;;;;GASG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,gCAAgC,EACrC,aAAa,EAAE,MAAM,EACrB,oBAAoB,EAAE,OAAO,EAC7B,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,WAAW,EAAE,sBAAsB,EACnC,GAAG,EAAE,MAAM,EACX,mBAAmB,CAAC,EAAE,2BAA2B,EAAE,EACnD,aAAa,CAAC,EAAE,0BAA0B,EAAE,EAC5C,oBAAoB,CAAC,EAAE,mCAAmC,EAAE,GAC3D,OAAO,CAAC,IAAI,CAAC,CAyEf"}
|
|
@@ -30,6 +30,12 @@ export async function runInfraWrite(env, frameworkPath, isFrameworkDeveloper, im
|
|
|
30
30
|
log.success(chalk.green(' ✓ Platform service .env files generated'));
|
|
31
31
|
}
|
|
32
32
|
if (runtime === WildoDeploymentRuntime.KUBERNETES) {
|
|
33
|
+
// No `applicationMinions` / `applicationWorkers`, and that is a stated result rather than an
|
|
34
|
+
// omission (#369): this writer is the interactive `wildo setup` lane, whose only caller passes
|
|
35
|
+
// no `applicationBackends` either, so it emits platform and infrastructure Secrets and no
|
|
36
|
+
// application-tier ones at all. The lane that deploys an application's runtimes is
|
|
37
|
+
// `ci-deploy-generator`, and that is where the per-runtime provider Secrets are wired.
|
|
38
|
+
// Threading empty target lists through here would look wired and deliver nothing.
|
|
33
39
|
const k8sResources = generateK8sSecrets(env, credentials, {
|
|
34
40
|
applicationBackends,
|
|
35
41
|
isFrameworkDeveloper,
|
|
@@ -54,9 +60,11 @@ export async function runInfraWrite(env, frameworkPath, isFrameworkDeveloper, im
|
|
|
54
60
|
// `k8sResources` keeps the writer honest about category routing —
|
|
55
61
|
// any future generator-side category relabel automatically routes
|
|
56
62
|
// here without a parallel writer-side flag (the bug the M-2/HIGH-1
|
|
57
|
-
// round-3 fix closed: providers-secret was emitted as
|
|
58
|
-
// landed in `secrets/platform/` only when
|
|
59
|
-
// happened to be true at the writer side
|
|
63
|
+
// round-3 fix closed: the then-shared `providers-secret` was emitted as
|
|
64
|
+
// 'platform' but landed in `secrets/platform/` only when
|
|
65
|
+
// `includePlatformResources` happened to be true at the writer side —
|
|
66
|
+
// that Secret no longer exists, replaced by one per runtime in #369, and
|
|
67
|
+
// the routing lesson is what the derivation below preserves).
|
|
60
68
|
const usedCategories = new Set(Object.values(k8sResources).map((r) => r.category));
|
|
61
69
|
for (const category of usedCategories) {
|
|
62
70
|
mkdirSync(categoryDirs[category], { recursive: true });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-writer.service.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"infra-writer.service.js","sourceRoot":"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,MAAM,CAAC,YAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;QACnF,KAAK,MAAM,QAAQ,IAAI,cAAc,EAAE,CAAC;YACtC,SAAS,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;QAED,KAAK,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;YAC5D,MAAM,SAAS,GAAG,YAAY,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;YAClD,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,IAAI,OAAO,CAAC,EAAE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACxE,CAAC;QACD,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,4BAA4B,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,MAAM,aAAa,CAAC,CAAC,CAAC;IACtG,CAAC;AACH,CAAC","sourcesContent":["import chalk from 'chalk';\nimport { mkdirSync, rmSync, writeFileSync } from 'fs';\nimport { join } from 'path';\n\nimport type { PlatformEnvironmentConfiguration } from '~wildo-cli/services/environment/environment.schemas';\nimport { PlatformEnvSecretsJson } from '~wildo-cli/services/credentials/credentials.schemas';\nimport { FILE_NAMES } from '~wildo-cli/infrastructure/io/io.schemas';\nimport { generateEnvWildoPlatform, renderDockerComposeTemplate } from '~wildo-cli/services/deployment/docker/docker-compose-generator.service';\nimport {\n generatePlatformServiceEnvFiles,\n type ApplicationBackendEnvTarget,\n type CompanionPlatformEnvTarget,\n type ApplicationFrontendEnvExampleTarget,\n} from '~wildo-cli/services/environment/env-configuration-generator.service';\nimport { EnvironmentPaths } from '~wildo-cli/services/environment/environment-paths.service';\nimport { WildoDeploymentRuntime } from '@wildo-ai/platform-config-lib';\nimport { generateK8sSecrets } from '~wildo-cli/services/deployment/k8s/k8s-secrets-generator.service';\nimport type { Logger } from '~wildo-cli/kernel/types';\n\n/**\n * Phase 2 — infrastructure file write.\n *\n * Branches on `env.runtime`:\n * - Docker Compose → docker-compose template, .env.wildo-platform, service .env files\n * - Kubernetes → K8s secret YAMLs only (manifests are generated during bootstrap)\n *\n * Platform service .env files are generated for framework developers regardless\n * of runtime (they run services natively with hot-reload).\n */\nexport async function runInfraWrite(\n env: PlatformEnvironmentConfiguration,\n frameworkPath: string,\n isFrameworkDeveloper: boolean,\n imageTag: string | undefined,\n credentials: PlatformEnvSecretsJson,\n log: Logger,\n applicationBackends?: ApplicationBackendEnvTarget[],\n companionApis?: CompanionPlatformEnvTarget[],\n applicationFrontends?: ApplicationFrontendEnvExampleTarget[],\n): Promise<void> {\n const runtime = env.runtime;\n\n if (runtime === WildoDeploymentRuntime.DOCKER_COMPOSE) {\n await renderDockerComposeTemplate(env, frameworkPath, isFrameworkDeveloper, imageTag);\n log.success(chalk.green(` ✓ ${FILE_NAMES.DOCKER_COMPOSE_WILDO_PLATFORM} rendered`));\n\n generateEnvWildoPlatform(env, isFrameworkDeveloper, credentials);\n log.success(chalk.green(' ✓ .env.wildo-platform written'));\n }\n\n if (isFrameworkDeveloper) {\n generatePlatformServiceEnvFiles(\n env,\n frameworkPath,\n credentials,\n log,\n applicationBackends,\n companionApis,\n applicationFrontends,\n );\n log.success(chalk.green(' ✓ Platform service .env files generated'));\n }\n\n if (runtime === WildoDeploymentRuntime.KUBERNETES) {\n // No `applicationMinions` / `applicationWorkers`, and that is a stated result rather than an\n // omission (#369): this writer is the interactive `wildo setup` lane, whose only caller passes\n // no `applicationBackends` either, so it emits platform and infrastructure Secrets and no\n // application-tier ones at all. The lane that deploys an application's runtimes is\n // `ci-deploy-generator`, and that is where the per-runtime provider Secrets are wired.\n // Threading empty target lists through here would look wired and deliver nothing.\n const k8sResources = generateK8sSecrets(env, credentials, {\n applicationBackends,\n isFrameworkDeveloper,\n });\n const infraPath = EnvironmentPaths.resolveInfraDir(env.name);\n const secretsOutputDir = join(infraPath, 'secrets');\n const categoryDirs: Record<string, string> = {\n platform: join(secretsOutputDir, 'platform'),\n infrastructure: secretsOutputDir,\n application: join(secretsOutputDir, 'applications'),\n };\n\n // Always wipe the platform/ subdir so a previous run that emitted\n // platform-service Secrets/ConfigMaps doesn't leak stale files when\n // the framework-developer toggle (or runtime policy) flips and this\n // run no longer emits any platform-category resource. We don't wipe\n // application/ symmetrically because per-app Secret files are owned\n // jointly with apps-manager's dynamic lane and pruning belongs to a\n // dedicated reaper, not the writer.\n mkdirSync(secretsOutputDir, { recursive: true });\n rmSync(categoryDirs.platform, { recursive: true, force: true });\n\n // Create exactly the dirs the emitted resources need. Deriving from\n // `k8sResources` keeps the writer honest about category routing —\n // any future generator-side category relabel automatically routes\n // here without a parallel writer-side flag (the bug the M-2/HIGH-1\n // round-3 fix closed: the then-shared `providers-secret` was emitted as\n // 'platform' but landed in `secrets/platform/` only when\n // `includePlatformResources` happened to be true at the writer side —\n // that Secret no longer exists, replaced by one per runtime in #369, and\n // the routing lesson is what the derivation below preserves).\n const usedCategories = new Set(Object.values(k8sResources).map((r) => r.category));\n for (const category of usedCategories) {\n mkdirSync(categoryDirs[category], { recursive: true });\n }\n\n for (const [name, resource] of Object.entries(k8sResources)) {\n const targetDir = categoryDirs[resource.category];\n writeFileSync(join(targetDir, `${name}.yaml`), resource.yaml, 'utf8');\n }\n log.success(chalk.green(` ✓ K8s secrets written (${Object.keys(k8sResources).length} resources)`));\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"k8s-bootstrap.service.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"k8s-bootstrap.service.test.d.ts","sourceRoot":"","sources":["../../../../../../src/services/deployment/k8s/__tests__/k8s-bootstrap.service.test.ts"],"names":[],"mappings":""}
|
package/dist/src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"k8s-manifest-generator.service.test.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"k8s-manifest-generator.service.test.d.ts","sourceRoot":"","sources":["../../../../../../src/services/deployment/k8s/__tests__/k8s-manifest-generator.service.test.ts"],"names":[],"mappings":""}
|