
=== 2026-04-29 17:17:34 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260429-171734-d8324a --target-language zh --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260429-171734-d8324a' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260429-171734-d8324a.yaml
[   INFO   ] MusicExtractorSVM: no classifier models were configured by default
[   INFO   ] On connection Flux::flux → IIR::signal:
[   INFO   ] BUFFER SIZE MISMATCH: max=0 - asked for read size 4096
[   INFO   ] resizing buffer to 36040/4505
[   INFO   ] FrameCutter: dropping incomplete frame
/usr/local/lib/python3.13/dist-packages/scipy/cluster/hierarchy.py:810: ClusterWarning: The symmetric non-negative hollow observation matrix looks suspiciously like an uncondensed distance matrix
  return linkage(y, method='ward', metric='euclidean')

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

[17:17:36] 🏥 Health check...
[17:17:37] ✅ qishui: OK
[17:17:37] ✅ netease: OK
[17:17:37] ✅ qq: OK

[17:17:37] 🔍 [01_New Rules_20260429] Step 0: Fetching...
[17:17:40] ✅ [01_New Rules_20260429] Step 0: netease | 2571c
[17:17:40] ⬇️  [01_New Rules_20260429] Step 0.5: Download from netease...
[17:17:46] ✅ [01_New Rules_20260429] Step 0.5: 4208708 bytes | 209.4s
[17:17:46] 🔬 [01_New Rules_20260429] Step 0.75: Audio features...
[17:18:16] ✅ [01_New Rules_20260429] Step 0.75: BPM=116.88 Key=A minor (30.1s)
[17:18:16] 🧠 [01_New Rules_20260429] Step 1: Gemini (queuing)...
[17:18:16] 🌐 Step 1: target_language=zh (injecting override directive)
  📊 Gemini official: 49s | prompt_tokens=10749 completion=2002
[17:19:05] ⚠️  [01_New Rules_20260429] Step 1.5: prompt 1340c > 1000c, compressing...
  📏 [01_New Rules_20260429] prompt 1340c → 846c (smart truncate)
[17:19:05] ✅ [01_New Rules_20260429] Step 1.5: prompt compressed 1340c → 846c
[17:19:05] ✅ [01_New Rules_20260429] Step 1: 49.1s | prompt=846c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 88s (1.5min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260429-171734-d8324a → +0 新增, ~0 更新 | 总计 606 首
[exit 0]

=== 2026-04-29 17:19:06 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a --profile grammy --resume-mode each --skip-feishu --target-language zh ===
[phase2] batch=batch-20260429-171734-d8324a pending=1 groups=1
[phase2] group 1/1 -> 01_New Rules_20260429
[profile] ✅ Loaded profile 'grammy' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/grammy.yaml
[phase2] 🌐 01_New Rules_20260429: target_language=zh
[phase2] resume -> /usr/bin/python3 /srv/repos/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a --profile grammy --skip-feishu
[17:19:06] 🌐 [01_New Rules_20260429] Step 2: target_language=zh → lang_mode=ZH
[17:19:06] 🤖 [01_New Rules_20260429] Step 2 API: 33321 chars ≈ 8330 tokens → claude-sonnet-4-6
[17:19:51] ✅ [01_New Rules_20260429] Step 2 API: 《还剩几度》 | 44.8s | in=16903 out=2706 | ~$0.091
{"timestamp": "2026-04-29T17:19:06.734422+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a", "profile": "grammy", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/01_New Rules_20260429"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/01_New Rules_20260429", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/01_New Rules_20260429/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-20260429-171734-d8324a/01_New Rules_20260429", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/01_New Rules_20260429/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-20260429-171734-d8324a\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[17:19:53] 🏥 Health check...\n[17:19:55] ✅ qishui: OK\n[17:19:55] ✅ netease: OK\n[17:19:55] ✅ qq: OK\n\n  📝 [01_New Rules_20260429] lyrics stripped: 5153c → 5000c\n[17:19:55] 🎵 [01_New Rules_20260429] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[17:19:55] 🎨 [01_New Rules_20260429] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['b883697f', '56151862']\n  🎵 b883697f... → submitted\n  🎵 56151862... → submitted\n  🎵 b883697f... → queued\n  🎵 56151862... → queued\n  🎵 b883697f... → streaming\n  🎵 56151862... → streaming\n  🎵 b883697f... → complete\n  🎵 56151862... → complete\n[17:23:42]    🎧 [01_New Rules_20260429] Song 1: https://cdn1.suno.ai/b883697f-02f9-498a-afad-f6bd96aa8f83.mp3\n[17:23:42]    🎧 [01_New Rules_20260429] Song 2: https://cdn1.suno.ai/56151862-2e48-4461-971b-4790dcb8c677.mp3\n[17:23:42] 🎛️ [01_New Rules_20260429] Step 3.5: 混音...\n[17:24:05]    🎚️ [01_New Rules_20260429] Song 1: rock | 低64/中32/高5%\n[17:24:24]    🎚️ [01_New Rules_20260429] Song 2: pop | 低13/中78/高9%\n[17:24:24] ✅ [01_New Rules_20260429] Step 3.5: 42.0s | 2 songs mixed\n[17:24:27] ✅ [01_New Rules_20260429] Step 4: 15.4s | /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a/01_New Rules_20260429/cover_seedream.jpg\n\n======================================================================\nSUMMARY | 272s (4.5min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260429-171734-d8324a → +1 新增, ~0 更新 | 总计 607 首\n", "stderr_tail": "[profile] ✅ Loaded profile 'grammy' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/grammy.yaml\n", "summary": {"timestamp": "2026-04-29T17:24:27.373795+08:00", "wall_clock": 272.2, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-04-29 17:24:28 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/JBOOs6oWKhOTlKt4MNVcQ98fnQb
[Feishu] 📐 Expanded master sheet from 547 to 648 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 548-548)
[MasterDB] ✅ 批次 batch-20260429-171734-d8324a → +1 新增, ~0 更新 | 总计 548 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/JBOOs6oWKhOT
[17:24:36] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [还剩几度] topic head sent (message_id=om_x100b5028ab9804a8b2a2ac58e741bb2)
[Feishu IM] ✅ [还剩几度] cover replied
[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-20260429-171734-d8324a
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260429-171734-d8324a
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260429-171734-d8324a

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