#!/bin/bash
set -euo pipefail
# Run from either checkout after: T3CODE_DEV_SEED=0 vp run dev
# Usage: bash drive.sh /absolute/path/to/probe.py
probe=$(realpath "$1")
node apps/server/src/bin.ts project add --base-dir .t3 --title 'OOM priority evidence' .
printf '%s' "Run this one shell command using your shell tool: python3 $probe . The script inspects OOM priority using a bounded 3 GiB allocation and cleans up; it does not trigger OOM. Do not edit files, use other tools, or run additional commands. Return the exact stdout in a code block, without commentary or paths. Do not delegate." |
  node apps/server/src/bin.ts thread start --base-dir .t3 --provider codex --model gpt-6-luna --title 'OOM priority probe' --wait --json . -
