cal-mcp 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (726) hide show
  1. cal_mcp-0.1.0/.github/ISSUE_TEMPLATE/implementation.yml +71 -0
  2. cal_mcp-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +58 -0
  3. cal_mcp-0.1.0/.github/workflows/ci.yml +70 -0
  4. cal_mcp-0.1.0/.github/workflows/live-smoke.yml +42 -0
  5. cal_mcp-0.1.0/.github/workflows/release.yml +136 -0
  6. cal_mcp-0.1.0/.gitignore +9 -0
  7. cal_mcp-0.1.0/AGENTS.md +103 -0
  8. cal_mcp-0.1.0/CHANGELOG.md +65 -0
  9. cal_mcp-0.1.0/LICENSE +21 -0
  10. cal_mcp-0.1.0/PKG-INFO +149 -0
  11. cal_mcp-0.1.0/README.md +132 -0
  12. cal_mcp-0.1.0/constraints/build-py311.txt +9 -0
  13. cal_mcp-0.1.0/constraints/ci-py311.txt +42 -0
  14. cal_mcp-0.1.0/docs/concepts/cal-identifiers.md +95 -0
  15. cal_mcp-0.1.0/docs/concepts/errors-and-upstream-drift.md +122 -0
  16. cal_mcp-0.1.0/docs/concepts/input-and-transliteration.md +199 -0
  17. cal_mcp-0.1.0/docs/concepts/provenance-and-citation.md +71 -0
  18. cal_mcp-0.1.0/docs/configuration.md +174 -0
  19. cal_mcp-0.1.0/docs/getting-started.md +132 -0
  20. cal_mcp-0.1.0/docs/guides/corpus-context.md +90 -0
  21. cal_mcp-0.1.0/docs/guides/lexical-research.md +92 -0
  22. cal_mcp-0.1.0/docs/guides/reproducible-citations.md +86 -0
  23. cal_mcp-0.1.0/docs/index.md +76 -0
  24. cal_mcp-0.1.0/docs/installation.md +111 -0
  25. cal_mcp-0.1.0/docs/integrations/standalone-mcp.md +127 -0
  26. cal_mcp-0.1.0/docs/limitations.md +90 -0
  27. cal_mcp-0.1.0/docs/plans/issue-10-targum.md +165 -0
  28. cal_mcp-0.1.0/docs/plans/issue-101-onkelos-jonathan-catalogue.md +145 -0
  29. cal_mcp-0.1.0/docs/plans/issue-103-reachability-audit.md +137 -0
  30. cal_mcp-0.1.0/docs/plans/issue-105-syriac-group-followup.md +220 -0
  31. cal_mcp-0.1.0/docs/plans/issue-106-text-information.md +204 -0
  32. cal_mcp-0.1.0/docs/plans/issue-107-specialized-gloss-fields.md +184 -0
  33. cal_mcp-0.1.0/docs/plans/issue-108-line-comments.md +297 -0
  34. cal_mcp-0.1.0/docs/plans/issue-11-syriac.md +226 -0
  35. cal_mcp-0.1.0/docs/plans/issue-110-syriac-peshitta-subtext-routing.md +149 -0
  36. cal_mcp-0.1.0/docs/plans/issue-112-lexicon-prefix-browse.md +281 -0
  37. cal_mcp-0.1.0/docs/plans/issue-113-kwic-full-context.md +319 -0
  38. cal_mcp-0.1.0/docs/plans/issue-116-release-surface-sync.md +98 -0
  39. cal_mcp-0.1.0/docs/plans/issue-117-cache-aware-text-request-volume.md +124 -0
  40. cal_mcp-0.1.0/docs/plans/issue-12-v0.1-contract-docs.md +228 -0
  41. cal_mcp-0.1.0/docs/plans/issue-120-cache-aware-request-volume-audit.md +163 -0
  42. cal_mcp-0.1.0/docs/plans/issue-125-syriac-root-discovery.md +201 -0
  43. cal_mcp-0.1.0/docs/plans/issue-127-lexicon-citation-context.md +324 -0
  44. cal_mcp-0.1.0/docs/plans/issue-13-external-citations.md +295 -0
  45. cal_mcp-0.1.0/docs/plans/issue-130-kwic-row-identity.md +107 -0
  46. cal_mcp-0.1.0/docs/plans/issue-138-installation-tool-count.md +11 -0
  47. cal_mcp-0.1.0/docs/plans/issue-14-dictionary-collation.md +262 -0
  48. cal_mcp-0.1.0/docs/plans/issue-140-user-facing-tool-counts.md +12 -0
  49. cal_mcp-0.1.0/docs/plans/issue-142-targum-example-selector-validation.md +13 -0
  50. cal_mcp-0.1.0/docs/plans/issue-144-bare-fragment-targum-urls.md +14 -0
  51. cal_mcp-0.1.0/docs/plans/issue-146-targum-chooser-action.md +22 -0
  52. cal_mcp-0.1.0/docs/plans/issue-149-concordance-kwic-drift.md +32 -0
  53. cal_mcp-0.1.0/docs/plans/issue-15-v0.1-release.md +249 -0
  54. cal_mcp-0.1.0/docs/plans/issue-150-bibliography-drift.md +20 -0
  55. cal_mcp-0.1.0/docs/plans/issue-151-citation-context-bablex.md +9 -0
  56. cal_mcp-0.1.0/docs/plans/issue-152-targum-concordance-reflex-drift.md +11 -0
  57. cal_mcp-0.1.0/docs/plans/issue-153-external-sources-repeated-abbreviations.md +9 -0
  58. cal_mcp-0.1.0/docs/plans/issue-154-gloss-field-drift.md +34 -0
  59. cal_mcp-0.1.0/docs/plans/issue-155-mt-verse-labels.md +111 -0
  60. cal_mcp-0.1.0/docs/plans/issue-156-drift-errors.md +54 -0
  61. cal_mcp-0.1.0/docs/plans/issue-157-installed-stdio-live-smoke.md +106 -0
  62. cal_mcp-0.1.0/docs/plans/issue-158-cli-help.md +27 -0
  63. cal_mcp-0.1.0/docs/plans/issue-159-syriac-missing-category-enum.md +27 -0
  64. cal_mcp-0.1.0/docs/plans/issue-160-stdio-proxy-env.md +39 -0
  65. cal_mcp-0.1.0/docs/plans/issue-166-subtext-file-info.md +15 -0
  66. cal_mcp-0.1.0/docs/plans/issue-167-talmud-pagination.md +16 -0
  67. cal_mcp-0.1.0/docs/plans/issue-168-blank-text-lines.md +31 -0
  68. cal_mcp-0.1.0/docs/plans/issue-169-mandaic-catalogue.md +14 -0
  69. cal_mcp-0.1.0/docs/plans/issue-170-cpa-subtext-ids.md +98 -0
  70. cal_mcp-0.1.0/docs/plans/issue-171-text-search-subtext-links.md +19 -0
  71. cal_mcp-0.1.0/docs/plans/issue-172-syriac-group-cards.md +13 -0
  72. cal_mcp-0.1.0/docs/plans/issue-173-biblical-headings.md +29 -0
  73. cal_mcp-0.1.0/docs/plans/issue-174-dictionary-labels.md +15 -0
  74. cal_mcp-0.1.0/docs/plans/issue-175-lexicon-browse-crossrefs.md +128 -0
  75. cal_mcp-0.1.0/docs/plans/issue-176-kwic-omitted-form.md +15 -0
  76. cal_mcp-0.1.0/docs/plans/issue-177-concordance-no-data-rows.md +26 -0
  77. cal_mcp-0.1.0/docs/plans/issue-178-headerless-citation.md +14 -0
  78. cal_mcp-0.1.0/docs/plans/issue-179-syriac-token-redirects.md +132 -0
  79. cal_mcp-0.1.0/docs/plans/issue-18-reproducible-ci.md +78 -0
  80. cal_mcp-0.1.0/docs/plans/issue-180-pointed-hebrew-error.md +41 -0
  81. cal_mcp-0.1.0/docs/plans/issue-181-full-context-subtext.md +14 -0
  82. cal_mcp-0.1.0/docs/plans/issue-182-text-row-coordinates.md +17 -0
  83. cal_mcp-0.1.0/docs/plans/issue-185-unlemmatized-text.md +82 -0
  84. cal_mcp-0.1.0/docs/plans/issue-186-six-digit-syriac-id.md +14 -0
  85. cal_mcp-0.1.0/docs/plans/issue-188-mandaic-routing.md +132 -0
  86. cal_mcp-0.1.0/docs/plans/issue-193-linkless-token-analysis.md +81 -0
  87. cal_mcp-0.1.0/docs/plans/issue-196-empty-cpa-55002.md +32 -0
  88. cal_mcp-0.1.0/docs/plans/issue-203-bablex-full-context.md +12 -0
  89. cal_mcp-0.1.0/docs/plans/issue-204-empty-kwic-highlight.md +12 -0
  90. cal_mcp-0.1.0/docs/plans/issue-206-bdo-reversed-coordinate.md +12 -0
  91. cal_mcp-0.1.0/docs/plans/issue-207-invalid-search-string.md +14 -0
  92. cal_mcp-0.1.0/docs/plans/issue-208-full-context-row-strictness.md +56 -0
  93. cal_mcp-0.1.0/docs/plans/issue-218-mandaic-machine-coordinates.md +102 -0
  94. cal_mcp-0.1.0/docs/plans/issue-220-mandaic-col-machine-coordinates.md +161 -0
  95. cal_mcp-0.1.0/docs/plans/issue-222-uncertain-lexicon-pos.md +106 -0
  96. cal_mcp-0.1.0/docs/plans/issue-224-entry-header-structure.md +27 -0
  97. cal_mcp-0.1.0/docs/plans/issue-227-empty-pos.md +25 -0
  98. cal_mcp-0.1.0/docs/plans/issue-228-verb-vowel-class.md +27 -0
  99. cal_mcp-0.1.0/docs/plans/issue-232-token-analysis-segments.md +43 -0
  100. cal_mcp-0.1.0/docs/plans/issue-237-stem-headings.md +29 -0
  101. cal_mcp-0.1.0/docs/plans/issue-240-verb-lookup-case.md +15 -0
  102. cal_mcp-0.1.0/docs/plans/issue-246-targum-concordance-examples.md +11 -0
  103. cal_mcp-0.1.0/docs/plans/issue-247-targum-reflex-example-pages.md +56 -0
  104. cal_mcp-0.1.0/docs/plans/issue-250-sdist-member-types.md +20 -0
  105. cal_mcp-0.1.0/docs/plans/issue-252-lexicon-explicit-empty.md +7 -0
  106. cal_mcp-0.1.0/docs/plans/issue-258-citation-context-input-errors.md +6 -0
  107. cal_mcp-0.1.0/docs/plans/issue-261-unclosed-dial-outline.md +8 -0
  108. cal_mcp-0.1.0/docs/plans/issue-262-rate-pacing.md +29 -0
  109. cal_mcp-0.1.0/docs/plans/issue-266-kwic-unrendered-hits.md +8 -0
  110. cal_mcp-0.1.0/docs/plans/issue-272-ginza-cross-subtext-page-links.md +9 -0
  111. cal_mcp-0.1.0/docs/plans/issue-277-lexicon-incomplete-browse.md +8 -0
  112. cal_mcp-0.1.0/docs/plans/issue-289-terminal-429-guidance.md +7 -0
  113. cal_mcp-0.1.0/docs/plans/issue-291-cancelled-429-retry.md +9 -0
  114. cal_mcp-0.1.0/docs/plans/issue-293-failed-429-retry.md +9 -0
  115. cal_mcp-0.1.0/docs/plans/issue-295-default-pacing-docs.md +8 -0
  116. cal_mcp-0.1.0/docs/plans/issue-297-rolling-cal-budget.md +8 -0
  117. cal_mcp-0.1.0/docs/plans/issue-299-smoke-scheduling.md +8 -0
  118. cal_mcp-0.1.0/docs/plans/issue-301-cal-path-canonicalization.md +10 -0
  119. cal_mcp-0.1.0/docs/plans/issue-303-smoke-case-coverage.md +8 -0
  120. cal_mcp-0.1.0/docs/plans/issue-305-smoke-transport-floor.md +8 -0
  121. cal_mcp-0.1.0/docs/plans/issue-307-smoke-transport-exception-stop.md +6 -0
  122. cal_mcp-0.1.0/docs/plans/issue-309-smoke-registry-preflight.md +8 -0
  123. cal_mcp-0.1.0/docs/plans/issue-31-depth-one-subsenses.md +56 -0
  124. cal_mcp-0.1.0/docs/plans/issue-311-injected-cache-clock.md +11 -0
  125. cal_mcp-0.1.0/docs/plans/issue-313-legacy-live-smoke.md +11 -0
  126. cal_mcp-0.1.0/docs/plans/issue-315-blocked-issue-closure.md +11 -0
  127. cal_mcp-0.1.0/docs/plans/issue-317-cache-direct-bounds.md +11 -0
  128. cal_mcp-0.1.0/docs/plans/issue-32-lexicon-inline-style.md +65 -0
  129. cal_mcp-0.1.0/docs/plans/issue-41-lexicon-citation-count-drift.md +141 -0
  130. cal_mcp-0.1.0/docs/plans/issue-42-text-concordance-parser-drift.md +130 -0
  131. cal_mcp-0.1.0/docs/plans/issue-47-lexicon-browse-drift.md +112 -0
  132. cal_mcp-0.1.0/docs/plans/issue-50-backoff-cap.md +80 -0
  133. cal_mcp-0.1.0/docs/plans/issue-52-ambiguity-expansion.md +98 -0
  134. cal_mcp-0.1.0/docs/plans/issue-52-cal-code-conversion.md +102 -0
  135. cal_mcp-0.1.0/docs/plans/issue-52-cpa-syriac.md +46 -0
  136. cal_mcp-0.1.0/docs/plans/issue-52-dedicated-script-lookup.md +36 -0
  137. cal_mcp-0.1.0/docs/plans/issue-52-hatran.md +44 -0
  138. cal_mcp-0.1.0/docs/plans/issue-52-imperial-aramaic.md +46 -0
  139. cal_mcp-0.1.0/docs/plans/issue-52-lexicon-provenance.md +49 -0
  140. cal_mcp-0.1.0/docs/plans/issue-52-mandaic.md +45 -0
  141. cal_mcp-0.1.0/docs/plans/issue-52-nabataean.md +42 -0
  142. cal_mcp-0.1.0/docs/plans/issue-52-palmyrene.md +46 -0
  143. cal_mcp-0.1.0/docs/plans/issue-52-provenance-docs.md +26 -0
  144. cal_mcp-0.1.0/docs/plans/issue-52-samaritan.md +44 -0
  145. cal_mcp-0.1.0/docs/plans/issue-55-config-count-types.md +69 -0
  146. cal_mcp-0.1.0/docs/plans/issue-57-config-scalar-types.md +111 -0
  147. cal_mcp-0.1.0/docs/plans/issue-6-concordance.md +161 -0
  148. cal_mcp-0.1.0/docs/plans/issue-60-skip-error-response-bodies.md +78 -0
  149. cal_mcp-0.1.0/docs/plans/issue-62-live-smoke-failure-json.md +75 -0
  150. cal_mcp-0.1.0/docs/plans/issue-65-verify-sdist.md +116 -0
  151. cal_mcp-0.1.0/docs/plans/issue-67-single-flight-leader-cancel.md +140 -0
  152. cal_mcp-0.1.0/docs/plans/issue-69-user-agent-validation.md +118 -0
  153. cal_mcp-0.1.0/docs/plans/issue-71-request-identity-validation.md +173 -0
  154. cal_mcp-0.1.0/docs/plans/issue-73-native-unicode-lexicon-pass-through.md +130 -0
  155. cal_mcp-0.1.0/docs/plans/issue-74-release-notes-dependency-status.md +79 -0
  156. cal_mcp-0.1.0/docs/plans/issue-77-shallow-text-catalogue.md +124 -0
  157. cal_mcp-0.1.0/docs/plans/issue-78-mandaic-catalogue.md +222 -0
  158. cal_mcp-0.1.0/docs/plans/issue-79-tel-dan-text-page.md +83 -0
  159. cal_mcp-0.1.0/docs/plans/issue-8-token-analysis.md +124 -0
  160. cal_mcp-0.1.0/docs/plans/issue-80-ginza-text-search.md +97 -0
  161. cal_mcp-0.1.0/docs/plans/issue-81-tel-dan-token-analysis.md +102 -0
  162. cal_mcp-0.1.0/docs/plans/issue-84-structured-errors.md +221 -0
  163. cal_mcp-0.1.0/docs/plans/issue-85-mandaic-text-page-route.md +107 -0
  164. cal_mcp-0.1.0/docs/plans/issue-9-bibliography.md +131 -0
  165. cal_mcp-0.1.0/docs/plans/issue-97-mandaic-route-scope.md +167 -0
  166. cal_mcp-0.1.0/docs/research/issue-10-targum.md +128 -0
  167. cal_mcp-0.1.0/docs/research/issue-101-onkelos-jonathan-catalogue.md +127 -0
  168. cal_mcp-0.1.0/docs/research/issue-103-page-workflow-reachability.md +168 -0
  169. cal_mcp-0.1.0/docs/research/issue-105-syriac-group-followup.md +155 -0
  170. cal_mcp-0.1.0/docs/research/issue-106-text-information.md +158 -0
  171. cal_mcp-0.1.0/docs/research/issue-107-specialized-gloss-fields.md +173 -0
  172. cal_mcp-0.1.0/docs/research/issue-108-line-comments.md +131 -0
  173. cal_mcp-0.1.0/docs/research/issue-11-syriac.md +142 -0
  174. cal_mcp-0.1.0/docs/research/issue-110-syriac-peshitta-subtext-routing.md +117 -0
  175. cal_mcp-0.1.0/docs/research/issue-112-lexicon-prefix-browse.md +219 -0
  176. cal_mcp-0.1.0/docs/research/issue-113-kwic-full-context.md +156 -0
  177. cal_mcp-0.1.0/docs/research/issue-116-release-surface-sync.md +112 -0
  178. cal_mcp-0.1.0/docs/research/issue-117-cache-aware-text-request-volume.md +113 -0
  179. cal_mcp-0.1.0/docs/research/issue-12-v0.1-contract-docs.md +212 -0
  180. cal_mcp-0.1.0/docs/research/issue-120-cache-aware-request-volume-audit.md +161 -0
  181. cal_mcp-0.1.0/docs/research/issue-125-syriac-root-discovery.md +161 -0
  182. cal_mcp-0.1.0/docs/research/issue-127-lexicon-citation-context.md +242 -0
  183. cal_mcp-0.1.0/docs/research/issue-13-external-citations.md +189 -0
  184. cal_mcp-0.1.0/docs/research/issue-130-kwic-row-identity.md +76 -0
  185. cal_mcp-0.1.0/docs/research/issue-138-installation-tool-count.md +7 -0
  186. cal_mcp-0.1.0/docs/research/issue-14-dictionary-collation.md +190 -0
  187. cal_mcp-0.1.0/docs/research/issue-140-user-facing-tool-counts.md +19 -0
  188. cal_mcp-0.1.0/docs/research/issue-142-targum-example-selector-validation.md +39 -0
  189. cal_mcp-0.1.0/docs/research/issue-144-bare-fragment-targum-urls.md +41 -0
  190. cal_mcp-0.1.0/docs/research/issue-146-targum-chooser-action.md +71 -0
  191. cal_mcp-0.1.0/docs/research/issue-149-concordance-kwic-drift.md +128 -0
  192. cal_mcp-0.1.0/docs/research/issue-15-v0.1-release.md +158 -0
  193. cal_mcp-0.1.0/docs/research/issue-150-bibliography-drift.md +103 -0
  194. cal_mcp-0.1.0/docs/research/issue-151-citation-context-bablex.md +37 -0
  195. cal_mcp-0.1.0/docs/research/issue-152-targum-concordance-reflex-drift.md +70 -0
  196. cal_mcp-0.1.0/docs/research/issue-153-external-sources-repeated-abbreviations.md +40 -0
  197. cal_mcp-0.1.0/docs/research/issue-154-gloss-field-drift.md +88 -0
  198. cal_mcp-0.1.0/docs/research/issue-155-mt-verse-labels.md +136 -0
  199. cal_mcp-0.1.0/docs/research/issue-157-installed-stdio-live-smoke.md +136 -0
  200. cal_mcp-0.1.0/docs/research/issue-159-syriac-missing-category-enum.md +62 -0
  201. cal_mcp-0.1.0/docs/research/issue-166-subtext-file-info.md +51 -0
  202. cal_mcp-0.1.0/docs/research/issue-167-talmud-pagination.md +55 -0
  203. cal_mcp-0.1.0/docs/research/issue-168-blank-text-lines.md +113 -0
  204. cal_mcp-0.1.0/docs/research/issue-169-mandaic-catalogue.md +63 -0
  205. cal_mcp-0.1.0/docs/research/issue-170-cpa-subtext-ids.md +236 -0
  206. cal_mcp-0.1.0/docs/research/issue-171-text-search-subtext-links.md +35 -0
  207. cal_mcp-0.1.0/docs/research/issue-172-syriac-group-cards.md +63 -0
  208. cal_mcp-0.1.0/docs/research/issue-173-biblical-headings.md +109 -0
  209. cal_mcp-0.1.0/docs/research/issue-174-dictionary-labels.md +37 -0
  210. cal_mcp-0.1.0/docs/research/issue-175-lexicon-browse-crossrefs.md +164 -0
  211. cal_mcp-0.1.0/docs/research/issue-176-kwic-omitted-form.md +36 -0
  212. cal_mcp-0.1.0/docs/research/issue-177-concordance-no-data-rows.md +57 -0
  213. cal_mcp-0.1.0/docs/research/issue-178-headerless-citation.md +71 -0
  214. cal_mcp-0.1.0/docs/research/issue-179-syriac-token-redirects.md +311 -0
  215. cal_mcp-0.1.0/docs/research/issue-18-reproducible-ci.md +111 -0
  216. cal_mcp-0.1.0/docs/research/issue-181-full-context-subtext.md +38 -0
  217. cal_mcp-0.1.0/docs/research/issue-182-text-row-coordinates.md +68 -0
  218. cal_mcp-0.1.0/docs/research/issue-185-unlemmatized-text.md +243 -0
  219. cal_mcp-0.1.0/docs/research/issue-186-six-digit-syriac-id.md +40 -0
  220. cal_mcp-0.1.0/docs/research/issue-188-mandaic-routing.md +286 -0
  221. cal_mcp-0.1.0/docs/research/issue-193-linkless-token-analysis.md +232 -0
  222. cal_mcp-0.1.0/docs/research/issue-196-empty-cpa-55002.md +175 -0
  223. cal_mcp-0.1.0/docs/research/issue-203-bablex-full-context.md +29 -0
  224. cal_mcp-0.1.0/docs/research/issue-204-empty-kwic-highlight.md +48 -0
  225. cal_mcp-0.1.0/docs/research/issue-206-bdo-reversed-coordinate.md +30 -0
  226. cal_mcp-0.1.0/docs/research/issue-207-invalid-search-string.md +36 -0
  227. cal_mcp-0.1.0/docs/research/issue-208-full-context-row-strictness.md +150 -0
  228. cal_mcp-0.1.0/docs/research/issue-218-mandaic-machine-coordinates.md +118 -0
  229. cal_mcp-0.1.0/docs/research/issue-220-mandaic-col-machine-coordinates.md +131 -0
  230. cal_mcp-0.1.0/docs/research/issue-222-uncertain-lexicon-pos.md +151 -0
  231. cal_mcp-0.1.0/docs/research/issue-224-entry-header-structure.md +56 -0
  232. cal_mcp-0.1.0/docs/research/issue-227-empty-pos.md +57 -0
  233. cal_mcp-0.1.0/docs/research/issue-228-verb-vowel-class.md +58 -0
  234. cal_mcp-0.1.0/docs/research/issue-232-token-analysis-segments.md +51 -0
  235. cal_mcp-0.1.0/docs/research/issue-237-stem-headings.md +52 -0
  236. cal_mcp-0.1.0/docs/research/issue-240-verb-lookup-case.md +26 -0
  237. cal_mcp-0.1.0/docs/research/issue-246-targum-concordance-examples.md +19 -0
  238. cal_mcp-0.1.0/docs/research/issue-247-targum-reflex-example-pages.md +126 -0
  239. cal_mcp-0.1.0/docs/research/issue-250-sdist-member-types.md +34 -0
  240. cal_mcp-0.1.0/docs/research/issue-252-lexicon-explicit-empty.md +9 -0
  241. cal_mcp-0.1.0/docs/research/issue-258-citation-context-input-errors.md +9 -0
  242. cal_mcp-0.1.0/docs/research/issue-261-unclosed-dial-outline.md +22 -0
  243. cal_mcp-0.1.0/docs/research/issue-262-rate-pacing.md +33 -0
  244. cal_mcp-0.1.0/docs/research/issue-262-slow-acceptance.json +753 -0
  245. cal_mcp-0.1.0/docs/research/issue-262-slow-acceptance.md +25 -0
  246. cal_mcp-0.1.0/docs/research/issue-266-kwic-unrendered-hits.md +13 -0
  247. cal_mcp-0.1.0/docs/research/issue-272-ginza-cross-subtext-page-links.md +11 -0
  248. cal_mcp-0.1.0/docs/research/issue-277-lexicon-incomplete-browse.md +13 -0
  249. cal_mcp-0.1.0/docs/research/issue-289-terminal-429-guidance.md +9 -0
  250. cal_mcp-0.1.0/docs/research/issue-291-cancelled-429-retry.md +13 -0
  251. cal_mcp-0.1.0/docs/research/issue-293-failed-429-retry.md +8 -0
  252. cal_mcp-0.1.0/docs/research/issue-295-default-pacing-docs.md +11 -0
  253. cal_mcp-0.1.0/docs/research/issue-297-rolling-cal-budget.md +20 -0
  254. cal_mcp-0.1.0/docs/research/issue-299-smoke-scheduling.md +17 -0
  255. cal_mcp-0.1.0/docs/research/issue-301-cal-path-canonicalization.md +32 -0
  256. cal_mcp-0.1.0/docs/research/issue-303-smoke-case-coverage.md +14 -0
  257. cal_mcp-0.1.0/docs/research/issue-305-smoke-transport-floor.md +11 -0
  258. cal_mcp-0.1.0/docs/research/issue-307-smoke-transport-exception-stop.md +11 -0
  259. cal_mcp-0.1.0/docs/research/issue-309-smoke-registry-preflight.md +11 -0
  260. cal_mcp-0.1.0/docs/research/issue-31-depth-one-subsenses.md +46 -0
  261. cal_mcp-0.1.0/docs/research/issue-311-injected-cache-clock.md +13 -0
  262. cal_mcp-0.1.0/docs/research/issue-313-legacy-live-smoke.md +16 -0
  263. cal_mcp-0.1.0/docs/research/issue-315-blocked-issue-closure.md +13 -0
  264. cal_mcp-0.1.0/docs/research/issue-317-cache-direct-bounds.md +10 -0
  265. cal_mcp-0.1.0/docs/research/issue-32-lexicon-inline-style.md +64 -0
  266. cal_mcp-0.1.0/docs/research/issue-41-lexicon-citation-count-drift.md +95 -0
  267. cal_mcp-0.1.0/docs/research/issue-42-text-concordance-parser-drift.md +84 -0
  268. cal_mcp-0.1.0/docs/research/issue-47-lexicon-browse-drift.md +103 -0
  269. cal_mcp-0.1.0/docs/research/issue-50-backoff-cap.md +104 -0
  270. cal_mcp-0.1.0/docs/research/issue-52-ambiguity-expansion.md +117 -0
  271. cal_mcp-0.1.0/docs/research/issue-52-cal-code-conversion.md +273 -0
  272. cal_mcp-0.1.0/docs/research/issue-52-cpa-syriac.md +114 -0
  273. cal_mcp-0.1.0/docs/research/issue-52-hatran.md +122 -0
  274. cal_mcp-0.1.0/docs/research/issue-52-imperial-aramaic.md +125 -0
  275. cal_mcp-0.1.0/docs/research/issue-52-mandaic.md +191 -0
  276. cal_mcp-0.1.0/docs/research/issue-52-nabataean.md +110 -0
  277. cal_mcp-0.1.0/docs/research/issue-52-palmyrene.md +118 -0
  278. cal_mcp-0.1.0/docs/research/issue-52-samaritan.md +143 -0
  279. cal_mcp-0.1.0/docs/research/issue-55-config-count-types.md +74 -0
  280. cal_mcp-0.1.0/docs/research/issue-57-config-scalar-types.md +78 -0
  281. cal_mcp-0.1.0/docs/research/issue-6-concordance.md +95 -0
  282. cal_mcp-0.1.0/docs/research/issue-60-skip-error-response-bodies.md +72 -0
  283. cal_mcp-0.1.0/docs/research/issue-62-live-smoke-failure-json.md +81 -0
  284. cal_mcp-0.1.0/docs/research/issue-65-verify-sdist.md +102 -0
  285. cal_mcp-0.1.0/docs/research/issue-67-single-flight-leader-cancel.md +117 -0
  286. cal_mcp-0.1.0/docs/research/issue-69-user-agent-validation.md +107 -0
  287. cal_mcp-0.1.0/docs/research/issue-71-request-identity-validation.md +164 -0
  288. cal_mcp-0.1.0/docs/research/issue-73-native-unicode-lexicon-pass-through.md +129 -0
  289. cal_mcp-0.1.0/docs/research/issue-74-release-notes-dependency-status.md +89 -0
  290. cal_mcp-0.1.0/docs/research/issue-77-shallow-text-catalogue.md +79 -0
  291. cal_mcp-0.1.0/docs/research/issue-78-mandaic-catalogue.md +151 -0
  292. cal_mcp-0.1.0/docs/research/issue-79-tel-dan-text-page.md +77 -0
  293. cal_mcp-0.1.0/docs/research/issue-8-token-analysis.md +68 -0
  294. cal_mcp-0.1.0/docs/research/issue-80-ginza-text-search.md +124 -0
  295. cal_mcp-0.1.0/docs/research/issue-81-tel-dan-token-analysis.md +125 -0
  296. cal_mcp-0.1.0/docs/research/issue-84-structured-errors.md +134 -0
  297. cal_mcp-0.1.0/docs/research/issue-85-mandaic-text-page-route.md +109 -0
  298. cal_mcp-0.1.0/docs/research/issue-9-bibliography.md +103 -0
  299. cal_mcp-0.1.0/docs/research/issue-97-mandaic-route-scope.md +169 -0
  300. cal_mcp-0.1.0/docs/research/issue-97-review-747xx-route-addendum.md +86 -0
  301. cal_mcp-0.1.0/docs/research/release-e2e-smoke-2026-10-10.md +192 -0
  302. cal_mcp-0.1.0/docs/tools/bibliography.md +169 -0
  303. cal_mcp-0.1.0/docs/tools/concordance.md +237 -0
  304. cal_mcp-0.1.0/docs/tools/dictionary-collation.md +168 -0
  305. cal_mcp-0.1.0/docs/tools/external-citations.md +88 -0
  306. cal_mcp-0.1.0/docs/tools/lexicon-browse.md +28 -0
  307. cal_mcp-0.1.0/docs/tools/lexicon.md +236 -0
  308. cal_mcp-0.1.0/docs/tools/search.md +202 -0
  309. cal_mcp-0.1.0/docs/tools/syriac.md +242 -0
  310. cal_mcp-0.1.0/docs/tools/targum.md +261 -0
  311. cal_mcp-0.1.0/docs/tools/texts.md +250 -0
  312. cal_mcp-0.1.0/docs/tools/token-analysis.md +116 -0
  313. cal_mcp-0.1.0/plan.md +342 -0
  314. cal_mcp-0.1.0/pyproject.toml +46 -0
  315. cal_mcp-0.1.0/research.md +1479 -0
  316. cal_mcp-0.1.0/scripts/verify_ci_environment.py +112 -0
  317. cal_mcp-0.1.0/scripts/verify_release_artifact.py +199 -0
  318. cal_mcp-0.1.0/src/cal_mcp/__init__.py +8 -0
  319. cal_mcp-0.1.0/src/cal_mcp/__main__.py +4 -0
  320. cal_mcp-0.1.0/src/cal_mcp/biblical.py +163 -0
  321. cal_mcp-0.1.0/src/cal_mcp/bibliography.py +671 -0
  322. cal_mcp-0.1.0/src/cal_mcp/client.py +777 -0
  323. cal_mcp-0.1.0/src/cal_mcp/concordance.py +2005 -0
  324. cal_mcp-0.1.0/src/cal_mcp/dictionary_collation.py +522 -0
  325. cal_mcp-0.1.0/src/cal_mcp/errors.py +247 -0
  326. cal_mcp-0.1.0/src/cal_mcp/external_citations.py +879 -0
  327. cal_mcp-0.1.0/src/cal_mcp/identifiers.py +47 -0
  328. cal_mcp-0.1.0/src/cal_mcp/lemma_key.py +40 -0
  329. cal_mcp-0.1.0/src/cal_mcp/lexicon.py +1768 -0
  330. cal_mcp-0.1.0/src/cal_mcp/lexicon_browse.py +390 -0
  331. cal_mcp-0.1.0/src/cal_mcp/lexicon_citation_context.py +535 -0
  332. cal_mcp-0.1.0/src/cal_mcp/live_smoke.py +314 -0
  333. cal_mcp-0.1.0/src/cal_mcp/normalization.py +971 -0
  334. cal_mcp-0.1.0/src/cal_mcp/py.typed +0 -0
  335. cal_mcp-0.1.0/src/cal_mcp/release_surface.py +42 -0
  336. cal_mcp-0.1.0/src/cal_mcp/request_policy.py +96 -0
  337. cal_mcp-0.1.0/src/cal_mcp/search.py +720 -0
  338. cal_mcp-0.1.0/src/cal_mcp/server.py +1132 -0
  339. cal_mcp-0.1.0/src/cal_mcp/smoke_budget.py +28 -0
  340. cal_mcp-0.1.0/src/cal_mcp/stdio_live_smoke.py +537 -0
  341. cal_mcp-0.1.0/src/cal_mcp/syriac.py +1331 -0
  342. cal_mcp-0.1.0/src/cal_mcp/targum.py +1201 -0
  343. cal_mcp-0.1.0/src/cal_mcp/targum_concordance_examples.py +193 -0
  344. cal_mcp-0.1.0/src/cal_mcp/targum_examples.py +334 -0
  345. cal_mcp-0.1.0/src/cal_mcp/texts.py +2720 -0
  346. cal_mcp-0.1.0/src/cal_mcp/token_analysis.py +780 -0
  347. cal_mcp-0.1.0/tests/fixtures/cal/README.md +163 -0
  348. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_author_kaufman.html +6 -0
  349. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_author_sokoloff_current.html +38 -0
  350. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_authors_empty.html +4 -0
  351. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_authors_kau.html +11 -0
  352. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_empty.html +4 -0
  353. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_empty_current.html +18 -0
  354. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_keyword_tada.html +6 -0
  355. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_lemma_ayin_escaped_current.html +51 -0
  356. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_lemma_br_n_current.html +42 -0
  357. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_lemma_cly_v.html +5 -0
  358. cal_mcp-0.1.0/tests/fixtures/cal/bibliography_lemma_shin_escaped_empty_current.html +19 -0
  359. cal_mcp-0.1.0/tests/fixtures/cal/browse_b.html +13 -0
  360. cal_mcp-0.1.0/tests/fixtures/cal/browse_b_current.html +6 -0
  361. cal_mcp-0.1.0/tests/fixtures/cal/browse_br_unclosed_jump_2026_09_06.html +20 -0
  362. cal_mcp-0.1.0/tests/fixtures/cal/browse_crossrefs_structural.html +24 -0
  363. cal_mcp-0.1.0/tests/fixtures/cal/browse_empty_pos_current.html +11 -0
  364. cal_mcp-0.1.0/tests/fixtures/cal/browse_no_headwords_amp_lm_current.html +11 -0
  365. cal_mcp-0.1.0/tests/fixtures/cal/browse_no_headwords_hebrew_qof_current.html +11 -0
  366. cal_mcp-0.1.0/tests/fixtures/cal/browse_no_headwords_qqq_current.html +11 -0
  367. cal_mcp-0.1.0/tests/fixtures/cal/browse_no_headwords_syriac_qof_current.html +11 -0
  368. cal_mcp-0.1.0/tests/fixtures/cal/browse_verb_vowel_class.html +11 -0
  369. cal_mcp-0.1.0/tests/fixtures/cal/browse_xd_numeral_current.html +15 -0
  370. cal_mcp-0.1.0/tests/fixtures/cal/concordance_text_13250.html +11 -0
  371. cal_mcp-0.1.0/tests/fixtures/cal/concordance_text_13250_inline_current.html +12 -0
  372. cal_mcp-0.1.0/tests/fixtures/cal/concordance_text_13250_label_current.html +8 -0
  373. cal_mcp-0.1.0/tests/fixtures/cal/cpa_catalogue_alphanumeric_current.html +9 -0
  374. cal_mcp-0.1.0/tests/fixtures/cal/cpa_text_page_alphanumeric_structural.html +11 -0
  375. cal_mcp-0.1.0/tests/fixtures/cal/dictionary_collation_djba_100_current.html +49 -0
  376. cal_mcp-0.1.0/tests/fixtures/cal/dictionary_collation_jastrow_705.html +25 -0
  377. cal_mcp-0.1.0/tests/fixtures/cal/dictionary_collation_jastrow_empty.html +15 -0
  378. cal_mcp-0.1.0/tests/fixtures/cal/dictionary_collation_schulthess_100_current.html +49 -0
  379. cal_mcp-0.1.0/tests/fixtures/cal/entry_abr_v.html +20 -0
  380. cal_mcp-0.1.0/tests/fixtures/cal/entry_alh_depth1_subsenses.html +8 -0
  381. cal_mcp-0.1.0/tests/fixtures/cal/entry_b_s_inline_style.html +27 -0
  382. cal_mcp-0.1.0/tests/fixtures/cal/entry_br_current_citations.html +34 -0
  383. cal_mcp-0.1.0/tests/fixtures/cal/entry_br_n.html +38 -0
  384. cal_mcp-0.1.0/tests/fixtures/cal/entry_br_nested.html +27 -0
  385. cal_mcp-0.1.0/tests/fixtures/cal/entry_bysh_n.html +7 -0
  386. cal_mcp-0.1.0/tests/fixtures/cal/entry_lemma_header_no_pos_current.html +7 -0
  387. cal_mcp-0.1.0/tests/fixtures/cal/entry_lemma_headers_current.txt +9 -0
  388. cal_mcp-0.1.0/tests/fixtures/cal/entry_nmy_x.html +20 -0
  389. cal_mcp-0.1.0/tests/fixtures/cal/entry_stem_headers_current.txt +10 -0
  390. cal_mcp-0.1.0/tests/fixtures/cal/external_citation_dialects.html +9 -0
  391. cal_mcp-0.1.0/tests/fixtures/cal/external_citation_sources_empty.html +5 -0
  392. cal_mcp-0.1.0/tests/fixtures/cal/external_citation_sources_syriac.html +12 -0
  393. cal_mcp-0.1.0/tests/fixtures/cal/external_citation_sources_syriac_current.html +33 -0
  394. cal_mcp-0.1.0/tests/fixtures/cal/external_citations_1corh.html +38 -0
  395. cal_mcp-0.1.0/tests/fixtures/cal/external_citations_empty.html +5 -0
  396. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_aryk2_a_biblical.html +10 -0
  397. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_aryk2_a_br_current.html +4 -0
  398. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_mlk_1_charset_t_current.html +10 -0
  399. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_mlk_2_alphanumeric_current.html +10 -0
  400. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_nqh_71_current.html +42 -0
  401. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_nqh_n_forms_current.html +4 -0
  402. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialect_nqh_n_zero_current.html +4 -0
  403. cal_mcp-0.1.0/tests/fixtures/cal/kwic_dialects_aryk2_a.html +17 -0
  404. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_22352_12_alphanumeric_current.html +5 -0
  405. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_23350_ar_letter_subtext_current.html +5 -0
  406. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_23350_ar_not_found_current.html +5 -0
  407. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_ba_ezra_31000_4_current.html +9 -0
  408. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_bt_71002_01051_current.html +10 -0
  409. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_fakh_11200_2_charset_t_current.html +5 -0
  410. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_not_found.html +4 -0
  411. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_samaritan_56000_112_current.html +8 -0
  412. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_syr_romlaw_unicode.html +10 -0
  413. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_tel_dan_hebrew.html +6 -0
  414. cal_mcp-0.1.0/tests/fixtures/cal/kwic_full_context_tel_dan_roman.html +8 -0
  415. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_empty.html +8 -0
  416. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_gml_71002_hebrew_current.html +12 -0
  417. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_mlk.html +14 -0
  418. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_mlk_13250_hebrew_current.html +28 -0
  419. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_mlk_13250_syriac_current.html +28 -0
  420. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_mlk_31000_hebrew_current.html +12 -0
  421. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_mlk_56000_empty_highlight_current.html +20 -0
  422. cal_mcp-0.1.0/tests/fixtures/cal/kwic_texts_mlk_br_current.html +16 -0
  423. cal_mcp-0.1.0/tests/fixtures/cal/lexicon_citation_context_bt_git_48a50.html +15 -0
  424. cal_mcp-0.1.0/tests/fixtures/cal/lexicon_citation_context_ezra_4_24.html +25 -0
  425. cal_mcp-0.1.0/tests/fixtures/cal/lexicon_citation_context_not_found.html +8 -0
  426. cal_mcp-0.1.0/tests/fixtures/cal/lexicon_citation_context_tgj_ez_31_6.html +27 -0
  427. cal_mcp-0.1.0/tests/fixtures/cal/not_found.html +7 -0
  428. cal_mcp-0.1.0/tests/fixtures/cal/search_citations_camel.html +15 -0
  429. cal_mcp-0.1.0/tests/fixtures/cal/search_citations_empty.html +6 -0
  430. cal_mcp-0.1.0/tests/fixtures/cal/search_citations_invalid_god_current.html +27 -0
  431. cal_mcp-0.1.0/tests/fixtures/cal/search_citations_king_rows_current.html +55 -0
  432. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_camel.html +13 -0
  433. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_camel_redirect.html +12 -0
  434. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_empty.html +6 -0
  435. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_even_numeral_current.html +12 -0
  436. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_field_alt_gender.html +18 -0
  437. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_field_empty_pos.html +10 -0
  438. cal_mcp-0.1.0/tests/fixtures/cal/search_gloss_field_verb_pos.html +10 -0
  439. cal_mcp-0.1.0/tests/fixtures/cal/syriac_category_metrical.html +17 -0
  440. cal_mcp-0.1.0/tests/fixtures/cal/syriac_category_nt_peshitta_current.html +8 -0
  441. cal_mcp-0.1.0/tests/fixtures/cal/syriac_category_ot_peshitta.html +11 -0
  442. cal_mcp-0.1.0/tests/fixtures/cal/syriac_category_ot_peshitta_current.html +8 -0
  443. cal_mcp-0.1.0/tests/fixtures/cal/syriac_group_60420_cards_current.html +53 -0
  444. cal_mcp-0.1.0/tests/fixtures/cal/syriac_group_61000_cards_current.html +53 -0
  445. cal_mcp-0.1.0/tests/fixtures/cal/syriac_missing_verbs.html +16 -0
  446. cal_mcp-0.1.0/tests/fixtures/cal/syriac_peshitta_1kings_1_1_current.html +24 -0
  447. cal_mcp-0.1.0/tests/fixtures/cal/syriac_peshitta_gen_1_1.html +16 -0
  448. cal_mcp-0.1.0/tests/fixtures/cal/syriac_peshitta_not_found.html +10 -0
  449. cal_mcp-0.1.0/tests/fixtures/cal/syriac_peshitta_padded_1sam_empty_label_current.html +22 -0
  450. cal_mcp-0.1.0/tests/fixtures/cal/syriac_peshitta_padded_gen_is_1kings_current.html +22 -0
  451. cal_mcp-0.1.0/tests/fixtures/cal/syriac_peshitta_ps_23_1_current.html +24 -0
  452. cal_mcp-0.1.0/tests/fixtures/cal/targum_concordance_klb.html +15 -0
  453. cal_mcp-0.1.0/tests/fixtures/cal/targum_concordance_klb_current.html +29 -0
  454. cal_mcp-0.1.0/tests/fixtures/cal/targum_concordance_zero.html +13 -0
  455. cal_mcp-0.1.0/tests/fixtures/cal/targum_hebrew_lemmas_mem_neofiti.html +11 -0
  456. cal_mcp-0.1.0/tests/fixtures/cal/targum_hebrew_lemmas_mem_onqelos.html +11 -0
  457. cal_mcp-0.1.0/tests/fixtures/cal/targum_parallel_gen_1_1.html +12 -0
  458. cal_mcp-0.1.0/tests/fixtures/cal/targum_parallel_not_found.html +7 -0
  459. cal_mcp-0.1.0/tests/fixtures/cal/targum_parallel_ps_23_1_current.html +30 -0
  460. cal_mcp-0.1.0/tests/fixtures/cal/targum_reflex_invalid_id.html +8 -0
  461. cal_mcp-0.1.0/tests/fixtures/cal/targum_reflex_neofiti_1751.html +10 -0
  462. cal_mcp-0.1.0/tests/fixtures/cal/targum_reflex_onqelos_1751.html +9 -0
  463. cal_mcp-0.1.0/tests/fixtures/cal/targum_reflex_onqelos_1751_current.html +10 -0
  464. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_62043_script_toggle_current.html +27 -0
  465. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_biblical.html +13 -0
  466. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_cpa_5500056125a_node_current.html +23 -0
  467. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_cpa_55400122_script_toggle_current.html +23 -0
  468. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_mandaic_74401_children_current.html +9 -0
  469. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_mandaic_74410_parent_info_current.html +34 -0
  470. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_mandaic_74421_children_current.html +9 -0
  471. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_mandaic_74430_children_current.html +9 -0
  472. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_mandaic_current.html +50 -0
  473. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_peshitta_genesis.html +9 -0
  474. cal_mcp-0.1.0/tests/fixtures/cal/text_catalogue_root.html +11 -0
  475. cal_mcp-0.1.0/tests/fixtures/cal/text_concordance_41201_no_data_current.html +8 -0
  476. cal_mcp-0.1.0/tests/fixtures/cal/text_concordance_62040_capital_c_current.html +8 -0
  477. cal_mcp-0.1.0/tests/fixtures/cal/text_line_comments_none.html +13 -0
  478. cal_mcp-0.1.0/tests/fixtures/cal/text_line_comments_pj_gen8_21.html +18 -0
  479. cal_mcp-0.1.0/tests/fixtures/cal/text_page_634081_current.html +8 -0
  480. cal_mcp-0.1.0/tests/fixtures/cal/text_page_blank_word0_60424_current.html +11 -0
  481. cal_mcp-0.1.0/tests/fixtures/cal/text_page_bt_az.html +10 -0
  482. cal_mcp-0.1.0/tests/fixtures/cal/text_page_bt_ber_last_current.html +8 -0
  483. cal_mcp-0.1.0/tests/fixtures/cal/text_page_bt_ber_p2_current.html +8 -0
  484. cal_mcp-0.1.0/tests/fixtures/cal/text_page_cpa_55002_no_lines_current.html +8 -0
  485. cal_mcp-0.1.0/tests/fixtures/cal/text_page_empty_slots_mixed_60424_structural.html +12 -0
  486. cal_mcp-0.1.0/tests/fixtures/cal/text_page_ginza_right_001.html +6 -0
  487. cal_mcp-0.1.0/tests/fixtures/cal/text_page_ginza_right_001_current.html +8 -0
  488. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_74401_12_p2_current.html +14 -0
  489. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_74421_103_structural.html +7 -0
  490. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_74421_col_structural.html +7 -0
  491. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_74425_alphanumeric_structural.html +8 -0
  492. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_74429_uppercase_structural.html +7 -0
  493. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_direct_74501_p2_current.html +14 -0
  494. cal_mcp-0.1.0/tests/fixtures/cal/text_page_mandaic_direct_74717.html +6 -0
  495. cal_mcp-0.1.0/tests/fixtures/cal/text_page_missing.html +6 -0
  496. cal_mcp-0.1.0/tests/fixtures/cal/text_page_philemon_62057_current.html +8 -0
  497. cal_mcp-0.1.0/tests/fixtures/cal/text_page_plain_cpa_55430_structural.html +9 -0
  498. cal_mcp-0.1.0/tests/fixtures/cal/text_page_plain_mandaic_74420_structural.html +10 -0
  499. cal_mcp-0.1.0/tests/fixtures/cal/text_page_samaritan_56000_112_current.html +8 -0
  500. cal_mcp-0.1.0/tests/fixtures/cal/text_page_samaritan_56000_prefix_11_current.html +8 -0
  501. cal_mcp-0.1.0/tests/fixtures/cal/text_page_samaritan_raw_lt_current.html +8 -0
  502. cal_mcp-0.1.0/tests/fixtures/cal/text_page_tel_dan.html +7 -0
  503. cal_mcp-0.1.0/tests/fixtures/cal/text_page_tel_dan_getlex.html +7 -0
  504. cal_mcp-0.1.0/tests/fixtures/cal/text_search_ginza.html +14 -0
  505. cal_mcp-0.1.0/tests/fixtures/cal/text_search_john_cpa_nodes_current.html +9 -0
  506. cal_mcp-0.1.0/tests/fixtures/cal/text_search_john_parenthesized_label_current.html +6 -0
  507. cal_mcp-0.1.0/tests/fixtures/cal/text_search_neofiti_subtexts_current.html +14 -0
  508. cal_mcp-0.1.0/tests/fixtures/cal/text_search_onkelos_subtexts_current.html +6 -0
  509. cal_mcp-0.1.0/tests/fixtures/cal/text_search_palmyr_charset_t_current.html +13 -0
  510. cal_mcp-0.1.0/tests/fixtures/cal/text_search_peshitta_unicode_current.html +20 -0
  511. cal_mcp-0.1.0/tests/fixtures/cal/text_search_rejected_non_ascii_current.html +5 -0
  512. cal_mcp-0.1.0/tests/fixtures/cal/text_search_stripped_echo_current.html +6 -0
  513. cal_mcp-0.1.0/tests/fixtures/cal/text_search_tel_dan.html +5 -0
  514. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_current_no_lemma.html +5 -0
  515. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_hebrew.html +6 -0
  516. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_linked_then_unlinked_current.html +13 -0
  517. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_linkless_cpa_simple_current.html +7 -0
  518. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_linkless_peshitta_multi_current.html +8 -0
  519. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_linkless_peshitta_simple_current.html +7 -0
  520. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_marker_only.html +4 -0
  521. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_missing_lemma.html +6 -0
  522. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_multi_lexeme_verb_current.html +17 -0
  523. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_multiple.html +9 -0
  524. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_not_found.html +6 -0
  525. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_single.html +6 -0
  526. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_syriac_redirect_current.html +13 -0
  527. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_targum_lexlink_current.html +13 -0
  528. cal_mcp-0.1.0/tests/fixtures/cal/token_analysis_unicode.html +6 -0
  529. cal_mcp-0.1.0/tests/test_biblical_book_labels_discoverable.py +75 -0
  530. cal_mcp-0.1.0/tests/test_biblical_heading_labels_current.py +200 -0
  531. cal_mcp-0.1.0/tests/test_bibliography.py +288 -0
  532. cal_mcp-0.1.0/tests/test_bibliography_current_shape.py +309 -0
  533. cal_mcp-0.1.0/tests/test_bibliography_lemma_escaped_echo_current.py +120 -0
  534. cal_mcp-0.1.0/tests/test_bibliography_review_regressions.py +90 -0
  535. cal_mcp-0.1.0/tests/test_bootstrap.py +297 -0
  536. cal_mcp-0.1.0/tests/test_cal_charset_t_current.py +161 -0
  537. cal_mcp-0.1.0/tests/test_cal_code_conversion.py +244 -0
  538. cal_mcp-0.1.0/tests/test_cal_code_conversion_review_regressions.py +18 -0
  539. cal_mcp-0.1.0/tests/test_cal_path_canonicalization.py +149 -0
  540. cal_mcp-0.1.0/tests/test_cal_rate_limit_circuit_breaker.py +180 -0
  541. cal_mcp-0.1.0/tests/test_cal_rate_limit_policy.py +284 -0
  542. cal_mcp-0.1.0/tests/test_cal_rolling_window_budget.py +282 -0
  543. cal_mcp-0.1.0/tests/test_cancelled_429_retry_cooldown.py +162 -0
  544. cal_mcp-0.1.0/tests/test_ci_dependency_policy.py +150 -0
  545. cal_mcp-0.1.0/tests/test_citation_search_invalid_string_current.py +100 -0
  546. cal_mcp-0.1.0/tests/test_citation_search_rows_current.py +228 -0
  547. cal_mcp-0.1.0/tests/test_cli_args.py +51 -0
  548. cal_mcp-0.1.0/tests/test_client_config_count_types.py +196 -0
  549. cal_mcp-0.1.0/tests/test_client_config_user_agent.py +51 -0
  550. cal_mcp-0.1.0/tests/test_concordance.py +310 -0
  551. cal_mcp-0.1.0/tests/test_concordance_current_shape_regression.py +103 -0
  552. cal_mcp-0.1.0/tests/test_concordance_kwic_br_current.py +528 -0
  553. cal_mcp-0.1.0/tests/test_concordance_review_regressions.py +177 -0
  554. cal_mcp-0.1.0/tests/test_cpa_subtext_ids.py +668 -0
  555. cal_mcp-0.1.0/tests/test_cpa_syriac_conversion.py +96 -0
  556. cal_mcp-0.1.0/tests/test_dictionary_collation.py +369 -0
  557. cal_mcp-0.1.0/tests/test_dictionary_collation_current_labels.py +106 -0
  558. cal_mcp-0.1.0/tests/test_dictionary_collation_edge_regressions.py +37 -0
  559. cal_mcp-0.1.0/tests/test_dictionary_collation_review_regressions.py +75 -0
  560. cal_mcp-0.1.0/tests/test_docs_contract.py +194 -0
  561. cal_mcp-0.1.0/tests/test_drift_error_source_url.py +263 -0
  562. cal_mcp-0.1.0/tests/test_empty_pos_current.py +166 -0
  563. cal_mcp-0.1.0/tests/test_entry_header_structure_current.py +137 -0
  564. cal_mcp-0.1.0/tests/test_entry_stem_headings_current.py +141 -0
  565. cal_mcp-0.1.0/tests/test_external_citation_mcp_contract.py +52 -0
  566. cal_mcp-0.1.0/tests/test_external_citation_review_regressions.py +35 -0
  567. cal_mcp-0.1.0/tests/test_external_citation_sources_current.py +69 -0
  568. cal_mcp-0.1.0/tests/test_external_citations.py +384 -0
  569. cal_mcp-0.1.0/tests/test_failed_429_retry_cooldown.py +121 -0
  570. cal_mcp-0.1.0/tests/test_gendered_pronunciation_current.py +109 -0
  571. cal_mcp-0.1.0/tests/test_ginza_cross_subtext_navigation.py +109 -0
  572. cal_mcp-0.1.0/tests/test_ginza_text_search.py +142 -0
  573. cal_mcp-0.1.0/tests/test_gloss_field_schema.py +53 -0
  574. cal_mcp-0.1.0/tests/test_gloss_field_validation.py +34 -0
  575. cal_mcp-0.1.0/tests/test_gloss_search_mode_guidance.py +19 -0
  576. cal_mcp-0.1.0/tests/test_hatran_conversion.py +89 -0
  577. cal_mcp-0.1.0/tests/test_hebrew_mark_errors.py +96 -0
  578. cal_mcp-0.1.0/tests/test_http_client.py +308 -0
  579. cal_mcp-0.1.0/tests/test_http_policy_review_regressions.py +362 -0
  580. cal_mcp-0.1.0/tests/test_injected_cache_clock.py +117 -0
  581. cal_mcp-0.1.0/tests/test_installation_release_surface_contract.py +20 -0
  582. cal_mcp-0.1.0/tests/test_installed_stdio_smoke_budget.py +168 -0
  583. cal_mcp-0.1.0/tests/test_issue_closing_guidance.py +36 -0
  584. cal_mcp-0.1.0/tests/test_kwic_alphanumeric_coordinates_current.py +271 -0
  585. cal_mcp-0.1.0/tests/test_kwic_dialect_omitted_form_current.py +121 -0
  586. cal_mcp-0.1.0/tests/test_kwic_dialect_unrendered_current.py +141 -0
  587. cal_mcp-0.1.0/tests/test_kwic_empty_highlight_current.py +105 -0
  588. cal_mcp-0.1.0/tests/test_kwic_full_context.py +366 -0
  589. cal_mcp-0.1.0/tests/test_kwic_full_context_bablex_current.py +131 -0
  590. cal_mcp-0.1.0/tests/test_kwic_full_context_review_regressions.py +65 -0
  591. cal_mcp-0.1.0/tests/test_kwic_full_context_row_strictness.py +141 -0
  592. cal_mcp-0.1.0/tests/test_kwic_full_context_subtext_current.py +127 -0
  593. cal_mcp-0.1.0/tests/test_kwic_hebrew_rtl_coordinate_current.py +115 -0
  594. cal_mcp-0.1.0/tests/test_legacy_direct_smoke_policy.py +180 -0
  595. cal_mcp-0.1.0/tests/test_lexicon.py +286 -0
  596. cal_mcp-0.1.0/tests/test_lexicon_ambiguity_expansion.py +328 -0
  597. cal_mcp-0.1.0/tests/test_lexicon_browse.py +299 -0
  598. cal_mcp-0.1.0/tests/test_lexicon_browse_crossrefs_current.py +197 -0
  599. cal_mcp-0.1.0/tests/test_lexicon_browse_drift_issue47.py +77 -0
  600. cal_mcp-0.1.0/tests/test_lexicon_citation_context.py +315 -0
  601. cal_mcp-0.1.0/tests/test_lexicon_citation_context_bablex.py +73 -0
  602. cal_mcp-0.1.0/tests/test_lexicon_citation_context_route_regressions.py +73 -0
  603. cal_mcp-0.1.0/tests/test_lexicon_conversion_provenance.py +193 -0
  604. cal_mcp-0.1.0/tests/test_lexicon_current_citation_drift.py +116 -0
  605. cal_mcp-0.1.0/tests/test_lexicon_current_no_headwords.py +168 -0
  606. cal_mcp-0.1.0/tests/test_lexicon_depth_one_subsenses.py +56 -0
  607. cal_mcp-0.1.0/tests/test_lexicon_incomplete_results.py +203 -0
  608. cal_mcp-0.1.0/tests/test_lexicon_inline_style_regression.py +89 -0
  609. cal_mcp-0.1.0/tests/test_lexicon_live_shape_regressions.py +137 -0
  610. cal_mcp-0.1.0/tests/test_lexicon_lookup_edges.py +57 -0
  611. cal_mcp-0.1.0/tests/test_lexicon_native_unicode_docs_contract.py +17 -0
  612. cal_mcp-0.1.0/tests/test_lexicon_native_unicode_regression.py +101 -0
  613. cal_mcp-0.1.0/tests/test_lexicon_no_headwords_current.py +227 -0
  614. cal_mcp-0.1.0/tests/test_lexicon_parser_edges.py +70 -0
  615. cal_mcp-0.1.0/tests/test_lexicon_uncertain_pos_current.py +119 -0
  616. cal_mcp-0.1.0/tests/test_lexicon_verb_lookup_case.py +63 -0
  617. cal_mcp-0.1.0/tests/test_lexicon_verbs.py +34 -0
  618. cal_mcp-0.1.0/tests/test_mandaic_catalogue.py +240 -0
  619. cal_mcp-0.1.0/tests/test_mandaic_catalogue_current.py +133 -0
  620. cal_mcp-0.1.0/tests/test_mandaic_col_machine_coordinates_current.py +227 -0
  621. cal_mcp-0.1.0/tests/test_mandaic_conversion.py +84 -0
  622. cal_mcp-0.1.0/tests/test_mandaic_direct_page_mode.py +67 -0
  623. cal_mcp-0.1.0/tests/test_mandaic_machine_coordinates_current.py +265 -0
  624. cal_mcp-0.1.0/tests/test_mandaic_parent_info_coordinate_current.py +76 -0
  625. cal_mcp-0.1.0/tests/test_mandaic_route_docs_contract.py +7 -0
  626. cal_mcp-0.1.0/tests/test_mandaic_route_scope_regression.py +109 -0
  627. cal_mcp-0.1.0/tests/test_mandaic_routing_current.py +329 -0
  628. cal_mcp-0.1.0/tests/test_mandaic_text_page_route.py +213 -0
  629. cal_mcp-0.1.0/tests/test_marked_pos_rows_current.py +107 -0
  630. cal_mcp-0.1.0/tests/test_nabataean_conversion.py +90 -0
  631. cal_mcp-0.1.0/tests/test_normalization.py +178 -0
  632. cal_mcp-0.1.0/tests/test_onkelos_jonathan_catalogue.py +157 -0
  633. cal_mcp-0.1.0/tests/test_pacing_documentation_current.py +66 -0
  634. cal_mcp-0.1.0/tests/test_palmyrene_conversion.py +70 -0
  635. cal_mcp-0.1.0/tests/test_parallel_mt_labels_current.py +208 -0
  636. cal_mcp-0.1.0/tests/test_rate_limit_terminal_cooldown_guidance.py +156 -0
  637. cal_mcp-0.1.0/tests/test_reachability_docs_contract.py +59 -0
  638. cal_mcp-0.1.0/tests/test_redirect_policy.py +57 -0
  639. cal_mcp-0.1.0/tests/test_release_artifact_verifier.py +184 -0
  640. cal_mcp-0.1.0/tests/test_release_contract.py +419 -0
  641. cal_mcp-0.1.0/tests/test_release_notes_dependency_status.py +18 -0
  642. cal_mcp-0.1.0/tests/test_release_smoke_workflows.py +66 -0
  643. cal_mcp-0.1.0/tests/test_release_surface_sync.py +65 -0
  644. cal_mcp-0.1.0/tests/test_request_identity_review_regressions.py +201 -0
  645. cal_mcp-0.1.0/tests/test_request_identity_validation.py +197 -0
  646. cal_mcp-0.1.0/tests/test_request_policy.py +121 -0
  647. cal_mcp-0.1.0/tests/test_request_volume_docs_contract.py +165 -0
  648. cal_mcp-0.1.0/tests/test_research_log_contract.py +16 -0
  649. cal_mcp-0.1.0/tests/test_response_size_policy.py +240 -0
  650. cal_mcp-0.1.0/tests/test_retry_backoff_cap.py +78 -0
  651. cal_mcp-0.1.0/tests/test_retry_backoff_docs_contract.py +8 -0
  652. cal_mcp-0.1.0/tests/test_samaritan_conversion.py +88 -0
  653. cal_mcp-0.1.0/tests/test_search.py +222 -0
  654. cal_mcp-0.1.0/tests/test_search_gloss_redirects_current.py +143 -0
  655. cal_mcp-0.1.0/tests/test_search_review_regressions.py +28 -0
  656. cal_mcp-0.1.0/tests/test_shallow_text_catalogue_contract.py +164 -0
  657. cal_mcp-0.1.0/tests/test_smoke_inter_case_schedule.py +266 -0
  658. cal_mcp-0.1.0/tests/test_smoke_registry_preflight.py +170 -0
  659. cal_mcp-0.1.0/tests/test_smoke_release_matrix_completeness.py +156 -0
  660. cal_mcp-0.1.0/tests/test_smoke_transport_count_floor.py +87 -0
  661. cal_mcp-0.1.0/tests/test_stdio_live_smoke_content_invariants.py +114 -0
  662. cal_mcp-0.1.0/tests/test_stdio_live_smoke_followup.py +157 -0
  663. cal_mcp-0.1.0/tests/test_stdio_live_smoke_runner.py +169 -0
  664. cal_mcp-0.1.0/tests/test_stdio_live_smoke_validation.py +141 -0
  665. cal_mcp-0.1.0/tests/test_stdio_proxy_docs_contract.py +34 -0
  666. cal_mcp-0.1.0/tests/test_stdio_smoke_process_accounting.py +38 -0
  667. cal_mcp-0.1.0/tests/test_stdio_smoke_transport_exception_stop.py +158 -0
  668. cal_mcp-0.1.0/tests/test_structured_error_header_review_regressions.py +67 -0
  669. cal_mcp-0.1.0/tests/test_structured_error_review_regressions.py +66 -0
  670. cal_mcp-0.1.0/tests/test_structured_error_sanitization.py +49 -0
  671. cal_mcp-0.1.0/tests/test_structured_error_transport_retry_review_regressions.py +42 -0
  672. cal_mcp-0.1.0/tests/test_structured_errors.py +412 -0
  673. cal_mcp-0.1.0/tests/test_structured_sdk_validation_review_regressions.py +27 -0
  674. cal_mcp-0.1.0/tests/test_syriac.py +421 -0
  675. cal_mcp-0.1.0/tests/test_syriac_group_cards_current.py +150 -0
  676. cal_mcp-0.1.0/tests/test_syriac_group_followup.py +184 -0
  677. cal_mcp-0.1.0/tests/test_syriac_missing_category_enum.py +142 -0
  678. cal_mcp-0.1.0/tests/test_syriac_peshitta_docs_contract.py +27 -0
  679. cal_mcp-0.1.0/tests/test_syriac_peshitta_subtext_routing.py +161 -0
  680. cal_mcp-0.1.0/tests/test_syriac_review_regressions.py +135 -0
  681. cal_mcp-0.1.0/tests/test_syriac_root_discovery.py +254 -0
  682. cal_mcp-0.1.0/tests/test_syriac_server_instructions.py +17 -0
  683. cal_mcp-0.1.0/tests/test_targum.py +494 -0
  684. cal_mcp-0.1.0/tests/test_targum_concordance_examples.py +215 -0
  685. cal_mcp-0.1.0/tests/test_targum_current_shape.py +251 -0
  686. cal_mcp-0.1.0/tests/test_targum_example_selector_validation.py +100 -0
  687. cal_mcp-0.1.0/tests/test_targum_reflex_examples.py +309 -0
  688. cal_mcp-0.1.0/tests/test_targum_review_regressions.py +151 -0
  689. cal_mcp-0.1.0/tests/test_text_catalogue_script_toggle_current.py +85 -0
  690. cal_mcp-0.1.0/tests/test_text_concordance_capital_c_current.py +57 -0
  691. cal_mcp-0.1.0/tests/test_text_concordance_no_data_rows_current.py +183 -0
  692. cal_mcp-0.1.0/tests/test_text_information.py +246 -0
  693. cal_mcp-0.1.0/tests/test_text_line_comments.py +309 -0
  694. cal_mcp-0.1.0/tests/test_text_line_comments_review_regressions.py +70 -0
  695. cal_mcp-0.1.0/tests/test_text_page_blank_lines_current.py +158 -0
  696. cal_mcp-0.1.0/tests/test_text_page_getlex_regression.py +107 -0
  697. cal_mcp-0.1.0/tests/test_text_page_no_lines_current.py +157 -0
  698. cal_mcp-0.1.0/tests/test_text_page_out_of_range.py +165 -0
  699. cal_mcp-0.1.0/tests/test_text_page_pagination_current.py +125 -0
  700. cal_mcp-0.1.0/tests/test_text_page_row_coordinates_current.py +218 -0
  701. cal_mcp-0.1.0/tests/test_text_page_six_digit_syriac_id_current.py +152 -0
  702. cal_mcp-0.1.0/tests/test_text_page_subtext_current.py +154 -0
  703. cal_mcp-0.1.0/tests/test_text_page_unlemmatized_current.py +190 -0
  704. cal_mcp-0.1.0/tests/test_text_request_volume_contract.py +100 -0
  705. cal_mcp-0.1.0/tests/test_text_route_coexistence.py +56 -0
  706. cal_mcp-0.1.0/tests/test_text_search_cal_echo_current.py +116 -0
  707. cal_mcp-0.1.0/tests/test_text_search_cpa_nodes_current.py +177 -0
  708. cal_mcp-0.1.0/tests/test_text_search_parenthesized_label_current.py +87 -0
  709. cal_mcp-0.1.0/tests/test_text_search_subtext_links_current.py +135 -0
  710. cal_mcp-0.1.0/tests/test_texts.py +430 -0
  711. cal_mcp-0.1.0/tests/test_texts_review_regressions.py +71 -0
  712. cal_mcp-0.1.0/tests/test_token_analysis.py +180 -0
  713. cal_mcp-0.1.0/tests/test_token_analysis_current_empty.py +98 -0
  714. cal_mcp-0.1.0/tests/test_token_analysis_linkless_summaries.py +232 -0
  715. cal_mcp-0.1.0/tests/test_token_analysis_review_regressions.py +26 -0
  716. cal_mcp-0.1.0/tests/test_token_analysis_segments_current.py +146 -0
  717. cal_mcp-0.1.0/tests/test_token_analysis_syriac_redirect.py +200 -0
  718. cal_mcp-0.1.0/tests/test_token_analysis_unclosed_dial_outline.py +53 -0
  719. cal_mcp-0.1.0/tests/test_user_facing_tool_count_contract.py +39 -0
  720. cal_mcp-0.1.0/wiki/README.md +41 -0
  721. cal_mcp-0.1.0/wiki/agentic-dev-loop.md +178 -0
  722. cal_mcp-0.1.0/wiki/architecture.md +421 -0
  723. cal_mcp-0.1.0/wiki/backlog.md +137 -0
  724. cal_mcp-0.1.0/wiki/decisions.md +452 -0
  725. cal_mcp-0.1.0/wiki/documentation.md +292 -0
  726. cal_mcp-0.1.0/wiki/testing.md +300 -0
@@ -0,0 +1,71 @@
1
+ name: Implementation ticket
2
+ description: Small, test-driven CAL-MCP implementation unit
3
+ title: ""
4
+ body:
5
+ - type: textarea
6
+ id: capability
7
+ attributes:
8
+ label: Capability / problem
9
+ description: What user/research capability or adapter problem does this issue address?
10
+ validations:
11
+ required: true
12
+ - type: textarea
13
+ id: evidence
14
+ attributes:
15
+ label: Current upstream evidence
16
+ description: Link the relevant research.md section and exact CAL pages/interfaces observed.
17
+ validations:
18
+ required: true
19
+ - type: textarea
20
+ id: scope
21
+ attributes:
22
+ label: Scope
23
+ description: Describe the smallest reviewable change.
24
+ validations:
25
+ required: true
26
+ - type: textarea
27
+ id: non_goals
28
+ attributes:
29
+ label: Non-goals
30
+ description: State what must not be implemented in this ticket.
31
+ validations:
32
+ required: true
33
+ - type: textarea
34
+ id: dependencies
35
+ attributes:
36
+ label: Dependencies
37
+ description: Blocking issues/PRs or "none".
38
+ validations:
39
+ required: true
40
+ - type: textarea
41
+ id: acceptance
42
+ attributes:
43
+ label: Acceptance criteria
44
+ description: Use an explicit checklist.
45
+ value: |
46
+ - [ ]
47
+ - [ ]
48
+ - [ ]
49
+ validations:
50
+ required: true
51
+ - type: textarea
52
+ id: tests
53
+ attributes:
54
+ label: TDD / tests
55
+ description: Identify the failing test/fixture to add first and the required error/edge cases.
56
+ validations:
57
+ required: true
58
+ - type: textarea
59
+ id: docs
60
+ attributes:
61
+ label: Documentation impact
62
+ description: List user docs, research, architecture, or decisions that must change.
63
+ validations:
64
+ required: true
65
+ - type: textarea
66
+ id: load
67
+ attributes:
68
+ label: CAL access / request-load impact
69
+ description: State expected live request behavior and bounds. Use "none" for purely local work.
70
+ validations:
71
+ required: true
@@ -0,0 +1,58 @@
1
+ ## Issue
2
+
3
+ Closes #
4
+
5
+ ## Change
6
+
7
+ Describe the smallest behavior/architecture change in this PR.
8
+
9
+ ## TDD evidence
10
+
11
+ - Failing test/fixture added first:
12
+ - Failure demonstrated:
13
+ - Implementation/refactor:
14
+
15
+ ## Verification
16
+
17
+ - [ ] Focused tests pass
18
+ - [ ] Full deterministic/offline test suite passes
19
+ - [ ] MCP contract tests pass where applicable
20
+ - [ ] No normal-CI dependency on CAL network access
21
+
22
+ Commands/results:
23
+
24
+ ```text
25
+
26
+ ```
27
+
28
+ ## CAL upstream impact
29
+
30
+ - CAL pages/endpoints/forms touched:
31
+ - Maximum/typical CAL requests per user operation:
32
+ - Retry/concurrency/cache impact:
33
+ - Live requests made during development/review (bounded summary):
34
+
35
+ ## Provenance and data boundary
36
+
37
+ - [ ] CAL source URL/retrieval metadata preserved where applicable
38
+ - [ ] No CAL corpus/lexicon data vendored or bulk-captured
39
+ - [ ] No CAL scholarly result silently corrected/enriched/reinterpreted
40
+
41
+ Notes:
42
+
43
+ ## Documentation
44
+
45
+ - [ ] User docs updated with implemented behavior
46
+ - [ ] `research.md` updated if upstream evidence changed
47
+ - [ ] `wiki/decisions.md` updated if a durable decision changed
48
+ - [ ] Architecture diagrams updated if boundaries/flows changed
49
+
50
+ ## Standalone / Agora boundary
51
+
52
+ - [ ] Change works without Agora
53
+ - [ ] No CAL-specific domain logic was moved into Agora
54
+ - [ ] Downstream Agora metadata implications are stated if relevant
55
+
56
+ ## Known limitations / follow-ups
57
+
58
+ List only genuinely out-of-scope follow-ups; create separate issues rather than expanding this PR.
@@ -0,0 +1,70 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ deterministic:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v6
16
+ - uses: actions/setup-python@v6
17
+ with:
18
+ python-version: "3.11"
19
+ cache: pip
20
+ cache-dependency-path: |
21
+ pyproject.toml
22
+ constraints/ci-py311.txt
23
+ constraints/build-py311.txt
24
+ - name: Bootstrap frozen installer
25
+ run: python -m pip install "pip==26.2.1" "setuptools==79.0.1"
26
+ - name: Install frozen validation environment
27
+ run: >-
28
+ python -m pip install -e ".[dev]"
29
+ -c constraints/ci-py311.txt
30
+ --build-constraint constraints/build-py311.txt
31
+ - name: Report and verify frozen dependency set
32
+ run: |
33
+ python -m pip freeze --all
34
+ python -m pip check
35
+ python scripts/verify_ci_environment.py constraints/ci-py311.txt \
36
+ --exclude cal-mcp \
37
+ --exclude pip \
38
+ --exclude setuptools
39
+ - name: Ruff lint
40
+ run: ruff check .
41
+ - name: Ruff format
42
+ run: ruff format --check .
43
+ - name: Mypy
44
+ run: mypy
45
+ - name: Pytest
46
+ run: pytest
47
+
48
+ latest-compatible:
49
+ runs-on: ubuntu-latest
50
+ steps:
51
+ - uses: actions/checkout@v6
52
+ - uses: actions/setup-python@v6
53
+ with:
54
+ python-version: "3.11"
55
+ cache: pip
56
+ cache-dependency-path: pyproject.toml
57
+ - name: Install latest allowed validation environment
58
+ run: python -m pip install -e ".[dev]"
59
+ - name: Report latest-compatible dependency set
60
+ run: |
61
+ python -m pip freeze --all
62
+ python -m pip check
63
+ - name: Ruff lint
64
+ run: ruff check .
65
+ - name: Ruff format
66
+ run: ruff format --check .
67
+ - name: Mypy
68
+ run: mypy
69
+ - name: Pytest
70
+ run: pytest
@@ -0,0 +1,42 @@
1
+ name: Live CAL drift smoke
2
+
3
+ on:
4
+ # Manual-only until #262 demonstrates a CAL-accepted bounded live rate.
5
+ workflow_dispatch:
6
+
7
+ permissions:
8
+ contents: read
9
+
10
+ concurrency:
11
+ group: cal-mcp-live-smoke
12
+ cancel-in-progress: false
13
+
14
+ jobs:
15
+ live-smoke:
16
+ runs-on: ubuntu-latest
17
+ timeout-minutes: 30
18
+ steps:
19
+ - uses: actions/checkout@v6
20
+ - uses: actions/setup-python@v6
21
+ with:
22
+ python-version: "3.11"
23
+ cache: pip
24
+ - name: Install wheel build tooling
25
+ run: python -m pip install --disable-pip-version-check build
26
+ - name: Build this revision's wheel
27
+ run: python -m build --wheel --outdir dist
28
+ - name: Install one built wheel in a fresh virtual environment
29
+ shell: bash
30
+ run: |
31
+ shopt -s nullglob
32
+ wheels=(dist/*.whl)
33
+ test "${#wheels[@]}" -eq 1
34
+ python -m venv "$RUNNER_TEMP/cal-mcp-smoke-venv"
35
+ "$RUNNER_TEMP/cal-mcp-smoke-venv/bin/python" -m pip install \
36
+ --disable-pip-version-check --no-cache-dir "${wheels[0]}"
37
+ - name: Run one bounded installed-stdio CAL drift smoke
38
+ shell: bash
39
+ run: |
40
+ cd "$RUNNER_TEMP"
41
+ "$RUNNER_TEMP/cal-mcp-smoke-venv/bin/python" -m cal_mcp.stdio_live_smoke \
42
+ --executable "$RUNNER_TEMP/cal-mcp-smoke-venv/bin/cal-mcp"
@@ -0,0 +1,136 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build-and-test:
13
+ runs-on: ubuntu-latest
14
+ timeout-minutes: 15
15
+ steps:
16
+ - uses: actions/checkout@v6
17
+ - uses: actions/setup-python@v6
18
+ with:
19
+ python-version: "3.11"
20
+ cache: pip
21
+ cache-dependency-path: |
22
+ pyproject.toml
23
+ constraints/ci-py311.txt
24
+ constraints/build-py311.txt
25
+ - name: Bootstrap frozen installer
26
+ run: python -m pip install "pip==26.2.1" "setuptools==79.0.1"
27
+ - name: Install frozen development validation dependencies
28
+ run: >-
29
+ python -m pip install -e ".[dev]"
30
+ -c constraints/ci-py311.txt
31
+ --build-constraint constraints/build-py311.txt
32
+ - name: Report and verify frozen dependency set
33
+ run: |
34
+ python -m pip freeze --all
35
+ python -m pip check
36
+ python scripts/verify_ci_environment.py constraints/ci-py311.txt \
37
+ --exclude cal-mcp \
38
+ --exclude pip \
39
+ --exclude setuptools
40
+ - name: Ruff lint
41
+ run: ruff check .
42
+ - name: Ruff format
43
+ run: ruff format --check .
44
+ - name: Mypy
45
+ run: mypy
46
+ - name: Pytest
47
+ run: pytest
48
+ - name: Build wheel and sdist once
49
+ env:
50
+ PIP_BUILD_CONSTRAINT: constraints/build-py311.txt
51
+ run: python -m build --outdir dist
52
+ - name: Verify tag, wheel and sdist installs, and stdio surface
53
+ run: python scripts/verify_release_artifact.py dist --tag "${GITHUB_REF_NAME}"
54
+ - name: Upload exact distributions
55
+ uses: actions/upload-artifact@v4
56
+ with:
57
+ name: python-distributions
58
+ path: dist/
59
+ if-no-files-found: error
60
+ retention-days: 7
61
+
62
+ live-smoke:
63
+ needs: build-and-test
64
+ runs-on: ubuntu-latest
65
+ concurrency:
66
+ group: cal-mcp-live-smoke
67
+ cancel-in-progress: false
68
+ timeout-minutes: 30
69
+ permissions:
70
+ contents: read
71
+ steps:
72
+ - uses: actions/setup-python@v6
73
+ with:
74
+ python-version: "3.11"
75
+ - name: Download exact wheel from the tested build
76
+ uses: actions/download-artifact@v5
77
+ with:
78
+ name: python-distributions
79
+ path: dist
80
+ - name: Install exact built wheel in a fresh virtual environment
81
+ shell: bash
82
+ run: |
83
+ shopt -s nullglob
84
+ wheels=(dist/*.whl)
85
+ test "${#wheels[@]}" -eq 1
86
+ python -m venv "$RUNNER_TEMP/cal-mcp-smoke-venv"
87
+ "$RUNNER_TEMP/cal-mcp-smoke-venv/bin/python" -m pip install \
88
+ --disable-pip-version-check --no-cache-dir "${wheels[0]}"
89
+ - name: Validate installed-wheel MCP tools and actual CAL transport count
90
+ shell: bash
91
+ run: |
92
+ cd "$RUNNER_TEMP"
93
+ "$RUNNER_TEMP/cal-mcp-smoke-venv/bin/python" -m cal_mcp.stdio_live_smoke \
94
+ --executable "$RUNNER_TEMP/cal-mcp-smoke-venv/bin/cal-mcp"
95
+
96
+ publish-pypi:
97
+ needs:
98
+ - build-and-test
99
+ - live-smoke
100
+ runs-on: ubuntu-latest
101
+ environment: pypi
102
+ permissions:
103
+ contents: read
104
+ id-token: write
105
+ steps:
106
+ - name: Download exact validated distributions
107
+ uses: actions/download-artifact@v5
108
+ with:
109
+ name: python-distributions
110
+ path: dist
111
+ - name: Publish package distributions to PyPI
112
+ uses: pypa/gh-action-pypi-publish@release/v1
113
+
114
+ github-release:
115
+ needs:
116
+ - build-and-test
117
+ - live-smoke
118
+ - publish-pypi
119
+ runs-on: ubuntu-latest
120
+ permissions:
121
+ contents: write
122
+ steps:
123
+ - uses: actions/checkout@v6
124
+ - name: Download exact published distributions
125
+ uses: actions/download-artifact@v5
126
+ with:
127
+ name: python-distributions
128
+ path: dist
129
+ - name: Create GitHub release from the same distributions
130
+ env:
131
+ GH_TOKEN: ${{ github.token }}
132
+ run: >-
133
+ gh release create "${GITHUB_REF_NAME}" dist/*
134
+ --verify-tag
135
+ --title "CAL-MCP ${GITHUB_REF_NAME}"
136
+ --notes-file CHANGELOG.md
@@ -0,0 +1,9 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ .venv/
4
+ .mypy_cache/
5
+ .pytest_cache/
6
+ .ruff_cache/
7
+ build/
8
+ dist/
9
+ *.egg-info/
@@ -0,0 +1,103 @@
1
+ # AGENTS.md
2
+
3
+ This repository is designed for an automated, issue-driven development loop. This file is the mandatory entry point for coding agents.
4
+
5
+ ## Read first
6
+
7
+ Before changing code, read in order:
8
+
9
+ 1. `README.md`
10
+ 2. `research.md`
11
+ 3. `plan.md`
12
+ 4. `wiki/README.md`
13
+ 5. `wiki/architecture.md`
14
+ 6. `wiki/testing.md`
15
+ 7. `wiki/documentation.md`
16
+ 8. `wiki/decisions.md`
17
+ 9. `wiki/agentic-dev-loop.md`
18
+ 10. the GitHub issue being implemented and any linked PR/discussion
19
+
20
+ If the issue depends on a CAL page or behavior, re-check the relevant live upstream page before changing an assumption. Record materially changed evidence in `research.md`.
21
+
22
+ ## Non-negotiable rules
23
+
24
+ - Work from a GitHub issue with explicit acceptance criteria.
25
+ - Before starting, search for an open PR or active issue implementing the same scope. Do not create concurrent duplicate implementations.
26
+ - Use TDD for behavior changes: first establish a failing deterministic test or fixture, then implement the smallest correct change, then refactor.
27
+ - CAL is the authority for CAL data. Do not silently correct, enrich, infer, rank, or reinterpret upstream linguistic results.
28
+ - Do not crawl, mirror, bulk-download, or prefetch the CAL corpus. A request to CAL must be directly attributable to the current user/MCP operation, except for narrowly bounded cache revalidation or explicit opt-in live smoke tests.
29
+ - Do not vendor CAL lexicon entries, text corpora, dictionary content, or large captured pages. Test fixtures must be minimal and contain only the fragment needed to exercise parser behavior.
30
+ - Preserve provenance: public tool results must include the CAL source URL and retrieval timestamp; preserve CAL coordinates/identifiers when available.
31
+ - Input normalization must be deterministic. Never use an LLM to invent CAL query syntax or to choose a linguistic analysis while presenting the result as CAL.
32
+ - Treat CAL HTML and query endpoints as undocumented upstream interfaces unless CAL publishes a machine contract. Parsers must fail explicitly on material schema changes instead of silently dropping fields.
33
+ - Keep the public MCP contract independent of CAL HTML structure and independent of Agora.
34
+ - Agora integration is optional downstream discovery/install/launch metadata. CAL-specific behavior, documentation, skills, parsers, and tests belong here, not in Agora.
35
+ - Keep unrelated cleanup out of implementation PRs.
36
+
37
+ ## Blocked issue references in PRs and merges
38
+
39
+ GitHub closing-keyword references require deliberate review. Write `Fixes #N` (or `Closes #N` / `Resolves #N`) **only when issue N is fully completed**, its acceptance criteria were checked, and closing it is intended. Do not use closing keywords adjacent to a blocked or only partially addressed issue reference, **even in negated statements** such as “this does not close #N”. Wording can be interpreted as a closure directive regardless of intended negation.
40
+
41
+ For a blocked prerequisite use the neutral form `Issue #N remains open`, followed by the specific unmet gate. Ordinary issue links without closing directives remain welcome. Review the PR description, final review text, and squash/merge-commit message before merging. Explicitly verify blocked issue states after merge; if an issue was closed contrary to its unmet acceptance criteria, reopen it immediately and record evidence. A partial protective stage must not close a release blocker.
42
+
43
+ ## Request-policy rules
44
+
45
+ Until superseded by an explicit, documented CAL policy decision:
46
+
47
+ - default to low concurrency;
48
+ - use finite connect/read/total timeouts;
49
+ - identify the client honestly with a project User-Agent when practical;
50
+ - retry only transient failures, with bounded backoff;
51
+ - do not retry semantic/application errors;
52
+ - cache only to reduce duplicate live requests, with conservative TTLs and bounded storage;
53
+ - provide a way to disable caching for reproducibility/debugging;
54
+ - never use cache behavior to build a local corpus mirror.
55
+
56
+ Any change that materially increases request volume, concurrency, prefetching, or cache persistence requires an explicit architecture decision update.
57
+
58
+ ## Definition of done
59
+
60
+ An implementation PR is complete only when:
61
+
62
+ - all issue acceptance criteria are met;
63
+ - changed behavior has deterministic tests;
64
+ - malformed/upstream-change/error cases have tests where relevant;
65
+ - normal CI does not require CAL network access;
66
+ - public MCP schemas and examples are updated when the interface changes;
67
+ - `research.md` is updated when new upstream evidence changes an assumption;
68
+ - `wiki/decisions.md` is updated for durable architecture changes;
69
+ - user-facing docs are updated in the same PR as the capability they describe;
70
+ - provenance, request-load, and data-rights implications are stated in the PR;
71
+ - the repository state is sufficient for a different agent to resume the work without chat history.
72
+
73
+ ## Preferred issue decomposition
74
+
75
+ Keep issues independently reviewable. Separate:
76
+
77
+ - transport/server scaffolding from CAL domain behavior;
78
+ - HTTP request policy from HTML parsing;
79
+ - input normalization from lexical lookup;
80
+ - each CAL research surface (lexicon, concordance, texts, citations, bibliography, Targum, Syriac) from the others where practical;
81
+ - standalone packaging from Agora registration;
82
+ - documentation infrastructure from individual tool reference pages.
83
+
84
+ Do not implement multiple unrelated CAL forms in one PR merely because they share HTML parsing utilities.
85
+
86
+ ## Repository map
87
+
88
+ - `src/cal_mcp/` — server, client, normalization, models, parsers, and application services once implementation begins.
89
+ - `tests/` — unit, parser-contract, MCP-contract, and opt-in live-smoke tests.
90
+ - `tests/fixtures/` — minimal upstream HTML/response fragments with provenance metadata.
91
+ - `docs/` — versioned user-facing documentation introduced with implemented capabilities.
92
+ - `research.md` — dated upstream evidence and prior-art notes.
93
+ - `plan.md` — staged delivery plan and issue dependency graph.
94
+ - `wiki/architecture.md` — intended component/data-flow architecture.
95
+ - `wiki/documentation.md` — documentation architecture and maintenance rules.
96
+ - `wiki/decisions.md` — durable architecture decisions.
97
+ - `wiki/backlog.md` — staged issue map and release gates.
98
+ - `wiki/testing.md` — TDD and validation requirements.
99
+ - `wiki/agentic-dev-loop.md` — exact automated development/review loop.
100
+
101
+ ## Review posture
102
+
103
+ Review independently and skeptically. A passing happy-path fixture is insufficient evidence for a parser. Check ambiguous/missing elements, Unicode/script handling, upstream error pages, pagination where relevant, provenance, and whether the tool contract accidentally promises semantics CAL does not provide.
@@ -0,0 +1,65 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 — Unreleased
4
+
5
+ First standalone release of CAL-MCP, a read-only MCP adapter over the Comprehensive Aramaic Lexicon (CAL).
6
+
7
+ ### Public MCP surface
8
+
9
+ v0.1.0 freezes **36 public tools** across these research families:
10
+
11
+ - deterministic conversion from supported Aramaic-script/Unicode inputs to CAL code (a rejected Hebrew mark or sign is named by code point, and pointed words get an unpointed suggestion);
12
+ - lexicon exact/root/full-form lookup (verbs, whose roots CAL shows in uppercase on browse rows, are matched by their lowercase form), bounded prefix browsing via `cal_lexicon_browse` (ordered typed rows distinguish genuine entries from CAL arrow cross-references; `entries` contains only genuine entries; cross-reference source text and target lemma keys are preserved without fetching the target), and explicit linked-citation full context via `cal_lexicon_citation_context` (exact-entry headers are read from CAL's marked `lemma-header` fields; current verb stem headings and the stem summary are read from their own markup, so every sense keeps its stem `heading` and multi-stem verbs such as `)mr V` and `ktb V` parse; with `part_of_speech: null` where CAL gives none and no fallback to later prose; including preservation of CAL's literal uncertain POS marker such as `n.f.?`, and Babylonian Talmud texts whose tokens use CAL's `bablex.php` family);
13
+ - English gloss search and structured gloss-field extraction (CAL's repeated rows behind a `⟹` redirect are kept, with the redirecting key in `cross_reference_from`; parenthesized secondary-gender POS such as `n.m.(f.)` is preserved; row POS is CAL's marked `<pos>`, so verbs keep their vowel class such as `vb. a/u`, as in lexicon browse rows, and CAL's explicitly empty `<pos>` gives `part_of_speech: null`), and citation-text search (CAL's explicit rejection of a query, such as `god`, is reported as `invalid_input`; current result rows, with a citation CAL renders without its own header returned with `lemma: null`; header `part_of_speech` is CAL's marked `<pos>`, which for verbs includes the vowel class that an earlier parser misreported as `gloss`);
14
+ - text catalogue/topic discovery (search matches name the tool that follows them (`follow_up_tool`): `cal_text_page`, or `cal_text_catalogue` with `category_id` for catalogue nodes such as Targum Neofiti and the Peshitta books; including CAL's current Mandaic catalogue composition (subdivided files are followable catalogue nodes whose exact subtext identity is separate from pagination, including current `74421/col`) and Christian Palestinian Aramaic direct/decimal/suffix-bearing routes), one-page retrieval (subtext IDs preserve leading zeroes and CAL's current optional single lowercase suffix; current CPA file routes retain CAL's `cset=C` selector; current two-cell plain/unlemmatized rows are returned with rendered text, empty tokens and nullable line/comment coordinates; CAL's current explicit no-lines state for direct CPA `55002` maps to `not_found` rather than parser drift; paginated texts such as the Babylonian Talmud report page page count and line total; a page beyond the last is an `invalid_input` error; each line keeps CAL's display coordinate and comment link; explicit empty Syriac lexical slots are preserved as `empty_word_indexes` alongside rendered tokens; current Mandaic `74421/col` plus direct `74425` / `74429` preserve their evidence-backed special token coordinates as opaque follow-up handles; six-digit Syriac ids such as `634081`, which CAL splits into file plus subtext, are read under the listed id), explicit text-information metadata, and explicit line comments/translations via `cal_text_line_comments`;
15
+ - token-at-coordinate lexical analysis, including exact follow-up of the current Mandaic `74421/col`, `74425`, and `74429` special coordinate families, current linked Syriac redirects (explicit analysed source key in `analyzed_lemma_key`, linked target in `lemma.lemma_key`), and current linkless Peshitta/CPA success pages preserved as ordered opaque `unlinked_summaries` without invented lemma entries;
16
+ - one-text concordance (with CAL's displayed lemma labels, and CAL's own "no data found" rows flagged instead of failing the page), explicit text/dialect KWIC (including Hebrew- and Syriac-script results, whose coordinates CAL renders reversed for right-to-left display; hits keep CAL's highlight as `target_text`, `null` where CAL highlights nothing; one-dialect results report CAL's per-form grouping, including related-form hits and whether CAL lists the requested form at all), and explicit typed KWIC full-context follow-up via `cal_kwic_full_context` (scholarly rows reject loose text/unknown elements and require exact root lexical/comment routes; including hits in subdivided texts under CAL's current file-information coordinate and Babylonian Talmud rows with `bablex.php` token links);
17
+ - bibliography author, text/subject-tag, and lemma search (one record per CAL bibliography entry on CAL's current result layout);
18
+ - dictionary spelling collation;
19
+ - citations from sources that CAL cites but does not expose as full online texts;
20
+ - Targum parallel verse (CAL's per-line verse labels are removed from `mt_text`, as in the MT/Peshitta comparison), Targum concordance (current-layout label rows reported as `section_labels` rather than applied to rows), and MT-Hebrew reflex workflows;
21
+ - Syriac text-category discovery, explicit grouped-text follow-up (`cal_syriac_group`, including CAL's current card layout, whose children carry `subtext_id`), CAL's missing-from-*A Syriac Lexicon* lists, and MT/Peshitta verse comparison.
22
+
23
+ The executable MCP schemas remain the technical source of truth. CAL endpoint names and private form fields are not part of the public contract.
24
+
25
+ ### Request and data policy
26
+
27
+ - CAL data stay remote and live; no CAL corpus or lexicon is bundled in the package.
28
+ - Operations are caller-initiated and bounded. Most public calls perform one CAL request; successful exact lexicon lookup uses a bounded two-request browser + selected-entry flow.
29
+ - `cal_lexicon_browse` fetches exactly one CAL browse page per call. If CAL exposes a validated NEXT PAGE continuation, the tool returns it as `next_continuation`; following it requires another explicit caller action.
30
+ - No background crawl, mirror, cache warming, hidden pagination, link traversal, or automatic source expansion. Lexicon citation context, KWIC full-context, and text-line comments/translations retrieval are separate explicit caller actions over typed selectors/coordinates returned by prior calls.
31
+ - `cal_lexicon_citation_context` accepts only the typed positive-decimal `full_coordinate` exposed for canonical linked lexicon citations; it does not accept arbitrary URLs or locally decode the opaque coordinate.
32
+ - `cal_text_line_comments` distinguishes `found` from CAL's explicit `no_citations` state; `no_citations` does not claim that the requested coordinate exists as a text line.
33
+ - Line-comment parsing excludes non-rendered script/style content from semantic markers, rejects nested semantic result cards, and fails closed on truncated records or unfinished semantic containers instead of returning partial success.
34
+ - The shared client enforces finite timeouts, low concurrency, bounded retries for selected transient failures, redirect/origin boundaries, response-size limits, single-flight suppression, and a bounded process-local cache. The normal live client spaces transport starts by at least three seconds and admits at most eight starts per rolling 60 seconds. These are adapter precautions, not a published CAL quota. A terminal CAL HTTP 429 starts a local cooldown of at least 60 seconds; only a validated positive Retry-After of at most two seconds permits one guarded automatic retry within the retry budget.
35
+ - Parsers fail closed on material upstream drift rather than returning plausible partial results.
36
+
37
+ ### Standalone runtime
38
+
39
+ - Python `>=3.11`.
40
+ - Primary v0.1 transport: local stdio.
41
+ - Installed command: `cal-mcp`.
42
+ - Equivalent module entry point: `python -m cal_mcp`.
43
+ - `cal-mcp --version` and `cal-mcp --help` print and exit without starting the server; any other argument is rejected with the usage.
44
+ - Agora is not a runtime dependency; optional Agora registration remains the downstream issue #16 after publication.
45
+
46
+ ### Release and drift validation
47
+
48
+ - Structured `parser_drift` and `content` errors name the CAL page that failed in `source_url` (CAL origin only). Citation-context drift is reported as `parser_drift` rather than as unsafe content.
49
+ - The release pipeline builds wheel and sdist once, validates both distributions in fresh virtual environments, launches each installed `cal-mcp` entry point over stdio, and checks version + the frozen 36-tool schema without contacting CAL.
50
+ - Deterministic CI and release validation use committed Python 3.11 target/build constraints with exact-environment verification; a separate latest-compatible job checks the broad dependency ranges declared for downstream users.
51
+ - Those deterministic constraints are validation inputs only; downstream package metadata retains the reviewed broad runtime dependency ranges.
52
+ - The standalone live drift smoke is manual-only. It has **12 fixed cases**, including **11 CAL-backed cases**, and a hard cap of **25 actual CAL transport attempts**, concurrency 1, retries 0, and bounded caching enabled. It waits at least 60 seconds after each completed CAL-backed case before starting the next; scheduling is disabled.
53
+ - The release-tag pipeline separately gates publication on this installed-wheel smoke. Both runners stop on the first rate-limit or harness failure; every nonpassing outcome blocks publication. They distinguish parser drift from network/upstream and other content/policy failures.
54
+
55
+ ### Known limitations
56
+
57
+ - CAL is a live scholarly database and its public HTML/form surfaces are not a versioned machine API; upstream drift can temporarily fail a tool closed until the adapter is updated.
58
+ - v0.1 does not bundle CAL data or provide an offline research mode.
59
+ - v0.1 is stdio-only; there is no hosted CAL-MCP service.
60
+ - CAL's recent-five-years bibliography snapshot is intentionally deferred to #39 and is not part of the frozen v0.1 surface.
61
+ - Pseudo-Jonathan Hebrew-reflex research is not exposed because CAL currently marks that upstream workflow under development.
62
+
63
+ ### Upstream and attribution
64
+
65
+ CAL remains the authority for the returned lexical, textual, citation, bibliography, Targum, Syriac, and dictionary-collation content. CAL-MCP is not affiliated with or endorsed by the Comprehensive Aramaic Lexicon Project or Hebrew Union College.
cal_mcp-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CAL-MCP contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.