| Metadata | Value |
|---|---|
| Status | Active |
| Version | 1.0.0 |
| 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 quality checks.
Implement the end-to-end flow for creating new Krithi records from extraction results and enriching existing compositions with multi-language variants. This ensures that a single “System of Record” composition can hold multiple lyrics (Sanskrit, Tamil, English, etc.) linked to their original sources.
modules/backend/api/.../services/KrithiCreationFromExtractionService.kt: Logic for resolving or creating reference entities (Raga/Tala/Deity) and persisting the structural skeleton + primary lyrics.modules/backend/api/.../services/VariantMatchingService.kt: Compares incoming “ENRICH” extractions against the database, creating krithi_lyric_variant records for high-confidence matches.modules/backend/api/.../services/ImportService.kt: Updated to write krithi_source_evidence records for all ingestion paths, including legacy Bulk CSV.modules/backend/api/.../services/DeterministicWebScraper.kt: Unified scraping logic using the enhanced KrithiStructureParser.modules/backend/api/.../support/IntegrationTestBase.kt: Scaffolding for end-to-end pipeline tests using a test database.modules/backend/api/.../support/MigrationRunner.kt: Programmatic execution of Rust CLI migrations for test isolation.tools/test_integration_pipeline.sh: CLI utility for local E2E simulation.modules/frontend/sangita-admin-web/src/pages/ImportReview.tsx: Updated to display confidence scores and section structure comparisons.modules/frontend/sangita-admin-web/src/components/import-review/VariantMatchGrid.tsx: Visual review tool for multi-source matches.akhilāṇḍeśvari correctly holds English (PDF) and Devanagari (PDF) variants.Ref: application_documentation/07-quality/track-053-ingestion-variants-implementation.md