feat(deploy): add shadowing guard and evidence-based legacy env migration

This commit is contained in:
2026-08-04 21:42:53 +09:00
parent a832ba75d3
commit c38c05c1f3
2 changed files with 54 additions and 12 deletions
+3 -3
View File
@@ -119,9 +119,9 @@ rsync -a --exclude='.git/' --exclude='/reports/' --exclude='*.log' --exclude='__
log_ok "Deployed Rules and Skills under target's .agents/"
# Copy config templates and generate scripts (M-2)
if [ -f "$SRC_DIR/.env.example" ]; then
cp "$SRC_DIR/.env.example" "$TARGET_DIR/.env.example"
log_ok "Copied .env.example configuration template"
if [ -f "$SRC_DIR/.mam.env.example" ]; then
cp "$SRC_DIR/.mam.env.example" "$TARGET_DIR/.mam.env.example"
log_ok "Copied .mam.env.example configuration template"
fi
if [ -f "$SRC_DIR/deploy/generate-env.sh" ]; then
mkdir -p "$TARGET_DIR/scripts"