story-repair

/home/avalon/.hermes/skills/software-development/story-repair/SKILL.md · raw

/story-repair — Scene/Shot Repair Director

Overview

Use this when Alex gives repair notes for an existing video-story project. The director's cut overlays SCENE N · SHOT M, so Alex can say things like “repair scene 2 shot 4: make the dog face camera and keep the red jacket.”

Inputs to Extract

API

Base:

BASE=http://localhost:4015
TOKEN="$HERMES_AUTOMATION_TOKEN"

Production map:

curl -sS "$BASE/api/hermes/projects/$PROJECT_ID/production-map" \
  -H "Authorization: Bearer $TOKEN"

Repair:

curl -sS -X POST "$BASE/api/hermes/projects/$PROJECT_ID/repair" \
  -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{
    "instructions": "...",
    "shots": [{"scene_number": 2, "shot_number": 4}],
    "regenerate_frames": true,
    "regenerate_video": true,
    "lipsync": true,
    "directors_cut": true
  }'

Status:

curl -sS "$BASE/api/hermes/projects/$PROJECT_ID/repair-status" \
  -H "Authorization: Bearer $TOKEN"

Director's cut:

curl -sS -X POST "$BASE/api/hermes/projects/$PROJECT_ID/assemble-directors-cut" \
  -H "Authorization: Bearer $TOKEN"

Repair Strategy

Response Format

Verification Checklist