
=== 2026-04-30 13:32:30 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260430-133230-978c3b --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260430-133230-978c3b' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260430-133230-978c3b.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-133230-978c3b
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[13:32:32] 🏥 Health check...
[13:32:34] ✅ qishui: OK
[13:32:34] ✅ netease: OK
[13:32:34] ✅ qq: OK

[13:32:34] 🔍 [01_酒醉的蝴蝶_20260430] Step 0: Fetching...
[13:32:43] ✅ [01_酒醉的蝴蝶_20260430] Step 0: qq | 415c
[13:32:43] ⬇️  [01_酒醉的蝴蝶_20260430] Step 0.5: Download from qq...
[13:32:49] ✅ [01_酒醉的蝴蝶_20260430] Step 0.5: 5033509 bytes | 206.2s
[13:32:49] 🔬 [01_酒醉的蝴蝶_20260430] Step 0.75: Audio features...
[13:32:50] ✅ [01_酒醉的蝴蝶_20260430] Step 0.75: BPM=139.97 Key=F# minor (25.3s)
[13:32:50] 🧠 [01_酒醉的蝴蝶_20260430] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-04-30T05:32:50.021Z", "trace_id": "batch-20260430-133230-978c3b", "song_key": "01_酒醉的蝴蝶_20260430", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b/01_酒醉的蝴蝶_20260430/song_pgc.mp3", "has_features": true}}
[step1] cache hit: song_pgc.mp3 → c8ec2799e5be (saving 1 Gemini call)
{"__trace__": true, "ts": "2026-04-30T05:32:50.073Z", "trace_id": "batch-20260430-133230-978c3b", "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-30T05:32:50.073Z", "trace_id": "batch-20260430-133230-978c3b", "song_key": "01_酒醉的蝴蝶_20260430", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 0.051}
[13:32:50] ⚠️  [01_酒醉的蝴蝶_20260430] Step 1.5: prompt 1117c > 1000c, compressing...
  📏 [01_酒醉的蝴蝶_20260430] prompt 1117c → 878c (smart truncate)
[13:32:50] ✅ [01_酒醉的蝴蝶_20260430] Step 1.5: prompt compressed 1117c → 878c
[13:32:51] 🎯 [01_酒醉的蝴蝶_20260430] Mood rewritten with inspiration
[13:32:51] ✅ [01_酒醉的蝴蝶_20260430] Step 1: 33.0s | prompt=874c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 17s (0.3min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260430-133230-978c3b → +0 新增, ~0 更新 | 总计 615 首
[exit 0]

=== 2026-04-30 13:32:51 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b --profile xiachen --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260430-133230-978c3b pending=1 groups=1
[phase2] group 1/1 -> 01_酒醉的蝴蝶_20260430
[profile] ✅ Loaded profile 'xiachen' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/xiachen.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-133230-978c3b/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b --profile xiachen --skip-feishu
[13:32:51] 🌐 [01_酒醉的蝴蝶_20260430] Step 2: target_language=auto → lang_mode=AUTO
[13:32:51] 🤖 [01_酒醉的蝴蝶_20260430] Step 2 API: 12764 chars ≈ 3191 tokens → claude-sonnet-4-6
[13:33:17] ⚠️  [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%)
[13:33:17] 🔄 [01_酒醉的蝴蝶_20260430] Step 2 API: originality retry 1/3...
[13:33:38] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API retry 1: originality 84%
[13:33:38] 🔄 [01_酒醉的蝴蝶_20260430] Step 2 API: originality retry 2/3...
[13:34:01] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API retry 2: originality 84%
[13:34:01] 🔄 [01_酒醉的蝴蝶_20260430] Step 2 API: originality retry 3/3...
[13:34:31] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API originality retry 3 failed: Expecting value: line 1 column 1 (char 0)
[13:34:31] ⚠️  [01_酒醉的蝴蝶_20260430] Step 2 API: best originality 84% after 3 retries
[13:34:31] ✅ [01_酒醉的蝴蝶_20260430] Step 2 API: 《一个人挺好的（不用解释）》 | 70.2s | in=36260 out=5369 | ~$0.189
{"timestamp": "2026-04-30T13:32:51.531022+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b", "profile": "xiachen", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b/01_酒醉的蝴蝶_20260430"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b/01_酒醉的蝴蝶_20260430", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b/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-133230-978c3b/01_酒醉的蝴蝶_20260430", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b/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-133230-978c3b\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[13:34:32] 🏥 Health check...\n[13:34:34] ✅ qishui: OK\n[13:34:34] ✅ netease: OK\n[13:34:34] ✅ qq: OK\n\n  📝 [01_酒醉的蝴蝶_20260430] lyrics stripped: 2102c → 2096c\n[13:34:34] 🎵 [01_酒醉的蝴蝶_20260430] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[13:34:34] 🎨 [01_酒醉的蝴蝶_20260430] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['17c639fa', '0cc13a7e']\n  🎵 17c639fa... → submitted\n  🎵 0cc13a7e... → submitted\n  🎵 17c639fa... → queued\n  🎵 0cc13a7e... → queued\n  🎵 17c639fa... → streaming\n  🎵 0cc13a7e... → streaming\n  🎵 17c639fa... → complete\n  🎵 0cc13a7e... → complete\n[13:37:05]    🎧 [01_酒醉的蝴蝶_20260430] Song 1: https://cdn1.suno.ai/17c639fa-c9d9-4926-a8b8-97876ed4bfd0.mp3\n[13:37:05]    🎧 [01_酒醉的蝴蝶_20260430] Song 2: https://cdn1.suno.ai/0cc13a7e-0d32-47b1-8d72-38b4e3f9a713.mp3\n[13:37:05] 🎛️ [01_酒醉的蝴蝶_20260430] Step 3.5: 混音...\n[13:37:25]    🎚️ [01_酒醉的蝴蝶_20260430] Song 1: edm | 低71/中25/高4%\n[13:37:41]    🎚️ [01_酒醉的蝴蝶_20260430] Song 2: edm | 低62/中34/高4%\n[13:37:41] ✅ [01_酒醉的蝴蝶_20260430] Step 3.5: 36.6s | 2 songs mixed\n[13:37:41] ⚠️  [01_酒醉的蝴蝶_20260430] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 187s (3.1min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260430-133230-978c3b → +1 新增, ~0 更新 | 总计 617 首\n", "stderr_tail": "[profile] ✅ Loaded profile 'xiachen' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/xiachen.yaml\n", "summary": {"timestamp": "2026-04-30T13:37:41.890498+08:00", "wall_clock": 187.5, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-04-30 13:37:42 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-133230-978c3b ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/AoVVsuNQHhcM0ot3r2XcWFYin0d
[Feishu] 📐 Expanded master sheet from 557 to 658 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 558-558)
[MasterDB] ✅ 批次 batch-20260430-133230-978c3b → +1 新增, ~0 更新 | 总计 558 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/AoVVsuNQHhcM
[13:37:50] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [一个人挺好的（不用解释）] topic head sent (message_id=om_x100b501ae420f0a4b2692adeb054a32)
[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-133230-978c3b
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260430-133230-978c3b
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260430-133230-978c3b

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