
=== 2026-04-20 21:54:38 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c -cg 2 -cs 2 --skip-feishu --profile __runtime_batch-20260420-215438-a81c4c --target-language en --step1-only ===
[profile] ✅ Loaded profile '__runtime_batch-20260420-215438-a81c4c' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/__runtime_batch-20260420-215438-a81c4c.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-20260420-215438-a81c4c
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[21:54:41] 🏥 Health check...
[21:54:42] ✅ qishui: OK
[21:54:42] ✅ netease: OK
[21:54:42] ✅ qq: OK

[21:54:42] 🔍 [01_十二生肖_20260420] Step 0: Fetching...
[21:54:51] ✅ [01_十二生肖_20260420] Step 0: qq | 771c
[21:54:51] ⬇️  [01_十二生肖_20260420] Step 0.5: Download from qq...
[21:55:01] ✅ [01_十二生肖_20260420] Step 0.5: 4928749 bytes | 202.7s
[21:55:01] 🔬 [01_十二生肖_20260420] Step 0.75: Audio features...
[21:55:35] ✅ [01_十二生肖_20260420] Step 0.75: BPM=164.87 Key=D# major (34.0s)
[21:55:35] 🧠 [01_十二生肖_20260420] Step 1: Gemini (queuing)...
[21:55:35] 🌐 Step 1: target_language=en (injecting override directive)
  ⚠️ Gemini official 503 on key #1/5, will retry...
  🔄 Retry 1/4 in 3s...
  📊 Gemini official: 80s | prompt_tokens=10267 completion=1714
[21:57:47] ⚠️  [01_十二生肖_20260420] Step 1.5: prompt 1164c > 1000c, compressing...
  📏 [01_十二生肖_20260420] prompt 1164c → 803c (smart truncate)
[21:57:47] ✅ [01_十二生肖_20260420] Step 1.5: prompt compressed 1164c → 803c
[21:57:47] ✅ [01_十二生肖_20260420] Step 1: 80.3s | prompt=803c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 185s (3.1min)
======================================================================
✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260420-215438-a81c4c → +0 新增, ~0 更新 | 总计 556 首
[exit 0]

=== 2026-04-20 21:57:48 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c --profile grammy --resume-mode each --skip-feishu --target-language en ===
[phase2] batch=batch-20260420-215438-a81c4c pending=1 groups=1
[phase2] group 1/1 -> 01_十二生肖_20260420
[profile] ✅ Loaded profile 'grammy' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/grammy.yaml
[phase2] 🌐 01_十二生肖_20260420: target_language=en
[phase2] resume -> /usr/bin/python3 /srv/repos/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c --profile grammy --skip-feishu
[21:57:49] 🌐 [01_十二生肖_20260420] Step 2: target_language=en → lang_mode=EN
[21:57:49] 🤖 [01_十二生肖_20260420] Step 2 API: 28531 chars ≈ 7132 tokens → claude-sonnet-4-6
[21:58:37] ⚠️  [01_十二生肖_20260420] Step 2 API: originality 79% < 85% | 0 copied phrases
[21:58:37] 🔄 [01_十二生肖_20260420] Step 2 API: originality retry 1/3...
[21:59:23] ⚠️  [01_十二生肖_20260420] Step 2 API retry 1: originality 78%
[21:59:23] 🔄 [01_十二生肖_20260420] Step 2 API: originality retry 2/3...
[22:00:12] ⚠️  [01_十二生肖_20260420] Step 2 API retry 2: originality 79%
[22:00:12] 🔄 [01_十二生肖_20260420] Step 2 API: originality retry 3/3...
[22:01:08] ⚠️  [01_十二生肖_20260420] Step 2 API originality retry 3 failed: Expecting value: line 1 column 1 (char 0)
[22:01:08] ⚠️  [01_十二生肖_20260420] Step 2 API: best originality 79% after 3 retries
[22:01:08] ✅ [01_十二生肖_20260420] Step 2 API: 《Grid Lock》 | 142.7s | in=55249 out=8247 | ~$0.289
{"timestamp": "2026-04-20T21:57:49.074528+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c", "profile": "grammy", "concurrency": 3, "resume_mode": "each", "pending_song_count": 1, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/01_十二生肖_20260420"], "success_count": 1, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/01_十二生肖_20260420", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/01_十二生肖_20260420/step2_json_b.json", "agent_summary": "API direct: Grid Lock", "returncode": 0, "stderr": "", "attempt": 1, "attempts": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/01_十二生肖_20260420", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/01_十二生肖_20260420/step2_json_b.json", "agent_summary": "API direct: Grid Lock", "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-20260420-215438-a81c4c\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[22:01:10] 🏥 Health check...\n[22:01:12] ✅ qishui: OK\n[22:01:12] ✅ netease: OK\n[22:01:12] ✅ qq: OK\n\n  📝 [01_十二生肖_20260420] lyrics stripped: 5792c → 5000c\n[22:01:12] 🎵 [01_十二生肖_20260420] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[22:01:12] 🎨 [01_十二生肖_20260420] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['3e7ce672', '9de9b768']\n  🎵 3e7ce672... → submitted\n  🎵 9de9b768... → submitted\n  🎵 3e7ce672... → queued\n  🎵 9de9b768... → queued\n  🎵 3e7ce672... → streaming\n  🎵 9de9b768... → streaming\n  🎵 9de9b768... → complete\n  🎵 3e7ce672... → complete\n[22:03:52]    🎧 [01_十二生肖_20260420] Song 1: https://cdn1.suno.ai/3e7ce672-1c11-4079-9828-3d2e5487dd46.mp3\n[22:03:52]    🎧 [01_十二生肖_20260420] Song 2: https://cdn1.suno.ai/9de9b768-1a08-4ccd-bb66-27f2201932ac.mp3\n[22:03:52] 🎛️ [01_十二生肖_20260420] Step 3.5: 混音...\n[22:04:13]    🎚️ [01_十二生肖_20260420] Song 1: edm | 低62/中30/高9%\n[22:04:29]    🎚️ [01_十二生肖_20260420] Song 2: rock | 低63/中27/高10%\n[22:04:29] ✅ [01_十二生肖_20260420] Step 3.5: 37.3s | 2 songs mixed\n[22:04:38] ✅ [01_十二生肖_20260420] Step 4: 16.1s | /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c/01_十二生肖_20260420/cover_seedream.jpg\n\n======================================================================\nSUMMARY | 205s (3.4min)\n======================================================================\n✅ Done: 1 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260420-215438-a81c4c → +1 新增, ~0 更新 | 总计 557 首\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-20T22:04:38.151984+08:00", "wall_clock": 205.2, "total": 1, "success": 1, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-04-20 22:04:39 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c ===
[Feishu] ✅ Exported 1 songs to: https://ccnu62373cgc.feishu.cn/sheets/UgE7sNSbLhcmwTtgbFGc3HznnKg
[Feishu] 📐 Expanded master sheet from 497 to 598 rows
[Feishu] ✅ Appended 1 new songs to master sheet (rows 498-498)
[MasterDB] ✅ 批次 batch-20260420-215438-a81c4c → +1 新增, ~0 更新 | 总计 498 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/UgE7sNSbLhcm
[22:04:47] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [Grid Lock] topic head sent (message_id=om_x100b51576932e0a8b20f9b4403b5ebc)
[Feishu IM] ✅ [Grid Lock] cover replied
[Feishu IM] ✅ [Grid Lock] Grid Lock_V1_raw.mp3 replied
[Feishu IM] ✅ [Grid Lock] Grid Lock_V1_mixed.mp3 replied
[Feishu IM] ✅ [Grid Lock] Grid Lock_V2_raw.mp3 replied
[Feishu IM] ✅ [Grid Lock] Grid Lock_V2_mixed.mp3 replied
[Feishu] ✅ Already on file server: /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260420-215438-a81c4c
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260420-215438-a81c4c

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