Sangeetha-Grantha

Metadata Value
Status Deferred
Version 1.2.0
Last Updated 2026-02-19
Author Sangeetha Grantha Team

TRACK-065: Python Extraction Module First-Class Promotion & Naming

ID: TRACK-065 Status: Deferred Owner: Platform / Extraction Team Created: 2026-02-19 Updated: 2026-02-19

Goal

Promote the Python extraction worker to a first-class module in the repository:

  1. Pin Python in root toolchain management (.mise.toml).
  2. Define a stable, meaningful module name and folder path that reflects current scope (PDF + HTML + OCR + enrichment), not just PDF.
  3. Plan a low-risk migration path for code and documentation references.

Context

Current-State Analysis

A. First-class readiness (today)

B. Naming mismatch

C. Rename blast radius

Naming Options

| Option | Candidate | Pros | Cons | |:—|:—|:—|:—| | O1 | Keep legacy PDF-scoped naming | Zero migration cost | Scope mismatch with current extraction + enrichment behavior | | O2 | tools/krithi-extract-enrich-worker | Scope-accurate and domain-specific; captures extraction + enrichment responsibility | Requires coordinated path updates | | O3 | modules/extraction-engine-python | Strong “first-class module” signal | Diverges from current modules/ language grouping and increases migration scope |

Recommendation

Adopt O2: tools/krithi-extract-enrich-worker in a staged migration:

  1. Baseline first-class tooling with Python pinning at root (completed in this track).
  2. Rename directory and update runtime references in one atomic change.
  3. Sweep and normalize documentation references in a follow-up doc-focused commit.

This balances semantic clarity with delivery risk.

Implementation Plan

Acceptance Criteria

Progress Log


Deferred to post-launch. Renaming is cosmetic — extraction pipeline consolidation prioritised instead.