From 30b35592c703f5d98c2507d79883e4d6cc31cd32 Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Sat, 21 Nov 2026 21:35:39 +0100 Subject: [PATCH] fix: forward `--` args through devbox scripts, fail serve loudly (#84) devbox 0.17.2 runs .devbox/gen/scripts/.sh with the args as positional parameters but does not append "$@", so tools/serve.sh (and seed, bench, mutation, import-scale, fogbench) saw an empty argv and a documented `serve -- --image=...` silently served the default 4096 scene. End every argument-taking script body with "$@". serve: --dry-run parses and prints the options without building; unknown options, non-numeric ports/tile sizes and --tile-size without --image fail loudly; a no-image start prints the current map read from state.db; NixOS gets security.pki.certificateFiles instead of the Debian trust steps. Guard the faults import in worldmap/vision/markers with `when defined(leakfault)` (it is only used inside those blocks), removing the three UnusedImport warnings; leakfault builds still compile. tools/devboxargs.test.mjs goes through `devbox run