{ "task_id": "DEV-000073", "task_revision": 1, "architecture_revision": "DEV-000072-baseline", "base_repo_revision": "da94ed1", "risk_tier": "E", "intent": "Make Assistant production Compose fail closed when required PostgreSQL and executor inputs are absent, without mutating neighboring projects or storing secrets in the repository.", "requirement_ids": [ "Production missing inputs must fail before container startup", "Assistant-only deployment scope", "No secret values in Git", "No neighboring project mutation" ], "allowed_change_scope": { "modules": [], "paths": [ "deploy/docker-compose.prod.yml", "docs/PROJECT_STATUS.md", "dev/ACTIVE_TASK.json", "dev/tasks/DEV-000073-production-compose-fail-closed.json" ] }, "forbidden_change_scope": { "paths": [ "architecture/**", "security/**", "modules/**", "contracts/**", "database/migrations/**", "deploy/docker-compose.dev.yml", ".gitea/**" ] }, "allowed_architecture_delta": { "new_cross_module_dependencies": 0, "new_canonical_owners": 0, "new_privileges": 0, "new_third_party_dependencies": 0, "new_provider_adapters": 0, "new_database_owner_roles": 0 }, "contracts": { "consume": [ "existing production Compose topology", "existing external secret injection" ], "may_change": [] }, "semantic_owner": "none-production-configuration", "canonical_state": [], "state_transitions": [ "missing required production input -> Compose validation failure", "all required inputs present -> existing Assistant stack topology remains unchanged" ], "side_effects_and_privileges": [ "No secret creation or storage in Git", "No deployment of neighboring projects", "Promotion only after exact artifact and health checks" ], "persistence_and_migrations": [ "No database migration", "No canonical state change" ], "failure_retry_restart": [ "Missing required input fails before Compose startup", "Existing Assistant containers remain untouched until explicit promotion" ], "assumptions": [ "Production control plane is docker-prod / docker.cin.su", "Required secret values remain external to the repository", "Neighboring Docker projects must not be included in any Compose operation" ], "acceptance_scenarios": [ "Compose rejects missing POSTGRES_SUPERUSER", "Compose rejects missing POSTGRES_SUPERUSER_PASSWORD", "Compose rejects missing COMMIT_EXECUTOR_TOKEN", "Compose renders with synthetic non-secret values", "scope check passes", "Assistant-only production inspection identifies exact artifact and health state" ], "required_tests": [ "docker compose config -q with missing inputs", "docker compose config -q with synthetic inputs", "go test ./...", "go vet ./...", "go run ./cmd/devctl preflight -active dev/ACTIVE_TASK.json", "go run ./cmd/devctl check-diff -active dev/ACTIVE_TASK.json", "go run ./cmd/devctl check-architecture", "production Assistant-only health and artifact inspection" ], "terminal_gap_states": [ "BLOCKED_BY_MISSING_CAPABILITY", "BLOCKED_BY_CONFLICT", "REQUIRES_MIGRATION_DECISION" ] }