attach_transcript
Ingest a word-timed whisper JSON as a clip's transcript, then check for retake indicators like overlaps, repeats, and near-duplicate lines to catch editing errors.
Instructions
Ingest an existing word-timed whisper JSON as this clip's transcript.
Checks the transcript against itself for near_duplicates — adjacent
runs of words that sound like the same line said twice. That is a
retake verify can never catch once both takes are cut into the edit,
since nothing then disagrees with the timeline. A hit is not a verdict:
a deliberate callback line looks the same as a swallowed retake here.
Also reports suspect_durations, overlaps and repeats. An overlaps
seam is a retake splice whisper read straight across, interleaving both
takes and inventing words nobody said — check it before drawing anything
derived from this transcript. repeats is a back-to-back duplicated
phrase, the shape a retake makes when it survives as distinct words
rather than as a seam — a different subset of retakes than overlaps
finds, not a smaller one. Use transcript_checks to see all four again
later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The project directory to act on. Omit it — the usual case — when this server is bound to a project (started as `proofcut -C DIR mcp`, or inside a project; `ping` says which): it then resolves to that one bound project, a relative path resolves against it, and a path outside it is refused by name. Unbound, `path` is the whole address and omitting it refuses rather than guessing. | |
| clip_id | Yes | The clip this transcript belongs to. Its words become `(clip_id, word_index)`, which is how every cue, mark and caption addresses them afterwards. | |
| transcript_path | Yes | The whisper JSON to ingest. It has to carry word-level timings — proofcut addresses words, not segments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||