mirror of
https://github.com/razzant/ouroboros.git
synced 2026-10-02 19:58:46 +00:00
Run Ouroboros through the pinned official task/evaluation runner with persistent MCP services, cumulative spending controls, bounded Docker resources, and auditable results. Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com>
12 lines
511 B
Bash
12 lines
511 B
Bash
# Sourced only by the official runner through BASH_ENV. Its PATH reset would
|
|
# otherwise bypass a private bin directory, and it overwrites $DOCKER itself.
|
|
which() {
|
|
if [ "$#" -eq 1 ] && [ "$1" = docker ]; then
|
|
printf '%s\n' "${COWORK_DOCKER_SHIM:?missing run-scoped Docker shim}"
|
|
else
|
|
command which "$@"
|
|
fi
|
|
}
|
|
# Child shells and the shim need no startup injection. The runner already owns
|
|
# this function; its task subshells inherit the resolved absolute $DOCKER path.
|
|
unset BASH_ENV
|