Reject external Compose backend networks before service startup
ABSDEV Framework CI / framework-ci (push) Successful in 24s

This commit is contained in:
Mark Gregory
2026-11-29 13:59:44 +00:00
parent 2719378f67
commit 89418ea21a
4 changed files with 59 additions and 2 deletions
+8
View File
@@ -34,3 +34,11 @@ result record the activation and health outcome independently of reopening.
These controls are available to the trusted runtime composition. The
operational production CLI remains disabled.
Pass a trusted `topology_runner(command, *, timeout)` that returns stdout
from a successful Compose command as JSON bytes or text and raises on failure.
The runtime resolves the exact project and Compose files with
`config --format json` before starting workers or restarting PHP. Missing,
unverifiable, or external configured backend networks deny those operations.
Keep Compose inputs under trusted control across validation and execution.
Stopping workers remains available if topology validation fails.