| Metadata | Value |
|---|---|
| Status | Deferred |
| Version | 1.2.0 |
| Last Updated | 2026-02-19 |
| Author | Sangeetha Grantha Team |
ID: TRACK-065 Status: Deferred Owner: Platform / Extraction Team Created: 2026-02-19 Updated: 2026-02-19
Promote the Python extraction worker to a first-class module in the repository:
.mise.toml).tools/krithi-extract-enrich-worker/.tools/krithi-extract-enrich-worker/src/html_extractor.pytools/krithi-extract-enrich-worker/src/worker.pytools/krithi-extract-enrich-worker/src/gemini_enricher.py.mise.toml; Python was not explicitly pinned before this track.tools/krithi-extract-enrich-worker/pyproject.tomltools/krithi-extract-enrich-worker/uv.lockcompose.yaml service krithi-extract-enrich-workertools/sangita-cli/src/commands/extraction.rstools/sangita-cli/src/services.rsrequires-python = ">=3.11" in tools/krithi-extract-enrich-worker/pyproject.toml3.11 in the same file| 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 |
Adopt O2: tools/krithi-extract-enrich-worker in a staged migration:
This balances semantic clarity with delivery risk.
.mise.toml (python = "3.11").tools/krithi-extract-enrich-worker) with team approval.compose.yaml build contextdocker compose service/container names, extractor version tag).gitignore path entriesapplication_documentation/ and conductor/../start-sangita.shsangita-clitest extraction-e2e)build, start, status, stop)..mise.toml.tools/krithi-extract-enrich-worker.compose.yaml, start-sangita.sh, sangita-cli extraction/service commands, integration helper script)../start-sangita.sh and confirmed Docker processes:
sangita_postgres healthysangita_krithi_extract_enrich_worker healthy (python -m src.worker)Version/Last Updated) for touched files.Deferred to post-launch. Renaming is cosmetic — extraction pipeline consolidation prioritised instead.