Guides
Pause and resume
Investigations can wait for weeks without keeping active compute running. TriageLab uses kagent’s existing sandbox suspension and restoration, retaining the same sandbox and investigator session until you resume or close the work.
Pausing needs the TriageLab controller fork
(bondrenai/kagent#1), which keeps
a suspended sandbox past its original lifetime. Install it by running the
installer with TRIAGELAB_CONTROLLER=fork, or by running
scripts/install-fork-controller.sh on the existing development cluster. With
a release kagent
controller everything else works the same, but TriageLab detects that at run
start, hides pause controls, refuses pause requests with an explanation, and
lets runs that need more information finish their round instead of parking
them. The saved report still lists missing_information; start a new
investigation once you have it.
When the investigator returns blocking questions in missing_information,
TriageLab automatically pauses. You can also choose Pause on an active
report or use the CLI:
triagelab pause --config triagelab.json --report reports/<case-id>/report.jsonPause settles the current turn, stops outstanding experiments, collects their evidence, and confirms sandbox suspension. Wait for Paused before shutting down TriageLab. Stop and Ctrl-C still cancel and clean up the investigation.
Resume with new information
Section titled “Resume with new information”Open a paused report, supply the additional information and files, review the saved settings, and choose Resume. Ticket investigations require this signed-in review; resuming does not send any helpdesk message.
Manual investigations also support:
triagelab resume --config triagelab.json --report reports/<case-id>/report.json \ --description 'New information from the customer' --file ./new-evidence.txtThe saved agent, tools, and limits apply to a fresh bounded round in the same
conversation. New files go under /data/workspace/rounds/<round>/; existing
workspace files remain. Earlier reports stay available in the round selector
and under rounds/ in the run directory. Old process handles are historical,
so current claims require newly collected evidence.
After a restart, use the same upstream endpoint and identity with a current credential. TriageLab does not automatically resume paid work. If restoration was interrupted before invocation, an explicit resume with the same additional information can reconcile it. If a model invocation’s outcome is uncertain, TriageLab requires closing that investigation instead of risking a duplicate.
Close and retain the reports
Section titled “Close and retain the reports”Choose Close when the investigation no longer needs its retained resources:
triagelab close --config triagelab.json --report reports/<case-id>/report.jsonClose deletes the session and sandbox and keeps the reports. If cleanup fails, retry Close after connectivity recovers. A completed investigation without blocking questions cleans up automatically.
Deployment and storage
Section titled “Deployment and storage”Controllers that support pausing must run the pinned
bondrenai/kagent retention patch.
The dedicated deployment must set config.sessions.idleTtl: 0s; the development
installer configures both. Released 1.0.0 controllers do not provide this
retention guarantee; TriageLab detects them at run start and runs without
pause and resume instead of keeping suspended workspaces.
Keep the entire private reports/<case-id>/ directory, including lifecycle.json,
plus kagent’s database and Substrate snapshot storage. Downloaded reports alone
cannot resume work. Credentials are not stored in the lifecycle record.
There is no automatic expiry while safely paused. Close unwanted investigations to release snapshot storage and control-plane records. The first version allows up to 32 rounds and 64 MiB of report history. Durability covers workspace files, not process memory, running commands, or root filesystem edits outside durable directories. Snapshot retention is not an independent backup.