36 lines
4.0 KiB
Markdown
36 lines
4.0 KiB
Markdown
# Folder-first intake, build, and review
|
|
|
|
The primary instructions and metadata checklist are in [README](../README.md). Start with the user's folder containing media, TXT, and VTT. Do not require a site, catalog, canonical URL, or preapproved transcript to create a local review draft.
|
|
|
|
## Intake
|
|
|
|
Use [media-intake](../skills/media-intake/SKILL.md) before [structure-media](../skills/structure-media/SKILL.md). Read supplied metadata first. Inventory exact files, record hashes, parse cues, compare normalized TXT/VTT, and distinguish media duration from final cue time. Filenames may differ. Ask which files to use when multiple sets create ambiguity.
|
|
|
|
Inspect authorized published source pages and extract only supported facts, with provenance. Do not treat a publication date as a recording date or a public embed as reuse permission. Ask remaining useful questions together using [the checklist](../templates/media-intake.md). Accept partial answers. File dates/titles are candidates; transcript names and statistics are attributed, unverified content. Record provenance in `media-intake.json`. Silence never becomes metadata or approval. Optional unknowns do not block a clearly incomplete local draft after a reasonable opportunity to reply.
|
|
|
|
Resolve source ambiguity and sensitive exclusions affecting processing first. Set `excluded_cue_ids` only from clear user direction. Excluded cues remain in unchanged originals but are omitted from generated transcript/chunks/Q&A and recorded by ID/count. Keep restricted originals in appropriate private storage.
|
|
|
|
## Structure
|
|
|
|
VTT supplies exact words and times. TXT is cross-checked; differences become review issues instead of prompting source rewrites or invented timing. Unsupported/overlapping VTT requires explicit normalization in a separate derivative.
|
|
|
|
Read the whole transcript. Create coherent topic units useful on their own. Assign stable chunk/knowledge IDs; preserve continuing concepts, increment substantive versions, and record splits/merges with `supersedes`. Every included cue belongs to one chunk. Chapters serve navigation independently.
|
|
|
|
Generate useful questions with exact supporting quotes. Cross-chunk answers cite every material supporting section. Substring validation proves a quote occurs, not that it entails the answer. Preserve uncertainty and sampling/measurement caveats beside numbers. Do not assign cue-level speaker identities without a source label or reliable mapping from the user.
|
|
|
|
## Build before review
|
|
|
|
Use `folder_builder.py build` to write a new immediate subfolder, normally `structured/`. Intake and plan JSON remain editable inputs. The output includes overview, transcript, review checklist, metadata, chunks, Q&A, chapters, draft JSON-LD, routing, and checksum receipt. Everything is draft and not publication ready.
|
|
|
|
Known facts appear in JSON-LD; missing public URLs, dates, and licenses are omitted. Local citations use transcript anchors and seconds. Chapter JSON omits unknown hosted URLs. No browser or server is required.
|
|
|
|
Validate source hashes/boundaries, cue coverage/order, times, identities, schema fields, exact quotes, and output checksums. Do not invent human approval to enable a draft build.
|
|
|
|
Local keyword retrieval weights question/title and summary matches above incidental mentions in a long transcript chunk. Scores are a lexical ranking aid, not confidence or semantic entailment. Inspect representative queries after a real build.
|
|
|
|
## Review and refine
|
|
|
|
Return direct links to the output README and review checklist. The user reviews identities/numbers, metadata, chunks, summaries, answers, rights, and missing visual evidence. Apply corrections to intake/plan, preserve continuing IDs, and build a fresh directory such as `structured-002/`. Review does not imply publication or Git push authority.
|
|
|
|
The [public export workflow](public-export.md) is later and optional, requiring real publication metadata and content/rights clearance. Hosted APIs, MCP, embeddings, publication, and independent fact verification are separate integrations.
|