Freeze current submission/demo baseline: - casan-next-plans/: full task-level plan set (Plan 00 index + 02/04/06/07/08/09/12, QA, slide deck) - optimize-docs/video-steps/: per-vector scene breakdown (commands/screen-text/script) + start-tmux - run-all.sh / scorecard.sh / map-live.sh: REAL=1 live-battery wiring - regenerated evidence + audit/telemetry logs from live REAL=1 run - submission README + video recording guide updates - dry-run pipeline logs for 001-okr-web-app Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
899 B
Bash
Executable File
19 lines
899 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# ── PRE-FLIGHT — chạy TRƯỚC khi quay (không cần đưa hết vào video) ──
|
|
|
|
# 1) Tunnel Ollama (giữ chạy ở tab riêng) — CHỈ cần cho A3, A8, D4
|
|
ssh -N -L 11434:127.0.0.1:11434 <user>@<home-linux-server>
|
|
curl -s 127.0.0.1:11434/api/tags | jq '.models[].name' # kỳ vọng: ornith:9b
|
|
|
|
# 2) Môi trường sạch — mọi cảnh chạy trong container này
|
|
docker run --rm -it --network host -v "$PWD":/work -w /work node:24-slim bash
|
|
apt-get update -qq && apt-get install -y -qq python3 openssl git curl jq >/dev/null
|
|
ln -sf "$(command -v python3)" /usr/local/bin/python
|
|
export CASAN_MODEL_PRIMARY="ollama:ornith:9b"
|
|
|
|
# 3) Vào thư mục gốc dự án (nơi có .specify/)
|
|
cd casan5/AINative_OKR_CASAN5 # repo này: cd AINative_OKR_CASAN5
|
|
|
|
# 4) (khuyến nghị) ghi lại terminal để giám khảo replay
|
|
# asciinema rec casan-h4h5h6.cast
|