Skip to content

fix(agent-bench): honor absolute TERMINAL_BENCH_VENV paths #473

Description

@drewstone

Problem

During agent-lab R305, Terminal-Bench live scoring needed to point @tangle-network/agent-bench at an existing venv:

TERMINAL_BENCH_VENV=/home/drew/code/agent-runtime/bench/.venv-terminal-bench

The adapter treated that absolute path as relative to the package bench root, so preflight failed until I created a local symlink at:

node_modules/@tangle-network/agent-bench/.venv-terminal-bench -> /home/drew/code/agent-runtime/bench/.venv-terminal-bench

Expected

If TERMINAL_BENCH_VENV is absolute, use it as-is.
If it is relative, resolve it against the existing bench root.

Why it matters

Agent-lab and product eval worktrees should be able to reuse a known-good Terminal-Bench venv without mutating node_modules or relying on symlinks.
This is a small adapter robustness fix, not a change to scoring semantics.

Observed in

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions