fix: SkillOpt Epoch 3 — gate destructive compose cleanup

This commit is contained in:
Magnus Hedemark
2026-07-11 07:58:31 -04:00
parent 9d015a8cec
commit 0094741ce8
+1 -1
View File
@@ -67,7 +67,7 @@ docker volume inspect PROJECT_VOLUME
## High-value defaults
- When `compose.override.yaml` exists beside `compose.yaml` and no `-f` files are supplied, Compose loads the override automatically; use explicit `-f` files for production combinations.
- In CI, namespace every invocation with an isolated project name, for example `docker compose -p ci-${CI_JOB_ID} up -d`, and only remove that project.
- **Destructive CI gate:** never run `down --volumes` until `docker compose -p ci-${CI_JOB_ID:?CI_JOB_ID is required} config --services` confirms the isolated project name; on shared environments, omit `--volumes` unless the exact data scope is intentional.
- Treat `deploy` resource and placement fields as target-dependent: a rendered field can be valid while the local implementation ignores it. Verify enforcement at runtime.
### Base/dev/prod command matrix