# Post-Sketch Review

You are reviewing a completed comedy sketch and updating the channel's character/gag continuity.

## Sketch Context

Sketch: **{episode_number}** — "{episode_title}"

Read the sketch brief: `{episode_path}/brief.txt`
Read the channel bible: `{bible_path}`

## Current Continuity State

{continuity_state}

## Completed Assembly

The sketch has been assembled. Review:
- The pipeline state: `{episode_path}/pipeline.json`
- The final assembly: look in `{episode_path}/12-assembly/` for assembled videos
- The script from earlier stages

## Task

Review the completed sketch and update the character/gag tracking for future sketches.

### What to Track

**This is a sketch channel, NOT a serialized story. Track patterns and gags, NOT story arcs.**

1. **Character Behavior Patterns**
   - How each character actually looks in the generated video
   - Specific visual details established (clothing, physical quirks)
   - Comedy timing that worked (reactions, pauses, expressions)
   - New catchphrases or verbal tics established
   - Character dynamics that emerged (who plays off whom)

2. **Location Visual State**
   - How locations were rendered
   - Specific details to maintain across sketches

3. **Running Gags**
   - Any gags established that could recur in future sketches
   - Example: "Colonel Davis is never seen but always feared"
   - Rate the gag potential: one-off, recurring, or signature
   - How the gag was used and how it could evolve

4. **Comedy Quality Notes**
   - What comedy beats worked (timing, delivery, visual humor)
   - What to replicate in next sketches
   - What to adjust (pacing issues, unclear punchlines)

5. **New References**
   - If any generated frames produced excellent character shots, note them
   - These can be extracted to references/ for future sketches

## Output

Write TWO files:

1. **continuity_update.json** — Update to merge into continuity.json:
```json
{
  "last_sketch_reviewed": {episode_number},
  "characters": {
    "character_id": {
      "visual_notes": "How they actually looked in this sketch",
      "consistency_tips": "What to maintain",
      "behavior_patterns": ["quirk1", "quirk2"],
      "catchphrases": ["phrase1"],
      "last_seen_in": {episode_number}
    }
  },
  "locations": {
    "location_id": {
      "visual_notes": "...",
      "established_details": "..."
    }
  },
  "running_gags": {
    "gag_id": {
      "description": "What the gag is",
      "established_in": 1,
      "times_used": 1,
      "potential": "recurring|signature|one-off",
      "usage_notes": "How to reference in future"
    }
  },
  "quality_notes": {
    "worked_well": ["..."],
    "adjust_next": ["..."]
  },
  "new_references": [
    {"source": "path/to/frame", "description": "...", "target": "references/people/..."}
  ]
}
```

2. **user_message.txt** — Summary: what character patterns were established, any notable gags, recommendations for next sketch.
