#!/usr/bin/env bash # Bring-up runs of nisse-dev on this development VM (Development Plan M0.2). # # The agent runs as root, as it will on its own VM in production (D7): it may # install what it needs. It touches only test resources (the sandbox repo, the # test Matrix room, a budget-capped LiteLLM key), from the run's config. It # runs as a transient systemd unit, so it outlives the shell that started it. # # scripts/bringup.sh start [REF] set the last run aside, export REF (default # HEAD) and start the agent # scripts/bringup.sh stop stop it cleanly (SIGTERM) # scripts/bringup.sh status the unit, and the agent's state # scripts/bringup.sh logs follow the agent's log # scripts/bringup.sh collect save the log and a readable transcript # into the current run's directory # # Layout, under $E2E (default /root/nisse-e2e): # nisse-dev.yaml, .env the run config and its secrets (made by hand once) # code/ the exported code under test, with its own .venv # state.db, project/ the agent's state and workspace # run-info, collected/ what was run, and the output of `collect` # runs/