| Metadata | Value |
|---|---|
| Status | In Progress |
| Version | 1.0.0 |
| Last Updated | 2026-11-11 |
| Author | Sangeetha Grantha Team |
ID: TRACK-148 Status: In Progress — Intent Accepted, Spec Accepted, Plan Accepted (implementation in progress) Owner: Seshadri Created: 2026-10-15 Updated: 2026-11-11
Consult the institutional print editions that TRACK-146 registered but did not inspect. Use them to promote, correct or reject the Syama Sastri claims that are still unreviewed leads, and apply the approvals that TRACK-146 deferred.
R__seed_10; this track extends them and does not fork them.database/data/track146-syama-sastri-master.json and database/data/track146-syama-sastri-application-manifest.json. The concordance is generated as syama-sastri-classification-master.md.Status: Accepted Accepted by: Seshadri (chat, 2026-11-03) Accepted at: 2026-11-03
Evidence-access amendment (2026-11-03, Seshadri): no print edition is available. Only publicly accessible sources may be consulted. Edition-dependent items stay unresolved or deferred unless a public source is found and registered.
TRACK-146 closed with an honest but incomplete evidence base. Four print editions are registered as unavailable witnesses and were never consulted:
Their 40 claims are unreviewed leads without page locators. They cover Viloma Chapu, anagata eduppu, Khanda Jhampa, Caturasra Ata, swarasahitya, Apatya Bhava and the Sambamoorthy shrine associations. Six Anandabhairavi raga-character claims are disputed, and all 70 compositions remain UNRESOLVED for geography. These hallmark dimensions therefore do not yet reach the catalogue or search headers.
UNRESOLVED where none does.application: deferred only when that path exists.[Mudra: …], [Eduppu: …], [Raga Trait: …]). If so, extend the formatter within the 60-word budget, then re-index and rerun the SS-146 probes in hybrid mode.application: deferred validation rule; it was blocked during TRACK-146 without SANGITA_ALLOW_TEST_EDITS=1.track146-syama-sastri-master.json, the manifest, the generated concordance, R__seed_10 or its successor, and canon corrections.Status: Accepted Accepted by: Seshadri (chat, 2026-11-03) Accepted at: 2026-11-03
Acceptance note: accepted with the Spec’s recommended defaults for its open decisions: openly_hosted witnesses may approve with a locator and short quote; Seshadri adjudicates with the musicologist subagent checking; non-cycle path is option D1.
No print edition is available to the owner, so the track runs on publicly accessible sources only. Three tiers, recorded per witness in a new optional rights field:
rights |
Meaning | May approve a claim? |
|---|---|---|
public_domain |
Work is out of copyright (for example texts published before 1965 whose author died before 1965; the compositions themselves). | Yes, with hash and locator. |
openly_hosted |
Freely downloadable from an institution (for example the Music Academy journal PDFs already fetched as ma:jma-*), copyright status not established. |
Yes as a cited locator only. Do not copy passages beyond a short quotation. Record the rights uncertainty. |
inaccessible |
Not obtainable (the three print editions). | No. |
A claim that only an inaccessible edition could settle ends as unresolved with reason edition_inaccessible, not as a perpetual unreviewed lead. That is an honest terminal state for this track, not a failure.
rights (public_domain, openly_hosted, inaccessible) and an optional rights_note. The validator accepts the field, defaults existing witnesses (fetched to openly_hosted, unavailable to inaccessible) and rejects approval from an inaccessible witness (already true through status). No schema change to the database.rights: (a) the Music Academy journal volumes and souvenirs not yet fetched, including the 1954 souvenir already listed as academy-1954-lead; (b) digitised public-domain works that may carry Syama Sastri text or notation (Subbarama Dikshitar’s Sangita Sampradaya Pradarsini, 1904, plus archive.org, Wikisource and the Digital Library of India); (c) Sahapedia and similar open scholarship. Each source is recorded as consulted with an outcome, including “searched, nothing relevant”. Fetched artifacts are cached outside git or hashed only. No full copyrighted text enters the repository.approved (public witness, exact page locator, named approver), corrected, rejected, unresolved with a reason (edition_inaccessible, no_public_source, sources_conflict) or disputed. Never invent a locator. Expected outcome: most leads close as unresolved/edition_inaccessible.UNRESOLVED. NO_PLACE_STATED observations remain unapprovable, per the contract.application: deferred is lifted only when the accepted path exists. See Design option D.[Mudra: …], [Eduppu: …], [Raga Trait: …]). Any change stays within the 60-word header budget and keeps cycle clauses unchanged. A re-index is a separate, separately authorised paid run. This track prepares and tests the formatter change but does not run embeddings.AUDIT_LOG. No direct SQL, no edit of a committed V__ file.application: deferred validation rule (only approved claims can be deferred, and a reason is required). It needs SANGITA_ALLOW_TEST_EDITS=1, set deliberately for this one addition.rights, and the list of edition_inaccessible items so a future owner with edition access can reopen them.database/data/track146-syama-sastri-master.json and track146-syama-sastri-application-manifest.json; tools/krithi-extract-enrich-worker/src/musicological_classification.py (validator, rights field, new reason codes); scripts/generate_classification_master.py (reporting); the generated application_documentation/01-requirements/features/syama-sastri-classification-master.md; the shared contract doc; R__seed_10_syama_sastri_reviewed_memberships.sql or a new R__ successor only if a membership changes.unresolved with reason (edition_inaccessible, no_public_source, sources_conflict). Validator requires a reason on every unresolved claim touched by this track.V__). Right if mudra should be filterable or shown in the UI, but it is a schema and DTO change across all three layers.krithi_cycle_memberships. Rejected: a mudra is a property of a composition, not membership of a cycle.AUDIT_LOG. Re-runs create no audit events.rights tiers make this explicit. Decision needed on whether openly_hosted locators may approve claims (recommended: yes, locator and short quote only).edition_inaccessible ledger plus whatever the open journals settle.Adopted into this Spec as additional requirements:
witness_kind (notated_edition, scholarly_article, secondary_text) alongside rights. Eduppu, arudi, kalai and subdivision claims are approvable only from a notated_edition. A prose statement can approve a tala name only. Blogs and Sahapedia-type pages are secondary_text.sources_conflict must not fire on arithmetic differences alone (anagata offsets of 1/2, 3/4 and 1½ matras; chapu half-beat counting).Corrections to the Evidence policy: the “before 1965” example is a rule of thumb for life + 60 and varies by jurisdiction, so the owner confirms each public_domain call. Sambamoorthy (d. 1973) is not public domain. Sangita Sampradaya Pradarsini (1904) is public domain and digitised, but it is Dikshitar-school, so treat it as a tala/raga attribution witness, not a complete source. Reviewer could not name other early collections with confidence; the sweep registers hits as unverified.
openly_hosted (copyright-unknown) witnesses approve claims?Status: Accepted Accepted by: Seshadri (chat, 2026-11-03) Accepted at: 2026-11-03
Decision (2026-11-03, Seshadri): “public domain” means publicly accessible. Copyright is not a gate for now. Consequences: openly_hosted and public_domain witnesses are treated alike for approval (locator required, hash required); rights stays as an informational field only and no longer limits quoting. Fetched artifacts are still cached outside git for size, not for rights. This supersedes the copyright cautions in the Spec’s Evidence policy and flagged concern 1.
Grounded in a read-only pass over musicological_classification.py, generate_classification_master.py, embeddings/context_formatter.py, R__seed_10, and the shared contract. No product code is changed until this Plan is Accepted.
| Area | File | Change |
|---|---|---|
| Validator | tools/krithi-extract-enrich-worker/src/musicological_classification.py |
Witness: add optional rights, rights_note, witness_kind; defaults derived from status so existing data still validates. Claim: add optional unresolved_reason (edition_inaccessible, no_public_source, sources_conflict), required when review_state == unresolved for claims this track touches. RhythmObservation: add jati, akshara_count, grouping (counting convention). Rules: rhythm axes (eduppu/arudi/kalai/subdivision) approvable only from witness_kind == notated_edition; no approval from rights == inaccessible. |
| Generator | tools/krithi-extract-enrich-worker/scripts/generate_classification_master.py and MasterModel.render() |
Report claims by disposition, witnesses by rights, and the edition_inaccessible ledger. |
| Data | database/data/track146-syama-sastri-master.json, track146-syama-sastri-application-manifest.json |
New witnesses from the sweep, dispositions for the 40 leads, adjudication results, unresolved_reason values. Generated manifest regenerated, never hand-edited. |
| Generated doc | application_documentation/01-requirements/features/syama-sastri-classification-master.md |
Regenerated. |
| Contract doc | application_documentation/01-requirements/features/musicological-classification-contract.md |
Add rights, witness_kind, unresolved_reason, unit-normalisation and counting-convention rules, glossary (arudi, eduppu, kalai, jati), non-cycle application path (D1). |
| Formatter (D1) | tools/krithi-extract-enrich-worker/src/embeddings/context_formatter.py |
Optional non-cycle clauses (Mudra, Raga Trait, Eduppu) read from the manifest, within MAX_HEADER_WORDS = 60, abstaining when no approved claim exists. Only if the sweep produces an approved non-cycle claim; otherwise this stays unbuilt. |
| Tests | tests/test_musicological_classification.py |
Deferred-validation case (needs SANGITA_ALLOW_TEST_EDITS=1, one deliberate use), plus rights / witness_kind / rhythm-convention cases. tests/test_syama_formatter.py for the D1 clauses. |
| Seed | database/migrations/R__seed_10_syama_sastri_reviewed_memberships.sql |
Touched only if an approved claim changes a Ratnatrayam membership. Not expected. No V__ file edited. |
| Track docs | conductor/tracks/TRACK-148-*.md, conductor/tracks.md, current-versions.md untouched |
Checklist and Progress Log updates. |
Not changed: Kotlin backend, database schema, frontend. Catalogue corrections (Spec 10) are not planned as code: if the evidence demands one, it is raised as its own change through TRACK-149’s audited path.
--check clean).academy-1954-lead, archive.org / Wikisource / DLI hits, Sangita Sampradaya Pradarsini). Cache outside git, record SHA-256, URL, access date, rights, witness_kind, and outcome including “nothing relevant”. This step takes network access and is the main unknown.reviewed yet.unresolved with a reason, or disputed.--check to prove determinism.application: deferred for the four mudras only if their claims survive review and the D1 path is built and tested.sources_conflict from firing on arithmetic differences.--check.SANGITA_ALLOW_TEST_EDITS=1. Used once, on purpose, for the deferred-rule test and new cases.V__ to apply mudras: violates Flyway and audit policy for no benefit while D1 exists.Run from tools/krithi-extract-enrich-worker unless noted; the worker has no make target, so these are the direct commands:
uv run pytest tests/test_musicological_classification.py tests/test_syama_formatter.py tests/test_macro_indexer.py
uv run python scripts/generate_classification_master.py \
--master ../../database/data/track146-syama-sastri-master.json \
--output ../../application_documentation/01-requirements/features/syama-sastri-classification-master.md \
--manifest ../../database/data/track146-syama-sastri-application-manifest.json --check
From the repository root: make check-docs (documentation links) and make check-doc-impact. If R__seed_10 is touched: make db-reset then the verify-import skill (junction tables, not just FKs). make test only if backend code changes, which this Plan does not expect.
Done when: every one of the 40 leads has exactly one final disposition with a reason or locator; the generated outputs are current (--check clean); the concordance reports claims by disposition and witnesses by rights; no claim is reviewed without a named approver and a hashed available witness; all commands above pass and their output is pasted into the Progress Log.
application: deferred lifted for the four mudras (SS-0032, SS-0034, SS-0046, SS-0051). The other 11 approved Syama claims stay deferred.Witness gains rights, rights_note, witness_kind; Claim gains unresolved_reason; RhythmObservation gains jati, akshara_count, grouping. Rhythm interpretation needs a notated_edition witness and no claim is approved from an inaccessible witness. The existing master validates unchanged. Added the deferred-validation test (one deliberate use of SANGITA_ALLOW_TEST_EDITS=1, plus an updated witness count).database/data/track148-149-source-sweep-ledger.md). The 1954 souvenir (academy-1954-lead, now fetched) lists the nine Navaratnamalika gems, seven by title and two by raga only; the 1973 souvenir lists seven Navaratnamalika kritis for Meenakshi and the full set of attributed compositions with raga, tala and deity; JMA LV (1984) names four svara sahitya kritis. Review sheet database/data/track148-lead-review-sheet.md: of 40 leads, 15 recommended approve, 24 unresolved with a reason, 1 disputed. Nothing is approved.database/data/track148-lead-decisions.json and applied to the master. 15 claims are now reviewed with application: deferred (one Viloma chapu, one khanda jhampa, four svara sahitya, two Apatya Bhava and seven Meenakshi geography claims); 24 are unresolved with a reason and SS-0055 laya is disputed (Adi lead versus Rupaka in the 1973 list). Approved manifest changes: 18 to 33. No unreviewed claims remain. The seven Meenakshi approvals make seven compositions SPECIFIC_SHRINE_SUPPORTED. The D1 formatter is now unblocked but not built; lifting deferred for the four mudras still needs it.src/embeddings/claim_metadata.py reads the manifests; the formatter adds [Mudra], [Laya], [Raga Trait] and [Bhava] clauses for Syama Sastri (and [Mudra], [Ritual Function], [Dramatic Context], [Theme] for Tyagaraja) within the 60-word budget, with no clause when no apply claim exists. embed_catalogue.py and batch_embed_catalogue.py pass the claims through. Lifted the deferral on the four mudras with scripts/lift_deferral.py, which changes only application and records the reason on the claim. Twelve krithis now have an applicable claim. 10 new tests, one of which caught a duplicate clause when the cycle header already carries the value. No embeddings were run.batch_embed_catalogue.py and the D1 claim-metadata formatter. Syama Sastri: 70 krithis, 142 embeddings created, 1,908 unchanged and skipped, 0 failed (~$0.004). Tyagaraja: 683 of 684 krithis, 9,797 embeddings created, 8,403 skipped, 1 failed (kAla haraNa, a read timeout; failure file reports/embedding_failures_20261111_112217.json), ~1.96M tokens, ~$0.29. Total about $0.30 against the $5 cap. The one failed krithi was not retried because a second paid run was outside the authorisation; it was not re-embedded this run, so it may still carry the older header text. The run did not activate a new profile (activation is opt-in and was not requested). Before the run, header samples showed only [Mudra], [Laya] and [Theme] clauses, at most 24 words against the 60-word budget. [Raga Trait], [Bhava], [Ritual Function] and [Dramatic Context] cannot appear yet because those claims are still deferred. Before/after search on 8 queries (hybrid and semantic, 16 result sets): 6 unchanged, 10 changed in the top 5. Evidence: application_documentation/10-implementations/track148-149-reindex-search-evidence.md. Backups taken earlier: storage/backups/track149-pre-reextract-20261111-0914.dump and track149-pre-seed13-20261111-0939.dump (gitignored). The track stays In Progress: the other 11 approved Syama claims remain deferred and 24 claims are unresolved.