From af65c10361b49e679b8f661e7fefc86d20b4c01c Mon Sep 17 00:00:00 2001 From: claude Date: Wed, 27 May 2026 15:00:13 -0400 Subject: [PATCH] refactor: Bottle.exec takes a user= kwarg, default node MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Promote the user-switch from a hardcoded `node` to a keyword arg so callers can opt into root (or any other user) when needed. Default stays `node` — matches the docker image's USER and the smolmachines runuser default. Lifts the change through the base ABC, docker, and smolmachines backends: - Base: `def exec(self, script, *, user="node")`. - Docker: adds `-u ` to `docker exec` (no-op when user is node, the image's default). - Smolmachines: `runuser -l -c