Sangeetha-Grantha

Metadata Value
Status Completed
Version 1.8.1
Last Updated 2026-02-19
Author Sangita Grantha Architect

TRACK-064: Unified Extraction Engine (UEE) Migration

1. Objective

Consolidate all composition extraction logic (HTML and PDF) into the Python service. This eliminates the “Heuristic Split” between Kotlin and Python, centralizes domain expertise (regex, normalization), and simplifies the Kotlin backend into a “Pure Ingestor.”

2. Context

3. Implementation Plan: The Vertical Slice Pattern

Following the retrospective’s key lesson: Build one working slice first, then expand.

Phase 0: E2E Harness Foundation (Dev-Topology Mirror)

Phase 1: The Vertical Slice (HTML Fetch & Text Extraction)

Phase 2 Entry Criteria (must be complete before parser migration)

Phase 2: Heuristic Consolidation

Phase 2 Exit Criteria

Phase 3: Identity & Enrichment

Phase 4: Orchestration & Cleanup

4. Acceptance Criteria

5. Progress Log


Phase 4 (Orchestration & Cleanup) partially completed — 50% stall fix applied, KrithiStructureParser deprecated. Full cleanup deferred.