citeformer 0.3.0__tar.gz → 0.3.2__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 (241) hide show
  1. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/bump.md +6 -2
  2. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/release.md +2 -2
  3. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/contract-invariant/SKILL.md +6 -6
  4. {citeformer-0.3.0 → citeformer-0.3.2}/.github/ISSUE_TEMPLATE/bug_report.yml +1 -1
  5. {citeformer-0.3.0 → citeformer-0.3.2}/.github/ISSUE_TEMPLATE/config.yml +1 -1
  6. citeformer-0.3.2/.github/dependabot.yml +23 -0
  7. {citeformer-0.3.0 → citeformer-0.3.2}/.github/workflows/ci.yml +19 -10
  8. {citeformer-0.3.0 → citeformer-0.3.2}/.github/workflows/release.yml +6 -6
  9. {citeformer-0.3.0 → citeformer-0.3.2}/AUTHORS.md +1 -1
  10. {citeformer-0.3.0 → citeformer-0.3.2}/CHANGELOG.md +96 -1
  11. citeformer-0.3.2/CITATION.cff +25 -0
  12. {citeformer-0.3.0 → citeformer-0.3.2}/CLAUDE.md +18 -12
  13. {citeformer-0.3.0 → citeformer-0.3.2}/CODE_OF_CONDUCT.md +1 -1
  14. {citeformer-0.3.0 → citeformer-0.3.2}/CONTRIBUTING.md +1 -1
  15. {citeformer-0.3.0 → citeformer-0.3.2}/LICENSE +1 -1
  16. {citeformer-0.3.0 → citeformer-0.3.2}/PKG-INFO +66 -65
  17. {citeformer-0.3.0 → citeformer-0.3.2}/README.md +61 -60
  18. {citeformer-0.3.0 → citeformer-0.3.2}/SECURITY.md +4 -4
  19. {citeformer-0.3.0 → citeformer-0.3.2}/docs/guarantees.md +1 -1
  20. {citeformer-0.3.0 → citeformer-0.3.2}/docs/index.md +2 -2
  21. {citeformer-0.3.0 → citeformer-0.3.2}/pyproject.toml +3 -3
  22. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/_version.py +1 -1
  23. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_apa_7.yml +2 -2
  24. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_chicago_author_date.yml +2 -2
  25. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_ieee.yml +1 -1
  26. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_mla_9.yml +2 -2
  27. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_nature.yml +1 -1
  28. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite/test_csl_suite_snapshot_vancouver.yml +1 -1
  29. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_suite.py +1 -1
  30. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl.py +13 -11
  31. {citeformer-0.3.0 → citeformer-0.3.2}/uv.lock +1410 -896
  32. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/agents/contract-reviewer.md +0 -0
  33. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/contract-check.md +0 -0
  34. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/commands/release-check.md +0 -0
  35. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/launch.json +0 -0
  36. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/add-citation-format/SKILL.md +0 -0
  37. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/grammar-shape/SKILL.md +0 -0
  38. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/piggyback-first/SKILL.md +0 -0
  39. {citeformer-0.3.0 → citeformer-0.3.2}/.claude/skills/release-bump/SKILL.md +0 -0
  40. {citeformer-0.3.0 → citeformer-0.3.2}/.env.example +0 -0
  41. {citeformer-0.3.0 → citeformer-0.3.2}/.github/FUNDING.yml +0 -0
  42. {citeformer-0.3.0 → citeformer-0.3.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  43. {citeformer-0.3.0 → citeformer-0.3.2}/.github/pull_request_template.md +0 -0
  44. {citeformer-0.3.0 → citeformer-0.3.2}/.gitignore +0 -0
  45. {citeformer-0.3.0 → citeformer-0.3.2}/.pre-commit-config.yaml +0 -0
  46. {citeformer-0.3.0 → citeformer-0.3.2}/.readthedocs.yaml +0 -0
  47. {citeformer-0.3.0 → citeformer-0.3.2}/AGENTS.md +0 -0
  48. {citeformer-0.3.0 → citeformer-0.3.2}/Makefile +0 -0
  49. {citeformer-0.3.0 → citeformer-0.3.2}/PREPRINT.md +0 -0
  50. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/README.md +0 -0
  51. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/__init__.py +0 -0
  52. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/_common.py +0 -0
  53. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/adversarial.py +0 -0
  54. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/alce_subset.py +0 -0
  55. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/calibration_data.py +0 -0
  56. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/demo.py +0 -0
  57. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/fetch_fixtures.py +0 -0
  58. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/alce-20260424T015354Z.json +0 -0
  59. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/cover-annotated.png +0 -0
  60. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/fabrication-structural-vs-empirical.png +0 -0
  61. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/multiprompt-summary.png +0 -0
  62. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/nli_calibration_DeBERTa-v3-large-mnli-fever-anli-ling-wanli.png +0 -0
  63. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/nli_calibration_nli-deberta-v3-base.png +0 -0
  64. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/premise-comparison.png +0 -0
  65. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/sweep-summary.png +0 -0
  66. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-flow.png +0 -0
  67. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-multi.png +0 -0
  68. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-render.png +0 -0
  69. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/figures/thread-verify.png +0 -0
  70. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/multiprompt-20260423T234641Z.json +0 -0
  71. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/multiprompt-20260424T020138Z.json +0 -0
  72. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/nli_calibration_DeBERTa-v3-large-mnli-fever-anli-ling-wanli.json +0 -0
  73. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/nli_calibration_nli-deberta-v3-base.json +0 -0
  74. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T212115Z.json +0 -0
  75. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T214616Z.json +0 -0
  76. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T215333Z.json +0 -0
  77. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T215926Z.json +0 -0
  78. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T223040Z.json +0 -0
  79. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/findings/sweep-20260423T223421Z.json +0 -0
  80. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/fixtures/ai_papers.json +0 -0
  81. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/generate_cover.py +0 -0
  82. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/multiprompt_sweep.py +0 -0
  83. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/plot.py +0 -0
  84. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/sweep.py +0 -0
  85. {citeformer-0.3.0 → citeformer-0.3.2}/benchmarks/threshold_calibration.py +0 -0
  86. {citeformer-0.3.0 → citeformer-0.3.2}/docs/conf.py +0 -0
  87. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/001-gbnf-over-lark.md +0 -0
  88. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/002-inline-markers-stay-numeric.md +0 -0
  89. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/003-bundle-five-csl-styles.md +0 -0
  90. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/004-citeproc-rewrite.md +0 -0
  91. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/005-metadata-deps-in-main-install.md +0 -0
  92. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/006-vllm-excluded-from-all-extra.md +0 -0
  93. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/007-required-policy-progression-gap.md +0 -0
  94. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/008-generation-result-schema-v2.md +0 -0
  95. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/009-bounded-content-required.md +0 -0
  96. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/010-verification-report-schema-v3.md +0 -0
  97. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/011-configurable-marker-styles.md +0 -0
  98. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/012-generation-result-schema-v3.md +0 -0
  99. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/013-citation-rich-attribution.md +0 -0
  100. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/014-async-surface.md +0 -0
  101. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/015-defer-bedrock-vertex.md +0 -0
  102. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/016-defer-fine-grain-windowing.md +0 -0
  103. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/017-defer-cost-tables.md +0 -0
  104. {citeformer-0.3.0 → citeformer-0.3.2}/docs/decisions/index.md +0 -0
  105. {citeformer-0.3.0 → citeformer-0.3.2}/docs/development/dev-setup.md +0 -0
  106. {citeformer-0.3.0 → citeformer-0.3.2}/docs/development/releasing.md +0 -0
  107. {citeformer-0.3.0 → citeformer-0.3.2}/docs/getting-started.md +0 -0
  108. {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/api.md +0 -0
  109. {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/architecture.md +0 -0
  110. {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/contracts.md +0 -0
  111. {citeformer-0.3.0 → citeformer-0.3.2}/docs/reference/index.md +0 -0
  112. {citeformer-0.3.0 → citeformer-0.3.2}/docs/spec/v0.md +0 -0
  113. {citeformer-0.3.0 → citeformer-0.3.2}/docs/verification.md +0 -0
  114. {citeformer-0.3.0 → citeformer-0.3.2}/examples/01_quickstart_mock.py +0 -0
  115. {citeformer-0.3.0 → citeformer-0.3.2}/examples/02_rag_with_hf_and_verify.py +0 -0
  116. {citeformer-0.3.0 → citeformer-0.3.2}/examples/03_standalone_rendering.py +0 -0
  117. {citeformer-0.3.0 → citeformer-0.3.2}/examples/04_fetch_and_render.py +0 -0
  118. {citeformer-0.3.0 → citeformer-0.3.2}/examples/05_streaming.py +0 -0
  119. {citeformer-0.3.0 → citeformer-0.3.2}/examples/06_langchain_rag.py +0 -0
  120. {citeformer-0.3.0 → citeformer-0.3.2}/examples/07_llamaindex_rag.py +0 -0
  121. {citeformer-0.3.0 → citeformer-0.3.2}/examples/08_literature_review.ipynb +0 -0
  122. {citeformer-0.3.0 → citeformer-0.3.2}/examples/09_bibtex_source.py +0 -0
  123. {citeformer-0.3.0 → citeformer-0.3.2}/examples/README.md +0 -0
  124. {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/README.md +0 -0
  125. {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/app.py +0 -0
  126. {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/deploy.sh +0 -0
  127. {citeformer-0.3.0 → citeformer-0.3.2}/hf-space/requirements.txt +0 -0
  128. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/__init__.py +0 -0
  129. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/__init__.py +0 -0
  130. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/anthropic.py +0 -0
  131. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/base.py +0 -0
  132. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/fireworks.py +0 -0
  133. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/gemini.py +0 -0
  134. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/hf.py +0 -0
  135. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/llamacpp.py +0 -0
  136. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/mistral.py +0 -0
  137. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/mock.py +0 -0
  138. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/openai.py +0 -0
  139. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/openrouter.py +0 -0
  140. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/together.py +0 -0
  141. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/backends/vllm.py +0 -0
  142. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/citeformer.py +0 -0
  143. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/cli/__init__.py +0 -0
  144. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/cli/app.py +0 -0
  145. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/core.py +0 -0
  146. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/csl.py +0 -0
  147. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/grammar/__init__.py +0 -0
  148. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/grammar/builder.py +0 -0
  149. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/integrations/__init__.py +0 -0
  150. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/integrations/langchain.py +0 -0
  151. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/integrations/llamaindex.py +0 -0
  152. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/__init__.py +0 -0
  153. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/arxiv.py +0 -0
  154. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/bibtex.py +0 -0
  155. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/cache.py +0 -0
  156. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/crossref.py +0 -0
  157. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/pdf.py +0 -0
  158. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/url.py +0 -0
  159. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/metadata/zotero.py +0 -0
  160. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/prompts.py +0 -0
  161. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/py.typed +0 -0
  162. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/__init__.py +0 -0
  163. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/csl.py +0 -0
  164. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/__init__.py +0 -0
  165. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/_base.py +0 -0
  166. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/apa.py +0 -0
  167. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/chicago.py +0 -0
  168. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/ieee.py +0 -0
  169. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/mla.py +0 -0
  170. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/nature.py +0 -0
  171. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/formatters/vancouver.py +0 -0
  172. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/render/styles.py +0 -0
  173. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/__init__.py +0 -0
  174. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/coverage.py +0 -0
  175. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/entailment.py +0 -0
  176. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/existence.py +0 -0
  177. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/nli.py +0 -0
  178. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/report.py +0 -0
  179. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/sentences.py +0 -0
  180. {citeformer-0.3.0 → citeformer-0.3.2}/src/citeformer/verify/verifier.py +0 -0
  181. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/__init__.py +0 -0
  182. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_api_backends_live.py +0 -0
  183. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_env_connectivity.py +0 -0
  184. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_hf_backend.py +0 -0
  185. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_integrations_real_libs.py +0 -0
  186. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_llamacpp_backend.py +0 -0
  187. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_schemas/test_generation_result_canonical_snapshot.yml +0 -0
  188. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_schemas/test_verification_report_canonical_snapshot.yml +0 -0
  189. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_schemas.py +0 -0
  190. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_verify_nli.py +0 -0
  191. {citeformer-0.3.0 → citeformer-0.3.2}/tests/integration/test_vllm_backend.py +0 -0
  192. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_extract_url_returns_metadata_and_content.yaml +0 -0
  193. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_arxiv_returns_csl_json_with_abstract.yaml +0 -0
  194. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_arxiv_strips_version_suffix.yaml +0 -0
  195. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_crossref_accepts_url_and_prefixed_forms.yaml +0 -0
  196. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_fetch_crossref_returns_csl_json.yaml +0 -0
  197. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_source_from_arxiv_puts_abstract_in_content.yaml +0 -0
  198. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_source_from_doi_builds_source.yaml +0 -0
  199. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/cassettes/test_source_from_url_builds_source.yaml +0 -0
  200. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_alce_metrics.py +0 -0
  201. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_api_backends.py +0 -0
  202. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_async_surface.py +0 -0
  203. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_backend_conformance.py +0 -0
  204. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_backends_mock.py +0 -0
  205. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_bibtex_zotero.py +0 -0
  206. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_citeformer.py +0 -0
  207. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_cli.py +0 -0
  208. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_core.py +0 -0
  209. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_csl_validation.py +0 -0
  210. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_dedupe.py +0 -0
  211. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_fireworks_together_backends.py +0 -0
  212. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_formatters.py +0 -0
  213. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_formatters_edge_cases.py +0 -0
  214. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_fuzz.py +0 -0
  215. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_gemini_mistral_backends.py +0 -0
  216. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_auto_snapshot.yml +0 -0
  217. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_quotes_only_snapshot.yml +0 -0
  218. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_required_custom_bound_snapshot.yml +0 -0
  219. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_required_snapshot.yml +0 -0
  220. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_required_unbounded_snapshot.yml +0 -0
  221. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder/test_grammar_scales_cite_id_with_n_sources.yml +0 -0
  222. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_grammar_builder.py +0 -0
  223. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_integrations.py +0 -0
  224. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_marker_styles.py +0 -0
  225. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_metadata_cache.py +0 -0
  226. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_metadata_fetchers.py +0 -0
  227. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_metadata_pdf.py +0 -0
  228. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_nli_chunking.py +0 -0
  229. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_openrouter_backend.py +0 -0
  230. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_pdf_grobid.py +0 -0
  231. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_prompts.py +0 -0
  232. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_apa_7.yml +0 -0
  233. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_chicago_author_date.yml +0 -0
  234. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_ieee.yml +0 -0
  235. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_mla_9.yml +0 -0
  236. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_nature.yml +0 -0
  237. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_csl/test_render_snapshot_vancouver.yml +0 -0
  238. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_render_styles.py +0 -0
  239. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_streaming.py +0 -0
  240. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_verify.py +0 -0
  241. {citeformer-0.3.0 → citeformer-0.3.2}/tests/unit/test_version.py +0 -0
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Bump version in _version.py and move [Unreleased] → [X.Y.Z] in CHANGELOG. Stops before commit.
2
+ description: Bump version in _version.py + CITATION.cff and move [Unreleased] → [X.Y.Z] in CHANGELOG. Stops before commit.
3
3
  argument-hint: "[patch|minor|major]"
4
4
  ---
5
5
 
@@ -14,7 +14,11 @@ Bump the citeformer version. Usage: `/bump patch` (or `minor`, or `major`).
14
14
  5. Rename the `## [Unreleased]` section to `## [X.Y.Z] — YYYY-MM-DD` using today's date (UTC).
15
15
  6. Insert a new empty `## [Unreleased]` section above it.
16
16
  7. Update the compare link at the bottom: `[Unreleased]: .../compare/vX.Y.Z...HEAD` and add `[X.Y.Z]: .../releases/tag/vX.Y.Z`.
17
- 8. Print a summary: old version, new version, dated entries.
17
+ 8. Update `CITATION.cff` at repo root:
18
+ - Replace the `version: ...` line with `version: X.Y.Z`.
19
+ - Replace the `date-released: ...` line with `date-released: YYYY-MM-DD` (same UTC date as CHANGELOG).
20
+ - Don't touch any other field. Validate with `cffconvert --validate -i CITATION.cff` if available; if not, just sanity-check that the file is still valid YAML.
21
+ 9. Print a summary: old version, new version, dated entries, and the three files touched (`_version.py`, `CHANGELOG.md`, `CITATION.cff`).
18
22
 
19
23
  ## Stop before committing
20
24
 
@@ -8,8 +8,8 @@ End-to-end release flow for citeformer. Usage: `/release minor` (opens a PR) or
8
8
  ## Steps
9
9
 
10
10
  1. **Preflight** — run `/release-check` and confirm green. If anything fails, stop.
11
- 2. **Bump** — invoke `/bump <type>` to update `_version.py` + `CHANGELOG.md`.
12
- 3. **Commit** — stage `src/citeformer/_version.py` + `CHANGELOG.md`, commit with message `release: vX.Y.Z`.
11
+ 2. **Bump** — invoke `/bump <type>` to update `_version.py` + `CHANGELOG.md` + `CITATION.cff`.
12
+ 3. **Commit** — stage `src/citeformer/_version.py` + `CHANGELOG.md` + `CITATION.cff`, commit with message `release: vX.Y.Z`.
13
13
  4. **Tag** — create `vX.Y.Z` annotated tag locally.
14
14
  5. **Push**:
15
15
  - **Default (no flag)**: open a branch `release/vX.Y.Z`, push it, open a PR via `gh pr create` titled `release: vX.Y.Z` with the new changelog section as the body. Human review + merge required before the tag hits main. Tag lands when someone pushes it after merge.
@@ -12,7 +12,7 @@ Three files carry §10 contracts. Edits require a ceremony, not a silent commit.
12
12
  Changes the grammar shape (`cite-id` rule) or the semantics of a policy (`required` / `quotes_only` / `auto`).
13
13
 
14
14
  **Ceremony:**
15
- 1. Regenerate `tests/unit/test_grammar_builder.py` snapshots via `pytest --regen-all tests/unit/test_grammar_builder.py`.
15
+ 1. Regenerate `tests/unit/test_grammar_builder.py` snapshots via `pytest --force-regen tests/unit/test_grammar_builder.py`.
16
16
  2. Classify the change:
17
17
  - Adding a new policy → **minor** bump.
18
18
  - Changing an existing policy's semantics → **major** bump.
@@ -22,10 +22,10 @@ Changes the grammar shape (`cite-id` rule) or the semantics of a policy (`requir
22
22
 
23
23
  ## §10.2 — `src/citeformer/core.py` (`Source.metadata` type) + `src/citeformer/render/csl.py`
24
24
 
25
- Changes the expected CSL-JSON shape that `Source.metadata` must conform to (and that `citeproc-py` consumes).
25
+ Changes the expected CSL-JSON shape that `Source.metadata` must conform to (and that the home-grown formatters in `src/citeformer/render/formatters/` consume — see ADR-004).
26
26
 
27
27
  **Ceremony:**
28
- 1. Regenerate `tests/unit/test_csl_rendering.py` snapshots (`pytest --regen-all tests/unit/test_csl_rendering.py`).
28
+ 1. Regenerate the CSL rendering snapshots: `tests/unit/test_render_csl.py` (4 core CSL types × 6 styles) and `tests/unit/test_csl_suite.py` (50-case fixture × 6 formatters = 300 snapshots) via `pytest --force-regen tests/unit/test_render_csl.py tests/unit/test_csl_suite.py`; check `tests/unit/test_render_styles.py` (name registry + classification) still passes.
29
29
  2. Classify:
30
30
  - Passing through a new optional CSL field → **minor**.
31
31
  - Renaming / removing a field we read → **major**.
@@ -33,11 +33,11 @@ Changes the expected CSL-JSON shape that `Source.metadata` must conform to (and
33
33
 
34
34
  ## §10.3 — `GenerationResult` + `VerificationReport`
35
35
 
36
- Pydantic models with `schema_version: 1`. Any shape change bumps `schema_version` AND requires PR-description callout.
36
+ Pydantic models carrying `schema_version` (currently `3`). Any shape change bumps `schema_version` AND requires PR-description callout.
37
37
 
38
38
  **Ceremony:**
39
- 1. Bump `schema_version` on the owning model (1 → 2, etc.).
40
- 2. Update `tests/integration/test_generation_result_schema.py` or `test_verification_report_schema.py`.
39
+ 1. Bump `schema_version` on the owning model (3 → 4, etc.).
40
+ 2. Update the canonical-instance snapshots in `tests/integration/test_schemas.py` (covers both models; regen via `pytest --force-regen tests/integration/test_schemas.py`).
41
41
  3. Document migration path in CHANGELOG if the change is breaking.
42
42
  4. CHANGELOG + PR template as above.
43
43
 
@@ -8,7 +8,7 @@ body:
8
8
  value: |
9
9
  Thanks for filing! A reproducible example goes a long way — if you can hand over a 20-line script that triggers the issue, we can usually have a fix out within a patch release.
10
10
 
11
- **For security issues, please do NOT file here.** Email <blaise@ubik.studio> per [SECURITY.md](../SECURITY.md).
11
+ **For security issues, please do NOT file here.** Email <albisburdige@protonmail.com> per [SECURITY.md](../SECURITY.md).
12
12
  - type: input
13
13
  id: version
14
14
  attributes:
@@ -5,4 +5,4 @@ contact_links:
5
5
  about: Please ask usage questions in Discussions rather than opening an issue.
6
6
  - name: Security disclosure
7
7
  url: https://github.com/random-walks/citeformer/blob/main/SECURITY.md
8
- about: Please do NOT open a public issue for security reports. Email blaise@ubik.studio instead.
8
+ about: Please do NOT open a public issue for security reports. Email albisburdige@protonmail.com instead.
@@ -0,0 +1,23 @@
1
+ version: 2
2
+ updates:
3
+ # Python dependencies (pyproject.toml + uv.lock)
4
+ - package-ecosystem: "uv"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "monthly"
8
+ groups:
9
+ python-minor-patch:
10
+ update-types:
11
+ - "minor"
12
+ - "patch"
13
+
14
+ # GitHub Actions used by .github/workflows/
15
+ - package-ecosystem: "github-actions"
16
+ directory: "/"
17
+ schedule:
18
+ interval: "monthly"
19
+ groups:
20
+ actions-minor-patch:
21
+ update-types:
22
+ - "minor"
23
+ - "patch"
@@ -22,8 +22,8 @@ jobs:
22
22
  name: lint + type
23
23
  runs-on: ubuntu-latest
24
24
  steps:
25
- - uses: actions/checkout@v4
26
- - uses: astral-sh/setup-uv@v3
25
+ - uses: actions/checkout@v7
26
+ - uses: astral-sh/setup-uv@v10.4.2
27
27
  with:
28
28
  enable-cache: true
29
29
  # Include uv.lock so deps-locked reruns hit cache precisely.
@@ -50,8 +50,8 @@ jobs:
50
50
  python: "3.12"
51
51
  runs-on: ${{ matrix.os }}
52
52
  steps:
53
- - uses: actions/checkout@v4
54
- - uses: astral-sh/setup-uv@v3
53
+ - uses: actions/checkout@v7
54
+ - uses: astral-sh/setup-uv@v10.4.2
55
55
  with:
56
56
  enable-cache: true
57
57
  cache-dependency-glob: "pyproject.toml\nuv.lock"
@@ -76,25 +76,34 @@ jobs:
76
76
  # `--locked` asserts `uv.lock` is in sync with `pyproject.toml`
77
77
  # — a config-drift safety net that also lets the resolver skip
78
78
  # work on every run.
79
+ #
80
+ # llama-cpp-python ships sdist-only, so it compiles from source on
81
+ # macOS. The macOS runner image now carries Homebrew OpenSSL 4. The
82
+ # vendored cpp-httplib (llama.cpp's HTTPS model-download client)
83
+ # doesn't compile against it, so OpenSSL is turned off for that
84
+ # build. citeformer only loads local GGUF files and never uses
85
+ # llama.cpp's HTTPS downloader.
86
+ env:
87
+ CMAKE_ARGS: ${{ runner.os == 'macOS' && '-DLLAMA_OPENSSL=OFF' || '' }}
79
88
  run: uv sync --locked --extra dev --extra all --python ${{ matrix.python }}
80
89
 
81
90
  - name: pytest
82
91
  run: uv run pytest --cov=citeformer --cov-report=xml --cov-report=term
83
92
  - name: Upload coverage
84
93
  if: matrix.os == 'ubuntu-latest' && matrix.python == '3.12'
85
- uses: codecov/codecov-action@v4
94
+ uses: codecov/codecov-action@v7
86
95
  with:
87
96
  files: coverage.xml
88
- fail_ci_if_error: false
89
- continue-on-error: true
97
+ token: ${{ secrets.CODECOV_TOKEN }}
98
+ fail_ci_if_error: true
90
99
 
91
100
  docs:
92
101
  name: docs build
93
102
  needs: lint
94
103
  runs-on: ubuntu-latest
95
104
  steps:
96
- - uses: actions/checkout@v4
97
- - uses: astral-sh/setup-uv@v3
105
+ - uses: actions/checkout@v7
106
+ - uses: astral-sh/setup-uv@v10.4.2
98
107
  with:
99
108
  enable-cache: true
100
109
  cache-dependency-glob: "pyproject.toml\nuv.lock"
@@ -103,7 +112,7 @@ jobs:
103
112
  - name: Build Sphinx docs
104
113
  run: uv run sphinx-build -W --keep-going -b html docs docs/_build/html
105
114
  - name: Upload built docs
106
- uses: actions/upload-artifact@v4
115
+ uses: actions/upload-artifact@v7
107
116
  with:
108
117
  name: docs-html
109
118
  path: docs/_build/html/
@@ -12,8 +12,8 @@ jobs:
12
12
  name: Build sdist + wheel
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - uses: actions/checkout@v4
16
- - uses: astral-sh/setup-uv@v3
15
+ - uses: actions/checkout@v7
16
+ - uses: astral-sh/setup-uv@v10.4.2
17
17
  with:
18
18
  python-version: "3.12"
19
19
  - name: Build
@@ -21,7 +21,7 @@ jobs:
21
21
  - name: List distributions
22
22
  run: ls -lah dist/
23
23
  - name: Upload artifacts
24
- uses: actions/upload-artifact@v4
24
+ uses: actions/upload-artifact@v7
25
25
  with:
26
26
  name: dist
27
27
  path: dist/
@@ -36,7 +36,7 @@ jobs:
36
36
  permissions:
37
37
  id-token: write
38
38
  steps:
39
- - uses: actions/download-artifact@v4
39
+ - uses: actions/download-artifact@v8
40
40
  with:
41
41
  name: dist
42
42
  path: dist/
@@ -50,8 +50,8 @@ jobs:
50
50
  permissions:
51
51
  contents: write
52
52
  steps:
53
- - uses: actions/checkout@v4
54
- - uses: actions/download-artifact@v4
53
+ - uses: actions/checkout@v7
54
+ - uses: actions/download-artifact@v8
55
55
  with:
56
56
  name: dist
57
57
  path: dist/
@@ -2,7 +2,7 @@
2
2
 
3
3
  citeformer was authored by:
4
4
 
5
- - **[Blaise Albis-Burdige](https://blaiseab.com)** ([@blaiseab](https://github.com/blaiseab)) — design, implementation, benchmarks, docs.
5
+ - **[Blaise Albis-Burdige](https://blaiseoss.com)** ([@blaiseab](https://github.com/blaiseab)) — design, implementation, benchmarks, docs.
6
6
 
7
7
  Contributors welcome — open a PR and add your name here. See [CONTRIBUTING.md](CONTRIBUTING.md) for the dev loop.
8
8
 
@@ -6,6 +6,99 @@ Versioning policy: **patch bumps are cheap**. See [docs/development/releasing.md
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.2] — 2026-12-06
10
+
11
+ Patch release. Ships the security dependency refresh (core `pypdf`
12
+ floor raised to `>=6.21.4`, see below) that landed on main after 0.3.1,
13
+ plus the README / PyPI page corrections and the LICENSE re-attribution.
14
+ No public API or §10 contract changes.
15
+
16
+ ### Changed — docs and metadata accuracy pass
17
+
18
+ - README Status box said "v0.1.0 … Seven backends"; it now lists the
19
+ ten shipped backends and no longer hard-codes a version.
20
+ - Removed the "Try the live demo" link: the hosted HF Space returns
21
+ 401. The README now points at the `hf-space/` app, which runs
22
+ locally.
23
+ - Multi-prompt evidence row said 24 runs; the current sweep is 40
24
+ (4 prompts × 2 models × 5 seeds), matching `benchmarks/README.md`.
25
+ The Examples section now says nine examples, not eight.
26
+ - The API quickstart no longer says "both API backends are live-tested";
27
+ OpenAI and Anthropic are, the rest use fake-client coverage.
28
+ - Dropped "bulletproof" from the tagline, the PyPI summary and the
29
+ README docs index, and
30
+ removed unsourced statistics ("wrong 14–95% of the time", "3–13% of
31
+ cited URLs", "~50 NeurIPS papers") from the README and docs index.
32
+ - `docs/guarantees.md`: "All seven backends" → ten.
33
+ - `SECURITY.md` supported-versions table: 0.1.x → 0.3.x.
34
+ - Install block leads with `uv add`; `pip install` still works.
35
+ - Author website in README, `AUTHORS.md` and `CITATION.cff` is now
36
+ `https://blaiseoss.com`.
37
+
38
+ ### Changed — license attribution
39
+
40
+ - `LICENSE` copyright now reads Blaise Albis-Burdige (previously
41
+ Ubik, Inc., which has dissolved). No change to the license terms
42
+ (Apache-2.0). The sdist on PyPI picks this up from 0.3.2.
43
+ - Package author email and the security / conduct contact
44
+ (`pyproject.toml`, `CITATION.cff`, `SECURITY.md`,
45
+ `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, issue templates) moved to
46
+ `albisburdige@protonmail.com`.
47
+
48
+ ### Security — dependency refresh
49
+
50
+ - Raised the core `pypdf` floor from `>=5` to `>=6.21.4`. Older pypdf
51
+ releases carry critical/high advisories in the PDF parser, and
52
+ `Source.from_pdf` hands user-supplied PDFs to it on the default
53
+ install path. `pypdf` 7.x is allowed. citeformer only uses
54
+ `PdfReader`, `metadata`, `pages` and `extract_text`, which 7.0 did
55
+ not change.
56
+ - Refreshed `uv.lock` for transitive and extras-only packages with
57
+ critical/high advisories: pillow 13.0.0, certifi 2026.11.20,
58
+ anyio 4.16.0, pyjwt, jupyter-server, jupyterlab/notebook,
59
+ sentence-transformers, transformers, aiohttp, cryptography, mcp,
60
+ starlette, tornado, urllib3, virtualenv, lxml / lxml-html-clean, and
61
+ others. No other floors changed.
62
+ - The `vllm` extra stays at 0.19.1 in the lock. Moving to a fixed vllm
63
+ (>=0.32) also moves torch, xgrammar, mistralai (2 -> 3) and mcp
64
+ (1 -> 2) across every extra, so it needs its own change.
65
+
66
+ ## [0.3.1] — 2026-04-27
67
+
68
+ ### Fixed — PyPI page rendering
69
+
70
+ Cover image and ~30 inline links in the README pointed at relative
71
+ paths (e.g. `benchmarks/findings/figures/cover-annotated.png`,
72
+ `docs/reference/architecture.md`, `examples/01_quickstart_mock.py`).
73
+ PyPI does not rewrite relative paths in long-description markdown, so
74
+ the cover image returned 404 on the project page and every relative
75
+ link was a dead click. All image srcs are now absolute
76
+ `raw.githubusercontent.com` URLs; code/test/script links point to
77
+ `github.com/.../blob/main/...`; doc content already mirrored on Read
78
+ the Docs (architecture, contracts, ADRs) points to
79
+ `citeformer.readthedocs.io/en/stable/...` with anchors verified
80
+ against rendered HTML.
81
+
82
+ ### Added — CITATION.cff
83
+
84
+ New `CITATION.cff` at repo root (CFF schema 1.2.0). Validates with
85
+ `cffconvert --validate`. Enables GitHub's "Cite this repository"
86
+ widget and BibTeX/APA exports — appropriate for an academic-shaped
87
+ library that ships a `PREPRINT.md`. The `/bump` slash-command is
88
+ extended to keep `version` + `date-released` in `CITATION.cff` in
89
+ lockstep with `_version.py` + `CHANGELOG.md`, so the three
90
+ release-stamped files cannot drift via the slash-command path.
91
+
92
+ ### Changed — codecov upload reliability
93
+
94
+ `.github/workflows/ci.yml`: bump `codecov/codecov-action` v4 → v5
95
+ (per codecov's current recommendation), require `CODECOV_TOKEN`
96
+ (now set as a repo secret), drop the `continue-on-error: true`
97
+ masking, and flip `fail_ci_if_error` to `true`. Coverage upload
98
+ failures are now visible instead of silently swallowed; the
99
+ codecov badge flips from "unknown" to a percentage on the next
100
+ clean run.
101
+
9
102
  ## [0.3.0] — 2026-04-25
10
103
 
11
104
  ### Added — async surface, ADRs 014-017
@@ -1209,5 +1302,7 @@ the guarantee on a real (tiny) model — ``gpt2`` via MPS/CPU.
1209
1302
  - §10.2 CSL metadata: not yet implemented (lands in P3).
1210
1303
  - §10.3 output schemas: not yet implemented (lands in P1).
1211
1304
 
1212
- [Unreleased]: https://github.com/random-walks/citeformer/compare/v0.3.0...HEAD
1305
+ [Unreleased]: https://github.com/random-walks/citeformer/compare/v0.3.2...HEAD
1306
+ [0.3.2]: https://github.com/random-walks/citeformer/releases/tag/v0.3.2
1307
+ [0.3.1]: https://github.com/random-walks/citeformer/releases/tag/v0.3.1
1213
1308
  [0.3.0]: https://github.com/random-walks/citeformer/releases/tag/v0.3.0
@@ -0,0 +1,25 @@
1
+ cff-version: 1.2.0
2
+ message: "If you use citeformer in academic work, please cite it."
3
+ title: "citeformer: structurally unforgeable citations from language models"
4
+ abstract: >-
5
+ A Python library that makes citation fabrication structurally impossible
6
+ at the logit level via grammar-constrained decoding, with deterministic
7
+ CSL bibliography rendering and NLI-based claim verification.
8
+ type: software
9
+ authors:
10
+ - family-names: Albis-Burdige
11
+ given-names: Blaise
12
+ email: albisburdige@protonmail.com
13
+ website: https://blaiseoss.com
14
+ license: Apache-2.0
15
+ repository-code: "https://github.com/random-walks/citeformer"
16
+ url: "https://citeformer.readthedocs.io"
17
+ version: 0.3.2
18
+ date-released: 2026-12-06
19
+ keywords:
20
+ - large-language-models
21
+ - retrieval-augmented-generation
22
+ - constrained-decoding
23
+ - citation-verification
24
+ - structured-output
25
+ - hallucination-mitigation
@@ -11,8 +11,8 @@ One-screen brief for Claude Code working in this repo. Canonical wider guide is
11
11
  Three §10 contracts (full detail: [`docs/reference/contracts.md`](docs/reference/contracts.md)). Touching any is a deliberate ceremony.
12
12
 
13
13
  1. **§10.1 — Citation marker grammar.** `cite-id ::= "[" <digits> "]"` (GBNF) + `required` / `quotes_only` / `auto` policies. Lives in `src/citeformer/grammar/`. Changing the marker shape or policy semantics = **major** bump.
14
- 2. **§10.2 — `Source.metadata` CSL-JSON shape.** The shape consumed by the home-grown render layer (and still CSL-JSON compliant for external tooling). Additive fields = minor; renames or removals = major. Regression snapshot in `tests/unit/test_csl_rendering.py`.
15
- 3. **§10.3 — Output schemas.** `GenerationResult` + `VerificationReport` pydantic models carry `schema_version: 1`. Any shape change bumps `schema_version`.
14
+ 2. **§10.2 — `Source.metadata` CSL-JSON shape.** The shape consumed by the home-grown render layer (and still CSL-JSON compliant for external tooling). Additive fields = minor; renames or removals = major. Regression snapshots in `tests/unit/test_render_csl.py` (4 core CSL types × 6 styles) and `tests/unit/test_csl_suite.py` (50-case fixture × 6 formatters = 300 snapshots).
15
+ 3. **§10.3 — Output schemas.** `GenerationResult` + `VerificationReport` pydantic models carry `schema_version` (currently `3`, pinned by `tests/integration/test_schemas.py`). Any shape change bumps `schema_version`.
16
16
 
17
17
  Before editing `src/citeformer/grammar/`, `src/citeformer/core.py`, or `src/citeformer/verify/report.py` — run `/contract-check` on your diff.
18
18
 
@@ -65,22 +65,28 @@ make release-check # preflight for tag push
65
65
 
66
66
  ## Phase status
67
67
 
68
- v0.1.0 shipped to PyPI on 2026-04-24. Current branch is
69
- `feat/post-release-expansion` — patch-level additions (Gemini + Mistral
70
- backends, ALCE harness, GROBID extractor, PREPRINT). Phase breakdown in
68
+ Current release: **v0.3.1** (PyPI, 2026-04-27; see
69
+ `src/citeformer/_version.py` and `CHANGELOG.md`). Work happens on `main`
70
+ via short-lived feature branches. Phase breakdown in
71
71
  [`docs/reference/architecture.md`](docs/reference/architecture.md).
72
72
 
73
73
  - **P0–P6** — scaffolding through NLI verification. ✅
74
74
  - **Polish** — REQUIRED progression fix (ADR-009), CLI, examples as
75
75
  living reports. ✅
76
- - **Expansion** — marker shapes (ADR-011), seven backends (HF / vLLM /
77
- llama.cpp / OpenAI / Anthropic / Gemini / Mistral), six metadata
78
- adapters (DOI / arXiv / PDF via pypdf or GROBID / URL / BibTeX /
79
- Zotero), threshold calibration, multi-prompt + ALCE benchmarks,
76
+ - **Expansion** — marker shapes (ADR-011), backends, metadata adapters
77
+ (DOI / arXiv / PDF via pypdf or GROBID / URL / BibTeX / Zotero),
78
+ threshold calibration, multi-prompt + ALCE benchmarks,
80
79
  literature-review notebook, HF Space demo. ✅
81
- - **P7** — v0.1.0 PyPI release. ✅
82
- - **Next** — v0.2 scope TBD. Candidate: full-ALCE reproducibility,
83
- streaming refinements, per-chunk NLI during generation.
80
+ - **P7** — v0.1.0 PyPI release (2026-04-24). ✅
81
+ - **v0.2.0** — Gemini + Mistral backends, richer PDF extraction, ALCE
82
+ harness. ✅
83
+ - **v0.3.0** — async surface end-to-end (ADRs 014–017), OpenRouter +
84
+ Fireworks + Together backends (ten backends total), token-usage on
85
+ results. ✅
86
+ - **v0.3.1** — PyPI page link fixes, `CITATION.cff`, codecov upload
87
+ reliability. ✅
88
+ - **Next** — scope TBD. Candidates: full-ALCE reproducibility, streaming
89
+ refinements, per-chunk NLI during generation.
84
90
 
85
91
  ## Versioning policy
86
92
 
@@ -36,7 +36,7 @@ This Code of Conduct applies within all community spaces, and also applies when
36
36
 
37
37
  ## Enforcement
38
38
 
39
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the maintainer at **<blaise@ubik.studio>**. All complaints will be reviewed and investigated promptly and fairly.
39
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the maintainer at **<albisburdige@protonmail.com>**. All complaints will be reviewed and investigated promptly and fairly.
40
40
 
41
41
  All maintainers are obligated to respect the privacy and security of the reporter of any incident.
42
42
 
@@ -61,4 +61,4 @@ For security issues, follow the disclosure process in [SECURITY.md](SECURITY.md)
61
61
 
62
62
  ## Code of conduct
63
63
 
64
- This project follows the [Contributor Covenant](CODE_OF_CONDUCT.md). Be kind. Assume good faith. If someone's being uncivil, email <blaise@ubik.studio>; we'll handle it.
64
+ This project follows the [Contributor Covenant](CODE_OF_CONDUCT.md). Be kind. Assume good faith. If someone's being uncivil, email <albisburdige@protonmail.com>; we'll handle it.
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright 2026 Blaise Albis-Burdige and citeformer contributors
189
+ Copyright 2023-2026 Blaise Albis-Burdige
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.