refactor(sandbox): remove OpenCode version allowlist gating under enforcement

This commit is contained in:
Chris Scott committed 2026-08-22 13:03:07 -04:00
1 parent 0215de9d92
commit aab80f9d65
17 files changed
+98 -524

No files matched your search

+2 -6
View File
@@ -16,19 +16,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Resolve tool versions (opencode and microsandbox are intentionally pinned)
- name: Resolve tool versions (bundled OpenCode and microsandbox for reproducibility)
id: versions
run: |
# OPENCODE_VERSION is pinned, not detected: sandbox enforcement depends on the
# bash-tool hook contract, which is verified per build. It must stay in sync with
# SANDBOX_VERIFIED_OPENCODE_VERSIONS in backend/src/services/opencode-single-server.ts.
UV_VERSION=$(git ls-remote --tags --sort=-v:refname https://github.com/astral-sh/uv.git 'refs/tags/[0-9]*' | head -1 | sed 's/.*refs\/tags\///')
OPENCODE_VERSION=1.18.16
MICROSANDBOX_VERSION=0.6.8
echo "uv=${UV_VERSION}" >> $GITHUB_OUTPUT
echo "opencode=${OPENCODE_VERSION}" >> $GITHUB_OUTPUT
echo "microsandbox=${MICROSANDBOX_VERSION}" >> $GITHUB_OUTPUT
echo "Versions: uv=${UV_VERSION} (latest), opencode=${OPENCODE_VERSION} (pinned), microsandbox=${MICROSANDBOX_VERSION} (pinned)"
echo "Versions: uv=${UV_VERSION} (latest), opencode=${OPENCODE_VERSION} (bundled default), microsandbox=${MICROSANDBOX_VERSION} (pinned)"
- name: Docker meta
id: meta
@@ -70,4 +67,3 @@ jobs:
cache-to: type=gha,mode=max
target: runner