isaaclab-bisection-agent finds the first IsaacLab commit that regressed a
performance metric. It checks out each candidate, reconstructs that commit's
pinned runtime stack, runs one fixed benchmark contract, and preserves the
evidence needed to defend the verdict.
The project is currently an alpha developer preview. Deterministic code owns
measurement, thresholding, and binary-search decisions. Optional LLM policies
may diagnose setup failures and propose bounded retries, but cannot change a
GOOD or BAD verdict. Post-bisection trace analysis remains an external
integration point.
Python 3.11 or newer is required:
python -m pip install .
isaaclab-bisect --helpFor development:
python -m pip install --editable ".[test]"Real benchmark runs require Linux, Git, an NVIDIA GPU/driver compatible with the target commits, and either Docker or enough host disk for reconstructed Python environments.
The image contains CUDA userspace, build tools, Git, uv, and the agent. It
deliberately does not contain Isaac Sim:
docker build --file docker/Dockerfile --tag isaaclab-bisection-agent:dev .isaaclab-bisect benchmark-commit \
--repo_root /path/to/IsaacLab \
--commit <COMMIT_SHA> \
--tooling_ref <TOOLING_SHA> \
--work_dir /tmp/isaaclab-benchmark \
--runner_mode docker-reconstruct \
--image isaaclab-bisection-agent:dev \
--task_id Isaac-Cartpole-Direct \
--backend_key physx \
--num_envs 4096 \
--gpu_model "NVIDIA L40S"--tooling_ref must be a full committed SHA for authoritative runs. It pins the
benchmark driver, parser, metric semantics, task configuration, and content
hash. WORKTREE is available only for explicitly non-authoritative development.
Use probe-range to validate checkout, reconstruction, and benchmark execution
without claiming a first-bad commit:
isaaclab-bisect probe-range \
--repo_root /path/to/IsaacLab \
--good_ref <OLDER_SHA> \
--bad_ref <NEWER_SHA> \
--tooling_ref <TOOLING_SHA> \
--work_dir /tmp/isaaclab-probe \
--runner_mode docker-reconstruct \
--image isaaclab-bisection-agent:dev \
--task_id Isaac-Cartpole-Direct \
--backend_key physx \
--num_envs 4096 \
--cleanup_probe_envsBoth endpoints are always measured. --max_tests bounds selected interior
commits; set it high enough to cover the complete ancestry path. Each commit is
independent, so setup or benchmark failures are recorded and the sweep
continues. This mode never emits GOOD, BAD, or a first-bad verdict.
isaaclab-bisect bisect-range \
--repo_root /path/to/IsaacLab \
--good_ref <GOOD_SHA> \
--bad_ref <BAD_SHA> \
--tooling_ref <TOOLING_SHA> \
--work_dir /tmp/isaaclab-bisect \
--runner_mode docker-reconstruct \
--image isaaclab-bisection-agent:dev \
--task_id Isaac-Cartpole-Direct \
--backend_key physx \
--num_envs 4096 \
--reference_runs 3 \
--candidate_runs 1 \
--warmup_runs 1The run first qualifies the good and bad endpoints. Binary search starts only when the references are comparable, stable enough, and exceed the effective regression threshold. A non-reproducing or noisy range is reported as inconclusive.
syntheticrehearses search and artifact logic without a GPU.local-sourceuses the host's existing IsaacLab environment.docker-sourcesource-mounts a candidate into an existing IsaacLab image.local-reconstructbuilds each commit's pinned stack on the host.docker-reconstructperforms that reconstruction in an isolated container and is recommended for reproducible investigations.
Important outputs include:
plan.resolved.json: immutable task, runner, metric, sampling, and tooling contract.tooling_manifest.json: tooling SHA, content hash, file count, and contract identity.preflight.jsonandhardware_context.json: host and GPU evidence.reference_measurements.json: endpoint samples and qualification result.summary.jsonandreport.md: final verdict, values, thresholds, confidence, narrowed interval, stack movement, and blockers.probe_range.json: non-authoritative compatibility sweep results.measurements/andresults/: attempt logs and per-candidate evidence.relaunch.json: an argv handoff for an equivalent host.
Setup and tooling incompatibilities are structured skips, not performance verdicts. See the compatibility policy.
The repository ships operator and automation playbooks under
skills/. The three atomic operations share one JSON
adapter:
isaaclab-bisect-skill --input request.json --output response.jsonThe adapter preserves the canonical artifacts and returns a small response envelope for Fanes Agent or other automation.
The core has no required third-party Python dependency. Tests, linting, and container builds run in GitHub Actions; authoritative GPU sweeps remain a separate hardware validation gate.