regenerate-failed-segmentlisted
Install: claude install-skill huodebing-alt/Agentic-Headshot-Video-Studio
# Regenerate Failed Segment / 失败重渲染
## When to use / 何时使用
Targeted recovery after QC flags one or more segments.
QC 标记失败后的定点修复。
## Inputs / 输入
- `workspace/aroll/qc/*.lipsync.json` (collects all `fail`).
- Optional `--ids 003,007`.
## Output / 输出
- New `workspace/aroll/seg_NNN.mp4` (overwrites old, prior version moved to `aroll/_archive/`).
## Steps / 步骤
1. Collect failing ids (auto or `--ids`).
2. For each: archive previous render, perturb seed/voice_emotion, resubmit via HeyGen MCP.
3. Re-run validate-lip-sync; if still `fail` after 2 attempts, mark for human review.
4. YOLO guard before each retry.
## Examples / 示例
```
claude run regenerate-failed-segment --ids 003
```
## Failure recovery / 失败回退
- After 2 failed retries per segment, stop and surface a manual-review queue.
- If budget exceeded, abort cleanly.