@empire-builder-kit/nx 1.0.0-rc.37 → 1.0.0-rc.39
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/README.md +18 -0
- package/executors.json +5 -0
- package/generators.json +10 -0
- package/package.json +20 -3
- package/src/aws-authority/index.d.ts +1 -0
- package/src/aws-authority/index.js +1 -0
- package/src/aws-authority/lambda-policy-ordering.d.ts +38 -0
- package/src/aws-authority/lambda-policy-ordering.js +56 -0
- package/src/aws-authority/stage-authority.d.ts +11 -3
- package/src/aws-authority/stage-authority.js +615 -29
- package/src/blueprints/external-sandbox.js +21 -9
- package/src/blueprints/manifest.d.ts +1 -1
- package/src/blueprints/resolver.js +28 -15
- package/src/cli/bootstrap.d.ts +1 -1
- package/src/cli/deploy-runtime.d.ts +6 -0
- package/src/cli/deploy-runtime.js +58 -0
- package/src/cli/dev-command.d.ts +16 -4
- package/src/cli/dev-command.js +63 -0
- package/src/cli/main.d.ts +7 -1
- package/src/cli/main.js +128 -20
- package/src/cli/output.d.ts +1 -1
- package/src/developer-agent/context.js +41 -9
- package/src/developer-agent/generator-planning.js +16 -2
- package/src/developer-agent/git-inspection.d.ts +6 -2
- package/src/developer-agent/git-inspection.js +78 -6
- package/src/developer-agent/model.d.ts +4 -2
- package/src/developer-agent/operation-registry.d.ts +5 -0
- package/src/developer-agent/operation-registry.js +179 -23
- package/src/developer-agent/preview-changes.d.ts +2 -0
- package/src/developer-agent/preview-changes.js +14 -2
- package/src/developer-agent/preview-source.js +3 -0
- package/src/developer-agent/validation.js +20 -8
- package/src/developer-agent/workspace-inspection.js +37 -3
- package/src/executors/deployment-plan/deployment-plan.d.ts +2 -0
- package/src/executors/deployment-plan/deployment-plan.js +51 -4
- package/src/executors/dev-doctor/dev-doctor.js +13 -6
- package/src/executors/dev-task-cleanup/dev-task-cleanup.d.ts +23 -0
- package/src/executors/dev-task-cleanup/dev-task-cleanup.js +145 -0
- package/src/executors/dev-task-cleanup/schema.json +9 -0
- package/src/executors/dev-task-cleanup/task-stack-absence.d.ts +27 -0
- package/src/executors/dev-task-cleanup/task-stack-absence.js +281 -0
- package/src/executors/dev-task-cleanup/task-stack-checkpoint.d.ts +12 -0
- package/src/executors/dev-task-cleanup/task-stack-checkpoint.js +92 -0
- package/src/executors/fleet/fleet.js +1 -1
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.js +28 -1
- package/src/executors/local-deploy/local-deploy.d.ts +8 -1
- package/src/executors/local-deploy/local-deploy.js +97 -24
- package/src/executors/local-deploy/schema.json +8 -0
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.js +30 -18
- package/src/executors/sst-lifecycle/governed-native-operation.d.ts +2 -0
- package/src/executors/sst-lifecycle/governed-native-operation.js +9 -0
- package/src/executors/sst-lifecycle/run-sst-command.d.ts +5 -0
- package/src/executors/sst-lifecycle/run-sst-command.js +220 -32
- package/src/executors/sst-lifecycle/sst-environment-source.d.ts +8 -0
- package/src/executors/sst-lifecycle/sst-environment-source.js +54 -0
- package/src/executors/sst-lifecycle/task-unlock.d.ts +15 -0
- package/src/executors/sst-lifecycle/task-unlock.js +126 -0
- package/src/foundation/capability-plan.d.ts +43 -0
- package/src/foundation/capability-plan.js +168 -0
- package/src/foundation/discovery.d.ts +14 -11
- package/src/foundation/discovery.js +32 -6
- package/src/foundation/index.d.ts +1 -0
- package/src/foundation/index.js +1 -0
- package/src/foundation/local-database-contract.d.ts +20 -0
- package/src/foundation/local-database-contract.js +262 -13
- package/src/foundation/local-private-smoke-access.d.ts +20 -0
- package/src/foundation/local-private-smoke-access.js +197 -0
- package/src/foundation/preflight.js +37 -18
- package/src/foundation/private-smoke-access.js +10 -2
- package/src/foundation/private-smoke-admission.d.ts +3 -1
- package/src/foundation/private-smoke-admission.js +29 -8
- package/src/foundation/private-smoke-control-plane.js +17 -6
- package/src/foundation/provision-database-bindings.d.ts +5 -0
- package/src/foundation/provision-database-bindings.js +41 -8
- package/src/foundation/provision-logical-database.js +13 -8
- package/src/foundation/requirements.d.ts +3 -3
- package/src/foundation/requirements.js +24 -12
- package/src/foundation/router-waf.d.ts +1 -0
- package/src/foundation/router-waf.js +14 -1
- package/src/generators/blueprint/blueprint.d.ts +5 -0
- package/src/generators/blueprint/blueprint.js +102 -0
- package/src/generators/blueprint/files.d.ts +6 -0
- package/src/generators/blueprint/files.js +217 -0
- package/src/generators/blueprint/schema.d.ts +4 -0
- package/src/generators/blueprint/schema.json +18 -0
- package/src/generators/formatting.js +24 -1
- package/src/generators/logging-registry.d.ts +2 -0
- package/src/generators/logging-registry.js +22 -0
- package/src/generators/preset/workspace-files-adopter-skills.d.ts +7 -0
- package/src/generators/preset/workspace-files-adopter-skills.js +301 -0
- package/src/generators/preset/workspace-files-ci-install.d.ts +2 -0
- package/src/generators/preset/workspace-files-ci-install.js +196 -0
- package/src/generators/preset/workspace-files-developer-agent.js +40 -13
- package/src/generators/preset/workspace-files-performance-load.js +8 -0
- package/src/generators/preset/workspace-files-stage-authority.js +40 -1
- package/src/generators/preset/workspace-files-thin-deploy.js +66 -34
- package/src/generators/preset/workspace-files-thin-docs.js +64 -18
- package/src/generators/preset/workspace-files.d.ts +4 -0
- package/src/generators/preset/workspace-files.js +159 -91
- package/src/generators/repository-policy/repository-policy.js +37 -0
- package/src/generators/slice/built-in-plan-api-contract-files.js +42 -7
- package/src/generators/slice/built-in-plan-api-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-api-files.js +47 -389
- package/src/generators/slice/built-in-plan-async-work-files.js +19 -1912
- package/src/generators/slice/built-in-plan-authorization-files.js +92 -329
- package/src/generators/slice/built-in-plan-authorization-infrastructure-files.js +36 -2
- package/src/generators/slice/built-in-plan-authorization-storage.d.ts +3 -0
- package/src/generators/slice/built-in-plan-authorization-storage.js +119 -0
- package/src/generators/slice/built-in-plan-background-work-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-background-work-files.js +15 -5
- package/src/generators/slice/built-in-plan-data-deletion-files.js +2 -830
- package/src/generators/slice/built-in-plan-data-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-data-files.js +61 -1164
- package/src/generators/slice/built-in-plan-data-lifecycle-files.js +53 -28
- package/src/generators/slice/built-in-plan-data-lifecycle-runtime-files.js +18 -2
- package/src/generators/slice/built-in-plan-data-retention-job-files.js +7 -2446
- package/src/generators/slice/built-in-plan-data-retention-launcher-files.js +30 -6
- package/src/generators/slice/built-in-plan-data-rights-files.js +6 -4482
- package/src/generators/slice/built-in-plan-database-lifecycle-files.js +4 -15
- package/src/generators/slice/built-in-plan-foundation-files.d.ts +2 -1
- package/src/generators/slice/built-in-plan-foundation-files.js +34 -10
- package/src/generators/slice/built-in-plan-frontend-files.js +2 -2
- package/src/generators/slice/built-in-plan-infrastructure-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-infrastructure-files.js +180 -522
- package/src/generators/slice/built-in-plan-key-value-cleanup.d.ts +4 -0
- package/src/generators/slice/built-in-plan-key-value-cleanup.js +100 -0
- package/src/generators/slice/built-in-plan-key-value-consumer.d.ts +4 -0
- package/src/generators/slice/built-in-plan-key-value-consumer.js +151 -0
- package/src/generators/slice/built-in-plan-key-value-deletion.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-deletion.js +377 -0
- package/src/generators/slice/built-in-plan-key-value-delivery.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-delivery.js +120 -0
- package/src/generators/slice/built-in-plan-key-value-export.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-export.js +595 -0
- package/src/generators/slice/built-in-plan-key-value-files.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-files.js +31 -0
- package/src/generators/slice/built-in-plan-key-value-holds.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-holds.js +189 -0
- package/src/generators/slice/built-in-plan-key-value-infrastructure.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-infrastructure.js +102 -0
- package/src/generators/slice/built-in-plan-key-value-performance.d.ts +5 -0
- package/src/generators/slice/built-in-plan-key-value-performance.js +530 -0
- package/src/generators/slice/built-in-plan-key-value-provider.d.ts +4 -0
- package/src/generators/slice/built-in-plan-key-value-provider.js +366 -0
- package/src/generators/slice/built-in-plan-key-value-records.d.ts +3 -0
- package/src/generators/slice/built-in-plan-key-value-records.js +232 -0
- package/src/generators/slice/built-in-plan-key-value-retention-infrastructure.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-retention-infrastructure.js +103 -0
- package/src/generators/slice/built-in-plan-key-value-retention-job-files.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-retention-job-files.js +160 -0
- package/src/generators/slice/built-in-plan-key-value-retention-maintenance.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-retention-maintenance.js +329 -0
- package/src/generators/slice/built-in-plan-key-value-retention-worker.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-retention-worker.js +477 -0
- package/src/generators/slice/built-in-plan-key-value-retention.d.ts +2 -0
- package/src/generators/slice/built-in-plan-key-value-retention.js +184 -0
- package/src/generators/slice/built-in-plan-metadata-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-metadata-files.js +140 -28
- package/src/generators/slice/built-in-plan-native-runtime-authority-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-native-runtime-authority-files.js +36 -19
- package/src/generators/slice/built-in-plan-operations-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-operations-files.js +89 -50
- package/src/generators/slice/built-in-plan-performance-files.js +84 -1010
- package/src/generators/slice/built-in-plan-project-files.js +116 -67
- package/src/generators/slice/built-in-plan-release-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-release-files.js +64 -15
- package/src/generators/slice/built-in-plan-reliability-files.js +54 -28
- package/src/generators/slice/built-in-plan-shared.d.ts +4 -2
- package/src/generators/slice/built-in-plan-shared.js +41 -19
- package/src/generators/slice/built-in-plan-sql-events.d.ts +2 -0
- package/src/generators/slice/built-in-plan-sql-events.js +257 -0
- package/src/generators/slice/built-in-plan-testing-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-testing-files.js +184 -132
- package/src/generators/slice/built-in-plan-testing-persistence-files.d.ts +2 -0
- package/src/generators/slice/built-in-plan-testing-persistence-files.js +178 -0
- package/src/generators/slice/built-in-plan-thin-release-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-thin-release-files.js +35 -2
- package/src/generators/slice/built-in-plan-verification-files.js +70 -0
- package/src/generators/slice/built-in-plan-web-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-web-files.js +206 -14
- package/src/generators/slice/built-in-plan-workload-role-files.d.ts +1 -1
- package/src/generators/slice/built-in-plan-workload-role-files.js +113 -274
- package/src/generators/slice/built-in-plan.d.ts +9 -1
- package/src/generators/slice/built-in-plan.js +49 -21
- package/src/generators/slice/data-policy-review-seed.d.ts +2 -0
- package/src/generators/slice/data-policy-review-seed.js +22 -0
- package/src/generators/slice/deployed-smoke-readiness.d.ts +2 -0
- package/src/generators/slice/deployed-smoke-readiness.js +214 -0
- package/src/generators/slice/local-source-identity.d.ts +2 -0
- package/src/generators/slice/local-source-identity.js +31 -0
- package/src/generators/slice/persistence-contract.d.ts +14 -0
- package/src/generators/slice/persistence-contract.js +32 -0
- package/src/generators/slice/slice.js +29 -24
- package/src/generators/sql/schema.d.ts +7 -0
- package/src/generators/sql/schema.json +38 -0
- package/src/generators/sql/sql.d.ts +6 -0
- package/src/generators/sql/sql.js +53 -0
- package/src/generators/upgrade/sql-seeded-reconciliation.d.ts +2 -0
- package/src/generators/upgrade/sql-seeded-reconciliation.js +170 -0
- package/src/generators/upgrade/upgrade.d.ts +2 -0
- package/src/generators/upgrade/upgrade.js +136 -9
- package/src/generators/workload/workload.js +51 -2
- package/src/local-dev/browser-verification.d.ts +37 -0
- package/src/local-dev/browser-verification.js +281 -0
- package/src/local-dev/contracts.d.ts +10 -1
- package/src/local-dev/contracts.js +114 -13
- package/src/local-dev/dev-command-core.js +24 -5
- package/src/local-dev/docker-credential-health.d.ts +14 -0
- package/src/local-dev/docker-credential-health.js +94 -0
- package/src/local-dev/environment-inspector.d.ts +7 -0
- package/src/local-dev/environment-inspector.js +42 -15
- package/src/local-dev/environment-state.js +2 -2
- package/src/local-dev/errors.d.ts +1 -1
- package/src/local-dev/errors.js +2 -0
- package/src/local-dev/fleet-client.js +2 -2
- package/src/local-dev/fleet-configuration.js +57 -25
- package/src/local-dev/fleet-inventory.js +46 -18
- package/src/local-dev/fleet-ipc.d.ts +7 -0
- package/src/local-dev/fleet-ipc.js +14 -2
- package/src/local-dev/fleet-launcher.d.ts +6 -0
- package/src/local-dev/fleet-launcher.js +14 -2
- package/src/local-dev/fleet-logs.js +50 -22
- package/src/local-dev/fleet-process.d.ts +20 -1
- package/src/local-dev/fleet-process.js +197 -41
- package/src/local-dev/fleet-runner-evidence.d.ts +5 -0
- package/src/local-dev/fleet-runner-evidence.js +56 -0
- package/src/local-dev/fleet-runtime.js +268 -229
- package/src/local-dev/fleet-session.d.ts +2 -0
- package/src/local-dev/fleet-session.js +28 -11
- package/src/local-dev/fleet-slice-runner-daemon.js +4 -0
- package/src/local-dev/fleet-state.d.ts +5 -2
- package/src/local-dev/fleet-state.js +25 -4
- package/src/local-dev/fleet-supervisor.d.ts +3 -0
- package/src/local-dev/fleet-supervisor.js +66 -11
- package/src/local-dev/fleet-web-start.d.ts +12 -0
- package/src/local-dev/fleet-web-start.js +48 -0
- package/src/local-dev/identity.js +3 -14
- package/src/local-dev/index.d.ts +1 -0
- package/src/local-dev/index.js +1 -0
- package/src/local-dev/native-completion.d.ts +9 -0
- package/src/local-dev/native-completion.js +130 -0
- package/src/local-dev/nx-workspace.d.ts +4 -2
- package/src/local-dev/nx-workspace.js +11 -6
- package/src/local-dev/personal-stage.d.ts +4 -5
- package/src/local-dev/personal-stage.js +6 -54
- package/src/local-dev/port-claims.d.ts +13 -0
- package/src/local-dev/port-claims.js +46 -0
- package/src/local-dev/ports.d.ts +14 -2
- package/src/local-dev/ports.js +78 -3
- package/src/local-dev/private-state.d.ts +6 -0
- package/src/local-dev/private-state.js +126 -34
- package/src/local-dev/process-group.d.ts +4 -0
- package/src/local-dev/process-group.js +29 -0
- package/src/local-dev/process-identity.d.ts +8 -0
- package/src/local-dev/process-identity.js +31 -1
- package/src/local-dev/proxy.js +11 -12
- package/src/local-dev/runtime-paths.js +1 -1
- package/src/local-dev/slice-claim.js +1 -1
- package/src/local-dev/slice-runner.d.ts +15 -6
- package/src/local-dev/slice-runner.js +189 -54
- package/src/local-dev/task-attachment.d.ts +17 -0
- package/src/local-dev/task-attachment.js +73 -0
- package/src/local-dev/task-authority.d.ts +10 -0
- package/src/local-dev/task-authority.js +27 -0
- package/src/local-dev/task-identity.d.ts +33 -0
- package/src/local-dev/task-identity.js +418 -0
- package/src/local-dev/task-native-writer.d.ts +18 -0
- package/src/local-dev/task-native-writer.js +329 -0
- package/src/local-dev/tls.js +3 -1
- package/src/local-dev/web-launch.d.ts +9 -0
- package/src/local-dev/web-launch.js +130 -0
- package/src/ownership/composition.d.ts +2 -1
- package/src/ownership/composition.js +1 -0
- package/src/performance/scenario.d.ts +22 -0
- package/src/performance/scenario.js +100 -92
- package/src/repository-policy/deployment-plan.d.ts +2 -2
- package/src/repository-policy/deployment-plan.js +2 -1
- package/src/repository-policy/policy.js +38 -3
- package/src/schemas/blueprint-v1.json +5 -4
- package/src/schemas/foundation-requirement-v1.json +5 -4
- package/src/schemas/testing-evidence-result-v1.json +1 -1
- package/src/secrets/operator.d.ts +3 -1
- package/src/secrets/operator.js +22 -3
- package/src/sst-environment-source-format.d.ts +3 -0
- package/src/sst-environment-source-format.js +20 -0
- package/src/supply-chain/blueprint-trust-git.js +13 -3
- package/src/supply-chain/build-output.js +15 -0
- package/src/supply-chain/generated-blueprint-trust-command.js +18 -1
- package/src/testing-evidence/fixture-scope.d.ts +2 -1
- package/src/testing-evidence/fixture-scope.js +4 -2
- package/src/testing-evidence/result.d.ts +2 -1
- package/src/testing-evidence/result.js +18 -4
- package/src/workload-roles/standard-slice.js +2 -3
- package/src/api-contract/baseline-update.js.map +0 -1
- package/src/api-contract/compatibility.js.map +0 -1
- package/src/api-contract/contract-graph.js.map +0 -1
- package/src/api-contract/evidence.js.map +0 -1
- package/src/api-contract/index.js.map +0 -1
- package/src/api-contract/model.fixtures.d.ts +0 -2
- package/src/api-contract/model.fixtures.js +0 -81
- package/src/api-contract/model.fixtures.js.map +0 -1
- package/src/api-contract/model.js.map +0 -1
- package/src/api-contract/rollout.js.map +0 -1
- package/src/authorization/compatibility.js.map +0 -1
- package/src/authorization/index.js.map +0 -1
- package/src/aws/child-environment.js.map +0 -1
- package/src/aws/identity.js.map +0 -1
- package/src/aws-authority/index.js.map +0 -1
- package/src/aws-authority/stage-authority.js.map +0 -1
- package/src/blueprints/execution.js.map +0 -1
- package/src/blueprints/external-sandbox.js.map +0 -1
- package/src/blueprints/index.js.map +0 -1
- package/src/blueprints/inputs.js.map +0 -1
- package/src/blueprints/manifest.js.map +0 -1
- package/src/blueprints/resolver.js.map +0 -1
- package/src/blueprints/transitions.js.map +0 -1
- package/src/cli/agent-command.js.map +0 -1
- package/src/cli/agent-runtime.js.map +0 -1
- package/src/cli/blueprint-authority.js.map +0 -1
- package/src/cli/blueprint-command.js.map +0 -1
- package/src/cli/bootstrap.js.map +0 -1
- package/src/cli/dev-command.js.map +0 -1
- package/src/cli/main.js.map +0 -1
- package/src/cli/output.js.map +0 -1
- package/src/cli/personal-secret-runtime.js.map +0 -1
- package/src/cli/secret-terminal.js.map +0 -1
- package/src/container-images.js.map +0 -1
- package/src/data-lifecycle/index.js.map +0 -1
- package/src/data-lifecycle/model.fixtures.d.ts +0 -2
- package/src/data-lifecycle/model.fixtures.js +0 -244
- package/src/data-lifecycle/model.fixtures.js.map +0 -1
- package/src/data-lifecycle/model.js.map +0 -1
- package/src/data-lifecycle/sensitive-artifacts.js.map +0 -1
- package/src/data-lifecycle/validation.js.map +0 -1
- package/src/database-retirement/contract.js.map +0 -1
- package/src/database-retirement/index.js.map +0 -1
- package/src/deterministic-order.js.map +0 -1
- package/src/developer-agent/context.js.map +0 -1
- package/src/developer-agent/generator-planning.js.map +0 -1
- package/src/developer-agent/generator-preview.js.map +0 -1
- package/src/developer-agent/git-inspection.js.map +0 -1
- package/src/developer-agent/handoff.js.map +0 -1
- package/src/developer-agent/index.js.map +0 -1
- package/src/developer-agent/model.js.map +0 -1
- package/src/developer-agent/operation-registry.js.map +0 -1
- package/src/developer-agent/ordering.js.map +0 -1
- package/src/developer-agent/planning.js.map +0 -1
- package/src/developer-agent/preview-changes.js.map +0 -1
- package/src/developer-agent/preview-source.js.map +0 -1
- package/src/developer-agent/validation.js.map +0 -1
- package/src/developer-agent/workspace-inspection.js.map +0 -1
- package/src/developer-agent/workspace-path.js.map +0 -1
- package/src/executors/blueprint-trust/blueprint-trust.js.map +0 -1
- package/src/executors/blueprint-verification/blueprint-verification.js.map +0 -1
- package/src/executors/deploy/deploy.js.map +0 -1
- package/src/executors/deployment-plan/deployment-plan.js.map +0 -1
- package/src/executors/dev/dev.js.map +0 -1
- package/src/executors/dev-doctor/dev-doctor.js.map +0 -1
- package/src/executors/dev-setup/dev-setup.js.map +0 -1
- package/src/executors/developer-context/developer-context.js.map +0 -1
- package/src/executors/fleet/fleet.js.map +0 -1
- package/src/executors/foundation-preflight/foundation-preflight.js.map +0 -1
- package/src/executors/foundation-profile-preflight/foundation-profile-preflight.js.map +0 -1
- package/src/executors/foundation-profile-preflight/production-database-safeguard.js.map +0 -1
- package/src/executors/foundation-remove-preflight/foundation-remove-preflight.js.map +0 -1
- package/src/executors/github-bootstrap/github-bootstrap.js.map +0 -1
- package/src/executors/infrastructure-plan/infrastructure-plan.js.map +0 -1
- package/src/executors/local-deploy/federated-credential-transport.js.map +0 -1
- package/src/executors/local-deploy/fixtures/local-deploy-state-machine.mjs +0 -53
- package/src/executors/local-deploy/local-approval.js.map +0 -1
- package/src/executors/local-deploy/local-deploy.js.map +0 -1
- package/src/executors/refresh/refresh.js.map +0 -1
- package/src/executors/remove/remove.js.map +0 -1
- package/src/executors/router-waf-rehearsal/router-waf-rehearsal.js.map +0 -1
- package/src/executors/secret-guardrails/secret-guardrails.js.map +0 -1
- package/src/executors/secret-initialize/secret-initialize.js.map +0 -1
- package/src/executors/secret-metadata/secret-metadata.js.map +0 -1
- package/src/executors/sst-lifecycle/generated-secret-retirement.js.map +0 -1
- package/src/executors/sst-lifecycle/governed-native-operation.js.map +0 -1
- package/src/executors/sst-lifecycle/logging-preflight.js.map +0 -1
- package/src/executors/sst-lifecycle/run-sst-command.js.map +0 -1
- package/src/executors/sst-lifecycle/secret-preflight.js.map +0 -1
- package/src/executors/sst-lifecycle/sst-environment-source.js.map +0 -1
- package/src/executors/unlock/unlock.js.map +0 -1
- package/src/executors/work-markers/work-markers.js.map +0 -1
- package/src/foundation/discovery.js.map +0 -1
- package/src/foundation/index.js.map +0 -1
- package/src/foundation/local-database-contract.js.map +0 -1
- package/src/foundation/logging-preflight.js.map +0 -1
- package/src/foundation/logging.js.map +0 -1
- package/src/foundation/partial-state.js.map +0 -1
- package/src/foundation/preflight.js.map +0 -1
- package/src/foundation/private-smoke-access.js.map +0 -1
- package/src/foundation/private-smoke-admission.js.map +0 -1
- package/src/foundation/private-smoke-control-plane.js.map +0 -1
- package/src/foundation/provision-database-bindings.js.map +0 -1
- package/src/foundation/provision-logical-database.js.map +0 -1
- package/src/foundation/requirements.js.map +0 -1
- package/src/foundation/router-origin-proof.js.map +0 -1
- package/src/foundation/router-waf-rate-rehearsal.js.map +0 -1
- package/src/foundation/router-waf.js.map +0 -1
- package/src/foundation/stages.js.map +0 -1
- package/src/frontend-security/index.js.map +0 -1
- package/src/frontend-security/security-headers.js.map +0 -1
- package/src/generators/feature-registry.js.map +0 -1
- package/src/generators/formatting.js.map +0 -1
- package/src/generators/function/function.js.map +0 -1
- package/src/generators/job/job.js.map +0 -1
- package/src/generators/logging-registry.js.map +0 -1
- package/src/generators/post-generation-install.js.map +0 -1
- package/src/generators/preset/dependency-overrides.js.map +0 -1
- package/src/generators/preset/generator.js.map +0 -1
- package/src/generators/preset/tool-versions.js.map +0 -1
- package/src/generators/preset/workspace-files-ci-acceptance.js.map +0 -1
- package/src/generators/preset/workspace-files-developer-agent.js.map +0 -1
- package/src/generators/preset/workspace-files-ecr-inspector.js.map +0 -1
- package/src/generators/preset/workspace-files-foundation-workload-roles.js.map +0 -1
- package/src/generators/preset/workspace-files-performance-cost.js.map +0 -1
- package/src/generators/preset/workspace-files-performance-load.js.map +0 -1
- package/src/generators/preset/workspace-files-stage-authority.js.map +0 -1
- package/src/generators/preset/workspace-files-thin-deploy.js.map +0 -1
- package/src/generators/preset/workspace-files-thin-docs.js.map +0 -1
- package/src/generators/preset/workspace-files-thin-release.js.map +0 -1
- package/src/generators/preset/workspace-files-workload-role-baseline.js.map +0 -1
- package/src/generators/preset/workspace-files.js.map +0 -1
- package/src/generators/repository-policy/repository-policy.js.map +0 -1
- package/src/generators/repository-policy/tree-policy.js.map +0 -1
- package/src/generators/service/service.js.map +0 -1
- package/src/generators/slice/built-in-plan-api-contract-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-api-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-async-work-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-authorization-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-authorization-infrastructure-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-background-work-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-deletion-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-export-infrastructure-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-lifecycle-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-lifecycle-runtime-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-retention-job-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-retention-launcher-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-data-rights-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-database-lifecycle-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-database-retirement-rehearsal-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-foundation-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-frontend-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-infrastructure-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-infrastructure-safety-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-metadata-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-native-runtime-authority-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-operations-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-performance-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-project-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-release-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-reliability-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-secret-runtime-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-shared.js.map +0 -1
- package/src/generators/slice/built-in-plan-testing-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-thin-release-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-verification-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-web-files.js.map +0 -1
- package/src/generators/slice/built-in-plan-workload-role-files.js.map +0 -1
- package/src/generators/slice/built-in-plan.js.map +0 -1
- package/src/generators/slice/slice.js.map +0 -1
- package/src/generators/upgrade/upgrade.js.map +0 -1
- package/src/generators/workload/frozen-container.js.map +0 -1
- package/src/generators/workload/performance-registration.js.map +0 -1
- package/src/generators/workload/reliability-registration.js.map +0 -1
- package/src/generators/workload/service-performance-files.js.map +0 -1
- package/src/generators/workload/workload.js.map +0 -1
- package/src/git-policy/action-pins.js.map +0 -1
- package/src/git-policy/github-bootstrap.js.map +0 -1
- package/src/git-policy/index.js.map +0 -1
- package/src/git-policy/routing.js.map +0 -1
- package/src/index.js.map +0 -1
- package/src/infrastructure-change/convergence.js.map +0 -1
- package/src/infrastructure-change/drift.js.map +0 -1
- package/src/infrastructure-change/index.js.map +0 -1
- package/src/infrastructure-change/local-capability.js.map +0 -1
- package/src/infrastructure-change/model.js.map +0 -1
- package/src/infrastructure-change/normalize.js.map +0 -1
- package/src/infrastructure-change/plan.js.map +0 -1
- package/src/infrastructure-change/risk.js.map +0 -1
- package/src/infrastructure-change/summary.js.map +0 -1
- package/src/local-dev/context-discovery.js.map +0 -1
- package/src/local-dev/contract-validation.js.map +0 -1
- package/src/local-dev/contracts.js.map +0 -1
- package/src/local-dev/control-contract.js.map +0 -1
- package/src/local-dev/dev-command-core.js.map +0 -1
- package/src/local-dev/effects.js.map +0 -1
- package/src/local-dev/environment-inspector.js.map +0 -1
- package/src/local-dev/environment-state.js.map +0 -1
- package/src/local-dev/errors.js.map +0 -1
- package/src/local-dev/fleet-client.js.map +0 -1
- package/src/local-dev/fleet-configuration.js.map +0 -1
- package/src/local-dev/fleet-inventory.js.map +0 -1
- package/src/local-dev/fleet-ipc.js.map +0 -1
- package/src/local-dev/fleet-launcher.js.map +0 -1
- package/src/local-dev/fleet-lock.js.map +0 -1
- package/src/local-dev/fleet-logs.js.map +0 -1
- package/src/local-dev/fleet-process.js.map +0 -1
- package/src/local-dev/fleet-runtime.js.map +0 -1
- package/src/local-dev/fleet-session.js.map +0 -1
- package/src/local-dev/fleet-slice-runner-daemon.js.map +0 -1
- package/src/local-dev/fleet-startup.js.map +0 -1
- package/src/local-dev/fleet-state.js.map +0 -1
- package/src/local-dev/fleet-supervisor-daemon.js.map +0 -1
- package/src/local-dev/fleet-supervisor.js.map +0 -1
- package/src/local-dev/gateway-daemon.js.map +0 -1
- package/src/local-dev/gateway.js.map +0 -1
- package/src/local-dev/identity.js.map +0 -1
- package/src/local-dev/index.js.map +0 -1
- package/src/local-dev/local-context.js.map +0 -1
- package/src/local-dev/nx-workspace.js.map +0 -1
- package/src/local-dev/personal-secret-ledger.js.map +0 -1
- package/src/local-dev/personal-stage.js.map +0 -1
- package/src/local-dev/portless.js.map +0 -1
- package/src/local-dev/ports.js.map +0 -1
- package/src/local-dev/private-state.js.map +0 -1
- package/src/local-dev/process-identity.js.map +0 -1
- package/src/local-dev/proxy.js.map +0 -1
- package/src/local-dev/runtime-paths.js.map +0 -1
- package/src/local-dev/secret-slice-claim.js.map +0 -1
- package/src/local-dev/slice-claim.js.map +0 -1
- package/src/local-dev/slice-runner.js.map +0 -1
- package/src/local-dev/tls.js.map +0 -1
- package/src/ownership/composition.js.map +0 -1
- package/src/ownership/foundation-record.js.map +0 -1
- package/src/ownership/hash.js.map +0 -1
- package/src/ownership/index.js.map +0 -1
- package/src/ownership/json-ownership.js.map +0 -1
- package/src/ownership/record.js.map +0 -1
- package/src/ownership/workspace-record.js.map +0 -1
- package/src/performance/cost-collection.js.map +0 -1
- package/src/performance/cost-controls.js.map +0 -1
- package/src/performance/evidence.js.map +0 -1
- package/src/performance/index.js.map +0 -1
- package/src/performance/load-safety.js.map +0 -1
- package/src/performance/model.js.map +0 -1
- package/src/performance/pr-artifact-budget.js.map +0 -1
- package/src/performance/runner.js.map +0 -1
- package/src/performance/scenario-endpoint.js.map +0 -1
- package/src/performance/scenario.js.map +0 -1
- package/src/performance/test-fixtures.d.ts +0 -7
- package/src/performance/test-fixtures.js +0 -167
- package/src/performance/test-fixtures.js.map +0 -1
- package/src/performance/unit-cost.js.map +0 -1
- package/src/release/index.js.map +0 -1
- package/src/release/lifecycle.js.map +0 -1
- package/src/release/manifest.js.map +0 -1
- package/src/release/rollout.js.map +0 -1
- package/src/release/source-authority.js.map +0 -1
- package/src/repository-policy/aurora-preflight.js.map +0 -1
- package/src/repository-policy/capacity-migration.js.map +0 -1
- package/src/repository-policy/deployment-plan.js.map +0 -1
- package/src/repository-policy/foundation-profile.js.map +0 -1
- package/src/repository-policy/index.js.map +0 -1
- package/src/repository-policy/policy.js.map +0 -1
- package/src/secrets/adapters.js.map +0 -1
- package/src/secrets/aws-control-plane.js.map +0 -1
- package/src/secrets/declaration-verification.js.map +0 -1
- package/src/secrets/generated-aws-control-plane.js.map +0 -1
- package/src/secrets/guardrails.js.map +0 -1
- package/src/secrets/index.js.map +0 -1
- package/src/secrets/metadata.js.map +0 -1
- package/src/secrets/model.js.map +0 -1
- package/src/secrets/operator.js.map +0 -1
- package/src/secrets/permissions.js.map +0 -1
- package/src/secrets/personal-command.js.map +0 -1
- package/src/secrets/personal-ledger.js.map +0 -1
- package/src/secrets/registry.js.map +0 -1
- package/src/secrets/verification.js.map +0 -1
- package/src/secrets/workload-access.js.map +0 -1
- package/src/sst-environment-source-format.js.map +0 -1
- package/src/supply-chain/action-pins.js.map +0 -1
- package/src/supply-chain/blueprint-trust-git.js.map +0 -1
- package/src/supply-chain/blueprint-trust-process.js.map +0 -1
- package/src/supply-chain/blueprint-trust.js.map +0 -1
- package/src/supply-chain/blueprint-verification-authority.js.map +0 -1
- package/src/supply-chain/blueprint-verification-execution.js.map +0 -1
- package/src/supply-chain/build-output-bounds.js.map +0 -1
- package/src/supply-chain/build-output.js.map +0 -1
- package/src/supply-chain/common.js.map +0 -1
- package/src/supply-chain/container-artifact-contract.js.map +0 -1
- package/src/supply-chain/container-release.js.map +0 -1
- package/src/supply-chain/ecr-applicability.js.map +0 -1
- package/src/supply-chain/ecr-scanning.js.map +0 -1
- package/src/supply-chain/ecs-deployed-image.js.map +0 -1
- package/src/supply-chain/errors.js.map +0 -1
- package/src/supply-chain/generated-blueprint-trust-command.js.map +0 -1
- package/src/supply-chain/generated-command.js.map +0 -1
- package/src/supply-chain/generated-container-release-command.js.map +0 -1
- package/src/supply-chain/generated-ecr-collector-command.js.map +0 -1
- package/src/supply-chain/generated-files.js.map +0 -1
- package/src/supply-chain/generated-scanner-command.js.map +0 -1
- package/src/supply-chain/index.js.map +0 -1
- package/src/supply-chain/inventory.js.map +0 -1
- package/src/supply-chain/license-expression.js.map +0 -1
- package/src/supply-chain/pnpm-toolchain-authority.js.map +0 -1
- package/src/supply-chain/policy.js.map +0 -1
- package/src/supply-chain/publication.js.map +0 -1
- package/src/supply-chain/sbom.js.map +0 -1
- package/src/supply-chain/scanner.js.map +0 -1
- package/src/supply-chain/vendored-source.js.map +0 -1
- package/src/testing-evidence/fixture-scope.js.map +0 -1
- package/src/testing-evidence/index.js.map +0 -1
- package/src/testing-evidence/quarantine.js.map +0 -1
- package/src/testing-evidence/result.js.map +0 -1
- package/src/testing-evidence/runner-adapter.js.map +0 -1
- package/src/testing-evidence/sensitive-artifacts.js.map +0 -1
- package/src/validation.js.map +0 -1
- package/src/work-markers/index.js.map +0 -1
- package/src/work-markers/work-markers.js.map +0 -1
- package/src/workload-roles/account-baseline.js.map +0 -1
- package/src/workload-roles/authority.js.map +0 -1
- package/src/workload-roles/aws-adapter.js.map +0 -1
- package/src/workload-roles/aws-internal-handler.js.map +0 -1
- package/src/workload-roles/aws-s3-state.js.map +0 -1
- package/src/workload-roles/aws-sdk-control-plane.js.map +0 -1
- package/src/workload-roles/boundary.js.map +0 -1
- package/src/workload-roles/convergence.js.map +0 -1
- package/src/workload-roles/effective-policy.js.map +0 -1
- package/src/workload-roles/handler.js.map +0 -1
- package/src/workload-roles/history.js.map +0 -1
- package/src/workload-roles/index.js.map +0 -1
- package/src/workload-roles/injection.js.map +0 -1
- package/src/workload-roles/manifest.js.map +0 -1
- package/src/workload-roles/provisioner.js.map +0 -1
- package/src/workload-roles/registration.js.map +0 -1
- package/src/workload-roles/stage-boundary.js.map +0 -1
- package/src/workload-roles/standard-slice.js.map +0 -1
- package/src/workspace-deployment/affected-lifecycle.js.map +0 -1
- package/src/workspace-deployment/identity.js.map +0 -1
- package/src/workspace-deployment/index.js.map +0 -1
- package/src/workspace-deployment/migration-evidence.js.map +0 -1
- package/src/workspace-deployment/migration.js.map +0 -1
- package/src/workspace-deployment/ownership.js.map +0 -1
|
@@ -6,6 +6,7 @@ const workspace_files_performance_load_js_1 = require("../preset/workspace-files
|
|
|
6
6
|
const built_in_plan_shared_js_1 = require("./built-in-plan-shared.js");
|
|
7
7
|
/** @internal */
|
|
8
8
|
function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
9
|
+
const sql = ownership.foundation.capabilities.includes('postgres');
|
|
9
10
|
return {
|
|
10
11
|
'package.json': (0, built_in_plan_shared_js_1.json)({
|
|
11
12
|
name: `${scope}/${name}`,
|
|
@@ -27,11 +28,15 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
27
28
|
'@aws-sdk/client-sqs': built_in_plan_shared_js_1.PRODUCT_VERSIONS.awsSqs,
|
|
28
29
|
'@aws-sdk/client-ssm': built_in_plan_shared_js_1.PRODUCT_VERSIONS.awsSsm,
|
|
29
30
|
'@aws-sdk/client-sts': built_in_plan_shared_js_1.PRODUCT_VERSIONS.awsSts,
|
|
30
|
-
'@aws-sdk/rds-signer': built_in_plan_shared_js_1.PRODUCT_VERSIONS.awsRdsSigner,
|
|
31
31
|
'@empire-builder-kit/runtime': runtimeVersion,
|
|
32
|
-
|
|
32
|
+
...(sql
|
|
33
|
+
? {
|
|
34
|
+
'@aws-sdk/rds-signer': built_in_plan_shared_js_1.PRODUCT_VERSIONS.awsRdsSigner,
|
|
35
|
+
'drizzle-orm': built_in_plan_shared_js_1.PRODUCT_VERSIONS.drizzle,
|
|
36
|
+
pg: built_in_plan_shared_js_1.PRODUCT_VERSIONS.pg,
|
|
37
|
+
}
|
|
38
|
+
: {}),
|
|
33
39
|
next: built_in_plan_shared_js_1.PRODUCT_VERSIONS.next,
|
|
34
|
-
pg: built_in_plan_shared_js_1.PRODUCT_VERSIONS.pg,
|
|
35
40
|
react: built_in_plan_shared_js_1.PRODUCT_VERSIONS.react,
|
|
36
41
|
'react-dom': built_in_plan_shared_js_1.PRODUCT_VERSIONS.reactDom,
|
|
37
42
|
'server-only': built_in_plan_shared_js_1.PRODUCT_VERSIONS.serverOnly,
|
|
@@ -40,10 +45,14 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
40
45
|
'@axe-core/playwright': built_in_plan_shared_js_1.PRODUCT_VERSIONS.axePlaywright,
|
|
41
46
|
'@playwright/test': built_in_plan_shared_js_1.PRODUCT_VERSIONS.playwright,
|
|
42
47
|
'@types/node': built_in_plan_shared_js_1.PRODUCT_VERSIONS.typesNode,
|
|
43
|
-
|
|
48
|
+
...(sql
|
|
49
|
+
? {
|
|
50
|
+
'@types/pg': built_in_plan_shared_js_1.PRODUCT_VERSIONS.typesPg,
|
|
51
|
+
'drizzle-kit': built_in_plan_shared_js_1.PRODUCT_VERSIONS.drizzleKit,
|
|
52
|
+
}
|
|
53
|
+
: {}),
|
|
44
54
|
'@types/react': built_in_plan_shared_js_1.PRODUCT_VERSIONS.typesReact,
|
|
45
55
|
'@types/react-dom': built_in_plan_shared_js_1.PRODUCT_VERSIONS.typesReactDom,
|
|
46
|
-
'drizzle-kit': built_in_plan_shared_js_1.PRODUCT_VERSIONS.drizzleKit,
|
|
47
56
|
vitest: built_in_plan_shared_js_1.PRODUCT_VERSIONS.vitest,
|
|
48
57
|
},
|
|
49
58
|
exports: {
|
|
@@ -77,7 +86,7 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
77
86
|
],
|
|
78
87
|
metadata: {
|
|
79
88
|
ebk: {
|
|
80
|
-
localDev: (0, built_in_plan_shared_js_1.STANDARD_LOCAL_DEV_ADAPTER)(name),
|
|
89
|
+
localDev: (0, built_in_plan_shared_js_1.STANDARD_LOCAL_DEV_ADAPTER)(name, ownership.inputs.dependencySlices, sql),
|
|
81
90
|
},
|
|
82
91
|
},
|
|
83
92
|
targets: {
|
|
@@ -251,7 +260,7 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
251
260
|
dependsOn: ['secret-guardrails', 'typecheck'],
|
|
252
261
|
outputs: [`{projectRoot}/web/.next`],
|
|
253
262
|
options: {
|
|
254
|
-
command: 'next build web',
|
|
263
|
+
command: 'next build --webpack web',
|
|
255
264
|
cwd: `packages/${name}`,
|
|
256
265
|
env: {
|
|
257
266
|
NODE_ENV: 'production',
|
|
@@ -297,60 +306,66 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
297
306
|
forwardAllArgs: false,
|
|
298
307
|
},
|
|
299
308
|
},
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
309
|
+
...(sql
|
|
310
|
+
? {
|
|
311
|
+
'db-check': {
|
|
312
|
+
executor: 'nx:run-commands',
|
|
313
|
+
options: {
|
|
314
|
+
command: 'node scripts/check-database.mjs',
|
|
315
|
+
cwd: `packages/${name}`,
|
|
316
|
+
},
|
|
317
|
+
},
|
|
318
|
+
'db-generate': {
|
|
319
|
+
executor: 'nx:run-commands',
|
|
320
|
+
options: {
|
|
321
|
+
command: 'drizzle-kit generate --config=database/drizzle.config.ts',
|
|
322
|
+
cwd: `packages/${name}`,
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
'db-migrate': {
|
|
326
|
+
executor: 'nx:run-commands',
|
|
327
|
+
dependsOn: [
|
|
328
|
+
{ target: 'deploy-infrastructure', params: 'forward' },
|
|
329
|
+
],
|
|
330
|
+
options: {
|
|
331
|
+
command: 'node scripts/migrate-database.mjs',
|
|
332
|
+
cwd: `packages/${name}`,
|
|
333
|
+
forwardAllArgs: true,
|
|
334
|
+
},
|
|
335
|
+
},
|
|
336
|
+
'db-local-down': {
|
|
337
|
+
executor: 'nx:run-commands',
|
|
338
|
+
options: {
|
|
339
|
+
command: 'node scripts/local-database.mjs down',
|
|
340
|
+
cwd: `packages/${name}`,
|
|
341
|
+
},
|
|
342
|
+
},
|
|
343
|
+
'db-local-migrate': {
|
|
344
|
+
executor: 'nx:run-commands',
|
|
345
|
+
dependsOn: ['db-local-up'],
|
|
346
|
+
options: {
|
|
347
|
+
command: 'drizzle-kit migrate --config=database/drizzle.config.ts',
|
|
348
|
+
cwd: `packages/${name}`,
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
'db-local-up': {
|
|
352
|
+
executor: 'nx:run-commands',
|
|
353
|
+
dependsOn: ['db-check'],
|
|
354
|
+
options: {
|
|
355
|
+
command: 'node scripts/local-database.mjs up',
|
|
356
|
+
cwd: `packages/${name}`,
|
|
357
|
+
},
|
|
358
|
+
},
|
|
359
|
+
'db-retirement-rehearsal': {
|
|
360
|
+
executor: 'nx:run-commands',
|
|
361
|
+
options: {
|
|
362
|
+
command: 'node scripts/rehearse-database-retirement.mjs',
|
|
363
|
+
cwd: `packages/${name}`,
|
|
364
|
+
forwardAllArgs: false,
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
}
|
|
368
|
+
: {}),
|
|
354
369
|
'data-policy-check': {
|
|
355
370
|
cache: false,
|
|
356
371
|
executor: 'nx:run-commands',
|
|
@@ -397,12 +412,32 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
397
412
|
},
|
|
398
413
|
},
|
|
399
414
|
'dev-cleanup': {
|
|
400
|
-
|
|
401
|
-
|
|
415
|
+
cache: false,
|
|
416
|
+
executor: 'nx:run-commands',
|
|
417
|
+
dependsOn: ['dev-task-cleanup'],
|
|
418
|
+
options: {
|
|
419
|
+
commands: [
|
|
420
|
+
...(sql ? [`pnpm nx run ${name}:db-local-down`] : []),
|
|
421
|
+
`pnpm nx run ${name}:secret-personal-down`,
|
|
422
|
+
],
|
|
423
|
+
cwd: '.',
|
|
424
|
+
forwardAllArgs: false,
|
|
425
|
+
parallel: false,
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
'dev-task-cleanup': {
|
|
429
|
+
cache: false,
|
|
430
|
+
executor: '@empire-builder-kit/nx:dev-task-cleanup',
|
|
431
|
+
options: {},
|
|
402
432
|
},
|
|
403
433
|
deploy: {
|
|
404
434
|
executor: 'nx:run-commands',
|
|
405
|
-
dependsOn: [
|
|
435
|
+
dependsOn: [
|
|
436
|
+
{
|
|
437
|
+
target: sql ? 'db-migrate' : 'deploy-infrastructure',
|
|
438
|
+
params: 'forward',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
406
441
|
options: {
|
|
407
442
|
command: 'node scripts/confirm-deploy.mjs',
|
|
408
443
|
cwd: `packages/${name}`,
|
|
@@ -425,7 +460,7 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
425
460
|
executor: '@empire-builder-kit/nx:dev',
|
|
426
461
|
dependsOn: [
|
|
427
462
|
'dev-prerequisite',
|
|
428
|
-
'db-local-migrate',
|
|
463
|
+
...(sql ? ['db-local-migrate'] : []),
|
|
429
464
|
{ target: 'foundation-preflight', params: 'forward' },
|
|
430
465
|
],
|
|
431
466
|
options: {
|
|
@@ -435,7 +470,11 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
435
470
|
},
|
|
436
471
|
'dev-prerequisite': {
|
|
437
472
|
executor: 'nx:run-commands',
|
|
438
|
-
dependsOn: [
|
|
473
|
+
dependsOn: [
|
|
474
|
+
...(sql ? ['db-check'] : []),
|
|
475
|
+
'secret-guardrails',
|
|
476
|
+
'typecheck',
|
|
477
|
+
],
|
|
439
478
|
options: {
|
|
440
479
|
command: 'node scripts/verify-live-mode.mjs',
|
|
441
480
|
cwd: `packages/${name}`,
|
|
@@ -850,6 +889,16 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
850
889
|
forwardAllArgs: false,
|
|
851
890
|
},
|
|
852
891
|
},
|
|
892
|
+
'verify-local-browser': {
|
|
893
|
+
cache: false,
|
|
894
|
+
executor: 'nx:run-commands',
|
|
895
|
+
outputs: ['{projectRoot}/.ebk/evidence/local-browser.json'],
|
|
896
|
+
options: {
|
|
897
|
+
command: 'node scripts/verify-local-browser.mjs',
|
|
898
|
+
cwd: `packages/${name}`,
|
|
899
|
+
forwardAllArgs: false,
|
|
900
|
+
},
|
|
901
|
+
},
|
|
853
902
|
'smoke-deployed': {
|
|
854
903
|
cache: false,
|
|
855
904
|
executor: 'nx:run-commands',
|
|
@@ -912,7 +961,7 @@ function renderSliceProjectFiles(name, scope, runtimeVersion, ownership) {
|
|
|
912
961
|
'build',
|
|
913
962
|
'contract-dependencies-check',
|
|
914
963
|
'data-policy-check',
|
|
915
|
-
'db-check',
|
|
964
|
+
...(sql ? ['db-check'] : []),
|
|
916
965
|
'frontend-boundaries',
|
|
917
966
|
'lint',
|
|
918
967
|
'performance-budget',
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** @internal */
|
|
2
|
-
export declare function renderProductReleaseFiles(name: string, configurationSeed: string): Readonly<Record<string, string>>;
|
|
2
|
+
export declare function renderProductReleaseFiles(name: string, configurationSeed: string, sql?: boolean): Readonly<Record<string, string>>;
|
|
@@ -14,7 +14,7 @@ function configurationSeedDates(seed) {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
/** @internal */
|
|
17
|
-
function renderProductReleaseFiles(name, configurationSeed) {
|
|
17
|
+
function renderProductReleaseFiles(name, configurationSeed, sql = true) {
|
|
18
18
|
const configurationDates = configurationSeedDates(configurationSeed);
|
|
19
19
|
return {
|
|
20
20
|
'infra/container-images.ts': `import {
|
|
@@ -79,6 +79,35 @@ function readJson(root: string, candidate: string, label: string): unknown {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
function localContainerImage(local: { context: string; dockerfile: string }) {
|
|
83
|
+
const registry = process.env.EBK_CONTAINER_PACKAGE_REGISTRY?.trim() ?? '';
|
|
84
|
+
if (registry === '') return local;
|
|
85
|
+
if (registry.length > 2_048) {
|
|
86
|
+
throw new Error('Container package registry authority is invalid.');
|
|
87
|
+
}
|
|
88
|
+
let parsed: URL;
|
|
89
|
+
try {
|
|
90
|
+
parsed = new URL(registry);
|
|
91
|
+
} catch {
|
|
92
|
+
throw new Error('Container package registry authority is invalid.');
|
|
93
|
+
}
|
|
94
|
+
const normalized = parsed.href;
|
|
95
|
+
const localPlaintext = parsed.protocol === 'http:' &&
|
|
96
|
+
['127.0.0.1', 'localhost', 'host.docker.internal', '[::1]'].includes(parsed.hostname);
|
|
97
|
+
if (
|
|
98
|
+
(registry !== normalized && registry + '/' !== normalized) ||
|
|
99
|
+
(parsed.protocol !== 'https:' && !localPlaintext) ||
|
|
100
|
+
parsed.username !== '' || parsed.password !== '' ||
|
|
101
|
+
parsed.search !== '' || parsed.hash !== ''
|
|
102
|
+
) {
|
|
103
|
+
throw new Error('Container package registry authority is invalid.');
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
...local,
|
|
107
|
+
args: { NPM_CONFIG_REGISTRY: normalized.endsWith('/') ? normalized.slice(0, -1) : normalized },
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
82
111
|
export function resolveStandardContainerImage(input: {
|
|
83
112
|
artifactId: string;
|
|
84
113
|
exactDevelopment?: boolean;
|
|
@@ -87,7 +116,7 @@ export function resolveStandardContainerImage(input: {
|
|
|
87
116
|
stage: string;
|
|
88
117
|
}): {
|
|
89
118
|
environment: Record<string, string>;
|
|
90
|
-
image: string | { context: string; dockerfile: string };
|
|
119
|
+
image: string | { context: string; dockerfile: string; args?: Record<string, string> };
|
|
91
120
|
} {
|
|
92
121
|
const lifecycleAction = process.env.EBK_ACTION?.trim();
|
|
93
122
|
if (
|
|
@@ -113,6 +142,9 @@ export function resolveStandardContainerImage(input: {
|
|
|
113
142
|
(!protectedStage && !exactDevelopment) ||
|
|
114
143
|
(lifecycleAction !== undefined && lifecycleAction !== 'deploy')
|
|
115
144
|
) {
|
|
145
|
+
if (!protectedStage && !exactDevelopment) {
|
|
146
|
+
return { environment: {}, image: localContainerImage(input.local) };
|
|
147
|
+
}
|
|
116
148
|
return { environment: {}, image: input.local };
|
|
117
149
|
}
|
|
118
150
|
if (!COMMIT.test(input.sourceCommit)) {
|
|
@@ -1203,7 +1235,8 @@ describe('generated rollout host bindings', () => {
|
|
|
1203
1235
|
});
|
|
1204
1236
|
});
|
|
1205
1237
|
`,
|
|
1206
|
-
'web/src/lib/provider-delivery.ts': `import {
|
|
1238
|
+
'web/src/lib/provider-delivery.ts': `import { NextResponse } from 'next/server';
|
|
1239
|
+
import {
|
|
1207
1240
|
createSliceAwsConfigurationProvider,
|
|
1208
1241
|
createSliceLocalConfigurationProvider,
|
|
1209
1242
|
} from '../../../configuration/provider';
|
|
@@ -1260,9 +1293,6 @@ export function nextServerProviderDeliveryForSubject(
|
|
|
1260
1293
|
),
|
|
1261
1294
|
);
|
|
1262
1295
|
}
|
|
1263
|
-
`,
|
|
1264
|
-
'web/src/app/api/provider-delivery/route.ts': `import { NextResponse } from 'next/server';
|
|
1265
|
-
import { nextServerProviderDeliveryForSubject } from '../../../lib/provider-delivery';
|
|
1266
1296
|
|
|
1267
1297
|
export interface ProviderDeliveryRouteDependencies {
|
|
1268
1298
|
resolveAuthenticatedSubjectId(request: Request): Promise<string>;
|
|
@@ -1291,6 +1321,8 @@ export function createProviderDeliveryRoute(
|
|
|
1291
1321
|
});
|
|
1292
1322
|
};
|
|
1293
1323
|
}
|
|
1324
|
+
`,
|
|
1325
|
+
'web/src/app/api/provider-delivery/route.ts': `import { NextResponse } from 'next/server';
|
|
1294
1326
|
|
|
1295
1327
|
export async function GET() {
|
|
1296
1328
|
return NextResponse.json(
|
|
@@ -1935,12 +1967,18 @@ if (
|
|
|
1935
1967
|
) {
|
|
1936
1968
|
throw new Error('Generated artifact inventory names must be unique.');
|
|
1937
1969
|
}
|
|
1938
|
-
const safeFiles = (paths, pointer, { allowSymbolicLinks = false } = {}) => {
|
|
1970
|
+
const safeFiles = (paths, pointer, { allowSymbolicLinks = false, nextJsBuildOutput = false } = {}) => {
|
|
1939
1971
|
if (!Array.isArray(paths) || paths.length === 0) {
|
|
1940
1972
|
throw new Error(pointer + ' must name at least one artifact path.');
|
|
1941
1973
|
}
|
|
1942
1974
|
const files = [];
|
|
1943
1975
|
const seen = new Set();
|
|
1976
|
+
const compilerCacheDirectories = new Set(
|
|
1977
|
+
nextJsBuildOutput
|
|
1978
|
+
? paths.filter((path) => typeof path === 'string' && path.split('/').at(-1) === '.next')
|
|
1979
|
+
.map((path) => resolve(repositoryRoot, path, 'cache'))
|
|
1980
|
+
: [],
|
|
1981
|
+
);
|
|
1944
1982
|
const visit = (candidate) => {
|
|
1945
1983
|
if (isAbsolute(candidate)) {
|
|
1946
1984
|
throw new Error(pointer + ' contains an absolute artifact path.');
|
|
@@ -1969,6 +2007,12 @@ const safeFiles = (paths, pointer, { allowSymbolicLinks = false } = {}) => {
|
|
|
1969
2007
|
const realFromRoot = repositoryRelativeRealPath(real, pointer);
|
|
1970
2008
|
const stat = lstatSync(absolute);
|
|
1971
2009
|
const normalized = pathFromRoot.split(sep).join('/');
|
|
2010
|
+
if (compilerCacheDirectories.has(absolute)) {
|
|
2011
|
+
if (!stat.isDirectory() || stat.isSymbolicLink()) {
|
|
2012
|
+
throw new Error(pointer + ': Next.js compiler cache must be a real directory.');
|
|
2013
|
+
}
|
|
2014
|
+
return;
|
|
2015
|
+
}
|
|
1972
2016
|
if (stat.isSymbolicLink()) {
|
|
1973
2017
|
const targetText = readlinkSync(absolute, 'utf8');
|
|
1974
2018
|
const target = realFromRoot.split(sep).join('/');
|
|
@@ -2102,7 +2146,7 @@ const artifacts = inventory.map((artifact, index) => {
|
|
|
2102
2146
|
const materialDigestOptions =
|
|
2103
2147
|
artifact.buildArtifact?.support === 'supported' &&
|
|
2104
2148
|
artifact.buildArtifact.family === 'nextjs-build-output'
|
|
2105
|
-
? { allowSymbolicLinks: true }
|
|
2149
|
+
? { allowSymbolicLinks: true, nextJsBuildOutput: true }
|
|
2106
2150
|
: undefined;
|
|
2107
2151
|
const common = {
|
|
2108
2152
|
buildRecipeDigest: digestPaths(
|
|
@@ -2479,10 +2523,14 @@ const contract = treeEvidence(
|
|
|
2479
2523
|
'contracts',
|
|
2480
2524
|
'ebk-release-contract-source',
|
|
2481
2525
|
);
|
|
2482
|
-
const
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2526
|
+
const sqlDeclared = ${sql};
|
|
2527
|
+
const migration = {
|
|
2528
|
+
...treeEvidence(
|
|
2529
|
+
sqlDeclared ? 'database/migrations' : 'data/persistence.json',
|
|
2530
|
+
'ebk-release-migration-source',
|
|
2531
|
+
),
|
|
2532
|
+
applicability: sqlDeclared ? 'declared-sql' : 'not-applicable',
|
|
2533
|
+
};
|
|
2486
2534
|
const testEvidence = JSON.parse(
|
|
2487
2535
|
readFileSync(
|
|
2488
2536
|
new URL('../.ebk/evidence/test-integration.json', import.meta.url),
|
|
@@ -2523,10 +2571,10 @@ if (
|
|
|
2523
2571
|
}
|
|
2524
2572
|
const migrationJournalPath =
|
|
2525
2573
|
'packages/${name}/database/migrations/meta/_journal.json';
|
|
2526
|
-
const migrationJournalContent = readFileSync(
|
|
2574
|
+
const migrationJournalContent = sqlDeclared ? readFileSync(
|
|
2527
2575
|
new URL('../database/migrations/meta/_journal.json', import.meta.url),
|
|
2528
2576
|
'utf8',
|
|
2529
|
-
);
|
|
2577
|
+
) : JSON.stringify({ entries: [] });
|
|
2530
2578
|
const migrationJournal = JSON.parse(migrationJournalContent);
|
|
2531
2579
|
const baselineMigrationJournalContent = trackedAt(
|
|
2532
2580
|
baselineCommit,
|
|
@@ -2570,7 +2618,8 @@ const databaseCompatibilityReport = {
|
|
|
2570
2618
|
baselineDigest: digest(baselineMigrationJournalContent ?? ''),
|
|
2571
2619
|
candidateDigest: digest(migrationJournalContent),
|
|
2572
2620
|
classification:
|
|
2573
|
-
preservedMigrations && !destructiveMigration
|
|
2621
|
+
preservedMigrations && !destructiveMigration &&
|
|
2622
|
+
(sqlDeclared || baselineMigrationJournalContent === undefined)
|
|
2574
2623
|
? 'compatible'
|
|
2575
2624
|
: 'incompatible',
|
|
2576
2625
|
kind: 'database-migration-compatibility',
|
|
@@ -186,8 +186,8 @@ function alarmRegistrations(name) {
|
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
...common,
|
|
189
|
-
businessSymptom: '
|
|
190
|
-
condition: '
|
|
189
|
+
businessSymptom: 'Slice data access or durable event delivery is being throttled.',
|
|
190
|
+
condition: 'The Slice DynamoDB table or PendingEvents index reports read or write throttling.',
|
|
191
191
|
dependencyAlarmIds: [],
|
|
192
192
|
id: 'database-capacity',
|
|
193
193
|
runbookRef: 'runbook:database-recovery',
|
|
@@ -612,18 +612,19 @@ function deployedAlarmResources(name) {
|
|
|
612
612
|
},
|
|
613
613
|
{
|
|
614
614
|
...primary,
|
|
615
|
-
dimensionNames: ['
|
|
616
|
-
|
|
615
|
+
dimensionNames: ['GlobalSecondaryIndexName', 'TableName'],
|
|
616
|
+
dimensionValues: { GlobalSecondaryIndexName: 'PendingEvents' },
|
|
617
|
+
evaluationPeriods: 1,
|
|
617
618
|
id: 'database-capacity',
|
|
618
|
-
|
|
619
|
+
metricNames: ['ReadThrottleEvents', 'WriteThrottleEvents'],
|
|
619
620
|
name: `${name}-{stage}-database-capacity`,
|
|
620
|
-
namespace: 'AWS/
|
|
621
|
-
period:
|
|
621
|
+
namespace: 'AWS/DynamoDB',
|
|
622
|
+
period: 60,
|
|
622
623
|
runbook: 'docs/runbooks/database-recovery.md',
|
|
623
|
-
signal: 'metric',
|
|
624
|
-
statistic: '
|
|
625
|
-
threshold:
|
|
626
|
-
treatMissingData: '
|
|
624
|
+
signal: 'metric-math',
|
|
625
|
+
statistic: 'Sum',
|
|
626
|
+
threshold: 1,
|
|
627
|
+
treatMissingData: 'notBreaching',
|
|
627
628
|
},
|
|
628
629
|
{
|
|
629
630
|
...primary,
|
|
@@ -1102,7 +1103,7 @@ export interface ReliabilityInfrastructureInput {
|
|
|
1102
1103
|
alertTopicArn: any;
|
|
1103
1104
|
alertTopicName: any;
|
|
1104
1105
|
apiId: any;
|
|
1105
|
-
|
|
1106
|
+
${' databaseTableName: any;\n'}\
|
|
1106
1107
|
functionName: any;
|
|
1107
1108
|
providerQueueName: any;
|
|
1108
1109
|
}
|
|
@@ -1280,22 +1281,32 @@ export function create${pascalName}Reliability(
|
|
|
1280
1281
|
{
|
|
1281
1282
|
alarmActions: [input.alertTopicArn],
|
|
1282
1283
|
alarmDescription: alarmDescription({
|
|
1283
|
-
businessSymptom: 'The
|
|
1284
|
+
businessSymptom: ${JSON.stringify('The Slice table or event-reconciliation index is throttling operations.')},
|
|
1284
1285
|
id: 'database-capacity',
|
|
1285
1286
|
owner: '${name}-product',
|
|
1286
1287
|
route: '${name}-on-call',
|
|
1287
1288
|
runbook: 'docs/runbooks/database-recovery.md',
|
|
1288
1289
|
}),
|
|
1289
1290
|
comparisonOperator: 'GreaterThanOrEqualToThreshold',
|
|
1290
|
-
|
|
1291
|
-
evaluationPeriods: 3,
|
|
1292
|
-
metricName: 'ServerlessDatabaseCapacity',
|
|
1291
|
+
${` evaluationPeriods: 1,
|
|
1293
1292
|
name: '${name}-' + $app.stage + '-database-capacity',
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1293
|
+
threshold: 1,
|
|
1294
|
+
treatMissingData: 'notBreaching',
|
|
1295
|
+
// AWS publishes throttle-event metrics for the table and each index,
|
|
1296
|
+
// unlike ThrottledRequests, which also requires an Operation dimension.
|
|
1297
|
+
metricQueries: [
|
|
1298
|
+
{ id: 'total', expression: 'SUM(METRICS())', returnData: true },
|
|
1299
|
+
...['ReadThrottleEvents', 'WriteThrottleEvents'].flatMap((metricName, kind) =>
|
|
1300
|
+
[undefined, 'PendingEvents'].map((index, scope) => ({
|
|
1301
|
+
id: 'throttle' + kind + scope, returnData: false,
|
|
1302
|
+
metric: { namespace: 'AWS/DynamoDB', metricName, period: 60, stat: 'Sum',
|
|
1303
|
+
dimensions: { TableName: input.databaseTableName,
|
|
1304
|
+
...(index ? { GlobalSecondaryIndexName: index } : {}) },
|
|
1305
|
+
},
|
|
1306
|
+
})),
|
|
1307
|
+
),
|
|
1308
|
+
],
|
|
1309
|
+
`}\
|
|
1299
1310
|
},
|
|
1300
1311
|
);
|
|
1301
1312
|
const functionFailure = new aws.cloudwatch.MetricAlarm(
|
|
@@ -1358,19 +1369,34 @@ export function create${pascalName}Reliability(
|
|
|
1358
1369
|
`,
|
|
1359
1370
|
'docs/runbooks/reliability-diagnostic.md': `# Reliability diagnostic
|
|
1360
1371
|
|
|
1361
|
-
The
|
|
1362
|
-
|
|
1363
|
-
|
|
1372
|
+
The Standard Slice database-capacity alarm measures DynamoDB
|
|
1373
|
+
ReadThrottleEvents and WriteThrottleEvents for its table and PendingEvents
|
|
1374
|
+
index (60-second Sum, threshold 1, one evaluation, missing data notBreaching).
|
|
1375
|
+
It does not measure Aurora ACUs, even when a user feature declares SQL.
|
|
1376
|
+
During a seeded upgrade, reconcile only this database-capacity registration
|
|
1377
|
+
against the generated infrastructure; preserve adopter-owned owners, routes
|
|
1378
|
+
and other operational decisions. Then run the reliability verification target
|
|
1379
|
+
with --deployed against the actual stage. A registry-only check cannot prove
|
|
1380
|
+
that an AWS alarm was updated.
|
|
1381
|
+
|
|
1382
|
+
The generated diagnostic adapter is defined for exactly three approval-free
|
|
1383
|
+
sources: alarm state, sanitized SLO metric signals, and bounded ECS or Step
|
|
1384
|
+
Functions resource metadata, but no supported producer currently exists for
|
|
1385
|
+
its inputs. In a generated workspace \`reliability-diagnostic\` therefore fails
|
|
1386
|
+
closed before any AWS read; do not cite it as an executed diagnostic. Its
|
|
1387
|
+
definition follows. It executes read-only \`DescribeAlarms\`,
|
|
1364
1388
|
\`GetMetricData\`, \`DescribeServices\`, and \`DescribeExecution\` calls
|
|
1365
1389
|
against one exact target and immutable deployment binding. Dashboard, generic
|
|
1366
1390
|
health, cost, and runbook lookups are not claimed as executable diagnostic
|
|
1367
1391
|
sources. The adapter does not accept arbitrary metric expressions or resource
|
|
1368
1392
|
scans, read application log contents, or unmask data.
|
|
1369
1393
|
|
|
1370
|
-
Before an AWS read, the adapter requires a protected GitHub Actions context
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1394
|
+
Before an AWS read, the adapter requires a protected GitHub Actions context, a
|
|
1395
|
+
\`.ebk/evidence/reliability/active-bindings.json\` index whose authority names
|
|
1396
|
+
the \`Deployed smoke\` workflow, and matching
|
|
1397
|
+
\`EBK_RELIABILITY_AUTHORIZED_*\` run values. Only the retired Deployed smoke and
|
|
1398
|
+
Reliability read workflows produced these; the native Deploy workflow does not.
|
|
1399
|
+
That index must name the current checked-out source commit and exact
|
|
1374
1400
|
repository. The adapter then recomputes the binding from the exact
|
|
1375
1401
|
deployed-smoke, active protected-release, and release-manifest artifact bytes.
|
|
1376
1402
|
The binding also carries the environment-reviewed alarm, API, ECS, and Step
|
|
@@ -17,7 +17,7 @@ export declare const PRODUCT_VERSIONS: {
|
|
|
17
17
|
readonly awsSts: "^3.700.0";
|
|
18
18
|
readonly drizzle: "^0.45.1";
|
|
19
19
|
readonly drizzleKit: "^0.31.4";
|
|
20
|
-
readonly next: "16.
|
|
20
|
+
readonly next: "16.3.4";
|
|
21
21
|
readonly pg: "^8.22.0";
|
|
22
22
|
readonly playwright: "^1.59.1";
|
|
23
23
|
readonly react: "19.2.8";
|
|
@@ -30,7 +30,9 @@ export declare const PRODUCT_VERSIONS: {
|
|
|
30
30
|
readonly vitest: "4.1.4";
|
|
31
31
|
};
|
|
32
32
|
export declare const PRODUCT_PACKAGE_MANAGED_JSON_POINTERS: readonly ["/name", "/version", "/private", "/dependencies/@aws-sdk~1client-appconfigdata", "/dependencies/@aws-sdk~1client-cloudwatch", "/dependencies/@aws-sdk~1client-cloudwatch-logs", "/dependencies/@aws-sdk~1client-cost-explorer", "/dependencies/@aws-sdk~1client-cognito-identity-provider", "/dependencies/@aws-sdk~1client-dynamodb", "/dependencies/@aws-sdk~1client-ecs", "/dependencies/@aws-sdk~1client-eventbridge", "/dependencies/@aws-sdk~1client-s3", "/dependencies/@aws-sdk~1client-secrets-manager", "/dependencies/@aws-sdk~1client-sfn", "/dependencies/@aws-sdk~1client-sqs", "/dependencies/@aws-sdk~1rds-signer", "/dependencies/@aws-sdk~1client-ssm", "/dependencies/@aws-sdk~1client-sts", "/dependencies/@empire-builder-kit~1runtime", "/dependencies/drizzle-orm", "/dependencies/next", "/dependencies/pg", "/dependencies/react", "/dependencies/react-dom", "/dependencies/server-only", "/devDependencies/@axe-core~1playwright", "/devDependencies/@playwright~1test", "/devDependencies/@types~1node", "/devDependencies/@types~1pg", "/devDependencies/@types~1react", "/devDependencies/@types~1react-dom", "/devDependencies/drizzle-kit", "/devDependencies/vitest", "/exports/.~1api-client", "/exports/.~1api-contract", "/exports/.~1contracts"];
|
|
33
|
-
export declare
|
|
33
|
+
export declare function standardPackageManagedJsonPointers(sql: boolean): string[];
|
|
34
|
+
export declare const STANDARD_LOCAL_DEV_ADAPTER: (name: string, dependencySlices?: unknown, sql?: boolean) => {
|
|
35
|
+
dependencySlices: string[];
|
|
34
36
|
adapterVersion: number;
|
|
35
37
|
auth: {
|
|
36
38
|
callbackPaths: string[];
|