
=== 2026-04-19 11:51:58 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3 -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260419-115158-d79bb3 --target-language zh --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260419-115158-d79bb3' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260419-115158-d79bb3.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-20260419-115158-d79bb3
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[11:51:59] 🏥 Health check...
[11:52:03] ✅ qishui: OK
[11:52:03] ✅ netease: OK
[11:52:03] ✅ qq: OK

[11:52:03] 🔍 [01_First Class_20260419] Step 0: Fetching...
[11:52:11] ✅ [01_First Class_20260419] Step 0: qq | 2093c
[11:52:11] ⬇️  [01_First Class_20260419] Step 0.5: Download from qq...
[11:53:14] ✅ [01_First Class_20260419] Step 0.5: 4374885 bytes | 174.0s
[11:53:14] 🔬 [01_First Class_20260419] Step 0.75: Audio features...
[11:53:44] ✅ [01_First Class_20260419] Step 0.75: BPM=106.94 Key=G minor (29.6s)
[11:53:44] 🧠 [01_First Class_20260419] Step 1: Gemini (queuing)...
[11:53:44] 🌐 Step 1: target_language=zh (injecting override directive)
  📊 Gemini official: 39s | prompt_tokens=9497 completion=1829
[11:54:23] ⚠️  [01_First Class_20260419] Step 1.5: prompt 1226c > 1000c, compressing...
  📏 [01_First Class_20260419] prompt 1226c → 888c (smart truncate)
[11:54:23] ✅ [01_First Class_20260419] Step 1.5: prompt compressed 1226c → 888c
[11:54:23] ✅ [01_First Class_20260419] Step 1: 39.1s | prompt=888c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 140s (2.3min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260419-115158-d79bb3 → +0 新增, ~0 更新 | 总计 470 首
[exit 0]

=== 2026-04-19 11:54:24 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3 --profile grammy --resume-mode each --skip-feishu --target-language zh ===
[phase2] batch=batch-20260419-115158-d79bb3 pending=1 groups=1
[phase2] group 1/1 -> 01_First Class_20260419
[profile] ✅ Loaded profile 'grammy' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/grammy.yaml
[phase2] 🌐 01_First Class_20260419: 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-20260419-115158-d79bb3/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3 --profile grammy --skip-feishu
[11:54:24] 🌐 [01_First Class_20260419] Step 2: target_language=zh → lang_mode=ZH
[11:54:24] 🤖 [01_First Class_20260419] Step 2 API: 29331 chars ≈ 7332 tokens → claude-sonnet-4-6
[11:55:07] ✅ [01_First Class_20260419] Step 2 API: 《白手套》 | 42.6s | in=15311 out=2536 | ~$0.084
{"timestamp": "2026-04-19T11:54:24.626534+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3", "profile": "grammy", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3/01_First Class_20260419"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3/01_First Class_20260419", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3/01_First Class_20260419/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-20260419-115158-d79bb3/01_First Class_20260419", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3/01_First Class_20260419/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-20260419-115158-d79bb3\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[11:55:09] 🏥 Health check...\n[11:55:10] ✅ qishui: OK\n[11:55:10] ✅ netease: OK\n[11:55:10] ✅ qq: OK\n\n  📝 [01_First Class_20260419] lyrics stripped: 3954c → 3948c\n[11:55:10] 🎵 [01_First Class_20260419] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[11:55:10] 🎨 [01_First Class_20260419] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['c2ceb049', 'deebc5dc']\n  🎵 c2ceb049... → submitted\n  🎵 deebc5dc... → submitted\n  🎵 c2ceb049... → queued\n  🎵 deebc5dc... → queued\n  🎵 deebc5dc... → streaming\n  🎵 c2ceb049... → streaming\n  🎵 c2ceb049... → complete\n  🎵 deebc5dc... → complete\n[11:57:58]    🎧 [01_First Class_20260419] Song 1: https://cdn1.suno.ai/c2ceb049-4511-455c-9df0-fc2295663b9c.mp3\n[11:57:58]    🎧 [01_First Class_20260419] Song 2: https://cdn1.suno.ai/deebc5dc-6669-45c0-a48b-28114949e63a.mp3\n[11:57:58] 🎛️ [01_First Class_20260419] Step 3.5: 混音...\n[11:58:20]    🎚️ [01_First Class_20260419] Song 1: pop | 低74/中25/高1%\n[11:58:41]    🎚️ [01_First Class_20260419] Song 2: pop | 低73/中25/高3%\n[11:58:41] ✅ [01_First Class_20260419] Step 3.5: 42.2s | 2 songs mixed\n[11:58:44] ✅ [01_First Class_20260419] Step 4: 14.3s | /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3/01_First Class_20260419/cover_seedream.jpg\n\n======================================================================\nSUMMARY | 214s (3.6min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260419-115158-d79bb3 → +1 新增, ~0 更新 | 总计 472 首\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-19T11:58:44.483435+08:00", "wall_clock": 213.5, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-04-19 11:58:45 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3 ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/OEjws5ys0hzpEotwHOYcuBaxn6f
[Feishu] 📐 Expanded master sheet from 478 to 579 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 479-479)
[MasterDB] ✅ 批次 batch-20260419-115158-d79bb3 → +1 新增, ~0 更新 | 总计 479 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/OEjws5ys0hzp
[11:58:54] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [白手套] cover sent
[Feishu IM] ✅ [白手套] 白手套_V1_raw.mp3 sent
[Feishu IM] ✅ [白手套] 白手套_V1_mixed.mp3 sent
[Feishu IM] ✅ [白手套] 白手套_V2_raw.mp3 sent
[Feishu IM] ✅ [白手套] 白手套_V2_mixed.mp3 sent
[Feishu] ✅ Already on file server: /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260419-115158-d79bb3
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260419-115158-d79bb3

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