NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Babysit

PLUGIN

Watches a long job's log (training run, build, migration) with zero model calls, keeps one chat message updated in place.

by aarav1656 · v0.3.0

What it does

Watches a long job's log (training run, build, migration) with zero model calls, keeps one chat message updated in place, and wakes the agent only when the job hits a non-finite value, out-of-memory error, traceback, stall, process exit or a line containing your alert text. Disclosure — Babysit reads the selected log file through one read-only handle, opened without following symlinks and checked again from the handle itself, so replacing the path afterwards changes nothing it reads.

It never kills a process, never signals a process group or another PID, and refuses Ulpi's own process and its parents. `checkpoin

Tools it adds

The tools an agent gets once this plugin is installed.

  • babysit_watch
  • babysit_stop
  • babysit_list
  • babysit_resume

How to set it up

  1. With it freezes the job on a non-finite value, out-of-memory error, memory pressure or traceback, and a restart linked with gets a recovered or relapsed verdict once it passes the old failure step.

    on_failure: pause
    resume_of
  2. It accepts absolute paths only and refuses files inside the active profile's Ulpi home, the Ulpi root that holds every profile,,,,,,,,, and, files with credential-looking names such as,,, and, shell and database history files (,,, and every other ),,,, hard-linked files, and anything that is not a regular file.

    ~/.ssh
    ~/.aws
    ~/.gnupg
    ~/.kube
    ~/.docker
    ~/.config
    /etc
    /proc
    /sys
    /dev
    .env
    id_*
    *.pem
    *.key
    auth.json
    .bash_history
    .zsh_history
    .python_history
    .psql_history
    .*_history
    ~/.pgpass
    ~/.netrc
    ~/.git-credentials
  3. When a PID is given, every 4 seconds it reads that process's resident memory through psutil, plus the cgroup memory limit from or the system's available memory, and when the process ends it reads its exit status without reaping it.

    /sys/fs/cgroup
  4. It never writes to the log, makes no network requests of its own, spawns no child processes, and sends no signals unless a watch sets: then it sends to the one PID the watch was given, and on or, each only after re-checking that PID's uid and start time.

    on_failure: pause
    SIGSTOP
    SIGCONT
    babysit_resume
    /babysit resume

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Automation

All listings →