Sangeetha-Grantha

Metadata Value
Status Final
Version 1.0.1
Last Updated 2026-09-10
Author Sangita Grantha Architect
Document Type Evidence record

Technical Retrospective: Multi-Source Import Remediation


[!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.

1. Executive Summary

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.

2. Key Technical Findings

2.1. Architectural Divergence: The Heuristic Split

The most persistent bug (MADHYAMAKALA splitting) stemmed from logic duplication between the Kotlin backend and the Python extraction service.

2.2. Process Failure: The “Shadow” Container

Development productivity was severely hindered by a lack of volume synchronization in the Docker environment.

2.3. Ingestion Logic: Matching vs. Refreshing

The pipeline favored matching to existing records, which masked logic improvements.

2.4. Orchestration: The 50% Stall (Task Count Mismatch)

Batches frequently stalled at 50% progress during CSV imports.

3. Prompting & LLM Interaction Lessons

3.1. Symptom vs. System Handover

3.2. Verification Gates

4. Operational Recommendations

  1. Centralize Heuristics: Move structure detection regexes into a shared YAML/JSON manifest.
  2. Harden Tools: Add sangita-cli extraction build to streamline the rebuild/restart cycle.
  3. Mandatory Voluming: Update compose.yaml to mount tools/krithi-extract-enrich-worker/src into the container.
  4. Data Cleanliness: Always delete targeted test data records before verifying an extraction fix to avoid matching stale entities.

Retrospective conducted by Sangita Grantha Architect.


Section index · Documentation home · Feature status