compose/cmd
Nicolas De Loof b1f8419af6 orphans: document the deliberate env-source asymmetry
COMPOSE_REMOVE_ORPHANS and COMPOSE_IGNORE_ORPHANS resolve through
different sources by design, not by accident: the destructive variable
goes through the process environment, completed from the local .env
only — a remote model cannot enable container removal — while the
benign one reads project.Environment, remote configs included, where
the worst a remote model can do is suppress a warning. Stated once, on
the resolveIgnoreOrphans helper shared by up, create and run, so future
reviewers don't have to rediscover the decision. The helper is covered
by a test, and another one runs the real up/down/kill/run/create
commands to pin that each of them resolves COMPOSE_REMOVE_ORPHANS.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-11-16 16:33:23 +01:00
..
cmdtrace feat(tracing): surface otel shutdown errors via --debug 2026-09-02 17:12:12 +02:00
compatibility modernize some code 2026-02-12 15:31:35 +01:00
compose orphans: document the deliberate env-source asymmetry 2026-11-16 16:33:23 +01:00
display refactor(compose): use a single event processor that discards events 2026-10-29 11:59:43 +01:00
formatter chore: address the review notes left 2026-11-11 20:43:01 +01:00
prompt cmd/prompt: remove uses of github.com/AlecAivazis/survey/v2 2026-09-11 15:30:07 +02:00
main.go refactor(up): inject the navigation menu instead of importing cmd/formatter 2026-10-12 10:50:38 +02:00