Use the repair before requesting the same import again
Some lessons had usable manual transcripts while automated caption imports were still failing. The rebuild queued another remote import before looking for manual or managed text, and could return without rebuilding the segments and chunks needed downstream.
The job now selects a preferred ready transcript version and checks that it contains usable text or nonempty chunks. If usable material exists, canonical ingestion and the guide and embedding jobs can proceed. If not, transcript acquisition is still required.
A ready flag doesn't establish usable, current text
A source marked ready can still be empty. One regression creates that state and expects transcript repair, with no study-guide generation. The status alone must not skip acquisition.
A transcript can also belong to media that has since been replaced. The shared material service compares media-derived sources with the lesson's current video or uploaded file. Guide assembly and assistant retrieval both use that check to exclude stale chunks.
Manual transcripts are explicitly supplied lesson material rather than automatically linked to a remote-media ID. Reusing one doesn't verify that it accurately describes the video; that remains part of the source review.
What the development record established
The June report records failing-then-passing tests for manual transcript reuse and empty ready sources, followed by regressions for media replacement and stale chunks in both consumers. Those are dated local results. The repair changes the pipeline's ordering and source checks; it doesn't create missing transcripts or establish a fresh run here.
Reuse transcript evidence only when it is usable and relevant
Rebuild ordering checks material before reacquisition; both downstream consumers reject stale media-derived evidence.
Ingestion orchestration
Evidence checks
Downstream consumers
Scroll or drag the background to move. Use the zoom buttons to resize.Arrow keys move between components. Enter selects.
Choose a component to explore
Select a numbered component on the map or use the component menu. Its details and connections will appear here.
No component selected.
All connections (11)
- 01 · RebuildLessonIngestion → 05 · Existing transcript evidence checkCheck existing evidence · Direct call
- 05 · Existing transcript evidence check → 04 · Ready transcript versionsResolve ready material · Direct call
- 05 · Existing transcript evidence check → 06 · Current-media matching helperCheck source relevance · Direct call
- 05 · Existing transcript evidence check → 02 · Transcript acquisition jobMissing or empty evidence · Async task
- 05 · Existing transcript evidence check → 03 · Canonical ingestionReuse usable material · Direct call
- 03 · Canonical ingestion → 07 · GenerateLessonStudyPackDispatch downstream work · Async task
- 07 · GenerateLessonStudyPack → 08 · StudyPackEvidenceAssemblerAssemble lesson evidence · Direct call
- 08 · StudyPackEvidenceAssembler → 06 · Current-media matching helperValidate source identity · Direct call
- 09 · CanonicalHybridRetrievalService → 06 · Current-media matching helperValidate source identity · Direct call
- 06 · Current-media matching helper → 08 · StudyPackEvidenceAssemblerExclude stale source · Blocked / denied
- 06 · Current-media matching helper → 09 · CanonicalHybridRetrievalServiceExclude stale chunks · Blocked / denied