#!/bin/sh # The mesh's (module claude-code, novox/hq ADR 0266): start the agent as the account agents run as on this # machine. Written whole at every push: an edit here is overwritten. agent='${machine:agent-account}' if [ "$(id -un)" = "$agent" ]; then exec claude "$@" fi # Another account, the operator's, becomes the agent's through its own sudo: the person is the authority. exec sudo -iu "$agent" claude "$@"