
=== 2026-04-30 16:07:20 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260430-160720-5cb98e --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260430-160720-5cb98e' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260430-160720-5cb98e.yaml
[step075] cache hit: song_pgc.mp3 → 590baca16846

======================================================================
music-pipeline3000 v2 | 1 songs
======================================================================
Gemini concurrency: 2 | Suno concurrency: 2
Output: /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[16:07:22] 🏥 Health check...
[16:07:26] ✅ qishui: OK
[16:07:26] ✅ netease: OK
[16:07:26] ✅ qq: OK

[16:07:26] 🔍 [01_酒醉的蝴蝶_20260430] Step 0: Fetching...
[16:07:28] 🔄 [01_酒醉的蝴蝶_20260430] Step 0: retry 1/2 in 5s...
[16:07:46] ✅ [01_酒醉的蝴蝶_20260430] Step 0: qq | 415c
[16:07:46] ⬇️  [01_酒醉的蝴蝶_20260430] Step 0.5: Download from qq...
[16:07:52] ✅ [01_酒醉的蝴蝶_20260430] Step 0.5: 5033509 bytes | 206.2s
[16:07:52] 🔬 [01_酒醉的蝴蝶_20260430] Step 0.75: Audio features...
[16:07:52] ✅ [01_酒醉的蝴蝶_20260430] Step 0.75: BPM=139.97 Key=F# minor (25.3s)
[16:07:52] 🧠 [01_酒醉的蝴蝶_20260430] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-04-30T08:07:52.752Z", "trace_id": "batch-20260430-160720-5cb98e", "song_key": "01_酒醉的蝴蝶_20260430", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/01_酒醉的蝴蝶_20260430/song_pgc.mp3", "has_features": true}}
[step1] cache hit: song_pgc.mp3 → c8ec2799e5be (saving 1 Gemini call)
{"__trace__": true, "ts": "2026-04-30T08:07:52.792Z", "trace_id": "batch-20260430-160720-5cb98e", "song_key": "01_酒醉的蝴蝶_20260430", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 33.0, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-04-30T08:07:52.793Z", "trace_id": "batch-20260430-160720-5cb98e", "song_key": "01_酒醉的蝴蝶_20260430", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 0.04}
[16:07:52] ⚠️  [01_酒醉的蝴蝶_20260430] Step 1.5: prompt 1117c > 1000c, compressing...
  📏 [01_酒醉的蝴蝶_20260430] prompt 1117c → 878c (smart truncate)
[16:07:52] ✅ [01_酒醉的蝴蝶_20260430] Step 1.5: prompt compressed 1117c → 878c
[16:07:53] 🎯 [01_酒醉的蝴蝶_20260430] Mood rewritten with inspiration
[16:07:53] ✅ [01_酒醉的蝴蝶_20260430] Step 1: 33.0s | prompt=860c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 28s (0.5min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260430-160720-5cb98e → +0 新增, ~0 更新 | 总计 620 首
[exit 0]

=== 2026-04-30 16:07:54 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e --profile __runtime_batch-20260430-160720-5cb98e --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260430-160720-5cb98e pending=1 groups=1
[phase2] group 1/1 -> 01_酒醉的蝴蝶_20260430
[profile] ✅ Loaded profile '__runtime_batch-20260430-160720-5cb98e' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260430-160720-5cb98e.yaml
[phase2] 🌐 01_酒醉的蝴蝶_20260430: target_language=auto
[phase2] resume -> /usr/bin/python3 /srv/repos/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e --profile __runtime_batch-20260430-160720-5cb98e --skip-feishu
[16:07:54] 🌐 [01_酒醉的蝴蝶_20260430] Step 2: target_language=auto → lang_mode=AUTO
[16:07:54] 🤖 [01_酒醉的蝴蝶_20260430] Step 2 API: 12750 chars ≈ 3187 tokens → claude-sonnet-4-6
[16:08:28] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API: originality 80% < 85% | 1 copied phrases
          ❗ "enters with the main, melancholic pentatonic hook.)" ~ "enters with the main, melancholic pentatonic hook.)" (100%)
[16:08:28] 🔄 [01_酒醉的蝴蝶_20260430] Step 2 API: originality retry 1/3...
[16:09:03] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API originality retry 1 failed: Expecting value: line 1 column 1 (char 0)
[16:09:03] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API: best originality 80% after 3 retries
[16:09:03] ✅ [01_酒醉的蝴蝶_20260430] Step 2 API: 《一个人也挺好（不稀罕了版）》 | 34.2s | in=9899 out=1655 | ~$0.055
{"timestamp": "2026-04-30T16:07:54.314781+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e", "profile": "__runtime_batch-20260430-160720-5cb98e", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/01_酒醉的蝴蝶_20260430"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/01_酒醉的蝴蝶_20260430", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/01_酒醉的蝴蝶_20260430/step2_json_b.json", "agent_summary": "API direct: 一个人也挺好（不稀罕了版）", "returncode": 0, "stderr": "", "attempt": 1, "attempts": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/01_酒醉的蝴蝶_20260430", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e/01_酒醉的蝴蝶_20260430/step2_json_b.json", "agent_summary": "API direct: 一个人也挺好（不稀罕了版）", "returncode": 0, "stderr": "", "attempt": 1}]}]}], "resume": {"status": "success", "returncode": 0, "stdout_tail": "\n======================================================================\nmusic-pipeline3000 v2 | 1 songs\n======================================================================\nGemini concurrency: 2 | Suno concurrency: 3\nOutput: /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[16:09:05] 🏥 Health check...\n[16:09:08] ✅ qishui: OK\n[16:09:08] ✅ netease: OK\n[16:09:08] ✅ qq: OK\n\n  🎤 [01_酒醉的蝴蝶_20260430] Vocal override (replaced): Female, female anthemic lead with powerful, clear soprano ti\n  📝 [01_酒醉的蝴蝶_20260430] lyrics stripped: 2009c → 2003c\n[16:09:08] 🎵 [01_酒醉的蝴蝶_20260430] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[16:09:08] 🎨 [01_酒醉的蝴蝶_20260430] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['46e7619b', '609f8ef3']\n  🎵 46e7619b... → submitted\n  🎵 609f8ef3... → submitted\n  🎵 46e7619b... → queued\n  🎵 609f8ef3... → queued\n  🎵 46e7619b... → streaming\n  🎵 609f8ef3... → streaming\n  🎵 609f8ef3... → complete\n  🎵 46e7619b... → complete\n[16:11:40]    🎧 [01_酒醉的蝴蝶_20260430] Song 1: https://cdn1.suno.ai/46e7619b-a766-4b10-bf16-b8525089da8a.mp3\n[16:11:40]    🎧 [01_酒醉的蝴蝶_20260430] Song 2: https://cdn1.suno.ai/609f8ef3-99df-4314-b628-d4e8771dcc36.mp3\n[16:11:40] 🎛️ [01_酒醉的蝴蝶_20260430] Step 3.5: 混音...\n[16:11:58]    🎚️ [01_酒醉的蝴蝶_20260430] Song 1: edm | 低50/中45/高5%\n[16:12:13]    🎚️ [01_酒醉的蝴蝶_20260430] Song 2: edm | 低57/中37/高6%\n[16:12:13] ✅ [01_酒醉的蝴蝶_20260430] Step 3.5: 33.4s | 2 songs mixed\n[16:12:13] ⚠️  [01_酒醉的蝴蝶_20260430] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 185s (3.1min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260430-160720-5cb98e → +1 新增, ~0 更新 | 总计 621 首\n", "stderr_tail": "[profile] ✅ Loaded profile '__runtime_batch-20260430-160720-5cb98e' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260430-160720-5cb98e.yaml\n", "summary": {"timestamp": "2026-04-30T16:12:13.828285+08:00", "wall_clock": 185.3, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-04-30 16:12:14 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/VOAosjtLehDeTTtsvmGc4hSInRg
[Feishu] 📐 Expanded master sheet from 561 to 662 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 562-562)
[MasterDB] ✅ 批次 batch-20260430-160720-5cb98e → +1 新增, ~0 更新 | 总计 562 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/VOAosjtLehDe
[16:12:22] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [一个人也挺好（不稀罕了版）] topic head sent (message_id=om_x100b5004a0b8e4a0b2bdbf67c913d6b)
[Feishu IM] ✅ [一个人也挺好（不稀罕了版）] 一个人也挺好（不稀罕了版）_V1_raw.mp3 replied
[Feishu IM] ✅ [一个人也挺好（不稀罕了版）] 一个人也挺好（不稀罕了版）_V1_mixed.mp3 replied
[Feishu IM] ✅ [一个人也挺好（不稀罕了版）] 一个人也挺好（不稀罕了版）_V2_raw.mp3 replied
[Feishu IM] ✅ [一个人也挺好（不稀罕了版）] 一个人也挺好（不稀罕了版）_V2_mixed.mp3 replied
[Feishu] ✅ Already on file server: /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260430-160720-5cb98e
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260430-160720-5cb98e

📊 https://ccnu62373cgc.feishu.cn/sheets/VOAosjtLehDeTTtsvmGc4hSInRg
[exit 0]
