
=== 2026-05-12 19:31:29 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/pipeline.py /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/_input.json -o /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729 -cg 2 -cs 2 --skip-feishu --profile base --step1-only ===
[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml
[step075] cache hit: song_pgc.mp3 → 094d99a18c84

======================================================================
music-pipeline3000 v2 | 2 songs
======================================================================
Gemini concurrency: 2 | Suno concurrency: 2
Output: /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729
Skip Suno: False | Step1 only: True | Version: v4
======================================================================

[19:31:31] 🏥 Health check...
[19:31:32] ✅ qishui: OK
[19:31:32] ✅ netease: OK
[19:31:32] ✅ qq: OK

[19:31:32] 🔍 [01_恋人_20260512] Step 0: Fetching...
[19:31:32] 🔍 [02_唯一_20260512] Step 0: Fetching...
[19:31:33] ✅ [01_恋人_20260512] Step 0: qishui | 392c lyrics
[19:31:33] ⬇️  [01_恋人_20260512] Step 0.5: Download from qishui...
[19:31:34] ⚠️  [qishui] Artist mismatch: requested '邓紫棋' got '梦幻大小鱼', skipping
[19:31:37] ✅ [02_唯一_20260512] Step 0: netease | 419c lyrics
[19:31:37] ⬇️  [02_唯一_20260512] Step 0.5: Download from netease...
[19:31:38] ⚠️  [01_恋人_20260512] Step 0.5: Only 60.0s preview (expected 275s)
[19:31:38] 🔄 [01_恋人_20260512] Step 0.5: Trying fallback netease...
[19:31:42] ✅ [02_唯一_20260512] Step 0.5: 5525483 bytes | 253.8s
[19:31:42] 🔬 [02_唯一_20260512] Step 0.75: Audio features...
[19:31:42] ✅ [02_唯一_20260512] Step 0.75: BPM=143.71 Key=C# major (45.0s)
[19:31:42] 🧠 [02_唯一_20260512] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-12T11:31:42.997Z", "trace_id": "batch-20260512-193129-204729", "song_key": "02_唯一_20260512", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/02_唯一_20260512/song_pgc.mp3", "has_features": true}}
[step1] cache hit: song_pgc.mp3 → 238db95408cf (saving 1 Gemini call)
{"__trace__": true, "ts": "2026-05-12T11:31:43.049Z", "trace_id": "batch-20260512-193129-204729", "song_key": "02_唯一_20260512", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 71.3, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-12T11:31:43.049Z", "trace_id": "batch-20260512-193129-204729", "song_key": "02_唯一_20260512", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 0.052}
[step075] cache hit: song_pgc.mp3 → e213902a041d
[19:31:43] ✅ [02_唯一_20260512] Step 1: 71.3s | prompt=846c | prompt_ok=True lyrics_ok=True
[19:31:47] ✅ [01_恋人_20260512] Step 0.5: Fallback netease → 276.0s full audio
[19:31:47] ✅ [01_恋人_20260512] Step 0.5: 5867228 bytes | 276.0s
[19:31:47] 🔬 [01_恋人_20260512] Step 0.75: Audio features...
[19:31:47] ✅ [01_恋人_20260512] Step 0.75: BPM=139.81 Key=D# major (56.0s)
[19:31:47] 🧠 [01_恋人_20260512] Step 1: Gemini (queuing)...
{"__trace__": true, "ts": "2026-05-12T11:31:47.187Z", "trace_id": "batch-20260512-193129-204729", "song_key": "01_恋人_20260512", "step": "step1", "type": "step_start", "inputs": {"audio": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/01_恋人_20260512/song_pgc.mp3", "has_features": true}}
[step1] cache hit: song_pgc.mp3 → 45e270a3f0b1 (saving 1 Gemini call)
{"__trace__": true, "ts": "2026-05-12T11:31:47.233Z", "trace_id": "batch-20260512-193129-204729", "song_key": "01_恋人_20260512", "step": "step1", "type": "api_call", "provider": "gemini", "model": "gemini-2.5-pro", "duration_sec": 55.6, "cost_usd": null, "status": "success"}
{"__trace__": true, "ts": "2026-05-12T11:31:47.233Z", "trace_id": "batch-20260512-193129-204729", "song_key": "01_恋人_20260512", "step": "step1", "type": "step_end", "status": "success", "duration_sec": 0.046}
[19:31:47] ✅ [01_恋人_20260512] Step 1: 55.6s | prompt=871c | prompt_ok=True lyrics_ok=True

======================================================================
SUMMARY | 15s (0.2min)
======================================================================
✅ Done: 2 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0
[MasterDB] ✅ 批次 batch-20260512-193129-204729 → +0 新增, ~0 更新 | 总计 696 首
[exit 0]

=== 2026-05-12 19:31:47 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/orchestrate_phase2.py /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729 --profile base --resume-mode each --skip-feishu ===
[phase2] batch=batch-20260512-193129-204729 pending=2 groups=1
[phase2] group 1/1 -> 01_恋人_20260512, 02_唯一_20260512
[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml
[phase2] 🌐 01_恋人_20260512: target_language=auto
[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml
[phase2] 🌐 02_唯一_20260512: 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-20260512-193129-204729/_manifest.json --resume /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729 --profile base --skip-feishu
[19:31:48] 🎨 [01_恋人_20260512] Step 2 Turn 1: generating creative brief...
[19:31:48] 🎨 [02_唯一_20260512] Step 2 Turn 1: generating creative brief...
[19:32:07] 🎨 [01_恋人_20260512] Step 2 brief: 19.8s | in=2753 out=896
[19:32:07] ✅ [01_恋人_20260512] Step 2 brief: engine=G theme=整理父亲遗物时翻到一张他从未展示过的年轻时笑脸照片
[19:32:07] 🌐 [01_恋人_20260512] Step 2: target_language=auto → lang_mode=AUTO | multi-turn
[19:32:07] 🤖 [01_恋人_20260512] Step 2 Turn 2: 16029 chars ≈ 4007 tokens → claude-sonnet-4-6
[19:32:12] 🎨 [02_唯一_20260512] Step 2 brief: 24.0s | in=2741 out=1065
[19:32:12] ✅ [02_唯一_20260512] Step 2 brief: engine=C theme=深夜高楼独立，俯视整座城市却认不出自己住的那条街
[19:32:12] 🌐 [02_唯一_20260512] Step 2: target_language=auto → lang_mode=AUTO | multi-turn
[19:32:12] 🤖 [02_唯一_20260512] Step 2 Turn 2: 16353 chars ≈ 4088 tokens → claude-sonnet-4-6
[19:33:01] ⚠️  [01_恋人_20260512] Step 2 API: originality 84% < 85% | 0 copied phrases
[19:33:01] 🔄 [01_恋人_20260512] Step 2 API: originality retry 1/3...
[19:33:08] ⚠️  [02_唯一_20260512] Step 2 API: originality 78% < 85% | 0 copied phrases
[19:33:08] 🔄 [02_唯一_20260512] Step 2 API: originality retry 1/3...
[19:33:46] ⚠️  [02_唯一_20260512] Step 2 API retry 1: originality 80%
[19:33:46] 🔄 [02_唯一_20260512] Step 2 API: originality retry 2/3...
[19:33:53] ⚠️  [01_恋人_20260512] Step 2 API retry 1: originality 84%
[19:33:53] 🔄 [01_恋人_20260512] Step 2 API: originality retry 2/3...
[19:34:26] ⚠️  [02_唯一_20260512] Step 2 API retry 2: originality 79%
[19:34:26] 🔄 [02_唯一_20260512] Step 2 API: originality retry 3/3...
[19:34:46] ⚠️  [01_恋人_20260512] Step 2 API retry 2: originality 83%
[19:34:46] 🔄 [01_恋人_20260512] Step 2 API: originality retry 3/3...
[19:35:09] ⚠️  [02_唯一_20260512] Step 2 API originality retry 3 failed: Expecting value: line 1 column 1 (char 0)
[19:35:09] ⚠️  [02_唯一_20260512] Step 2 API: best originality 80% after 3 retries
[19:35:09] ✅ [02_唯一_20260512] Step 2 API: 《三十层》 | 134.6s | in=44455 out=7678 | ~$0.249
[19:35:45] ⚠️  [01_恋人_20260512] Step 2 API originality retry 3 failed: Expecting value: line 1 column 1 (char 0)
[19:35:45] ⚠️  [01_恋人_20260512] Step 2 API: best originality 84% after 3 retries
[19:35:45] ✅ [01_恋人_20260512] Step 2 API: 《白痕》 | 158.8s | in=44341 out=7888 | ~$0.251
{"timestamp": "2026-05-12T19:31:47.886214+08:00", "batch_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729", "profile": "base", "concurrency": 3, "resume_mode": "each", "pending_song_count": 2, "groups": [{"group_index": 1, "songs": ["/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/01_恋人_20260512", "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/02_唯一_20260512"], "success_count": 2, "failed_count": 0, "results": [{"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/01_恋人_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/01_恋人_20260512/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-20260512-193129-204729/01_恋人_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/01_恋人_20260512/step2_json_b.json", "agent_summary": "API direct: 白痕", "returncode": 0, "stderr": "", "attempt": 1}]}, {"status": "success", "song_dir": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/02_唯一_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/02_唯一_20260512/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-20260512-193129-204729/02_唯一_20260512", "step2_file": "/srv/music-files-platform-next/pipeline/batch-20260512-193129-204729/02_唯一_20260512/step2_json_b.json", "agent_summary": "API direct: 三十层", "returncode": 0, "stderr": "", "attempt": 1}]}]}], "resume": {"status": "success", "returncode": 0, "stdout_tail": "\n======================================================================\nmusic-pipeline3000 v2 | 2 songs\n======================================================================\nGemini concurrency: 2 | Suno concurrency: 3\nOutput: /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729\nSkip Suno: False | Step1 only: False | Version: v4\n======================================================================\n\n[19:35:47] 🏥 Health check...\n[19:35:50] ✅ qishui: OK\n[19:35:50] ✅ netease: OK\n[19:35:50] ✅ qq: OK\n\n  📝 [01_恋人_20260512] lyrics stripped: 4003c → 3997c\n[19:35:50] 🎵 [01_恋人_20260512] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[19:35:50] 🎨 [01_恋人_20260512] Step 4: SeeDream cover (parallel)...\n  📝 [02_唯一_20260512] lyrics stripped: 4148c → 4142c\n[19:35:50] 🎵 [02_唯一_20260512] Step 3: Suno generation (weirdness=50, style_influence=50)...\n[19:35:50] 🎨 [02_唯一_20260512] Step 4: SeeDream cover (parallel)...\n  ✅ submitted: ['dab53a8f', '00e0f31f']\n  🎵 dab53a8f... → submitted\n  🎵 00e0f31f... → submitted\n  ✅ submitted: ['7ab831dc', '5d76990a']\n  🎵 7ab831dc... → submitted\n  🎵 5d76990a... → submitted\n  🎵 7ab831dc... → queued\n  🎵 5d76990a... → queued\n  🎵 dab53a8f... → queued\n  🎵 00e0f31f... → queued\n  🎵 7ab831dc... → streaming\n  🎵 5d76990a... → streaming\n  🎵 dab53a8f... → streaming\n  🎵 00e0f31f... → streaming\n  🎵 5d76990a... → complete\n  🎵 00e0f31f... → complete\n  🎵 dab53a8f... → complete\n[19:38:46]    🎧 [02_唯一_20260512] Song 1: https://cdn1.suno.ai/dab53a8f-98aa-4e92-b6fe-38d42621005e.mp3\n[19:38:46]    🎧 [02_唯一_20260512] Song 2: https://cdn1.suno.ai/00e0f31f-a60c-44a5-8175-bb6dbad03a05.mp3\n[19:38:46] 🎛️ [02_唯一_20260512] Step 3.5: 混音...\n[19:39:08]    🎚️ [02_唯一_20260512] Song 1: hip_hop | 低32/中64/高4%\n[19:39:25]    🎚️ [02_唯一_20260512] Song 2: hip_hop | 低37/中58/高4%\n[19:39:25] ✅ [02_唯一_20260512] Step 3.5: 38.3s | 2 songs mixed\n[19:39:25] ⚠️  [02_唯一_20260512] Step 4: http_403 (non-fatal)\n  🎵 7ab831dc... → complete\n[19:39:25]    🎧 [01_恋人_20260512] Song 1: https://cdn1.suno.ai/7ab831dc-6244-478d-86e6-630e226a1b86.mp3\n[19:39:25]    🎧 [01_恋人_20260512] Song 2: https://cdn1.suno.ai/5d76990a-5eae-4b9b-b29b-db32646f235c.mp3\n[19:39:25] 🎛️ [01_恋人_20260512] Step 3.5: 混音...\n[19:39:45]    🎚️ [01_恋人_20260512] Song 1: pop | 低63/中35/高2%\n[19:40:03]    🎚️ [01_恋人_20260512] Song 2: pop | 低70/中28/高2%\n[19:40:03] ✅ [01_恋人_20260512] Step 3.5: 37.9s | 2 songs mixed\n[19:40:03] ⚠️  [01_恋人_20260512] Step 4: http_403 (non-fatal)\n\n======================================================================\nSUMMARY | 253s (4.2min)\n======================================================================\n✅ Done: 2 | ⏳ Awaiting Step 2: 0 | ❌ Failed: 0\n[MasterDB] ✅ 批次 batch-20260512-193129-204729 → +2 新增, ~0 更新 | 总计 700 首\n", "stderr_tail": "[profile] ✅ Loaded profile 'base' from /srv/repos/3000music-platform-next/services/music-pipeline/scripts/profiles/base.yaml\n", "summary": {"timestamp": "2026-05-12T19:40:03.210693+08:00", "wall_clock": 252.5, "total": 2, "success": 2, "awaiting_step2": 0, "failed": 0}}, "status": "success"}
[exit 0]

=== 2026-05-12 19:40:04 exec: /usr/bin/python3 /srv/current/3000music-platform-next/services/music-pipeline/scripts/steps/step5_feishu.py /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729 ===
[Feishu] ✅ Exported 2 songs to: https://ccnu62373cgc.feishu.cn/sheets/GOousI8MshnCQEtadhecFFrSnce
[Feishu] 📐 Expanded master sheet from 637 to 739 rows
[Feishu] ✅ Appended 2 new songs to master sheet (rows 638-639)
[MasterDB] ✅ 批次 batch-20260512-193129-204729 → +2 新增, ~0 更新 | 总计 639 首
[Feishu IM] ✅ Text sent: 📊 本批次结果表格：https://ccnu62373cgc.feishu.cn/sheets/GOousI8MshnC
[19:40:12] 📨 Step 5: Sending files to Feishu IM...
[Feishu IM] ✅ [白痕] topic head sent (message_id=om_x100b6f05570188b0b257c1e935bc993)
[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 IM] ✅ [三十层] topic head sent (message_id=om_x100b6f05556424a8b3e7c78c267c489)
[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-20260512-193129-204729
[Feishu] ✅ Archived to GDrive: /mnt/gdrive/music-pipeline/batch-20260512-193129-204729
[Feishu] 📦 Local files kept at: /srv/music-files-platform-next/pipeline/batch-20260512-193129-204729

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