Persistence
criticalContextual riskmedium confidenceThe sessions reference instructs the agent to write a SessionStart hook into the agent control-plane file .claude/settings.json whose command launches `setsid hsql --serve dev -P dev` as a detached background daemon logging to /tmp, auto-starting a standing authenticated database connection on every agent session with no idle timeout.
setsid hsql --serve dev -P dev >>/tmp/hsql-dev.log 2>&1 &
Counter-argument considered
The shipped section hands the agent a complete SessionStart hook for the agent's own control plane that relaunches a detached, credential-bearing daemon at every session; .claude/settings.json appears in no declared claim (the description covers only harlequin.toml profiles), and the 'propose rather than write unasked' guardrail lowers severity but does not neutralize the persistence pattern, which has no validation or cleanup path and matches no carve-out.