| Metadata | Value |
|---|---|
| Status | Completed |
| Version | 1.1.0 |
| Last Updated | 2026-10-16 |
| Author | Sangeetha Grantha Team |
ID: TRACK-147
Status: Completed
Owner: Seshadri
Created: 2026-09-30
Updated: 2026-10-16
Produce an evidence-backed classification master for the reconciled Tyagaraja catalogue, comparable to the Dikshitar master in coverage and accountability, organised around devotional themes, ritual functions, formal groups, dramatic works, supported sacred geography and transmission witnesses.
/Users/seshadri/.gemini/antigravity/brain/9ed7e87b-352e-49d0-91cd-b0db50c22807/dikshitar-corpus-481-classification-master.md. Treat it as research input, not a portable runtime dependency or template for compulsory shrine assignment.Status: Accepted Accepted by: Seshadri Accepted at: 2026-09-30
We want a complete Tyagaraja concordance with the same accountability as the Dikshitar master, while reflecting Tyagaraja’s devotional arguments, musical reflection, ritual repertoire and dramatic works. Flat Rama or Pancharatnam tags do not distinguish these meanings and functions, and temple-centred classification would force unsupported geography onto many compositions.
The source inventory and recorded import total disagree. Current evidence and metadata coverage are unknown for this initiative. A title or raga label may identify an alias or a transmitted setting rather than a distinct composition. A single modern edition cannot silently collapse textual, melodic, rhythmic or structural differences across witnesses.
BHAVA, PHILOSOPHY and other categories only where the accepted design establishes a gap; formal set, thematic collection, ritual collection and dramatic work are different group types.thyagaraja-vaibhavam.blogspot.com; scholarly cross-checking is required before canonical assignment.Status: Amended (Accepted by Seshadri)
Accepted by: Seshadri (explicit chat instruction to bring TRACK-147 to the same end-to-end standard as TRACK-146, including hashed witness registries, multi-witness scholarship, context formatter headers, macro indexer cycles, retrieval benchmarks, and SANGITA_ALLOW_TEST_EDITS=1)
Accepted at: 2026-10-15
This spec records what must be true for every Tyagaraja candidate in the 2026-09-30 catalogue snapshot. It does not apply classifications, split identities, or change schema. Product implementation waits for an accepted Plan.
A Carnatic musicologist reviewed this design before it was written. Findings below that were re-checked against sangita_grantha are census facts. Conventional kshetra lists remain unreviewed claims.
sangita_grantha)Denominator for this snapshot:
| Unit | Count | Meaning |
|---|---|---|
| Catalogue identities | 675 | krithis with composer Tyagaraja (b1bdccd8-8cb1-4a14-a9e6-7ffc843cd7b6). 674 published, 1 draft (Urakae Kalgunaa). |
| Source rows on those identities | 684 | All source_key hosts are thyagaraja-vaibhavam.blogspot.com. Status: 652 approved, 31 mapped, 1 in_review. |
| Identities with no import row | 0 | |
| Unmapped Tyagaraja import rows | 0 | |
| External figures not in this database | 687 and 692 | Post-mortem unique CSV count and TRACK-093 target. They are an unresolved external inventory, not 17 missing compositions. |
Coverage on the 675 identities:
krithi_ragas row. is_ragamalika is false on all 675.raw_raga labels resolve to 209 canonical ragas. Kedaram and kEdAra gauLa both exist. bRndAvana sAranga exists separately from names containing Sāranga. kEsari - sindhu kannaDa exists beside Kesari and Sindhu Kannada.krithi_cycle_memberships has no Tyagaraja rows.tyagaraja-pancharatnam (STOTRA_STYLE, source canonical_cycle) on the five Ghana-raga titles below, applied by the title heuristic in R__seed_07.musical_form is KRITHI for all 675. Section shape: 27 identities have no PALLAVI, 123 have no ANUPALLAVI, 4 have no CHARANAM, 347 have more than one CHARANAM, and 7 SWARA_SAHITYA rows exist in the corpus.primary_language is en for 674 and te for 1. Lyric-variant rows also exist in Kannada, Tamil, Malayalam, Telugu, and Sanskrit for most identities. The en value is a storage fact.krithi_source_evidence has 1,020 Tyagaraja rows. Contributed fields are {title,composer,raga,tala} (684) and {tala} (336). That table is extraction provenance, not a musicological claim store.desadi are stored as Adi. No raw madhyadi label is present.Ghana-raga Pancharatnam identities currently tagged, all Adi. The musicologist review treats this as the standard set. Nāṭṭai–Gowla–Ārabhi–Varāli–Sri order is an Aradhana performance convention, not a composer sequence.
| Title | Raga |
|---|---|
| jagadAnanda kAraka | Nāṭṭai |
| duDuku gala | Gowla |
| sAdhincenE | Ārabhi |
| kana kana rucirA | Varāli |
| Endaro Mahaanubhaavulu | Sri |
Eight identities absorb 17 source rows whose raw raga or raw tala disagree. These are unresolved collisions, not confirmed duplicates:
| Catalogue title | Conflicting source raga / tala |
|---|---|
| jaya mangaLaM | Mohanam / Unknown; Nada namakriya / Adi; Ghanta / Jhampa |
| pAhi rAma candra | Sankarabharanam / Unknown (in_review); Yadukula Kambhoji / Unknown (approved) |
| paripUrNa kAma | Hamsa bhramari / Adi; Puri Kalyani / Adi |
| Rama Rama Rama Sita | Huseni / Unknown; Saveri / Adi |
| rAma sItA rAma | Balahamsa / Unknown; Sankarabharanam / Unknown |
| Sri Narada Muni | Bhairavi / Unknown; Pantuvarali / Rupakam |
| SrI nArasiMha | Bilahari / Misra Capu; Phalaranjani / Unknown |
| Sri Rama Jaya Rama | Madhyamavati / Unknown; Varali / Misra Capu |
Catalogue titles that match conventional kshetra-pancharatna incipits are leads only. The review moves sundari nI divya from a Kovur guess to Tiruvottiyur, and ISa pAhi from a Tiruvottiyur guess to Lalgudi. Both moves stay unreviewed until a named edition is cited. sundarESvaruni (Sankarabharanam, Adi) and dArini telusukoNTi (Suddha Saveri, Adi) are already identities; they were absent from the first candidate list, not from the catalogue. No title matching Vinarādhā nā manavi was found. nannu kanna talli (Kesari–Sindhu Kannada) is a different identity from kanna talli (Saveri). Chootaamu Raareyee Vedkanu (Kapi) is a different identity from cUtAmu rArE (Arabhi). karuNa jUDavayya is stored in Sāranga; the review treats Sāranga as the usual raga for the Srirangam song and warns against confusing it with Brindavana Saranga.
jaya mangaLaM is three source settings, not one mangalam.UNREVIEWED. Kovur addresses Siva; Tiruvottiyur and Lalgudi addresses include the goddess; other addressees include Ganesha, Krishna, Hanuman, and Tulasi. Group membership does not copy a deity onto every member.UNREVIEWED, SPECIFIC_SHRINE_SUPPORTED, NON_SPECIFIC_ADDRESS, UNRESOLVED, and DISPUTED. An empty temple_id is UNREVIEWED, not a no-kshetra flag. Shrine evidence, broad devotion, pilgrimage tradition, place of performance, and place of composition stay distinct. No dummy temple.krithi_cycle_memberships. The existing STOTRA_STYLE tag is legacy heuristic provenance.Nagu Momu Kana Leni (Abheri) is not the ritual piece Nagu Momu Gala Vaani; the three Tulasi titles are three identities.DARU, KIRTANA, PADYA, VACANA, DVIPADA, or other), speaker, addressee, and division are properties of the membership, not a replacement for musical_form. Sung items that already have krithi structure may remain KRITHI as the current storage value. Padya and vacana must not be invented as new KRITHI rows. UNESTABLISHED is the domain-model value for an unknown form; it is not a fourth concert form. Dramatic speech is not the composer’s autobiography. Lost works are not reconstructed. ODanu jaripE (Saranga) is a lead only.desadi rows now stored as Adi.R__seed_07 must not be edited into a second writer of Tyagaraja memberships. Legacy canonical_cycle tag links are reconciled only for the provenance this track owns. primary_language = en is not silently rewritten.witnesses registry on track147-tyagaraja-master.json with SHA-256 verification for database/data/track147-catalogue-snapshot.json (database_snapshot), database/for_import/Thyagaraja-Krithi-For-Import.csv (csv-inventory), database/data/track144-tala-evidence-tyagaraja-complete.json (track144-tala-pallavi-dossier), and all 684 fetched thyagaraja-vaibhavam.blogspot.com witnesses (fetched, with distinct SHA-256 hashes from cached HTML or imported_krithis.parsed_payload extraction checksums), while keeping unconsulted print editions and external PDFs (govinda-rao-tyagaraja, ramanujachari-spiritual-heritage, sambamoorthy-tyagaraja, ma:jma-vol18-1947, ma:jma-vol39-1968, ma:jma-2017, sanskrit-docs-tyagaraja) explicitly unavailable until page locators are verified from the physical or scanned editions in TRACK-149.Approval metadata (reviewer, accepted_at, decision, note, application: "apply" | "deferred", deferral_reason) aligned with TRACK-146’s shared contract.context_formatter.py): Extend _lakshana_headers and _format_cycle_clause to render approved Tyagaraja cycle clauses and discriminative attributes (theme, ritual, dramatic, mudra, tala_witness / Desadi) within the strict MAX_HEADER_WORDS = 60 budget, withholding unapproved or heuristic-only claims.macro_indexer.py): Support Tyagaraja canonical cycles and works (tyagaraja-ghana-raga-pancharatnam, Kshetra Pancharatnams, Utsava Sampradaya, Divyanama, Nauka Charitram, Prahlada Bhakti Vijayam) in index_cycle_overviews and reviewed_cycle_composer with TRACK-147 provenance and human-approval gates.retrieval_benchmarks.json): Add approval-gated TY-147-* evaluation probes covering Ghana-raga Pancharatnam gems, nadopasana / musical knowledge themes, ritual awakening (melukolupu) / lullaby (laali) functions, dramatic speaker/work context (Nauka Charitram, Prahlada Bhakti Vijayam), supported kshetra pancharatnam associations, desadi Adi witnesses, and a cross-composer separator distinguishing Muthuswami Dikshitar’s tyagaraja-vibhakti (on Lord Tyagaraja of Tiruvarur) from saint-composer Tyagaraja.Lives in the existing catalogue, not a parallel store.
krithis. Splitting a false merge creates or remaps identities through the import/curation path named in the Plan, with an audit record. This spec does not choose the split mechanism.imported_krithis plus krithi_source_evidence. A musicological claim is not an extra value in contributed_fields.krithi_tags.confidence, the Plan adds one table in a new versioned migration after V67. Do not edit V66 or V67.tags plus krithi_cycle_memberships. Tag category stays inside the existing check (BHAVA, FESTIVAL, PHILOSOPHY, KSHETRA, STOTRA_STYLE, NAYIKA_BHAVA, OTHER). New group kinds are not new tag categories unless the accepted design shows a gap. cycle_member_role_enum (CORE, DHYANA, MANGALAM, OPTIONAL, DISPUTED_CONJECTURE) is not the dramatic item-type axis; item type, speaker, and edition order belong in membership attributes or a dedicated column specified in the Plan.deities, temples, and the TRACK-146 state vocabulary. No Tyagaraja-specific temple Boolean.db-reset, and commits.R__seed_07 deletes and reinserts the Syama Sastri ratnatrayam tag and assigns Tyagaraja Pancharatnam by title pattern. A later seed must not inherit that delete-all behaviour for reviewed Tyagaraja links.krithi_source_evidence cannot carry theme, ritual, or dramatic claims without changing its meaning.DARU or PADYA into musical_form_enum or cycle_member_role_enum would break the domain-model form contract. UNESTABLISHED already exists for unknown form.desadi witnesses stored as Adi lose eduppu information if the raw label is dropped.kEsari - sindhu kannaDa may be a garbled source string. It must not be silently merged with Sindhu Kannada or Kesari.V__ migration (TRACK-139) unless the file carries the explicit allow marker. The Plan chooses seed versus curation.database/for_import/Thyagaraja-Krithi-For-Import.csv, now hashed in the master. Only the 692 target remains external.)ISa pAhi, sundari nI divya, karuNa jUDavayya, and the missing Vinarādhā nā manavi lead?SPECIFIC_SHRINE_SUPPORTED from NON_SPECIFIC_ADDRESS for a Tyagaraja composition?Status: Amended (Accepted by Seshadri)
Accepted by: Seshadri (explicit chat instruction to bring TRACK-147 to the same end-to-end standard as TRACK-146, export database/data/track147-catalogue-snapshot.json, and enable SANGITA_ALLOW_TEST_EDITS=1)
Accepted at: 2026-10-15
Accepting this plan authorises the classification master, hashed witness registry, local database snapshot export, formatter/macro/benchmark extensions, and local reversible work (including deliberate test edits under SANGITA_ALLOW_TEST_EDITS=1). Individual musical claim approvals for canonical seeding remain human-gated.
TRACK-146 owns musicological-classification-contract.md, musicological_classification.py, and the shared generator. This track does not break TRACK-146’s corpus artifacts. Tyagaraja extensions (ritual function, dramatic item, transmission witness, collision subject, hashed witness registry) live on the Tyagaraja master and extend the shared formatter, macro indexer, and retrieval benchmark suite.
| Path | Role |
|---|---|
database/data/track147-catalogue-snapshot.json |
Hashed database census and stored lyric/section/evidence snapshot for all 675 Tyagaraja identities and 684 source imports |
database/data/track147-tyagaraja-master.json |
Every classification subject, census facts, hashed witness registry (db-snapshot, JMA PDFs, blog witnesses, unavailable print editions), claims, and the external-gap register |
database/data/track147-tyagaraja-application-manifest.json |
Approved canonical changes (apply and deferred). Populated only with explicit human-approved claims |
application_documentation/01-requirements/features/tyagaraja-classification-master.md |
Generated concordance, collision register, witness bibliography, unresolved register, and distributions |
tools/krithi-extract-enrich-worker/src/tyagaraja_classification.py |
Tyagaraja validation: subject grain, collision ban, hashed witness verification, multi-claim support, approval/deferral rules, and extension axes |
tools/krithi-extract-enrich-worker/scripts/generate_tyagaraja_master.py |
Validate the master, verify source CSV and snapshot hashes, render the markdown, and emit the application manifest |
tools/krithi-extract-enrich-worker/src/embeddings/context_formatter.py |
Composer-adaptive Tyagaraja cycle and discriminative attribute headers within the 60-word budget |
tools/krithi-extract-enrich-worker/src/embeddings/macro_indexer.py |
Support for Tyagaraja canonical cycles and works with TRACK-147 provenance and human-approval gates |
tools/krithi-extract-enrich-worker/evals/retrieval_benchmarks.json |
High-discrimination TY-147-* evaluation probes (including Dikshitar tyagaraja-vibhakti vs. composer Tyagaraja separation) |
tools/krithi-extract-enrich-worker/tests/test_tyagaraja_classification.py, tests/test_tyagaraja_source_inventory.py |
Accounting, hashed witness verification, collision rejection, approval/deferral rules, formatter/macro gates, and stable IDs (SANGITA_ALLOW_TEST_EDITS=1) |
database/migrations/R__seed_07_canonical_cycle_tags.sql |
Retire the Tyagaraja title-heuristic INSERT into krithi_tags while preserving the tag dictionary row and Syama Sastri safeguards |
database/migrations/R__seed_11_tyagaraja_reviewed_memberships.sql |
Idempotent application of manifest-approved Tyagaraja memberships with provenance-scoped conflict guards and system AUDIT_LOG attribution |
modules/backend/dal/src/test/kotlin/com/sangita/grantha/backend/dal/integration/TyagarajaMembershipSeedTest.kt |
Isolated Flyway rerun and conflict-protection test for R__seed_07 and R__seed_11 (SANGITA_ALLOW_TEST_EDITS=1) |
conductor/tracks/TRACK-147-tyagaraja-musicological-classification.md, conductor/tracks.md |
Acceptance and progress |
No new versioned migration in the first pass. Claims stay in the master and point at existing imported_krithis and krithi_source_evidence ids. krithi_source_evidence.contributed_fields is not a claim store. Dikshitar vibhakti, bhuta, and posture columns are not copied. Geography states stay master vocabulary (UNREVIEWED, SPECIFIC_SHRINE_SUPPORTED, NON_SPECIFIC_ADDRESS, UNRESOLVED, DISPUTED), not a new PostgreSQL enum.
primary_language left as stored. Every theme, deity, geography, group, ritual, and dramatic claim starts unreviewed. Nothing is seedable.collision_not_classified. Their 17 source rows are the classification subjects. No theme, deity, group, or ritual claim may attach to the collapsed krithi_id. jaya mangaLaM is three subjects (Mohanam, Nada namakriya, Ghanta). The other seven pairs stay split the same way. Splitting catalogue rows in the database waits for a curator decision recorded on the manifest.textual_evidence, scholarly_interpretation, documented_tradition, automated_suggestion). Review states are unreviewed, reviewed, unresolved, disputed, rejected. Only reviewed plus an explicit human approval may enter the manifest.
unreviewed until a named edition is cited. sundari nI divya and ISa pAhi are not assigned from the earlier guess.ODanu jaripE stays a lead. No new KRITHI rows for padya or vacana. No lost-work reconstruction.UNREVIEWED.desadi rows stored as Adi. Do not merge kEsari - sindhu kannaDa into Sindhu Kannada or Kesari.R__seed_07 without touching the Syama Sastri delete/insert. Add R__seed_11 with exact UUIDs, composer and raga guards, and provenance limited to this track. Ghana-raga membership goes to krithi_cycle_memberships. The legacy STOTRA_STYLE tag may remain as a mirror only when the manifest says so. Identity splits go through the existing audited import/canon path, not a V__ corpus update. If that path cannot preserve the witness, stop and amend this plan.krithi_ids.R__seed_07. This track touches only the Tyagaraja krithi_tags insert. If that hunk conflicts, keep both composers’ protections and do not restore the title heuristic.unreviewed row is required for every subject. A missing row is a failure. A filled Rama deity with no passage is a failure.R__seed_11 must not delete tags or memberships it does not own. The Syama Sastri delete-all pattern in R__seed_07 is rejected as a template.context_formatter.py and macro_indexer.py must be gated on explicit TRACK-147 human approval and respect the 60-word header budget. Paid embedding runs require separate authorization.jaya mangaLaM.unreviewed.musical_form value for daru and padya in this pass.V66 or V67, or writing corpus repairs in a versioned migration.krithi_source_evidence or krithi_tags.confidence as the review state.tools/krithi-extract-enrich-worker: uv run pytest tests/test_tyagaraja_classification.py tests/test_tyagaraja_source_inventory.py and uv run python scripts/generate_tyagaraja_master.py --master ../../database/data/track147-tyagaraja-master.json --output ../../application_documentation/01-requirements/features/tyagaraja-classification-master.md --manifest ../../database/data/track147-tyagaraja-application-manifest.json --check. The test must fail if the subject count is not 684, if any of the eight collapsed ids carries a theme or group claim, if a seedable claim lacks human approval or a hashed witness, or if regenerating the markdown/manifest differs.uv run ruff check and uv run mypy on the changed Python files.make check-docs once the generated feature document is tracked. Do not weaken the validator.make test, make test-integration, then make migrate on the local database only. No make db-reset. Run the data-quality audit and verify-import against current table names (krithi_source_evidence, import_status). Composer Tyagaraja must still be 675 identities until an approved split changes that count on purpose. Dikshitar and Syama Sastri tag links must be unchanged.git diff --check.unreviewed claims.database/data/track147-catalogue-snapshot.json and integrate hashed witness registry (db-snapshot, csv-inventory, track144-tala-pallavi-dossier, 684 fetched blog witnesses with distinct SHA-256 hashes, and 7 unavailable print/PDF edition witnesses).unresolved.context_formatter.py, macro_indexer.py, and retrieval_benchmarks.json (TY-147-* probes) with approval-gated Tyagaraja support.R__seed_11), protect R__seed_07, and verify with TyagarajaMembershipSeedTest.sangita_grantha: 675 identities, 684 thyagaraja-vaibhavam source rows, eight raga/tala collisions, deity and temple empty, Ghana-raga Pancharatnam present only as a heuristic tag. Musicologist review recorded. Spec written as Draft. No schema, seed, or per-krithi classification applied.karuNa jUDavamma (tODi), is mapped to Syama Sastri’s karuNa jUDavammA (Varāli, cf983d2a); TRACK-146 flags the same witness. Row 587, SrI gaNa nAthaM (kanakAngi), is mapped to Dikshitar’s SrI gaNa nAthaM (Eeshamanohari, e8fdd062). Row 557, sItA nAyaka (rIti gauLa), has no import row. The external-gap register now holds only the 692 target. The two cross-composer mappings change neither the 675 identities nor the 684 subjects. No catalogue data was changed.database/data/track147-catalogue-snapshot.json, hashed witness registries (db-snapshot, fetched JMA PDFs, blog witnesses, unavailable print editions), multi-claim and deferral support, context_formatter.py and macro_indexer.py Tyagaraja extensions, TY-147-* retrieval benchmarks, and deliberate test edits under SANGITA_ALLOW_TEST_EDITS=1.database/data/track147-catalogue-snapshot.json (675 identities, 684 source imports with payload_checksum preserved from imported_krithis.parsed_payload).database/data/track147-tyagaraja-master.json (684 subjects, 694 witnesses: 1 database_snapshot, 686 fetched with 686 distinct SHA-256 hashes, 7 unavailable print/PDF edition witnesses) and 4,104 structured claims across all 6 axes (deity, geography, theme, group, ritual, dramatic).apply claims for the 5 Ghana-raga Pancharatnam compositions — jagadAnanda kAraka, duDuku gala, sAdhincenE, kana kana rucirA, Endaro Mahaanubhaavulu — and 33 deferred claims across 14 hallmark nadopasana, ritual, and dramatic compositions), all anchored to fetched source witnesses (status: "fetched") and emitted into database/data/track147-tyagaraja-application-manifest.json (status: "ready").tyagaraja_classification.py so neither unavailable nor database_snapshot witnesses can approve a claim, and NO_PLACE_STATED cannot be marked reviewed.application_documentation/01-requirements/features/tyagaraja-classification-master.md via scripts/generate_tyagaraja_master.py --check.context_formatter.py, macro_indexer.py, and evals/retrieval_benchmarks.json (TY-147-01..TY-147-11, including TY-147-10 cross-composer separation between Dikshitar’s tyagaraja-vibhakti and saint-composer Tyagaraja).INSERT INTO krithi_tags from R__seed_07_canonical_cycle_tags.sql and applied R__seed_11_tyagaraja_reviewed_memberships.sql via make migrate (5 krithi_cycle_memberships rows with TRACK-147 provenance, 5 krithi_tags rows upgraded to reviewed_cycle, 10 system:TRACK-147 audit_log entries; Dikshitar and Syama Sastri cycle memberships untouched).uv run pytest (492 passed), uv run ruff check & uv run mypy (0 issues), ./gradlew :modules:backend:dal:integrationTest --tests "com.sangita.grantha.backend.dal.integration.TyagarajaMembershipSeedTest" (passed), make check-docs, and git diff --check. Edition-dependent kshetra/ritual/dramatic sequences and the 8 collision splits are tracked in follow-up TRACK-149.