Files
club-3090/scripts/generate-compose.sh
noonghunna baac1acafd chore(254): deprecate the now-unused Genesis nightly engines + patches [Phase 3+4]
Phase 3 — engine profiles (zero registry users after the archival):
- vllm-nightly-mtp + vllm-nightly-full -> stability: deprecated + DEPRECATED notes
  (both purged nightlies, 404 on Docker Hub). nightly-mtp retained as the
  genesis_equipped test anchor (required_genesis:true).
- arch_patches.yml: flipped the qwen3-next-hybrid vllm-nightly-mtp pin
  loads:true -> false (deriver won't offer the dead engine; vllm-stable@v0.22.0
  stays the loads:true primary).
- generate-compose.sh usage example + docs/UPSTREAM.md engine-pin rows updated.

Phase 4 — patches.yml: stamped 55 patches deprecated_on:2026-06-05 (kept on disk):
- the ~46 genesis-p*/pn* env-gated patches (via the &genesis_env_patch anchor)
- 9 dead overlays: sglang x2, pr40798/pr40914 (negative-result), gemma-pr41800
  (merged upstream), gemma4-fp8-ampere (Ampere-dead), perheadkv-hybridpage-fix +
  pr40391-perheadkv (superseded by pr40391-rebased), carnice-chat-template
  (carnice compose archived).
- Left 9 ACTIVE: overlays still mounted by functional composes + the gated
  gemma-a4b #326 patch.

42/42 gate green. Refs #254.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 14:44:21 +00:00

23 lines
1.0 KiB
Bash
Executable File

#!/usr/bin/env bash
#
# generate-compose.sh — v0.8.0 #141 compose generator (PR #147).
#
# Emits a minimal-reproduction docker-compose for an in-scope (non-Genesis,
# vLLM-only) profile. Mission (locked decision #2): reproduce + flag, NEVER
# repair. The engine image is NEVER rewritten; a failed-drift-guard patch is
# NEVER wired; --trust-remote-code (a governed slot, locked §88) is NEVER
# blind-passed for an in-scope profile.
#
# Usage:
# scripts/generate-compose.sh --profile vllm/minimal [--out FILE]
# scripts/generate-compose.sh --profile vllm/gemma-int8-mtp --accept-degraded
# scripts/generate-compose.sh --model gemma-4-31b --engine vllm-gemma-stable
# # convenience tuple: prints candidate --profile values, exits non-zero
#
# All decision logic lives in scripts/lib/generate_compose.py (this is a
# thin argv pass-through, matching the diagnose-profile.sh pattern).
set -euo pipefail
ROOT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
exec python3 "${ROOT_DIR}/scripts/lib/generate_compose.py" "$@"