ai-movie-pipeline/test_scripts/dialogue_heavy.fountain
profit 87d0af0748 Phase 1 implementation: script ingestion + AI extraction pipeline
Complete working pipeline from Fountain script to validated scene JSON:
- Schemas (Pydantic): all 7 layers defined upfront
- Fountain parser + normalizer (Layer 1)
- AI scene extractor with prompt contracts (Layer 2)
- Schema validator + scene-specific semantic validator
- Structured JSON logging per layer/scene execution
- Versioned output writer (never overwrites)
- Retry engine with 4-level failure escalation
- Stop condition evaluator (per-unit + global halts)
- Diff/drift detector for re-run comparison
- CLI entry point with --dry-run, --scene, --test, --force
- 3 test scripts (dialogue-heavy, action-heavy, nonstandard)
- Expected output files for regression testing

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:49:43 -07:00

268 lines
5.0 KiB
Plaintext

Title: The Weight of Words
Credit: written by
Author: Test Script
Draft date: 2026-04-06
====
INT. THERAPIST'S OFFICE - DAY
A small, warm room. Bookshelves line the walls. DR. ELENA VOSS (50s, calm, measured) sits across from MARCUS CHEN (30s, restless, avoiding eye contact).
DR. VOSS
How have you been sleeping?
MARCUS
(shifting in his seat)
Fine. Same as always.
DR. VOSS
Marcus, we've talked about this. "Fine" isn't —
MARCUS
It's not a feeling, I know. You've said that.
A long beat. Elena writes something in her notebook.
DR. VOSS
Your sister called me.
MARCUS
She had no right to do that.
DR. VOSS
She's worried about you. She said you haven't left the apartment in two weeks.
MARCUS
That's an exaggeration.
DR. VOSS
Is it?
Marcus finally looks at her. His eyes are red-rimmed.
INT. MARCUS'S APARTMENT - NIGHT
A cluttered studio apartment. Takeout containers on every surface. Marcus sits on the floor against the wall, phone in hand. He stares at a text from LILY CHEN: "Please call me back."
He sets the phone face-down.
INT. COFFEE SHOP - MORNING
Bright, busy. LILY CHEN (late 20s, sharp, put-together but tired) waits at a corner table. Marcus enters, looking like he hasn't slept.
LILY
You look terrible.
MARCUS
Thanks. Love you too.
He sits. An awkward silence.
LILY
Mom's been asking about you.
MARCUS
Tell her I'm fine.
LILY
I'm not going to lie to her, Marcus.
MARCUS
Then don't tell her anything.
LILY
That's the same thing and you know it.
MARCUS
(quiet)
How is she?
LILY
She's scared. Dad's getting worse and you won't even visit.
Marcus stares at his coffee.
INT. HOSPITAL ROOM - AFTERNOON
HENRY CHEN (60s) lies in a hospital bed, frail but alert. Marcus stands in the doorway, unable to step inside.
HENRY
Are you going to stand there all day or come in?
Marcus enters slowly. He sits in the chair beside the bed.
HENRY
Your sister tells me you've been hiding.
MARCUS
I haven't been hiding.
HENRY
(smiling weakly)
You're a terrible liar. Always were.
MARCUS
Dad —
HENRY
I'm dying, Marcus. Not dead yet. You can still talk to me.
Marcus's composure cracks. He puts his head in his hands.
INT. THERAPIST'S OFFICE - DAY
Back with Dr. Voss. Marcus is more open now, leaning forward.
MARCUS
He just said it. Like it was nothing. "I'm dying."
DR. VOSS
How did that make you feel?
MARCUS
Like I've been wasting time. Like every day I spent not going to see him was —
He stops.
DR. VOSS
Was what?
MARCUS
Selfish. It was selfish.
DR. VOSS
You were protecting yourself. That's not the same as selfishness.
MARCUS
Isn't it?
INT. MARCUS'S APARTMENT - NIGHT
Marcus packs a small bag. He picks up a framed photo from the shelf — a young Marcus and Henry at a baseball game, both laughing.
He puts the photo in the bag.
INT. HOSPITAL ROOM - NIGHT
Marcus enters with the bag. Henry is asleep. NURSE PATRICIA (40s, gentle) is checking his IV.
NURSE PATRICIA
He's been asking for you.
MARCUS
I'm here now.
He sits in the chair and takes his father's hand. Henry stirs.
HENRY
(half asleep)
Marcus?
MARCUS
I'm here, Dad. I'm not going anywhere.
Henry squeezes his hand weakly and drifts back to sleep. Marcus settles in, pulling his jacket around himself like a blanket.
INT. HOSPITAL CAFETERIA - MORNING
Marcus and Lily sit across from each other, both holding bad coffee.
LILY
You stayed all night?
MARCUS
Yeah.
LILY
(softening)
Thank you.
MARCUS
Don't thank me. I should have been here weeks ago.
LILY
You're here now. That's what matters.
A beat.
MARCUS
I'm going to take a leave from work. Stay until... however long.
LILY
(eyes welling up)
Okay.
MARCUS
I called Dr. Voss. She's going to do phone sessions.
LILY
That's good. That's really good, Marcus.
They sit in silence, something unspoken settling between them.
INT. HOSPITAL ROOM - AFTERNOON
Marcus reads aloud from a book. Henry listens, eyes closed but smiling.
HENRY
You always did have a good voice for reading.
MARCUS
Mom used to say I should have been an actor.
HENRY
Your mother was right about most things.
MARCUS
She was right about you too.
HENRY
(opening his eyes)
What did she say?
MARCUS
That you were the most stubborn man alive.
HENRY
(laughing, then coughing)
Was. Was the most stubborn.
They share a look — sad, warm, real.
INT. HOSPITAL HALLWAY - EVENING
Marcus leans against the wall outside Henry's room, on the phone.
MARCUS
(into phone)
I know I missed the deadline. I understand... No, I'm not asking for sympathy. I'm asking for two weeks... Thank you. I appreciate it.
He hangs up. Takes a breath. Goes back inside.
INT. THERAPIST'S OFFICE - DAY (PHONE SESSION)
Marcus sits in the hospital cafeteria, phone to his ear.
DR. VOSS (V.O.)
How does it feel to be there?
MARCUS
Terrifying. And also... right. Like I'm finally where I'm supposed to be.
DR. VOSS (V.O.)
That's a significant shift, Marcus.
MARCUS
I know. I just wish it hadn't taken this long.
DR. VOSS (V.O.)
The important thing isn't when you arrived. It's that you stayed.
Marcus looks through the cafeteria window toward the hallway leading to his father's room.
MARCUS
Yeah. I'm staying.
FADE OUT.