716ef407fe
Wire Portal and TKMind proxy to loopback Goose v1.49 via canary env blocks, with verification scripts, Phase 2/3 evidence baselines, and rollback runbooks so local upgrade stays isolated from stable 1.41 and production. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
925 B
Bash
Executable File
26 lines
925 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Seed cargo git checkouts from local hermit cache (offline build when GitHub SSL fails).
|
|
set -euo pipefail
|
|
|
|
HERMIT_ROOT="${GOOSE_V149_HERMIT_ROOT:-/Users/john/Project/tkmind_go-v141-prod-prep/.hermit/rust/git/checkouts}"
|
|
CARGO_GIT="${CARGO_HOME:-${HOME}/.cargo}/git/checkouts"
|
|
|
|
seed_checkout() {
|
|
local prefix="$1"
|
|
local rev="$2"
|
|
local source="$3"
|
|
local dest="${CARGO_GIT}/${prefix}/${rev}"
|
|
if [[ ! -d "${source}" ]]; then
|
|
echo "[goose-v149-vendor] missing source: ${source}" >&2
|
|
exit 1
|
|
fi
|
|
mkdir -p "${CARGO_GIT}/${prefix}"
|
|
ln -sfn "${source}" "${dest}"
|
|
echo "[goose-v149-vendor] ${dest} -> ${source}"
|
|
}
|
|
|
|
seed_checkout rust-sdk-762d172c5e846930 c97a5203d3392f7f231514d84eea014f9f43e6fb \
|
|
"${HERMIT_ROOT}/rust-sdk-762d172c5e846930/c97a520"
|
|
seed_checkout cudaforge-5c30904947dfbb68 e7c1967340e40673db98dc9e17da0f04834a456f \
|
|
"${HERMIT_ROOT}/cudaforge-5c30904947dfbb68/e7c1967"
|