| Metadata | Value |
|---|---|
| Status | Final |
| Version | 1.0.1 |
| Last Updated | 2026-09-10 |
| Author | Sangita Grantha Architect |
| Document Type | Evidence record |
[!NOTE] Historical evidence: results, counts, commands, and observations below belong to the original work described here. The editorial update date is not a new test or corpus verification. For present behavior, use current feature map.
This retrospective analyzes the specific technical and process hurdles encountered during the final remediation of the Multi-Source Import pipeline (Feb 12, 2026). While the pipeline is now functional, several “leaky abstractions” in the architecture and development environment caused significant delays.
The most persistent bug (MADHYAMAKALA splitting) stemmed from logic duplication between the Kotlin backend and the Python extraction service.
KrithiStructureParser.kt and structure_parser.py).Development productivity was severely hindered by a lack of volume synchronization in the Docker environment.
Dockerfile used COPY src/, meaning code changes required a full docker build to take effect.compose.yaml files must use volume mounts (./src:/app/src) to ensure local edits are live immediately.The pipeline favored matching to existing records, which masked logic improvements.
ExtractionResultProcessor matched extractions to existing Krithis but only appended source_evidence, skipping section/lyric updates.db reset to verify end-to-end correctness.Batches frequently stalled at 50% progress during CSV imports.
MANIFEST_INGEST calculated total_tasks based only on the initial scrape jobs, failing to account for the MANIFEST_INGEST task itself or the subsequent ENTITY_RESOLUTION tasks.BatchCompletionHandler waited for processed_tasks to reach an unreachable total_tasks count.BulkImportRepository.kt to atomically increment total_tasks whenever any new task is created, ensuring the count remains accurate across all job types.sangita-cli extraction build to streamline the rebuild/restart cycle.compose.yaml to mount tools/krithi-extract-enrich-worker/src into the container.Retrospective conducted by Sangita Grantha Architect.