linkedparticles 1.151.18__tar.gz → 1.187.3__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 (1071) hide show
  1. linkedparticles-1.187.3/PKG-INFO +320 -0
  2. linkedparticles-1.187.3/alembic/versions/041_snapshot_extraction_attempts.py +57 -0
  3. linkedparticles-1.187.3/alembic/versions/042_born_retired.py +140 -0
  4. linkedparticles-1.187.3/alembic/versions/043_snapshot_extracted_through.py +45 -0
  5. linkedparticles-1.187.3/alembic/versions/044_probe_verdicts.py +58 -0
  6. linkedparticles-1.187.3/alembic/versions/045_snapshot_extraction_components.py +45 -0
  7. linkedparticles-1.187.3/alembic/versions/046_probe_verdict_answer.py +38 -0
  8. linkedparticles-1.187.3/alembic/versions/047_snapshot_resume_whole.py +53 -0
  9. linkedparticles-1.187.3/alembic/versions/048_vocabulary_documents.py +60 -0
  10. linkedparticles-1.187.3/alembic/versions/049_modality_stamp.py +66 -0
  11. linkedparticles-1.187.3/alembic/versions/050_session_exposures.py +48 -0
  12. linkedparticles-1.187.3/artifacts/conformance/README.md +174 -0
  13. linkedparticles-1.187.3/artifacts/conformance/profile.yaml +606 -0
  14. linkedparticles-1.187.3/artifacts/openapi.json +10480 -0
  15. linkedparticles-1.187.3/artifacts/schemas/particle.schema.json +396 -0
  16. linkedparticles-1.187.3/artifacts/schemas/shacl/ParticleShape.ttl +374 -0
  17. linkedparticles-1.187.3/artifacts/schemas/trust_lens.schema.json +335 -0
  18. linkedparticles-1.187.3/config.yaml.sample +2720 -0
  19. linkedparticles-1.187.3/constraints.txt +469 -0
  20. linkedparticles-1.187.3/particles/_orm_modules.py +43 -0
  21. linkedparticles-1.187.3/particles/api/app.py +2814 -0
  22. linkedparticles-1.187.3/particles/api/cli/__init__.py +413 -0
  23. linkedparticles-1.187.3/particles/api/cli/_claude_code.py +1996 -0
  24. linkedparticles-1.187.3/particles/api/cli/_memory_projection.py +432 -0
  25. linkedparticles-1.187.3/particles/api/cli/_progress.py +254 -0
  26. linkedparticles-1.187.3/particles/api/cli/audit.py +712 -0
  27. linkedparticles-1.187.3/particles/api/cli/benchmark.py +1643 -0
  28. linkedparticles-1.187.3/particles/api/cli/config.py +113 -0
  29. linkedparticles-1.187.3/particles/api/cli/corpus.py +1121 -0
  30. linkedparticles-1.187.3/particles/api/cli/curate.py +673 -0
  31. linkedparticles-1.187.3/particles/api/cli/db.py +122 -0
  32. linkedparticles-1.187.3/particles/api/cli/deposit.py +371 -0
  33. linkedparticles-1.187.3/particles/api/cli/export.py +438 -0
  34. linkedparticles-1.187.3/particles/api/cli/extract.py +553 -0
  35. linkedparticles-1.187.3/particles/api/cli/extractor.py +2566 -0
  36. linkedparticles-1.187.3/particles/api/cli/hook.py +1338 -0
  37. linkedparticles-1.187.3/particles/api/cli/inbox.py +200 -0
  38. linkedparticles-1.187.3/particles/api/cli/init.py +867 -0
  39. linkedparticles-1.187.3/particles/api/cli/links.py +664 -0
  40. linkedparticles-1.187.3/particles/api/cli/lint.py +207 -0
  41. linkedparticles-1.187.3/particles/api/cli/mcp.py +175 -0
  42. linkedparticles-1.187.3/particles/api/cli/memory.py +1376 -0
  43. linkedparticles-1.187.3/particles/api/cli/modality.py +129 -0
  44. linkedparticles-1.187.3/particles/api/cli/particle.py +661 -0
  45. linkedparticles-1.187.3/particles/api/cli/quality.py +90 -0
  46. linkedparticles-1.187.3/particles/api/cli/query.py +649 -0
  47. linkedparticles-1.187.3/particles/api/cli/reconcile.py +144 -0
  48. linkedparticles-1.187.3/particles/api/cli/reindex.py +335 -0
  49. linkedparticles-1.187.3/particles/api/cli/review.py +312 -0
  50. linkedparticles-1.187.3/particles/api/cli/rules.py +327 -0
  51. linkedparticles-1.187.3/particles/api/cli/structure.py +123 -0
  52. linkedparticles-1.187.3/particles/api/cli/subjects.py +707 -0
  53. linkedparticles-1.187.3/particles/api/cli/synthesis_cache.py +181 -0
  54. linkedparticles-1.187.3/particles/api/cli/vocab.py +597 -0
  55. linkedparticles-1.187.3/particles/api/client/base.py +612 -0
  56. linkedparticles-1.187.3/particles/api/client/http.py +979 -0
  57. linkedparticles-1.187.3/particles/api/client/local.py +931 -0
  58. linkedparticles-1.187.3/particles/api/daemon.py +454 -0
  59. linkedparticles-1.187.3/particles/benchmark/equivalence.py +351 -0
  60. linkedparticles-1.187.3/particles/benchmark/leakage/__init__.py +86 -0
  61. linkedparticles-1.187.3/particles/benchmark/leakage/metrics.py +303 -0
  62. linkedparticles-1.187.3/particles/benchmark/leakage/render.py +106 -0
  63. linkedparticles-1.187.3/particles/benchmark/leakage/runner.py +763 -0
  64. linkedparticles-1.187.3/particles/benchmark/leakage/schema.py +254 -0
  65. linkedparticles-1.187.3/particles/benchmark/loader.py +320 -0
  66. linkedparticles-1.187.3/particles/benchmark/memory/loader.py +321 -0
  67. linkedparticles-1.187.3/particles/benchmark/memory/runner.py +3118 -0
  68. linkedparticles-1.187.3/particles/benchmark/metrics.py +130 -0
  69. linkedparticles-1.187.3/particles/benchmark/observer/oracle.py +192 -0
  70. linkedparticles-1.187.3/particles/benchmark/observer/runner.py +586 -0
  71. linkedparticles-1.187.3/particles/benchmark/relevance_floor/runner.py +610 -0
  72. linkedparticles-1.187.3/particles/benchmark/resolution.py +423 -0
  73. linkedparticles-1.187.3/particles/benchmark/rot/__init__.py +103 -0
  74. linkedparticles-1.187.3/particles/benchmark/rot/oracle.py +226 -0
  75. linkedparticles-1.187.3/particles/benchmark/rot/real_pairs.py +106 -0
  76. linkedparticles-1.187.3/particles/benchmark/rot/render.py +131 -0
  77. linkedparticles-1.187.3/particles/benchmark/rot/runner.py +844 -0
  78. linkedparticles-1.187.3/particles/benchmark/rot/schema.py +382 -0
  79. linkedparticles-1.187.3/particles/benchmark/runner.py +676 -0
  80. linkedparticles-1.187.3/particles/corpus/deposit.py +1689 -0
  81. linkedparticles-1.187.3/particles/corpus/store.py +1430 -0
  82. linkedparticles-1.187.3/particles/db.py +538 -0
  83. linkedparticles-1.187.3/particles/exporters/logseq/exporter.py +77 -0
  84. linkedparticles-1.187.3/particles/exporters/logseq/vault.py +590 -0
  85. linkedparticles-1.187.3/particles/exporters/markdown.py +68 -0
  86. linkedparticles-1.187.3/particles/exporters/notion.py +548 -0
  87. linkedparticles-1.187.3/particles/exporters/obsidian/exporter.py +74 -0
  88. linkedparticles-1.187.3/particles/exporters/obsidian/vault.py +1109 -0
  89. linkedparticles-1.187.3/particles/ingest/agent_extraction.py +376 -0
  90. linkedparticles-1.187.3/particles/ingest/append_base.py +312 -0
  91. linkedparticles-1.187.3/particles/ingest/artifact_namespace.py +75 -0
  92. linkedparticles-1.187.3/particles/ingest/authorities/__init__.py +42 -0
  93. linkedparticles-1.187.3/particles/ingest/authorities/artifact.py +111 -0
  94. linkedparticles-1.187.3/particles/ingest/authorities/registry.py +236 -0
  95. linkedparticles-1.187.3/particles/ingest/authorities/wikidata.py +609 -0
  96. linkedparticles-1.187.3/particles/ingest/authorities/wikidata_judge.py +311 -0
  97. linkedparticles-1.187.3/particles/ingest/conflict_plan.py +378 -0
  98. linkedparticles-1.187.3/particles/ingest/duplicate_suppression.py +232 -0
  99. linkedparticles-1.187.3/particles/ingest/narrative_merge.py +144 -0
  100. linkedparticles-1.187.3/particles/ingest/pair_selection.py +501 -0
  101. linkedparticles-1.187.3/particles/ingest/partial_read.py +209 -0
  102. linkedparticles-1.187.3/particles/ingest/pipeline.py +3478 -0
  103. linkedparticles-1.187.3/particles/ingest/second_reading.py +667 -0
  104. linkedparticles-1.187.3/particles/ingest/source_passage.py +322 -0
  105. linkedparticles-1.187.3/particles/ingest/subject_resolver.py +679 -0
  106. linkedparticles-1.187.3/particles/ingest/update_supersession.py +480 -0
  107. linkedparticles-1.187.3/particles/mcp/memory_compat/server.py +610 -0
  108. linkedparticles-1.187.3/particles/mcp/server.py +197 -0
  109. linkedparticles-1.187.3/particles/mcp/tools/diagnostics.py +28 -0
  110. linkedparticles-1.187.3/particles/mcp/tools/query.py +211 -0
  111. linkedparticles-1.187.3/particles/mcp/tools/write.py +405 -0
  112. linkedparticles-1.187.3/particles/network_posture.py +221 -0
  113. linkedparticles-1.187.3/particles/observability/setup.py +340 -0
  114. linkedparticles-1.187.3/particles/operations/_llm.py +45 -0
  115. linkedparticles-1.187.3/particles/operations/_quarantine.py +162 -0
  116. linkedparticles-1.187.3/particles/operations/abstraction.py +1157 -0
  117. linkedparticles-1.187.3/particles/operations/agent_write.py +764 -0
  118. linkedparticles-1.187.3/particles/operations/audit.py +1802 -0
  119. linkedparticles-1.187.3/particles/operations/candidate_pairs.py +180 -0
  120. linkedparticles-1.187.3/particles/operations/closure_measure.py +334 -0
  121. linkedparticles-1.187.3/particles/operations/consolidation.py +4038 -0
  122. linkedparticles-1.187.3/particles/operations/consolidation_plan.py +563 -0
  123. linkedparticles-1.187.3/particles/operations/contradiction_disclosure.py +978 -0
  124. linkedparticles-1.187.3/particles/operations/curation/__init__.py +66 -0
  125. linkedparticles-1.187.3/particles/operations/curation/cards.py +492 -0
  126. linkedparticles-1.187.3/particles/operations/curation/collect.py +350 -0
  127. linkedparticles-1.187.3/particles/operations/curation/leverage.py +272 -0
  128. linkedparticles-1.187.3/particles/operations/curation/precision.py +638 -0
  129. linkedparticles-1.187.3/particles/operations/curation/rulings.py +266 -0
  130. linkedparticles-1.187.3/particles/operations/curation/session.py +954 -0
  131. linkedparticles-1.187.3/particles/operations/curation/snapshot.py +687 -0
  132. linkedparticles-1.187.3/particles/operations/digest.py +145 -0
  133. linkedparticles-1.187.3/particles/operations/entailment.py +180 -0
  134. linkedparticles-1.187.3/particles/operations/extract.py +33 -0
  135. linkedparticles-1.187.3/particles/operations/graph_view.py +1016 -0
  136. linkedparticles-1.187.3/particles/operations/held_release.py +566 -0
  137. linkedparticles-1.187.3/particles/operations/inbox.py +172 -0
  138. linkedparticles-1.187.3/particles/operations/links_suggest.py +1151 -0
  139. linkedparticles-1.187.3/particles/operations/lint/contestedness.py +375 -0
  140. linkedparticles-1.187.3/particles/operations/lint/contradictions.py +840 -0
  141. linkedparticles-1.187.3/particles/operations/lint/granularity.py +100 -0
  142. linkedparticles-1.187.3/particles/operations/lint/modality.py +130 -0
  143. linkedparticles-1.187.3/particles/operations/lint/open_inconsistency.py +161 -0
  144. linkedparticles-1.187.3/particles/operations/lint/orchestrator.py +183 -0
  145. linkedparticles-1.187.3/particles/operations/lint/retirement.py +81 -0
  146. linkedparticles-1.187.3/particles/operations/lint/staleness.py +244 -0
  147. linkedparticles-1.187.3/particles/operations/llm_spend.py +225 -0
  148. linkedparticles-1.187.3/particles/operations/modality.py +676 -0
  149. linkedparticles-1.187.3/particles/operations/paraphrases.py +482 -0
  150. linkedparticles-1.187.3/particles/operations/probe_ledger.py +62 -0
  151. linkedparticles-1.187.3/particles/operations/quality.py +95 -0
  152. linkedparticles-1.187.3/particles/operations/query/as_of.py +324 -0
  153. linkedparticles-1.187.3/particles/operations/query/contested.py +212 -0
  154. linkedparticles-1.187.3/particles/operations/query/grounding.py +274 -0
  155. linkedparticles-1.187.3/particles/operations/query/main.py +1083 -0
  156. linkedparticles-1.187.3/particles/operations/query/respond.py +289 -0
  157. linkedparticles-1.187.3/particles/operations/query/structural.py +618 -0
  158. linkedparticles-1.187.3/particles/operations/query/vocabulary_report.py +161 -0
  159. linkedparticles-1.187.3/particles/operations/reanchor.py +1198 -0
  160. linkedparticles-1.187.3/particles/operations/reconcile.py +950 -0
  161. linkedparticles-1.187.3/particles/operations/reindex.py +943 -0
  162. linkedparticles-1.187.3/particles/operations/reindex_estimate.py +583 -0
  163. linkedparticles-1.187.3/particles/operations/reindex_scope.py +251 -0
  164. linkedparticles-1.187.3/particles/operations/review.py +351 -0
  165. linkedparticles-1.187.3/particles/operations/source_passage.py +36 -0
  166. linkedparticles-1.187.3/particles/operations/spend_estimate.py +217 -0
  167. linkedparticles-1.187.3/particles/operations/subject_relink.py +446 -0
  168. linkedparticles-1.187.3/particles/operations/utility_exposure.py +472 -0
  169. linkedparticles-1.187.3/particles/operations/utility_mining.py +1000 -0
  170. linkedparticles-1.187.3/particles/operations/vocabulary.py +632 -0
  171. linkedparticles-1.187.3/particles/render/article_synthesis/cache.py +406 -0
  172. linkedparticles-1.187.3/particles/store/curation_snapshot_store.py +202 -0
  173. linkedparticles-1.187.3/particles/store/event_store.py +610 -0
  174. linkedparticles-1.187.3/particles/store/lens_store.py +426 -0
  175. linkedparticles-1.187.3/particles/store/particle_store.py +2414 -0
  176. linkedparticles-1.187.3/particles/store/probe_verdict_store.py +256 -0
  177. linkedparticles-1.187.3/particles/store/session_exposure_store.py +183 -0
  178. linkedparticles-1.187.3/particles/store/subject_store.py +1153 -0
  179. linkedparticles-1.187.3/particles/store/utility_store.py +293 -0
  180. linkedparticles-1.187.3/particles/store/vocabulary_store.py +311 -0
  181. linkedparticles-1.187.3/particles/store/wikidata_cache.py +96 -0
  182. linkedparticles-1.187.3/pyproject.toml +289 -0
  183. linkedparticles-1.187.3/tests/_claude_projects.py +83 -0
  184. linkedparticles-1.187.3/tests/_client_fixtures.py +318 -0
  185. linkedparticles-1.187.3/tests/_write_probe.py +37 -0
  186. linkedparticles-1.187.3/tests/benchmark/abstraction/premise-scope-negative-001.yaml +58 -0
  187. linkedparticles-1.187.3/tests/benchmark/escalation/prose-holdout-001.yaml +1229 -0
  188. linkedparticles-1.187.3/tests/benchmark/resolution/ordinary-prose-001.yaml +138 -0
  189. linkedparticles-1.187.3/tests/benchmark/suites/prose-article-seed-001.yaml +1166 -0
  190. linkedparticles-1.187.3/tests/conftest.py +344 -0
  191. linkedparticles-1.187.3/tests/fixtures/ledgerly/session-03.md +9 -0
  192. linkedparticles-1.187.3/tests/fixtures/ledgerly/session-09.md +7 -0
  193. linkedparticles-1.187.3/tests/fixtures/moved_city/session-04.md +9 -0
  194. linkedparticles-1.187.3/tests/fixtures/moved_city/session-07.md +9 -0
  195. linkedparticles-1.187.3/tests/fixtures/reanchor/cases.json +300 -0
  196. linkedparticles-1.187.3/tests/fixtures/reanchor/trip_plans.json +193 -0
  197. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-04.md +7 -0
  198. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-11.md +7 -0
  199. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-12-moved.md +5 -0
  200. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-12.md +5 -0
  201. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-13.md +5 -0
  202. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-14.md +5 -0
  203. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-15.md +5 -0
  204. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-16.md +5 -0
  205. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/session-17.md +5 -0
  206. linkedparticles-1.187.3/tests/fixtures/trip_vs_move/window_questions.json +123 -0
  207. linkedparticles-1.187.3/tests/fixtures/update_probe/configuration_pairs.json +24 -0
  208. linkedparticles-1.187.3/tests/fixtures/update_probe/gate_pairs.json +53 -0
  209. linkedparticles-1.187.3/tests/fixtures/update_probe/gate_pairs_heldout.json +26 -0
  210. linkedparticles-1.187.3/tests/fixtures/update_probe/past_marker_heldout.json +25 -0
  211. linkedparticles-1.187.3/tests/fixtures/update_probe/past_value_pairs.json +24 -0
  212. linkedparticles-1.187.3/tests/fixtures/update_probe/stay_pairs.json +33 -0
  213. linkedparticles-1.187.3/tests/fixtures/update_probe/stay_pairs_heldout.json +20 -0
  214. linkedparticles-1.187.3/tests/mcp/tool-schema.json +716 -0
  215. linkedparticles-1.187.3/tests/test_abstraction.py +1221 -0
  216. linkedparticles-1.187.3/tests/test_abstraction_premise_scope.py +323 -0
  217. linkedparticles-1.187.3/tests/test_account_level_failure.py +324 -0
  218. linkedparticles-1.187.3/tests/test_agent_extraction_submit.py +328 -0
  219. linkedparticles-1.187.3/tests/test_agent_write_operator.py +469 -0
  220. linkedparticles-1.187.3/tests/test_api_client.py +816 -0
  221. linkedparticles-1.187.3/tests/test_app.py +2367 -0
  222. linkedparticles-1.187.3/tests/test_append_base.py +441 -0
  223. linkedparticles-1.187.3/tests/test_append_delta.py +203 -0
  224. linkedparticles-1.187.3/tests/test_artifact_authority.py +223 -0
  225. linkedparticles-1.187.3/tests/test_as_of.py +1055 -0
  226. linkedparticles-1.187.3/tests/test_audit.py +1934 -0
  227. linkedparticles-1.187.3/tests/test_benchmark_compare.py +359 -0
  228. linkedparticles-1.187.3/tests/test_benchmark_leakage.py +787 -0
  229. linkedparticles-1.187.3/tests/test_benchmark_memory.py +4270 -0
  230. linkedparticles-1.187.3/tests/test_benchmark_relevance_floor.py +804 -0
  231. linkedparticles-1.187.3/tests/test_benchmark_resolution.py +486 -0
  232. linkedparticles-1.187.3/tests/test_benchmark_rot.py +996 -0
  233. linkedparticles-1.187.3/tests/test_benchmark_runner.py +1322 -0
  234. linkedparticles-1.187.3/tests/test_benchmark_schema.py +743 -0
  235. linkedparticles-1.187.3/tests/test_calibration.py +690 -0
  236. linkedparticles-1.187.3/tests/test_calibration_integration.py +1769 -0
  237. linkedparticles-1.187.3/tests/test_calibration_version.py +302 -0
  238. linkedparticles-1.187.3/tests/test_candidate_pairs.py +300 -0
  239. linkedparticles-1.187.3/tests/test_claude_code_agent_asks.py +181 -0
  240. linkedparticles-1.187.3/tests/test_claude_code_binding.py +172 -0
  241. linkedparticles-1.187.3/tests/test_claude_code_hook.py +930 -0
  242. linkedparticles-1.187.3/tests/test_claude_code_init.py +783 -0
  243. linkedparticles-1.187.3/tests/test_cli.py +3332 -0
  244. linkedparticles-1.187.3/tests/test_cli_audit.py +1121 -0
  245. linkedparticles-1.187.3/tests/test_cli_curate.py +708 -0
  246. linkedparticles-1.187.3/tests/test_cli_memory.py +565 -0
  247. linkedparticles-1.187.3/tests/test_cli_memory_rebuild_utility.py +84 -0
  248. linkedparticles-1.187.3/tests/test_cli_modality.py +142 -0
  249. linkedparticles-1.187.3/tests/test_cli_output.py +159 -0
  250. linkedparticles-1.187.3/tests/test_cli_particle_retract.py +258 -0
  251. linkedparticles-1.187.3/tests/test_cli_progress.py +135 -0
  252. linkedparticles-1.187.3/tests/test_cli_reindex_estimate.py +206 -0
  253. linkedparticles-1.187.3/tests/test_cli_structure.py +125 -0
  254. linkedparticles-1.187.3/tests/test_cli_subjects_fix_labels.py +45 -0
  255. linkedparticles-1.187.3/tests/test_cli_vocab.py +153 -0
  256. linkedparticles-1.187.3/tests/test_closure_measure.py +446 -0
  257. linkedparticles-1.187.3/tests/test_component_stamp.py +292 -0
  258. linkedparticles-1.187.3/tests/test_config.py +855 -0
  259. linkedparticles-1.187.3/tests/test_conflict_plan.py +287 -0
  260. linkedparticles-1.187.3/tests/test_conflict_resolution.py +755 -0
  261. linkedparticles-1.187.3/tests/test_conflict_review.py +487 -0
  262. linkedparticles-1.187.3/tests/test_consolidation.py +3509 -0
  263. linkedparticles-1.187.3/tests/test_consolidation_cadence.py +86 -0
  264. linkedparticles-1.187.3/tests/test_consolidation_plan.py +297 -0
  265. linkedparticles-1.187.3/tests/test_contradiction_disclosure.py +754 -0
  266. linkedparticles-1.187.3/tests/test_corpus_store.py +453 -0
  267. linkedparticles-1.187.3/tests/test_curation.py +1766 -0
  268. linkedparticles-1.187.3/tests/test_curation_precision.py +602 -0
  269. linkedparticles-1.187.3/tests/test_curation_rulings.py +325 -0
  270. linkedparticles-1.187.3/tests/test_curation_snapshot.py +850 -0
  271. linkedparticles-1.187.3/tests/test_daemon.py +413 -0
  272. linkedparticles-1.187.3/tests/test_db.py +498 -0
  273. linkedparticles-1.187.3/tests/test_decide_ladder.py +397 -0
  274. linkedparticles-1.187.3/tests/test_deposit_date.py +442 -0
  275. linkedparticles-1.187.3/tests/test_document_scope.py +336 -0
  276. linkedparticles-1.187.3/tests/test_duplicate_suppression.py +728 -0
  277. linkedparticles-1.187.3/tests/test_egress_chokepoint.py +476 -0
  278. linkedparticles-1.187.3/tests/test_export_ownership.py +320 -0
  279. linkedparticles-1.187.3/tests/test_extract.py +3296 -0
  280. linkedparticles-1.187.3/tests/test_extraction_components.py +366 -0
  281. linkedparticles-1.187.3/tests/test_extractor_registry.py +485 -0
  282. linkedparticles-1.187.3/tests/test_generic_instance_pair.py +262 -0
  283. linkedparticles-1.187.3/tests/test_github_extractor.py +1702 -0
  284. linkedparticles-1.187.3/tests/test_graph_layout.py +300 -0
  285. linkedparticles-1.187.3/tests/test_held_release.py +604 -0
  286. linkedparticles-1.187.3/tests/test_inbox.py +219 -0
  287. linkedparticles-1.187.3/tests/test_incremental.py +736 -0
  288. linkedparticles-1.187.3/tests/test_ingest_authorities_shared.py +146 -0
  289. linkedparticles-1.187.3/tests/test_ingest_authorities_wikidata.py +611 -0
  290. linkedparticles-1.187.3/tests/test_integration_abstraction_scope.py +113 -0
  291. linkedparticles-1.187.3/tests/test_integration_audit.py +99 -0
  292. linkedparticles-1.187.3/tests/test_integration_ledgerly.py +184 -0
  293. linkedparticles-1.187.3/tests/test_integration_llm.py +412 -0
  294. linkedparticles-1.187.3/tests/test_integration_moved_city.py +194 -0
  295. linkedparticles-1.187.3/tests/test_journal.py +427 -0
  296. linkedparticles-1.187.3/tests/test_links_suggest.py +640 -0
  297. linkedparticles-1.187.3/tests/test_lint.py +2005 -0
  298. linkedparticles-1.187.3/tests/test_lint_contested.py +442 -0
  299. linkedparticles-1.187.3/tests/test_lint_open_inconsistency.py +127 -0
  300. linkedparticles-1.187.3/tests/test_llm.py +792 -0
  301. linkedparticles-1.187.3/tests/test_llm_batch.py +639 -0
  302. linkedparticles-1.187.3/tests/test_llm_circuit_breaker.py +173 -0
  303. linkedparticles-1.187.3/tests/test_llm_openai_compat.py +714 -0
  304. linkedparticles-1.187.3/tests/test_llm_spend.py +519 -0
  305. linkedparticles-1.187.3/tests/test_logseq_exporter.py +813 -0
  306. linkedparticles-1.187.3/tests/test_markdown.py +781 -0
  307. linkedparticles-1.187.3/tests/test_mcp_routing.py +316 -0
  308. linkedparticles-1.187.3/tests/test_mcp_write.py +522 -0
  309. linkedparticles-1.187.3/tests/test_memory_projection.py +1202 -0
  310. linkedparticles-1.187.3/tests/test_migration_042_born_retired.py +146 -0
  311. linkedparticles-1.187.3/tests/test_migration_043_extracted_through.py +63 -0
  312. linkedparticles-1.187.3/tests/test_migration_045_extraction_components.py +65 -0
  313. linkedparticles-1.187.3/tests/test_migration_047_resume_whole.py +64 -0
  314. linkedparticles-1.187.3/tests/test_modality.py +861 -0
  315. linkedparticles-1.187.3/tests/test_no_derived_columns.py +89 -0
  316. linkedparticles-1.187.3/tests/test_no_egress.py +649 -0
  317. linkedparticles-1.187.3/tests/test_observer_gate.py +456 -0
  318. linkedparticles-1.187.3/tests/test_obsidian.py +1133 -0
  319. linkedparticles-1.187.3/tests/test_pair_selection.py +570 -0
  320. linkedparticles-1.187.3/tests/test_paraphrases.py +673 -0
  321. linkedparticles-1.187.3/tests/test_partial_read.py +705 -0
  322. linkedparticles-1.187.3/tests/test_past_value.py +73 -0
  323. linkedparticles-1.187.3/tests/test_pending_collapse.py +436 -0
  324. linkedparticles-1.187.3/tests/test_polarity.py +414 -0
  325. linkedparticles-1.187.3/tests/test_predicate_profile.py +187 -0
  326. linkedparticles-1.187.3/tests/test_probe_budget.py +300 -0
  327. linkedparticles-1.187.3/tests/test_probe_verdicts.py +559 -0
  328. linkedparticles-1.187.3/tests/test_quality.py +203 -0
  329. linkedparticles-1.187.3/tests/test_query.py +1206 -0
  330. linkedparticles-1.187.3/tests/test_query_grounded.py +375 -0
  331. linkedparticles-1.187.3/tests/test_reanchor.py +1890 -0
  332. linkedparticles-1.187.3/tests/test_reconcile.py +306 -0
  333. linkedparticles-1.187.3/tests/test_reindex.py +1101 -0
  334. linkedparticles-1.187.3/tests/test_reindex_append_only.py +133 -0
  335. linkedparticles-1.187.3/tests/test_reindex_estimate.py +359 -0
  336. linkedparticles-1.187.3/tests/test_reindex_scope.py +292 -0
  337. linkedparticles-1.187.3/tests/test_retired_value_quarantine.py +497 -0
  338. linkedparticles-1.187.3/tests/test_review.py +706 -0
  339. linkedparticles-1.187.3/tests/test_rule_sources.py +864 -0
  340. linkedparticles-1.187.3/tests/test_scope_exemption.py +455 -0
  341. linkedparticles-1.187.3/tests/test_second_reading.py +551 -0
  342. linkedparticles-1.187.3/tests/test_session_exposure.py +549 -0
  343. linkedparticles-1.187.3/tests/test_session_state.py +169 -0
  344. linkedparticles-1.187.3/tests/test_source_passage.py +392 -0
  345. linkedparticles-1.187.3/tests/test_spend_budget.py +216 -0
  346. linkedparticles-1.187.3/tests/test_spend_estimate.py +110 -0
  347. linkedparticles-1.187.3/tests/test_subject_authority.py +201 -0
  348. linkedparticles-1.187.3/tests/test_subject_relink.py +255 -0
  349. linkedparticles-1.187.3/tests/test_subjects.py +1191 -0
  350. linkedparticles-1.187.3/tests/test_update_supersession.py +2281 -0
  351. linkedparticles-1.187.3/tests/test_utility_exposure.py +617 -0
  352. linkedparticles-1.187.3/tests/test_utility_mining.py +765 -0
  353. linkedparticles-1.187.3/tests/test_utility_store.py +197 -0
  354. linkedparticles-1.187.3/tests/test_vocabulary.py +419 -0
  355. linkedparticles-1.187.3/tests/test_vocabulary_report.py +617 -0
  356. linkedparticles-1.187.3/tests/test_vocabulary_store.py +247 -0
  357. linkedparticles-1.187.3/tests/test_wikidata_cache.py +129 -0
  358. linkedparticles-1.187.3/tests/test_wikidata_candidate_selection.py +170 -0
  359. linkedparticles-1.187.3/tests/test_wikidata_extractor.py +463 -0
  360. linkedparticles-1.187.3/tests/test_wikidata_judge.py +528 -0
  361. linkedparticles-1.151.18/PKG-INFO +0 -320
  362. linkedparticles-1.151.18/artifacts/conformance/README.md +0 -171
  363. linkedparticles-1.151.18/artifacts/conformance/profile.yaml +0 -534
  364. linkedparticles-1.151.18/artifacts/openapi.json +0 -9172
  365. linkedparticles-1.151.18/artifacts/schemas/particle.schema.json +0 -395
  366. linkedparticles-1.151.18/artifacts/schemas/shacl/ParticleShape.ttl +0 -374
  367. linkedparticles-1.151.18/artifacts/schemas/trust_lens.schema.json +0 -276
  368. linkedparticles-1.151.18/config.yaml.sample +0 -2192
  369. linkedparticles-1.151.18/constraints.txt +0 -429
  370. linkedparticles-1.151.18/particles/_orm_modules.py +0 -40
  371. linkedparticles-1.151.18/particles/api/app.py +0 -2609
  372. linkedparticles-1.151.18/particles/api/cli/__init__.py +0 -361
  373. linkedparticles-1.151.18/particles/api/cli/_claude_code.py +0 -1347
  374. linkedparticles-1.151.18/particles/api/cli/_memory_projection.py +0 -369
  375. linkedparticles-1.151.18/particles/api/cli/_progress.py +0 -153
  376. linkedparticles-1.151.18/particles/api/cli/audit.py +0 -571
  377. linkedparticles-1.151.18/particles/api/cli/benchmark.py +0 -1342
  378. linkedparticles-1.151.18/particles/api/cli/config.py +0 -86
  379. linkedparticles-1.151.18/particles/api/cli/corpus.py +0 -1114
  380. linkedparticles-1.151.18/particles/api/cli/curate.py +0 -214
  381. linkedparticles-1.151.18/particles/api/cli/db.py +0 -115
  382. linkedparticles-1.151.18/particles/api/cli/deposit.py +0 -370
  383. linkedparticles-1.151.18/particles/api/cli/export.py +0 -423
  384. linkedparticles-1.151.18/particles/api/cli/extract.py +0 -398
  385. linkedparticles-1.151.18/particles/api/cli/extractor.py +0 -2281
  386. linkedparticles-1.151.18/particles/api/cli/hook.py +0 -781
  387. linkedparticles-1.151.18/particles/api/cli/inbox.py +0 -195
  388. linkedparticles-1.151.18/particles/api/cli/init.py +0 -847
  389. linkedparticles-1.151.18/particles/api/cli/links.py +0 -663
  390. linkedparticles-1.151.18/particles/api/cli/lint.py +0 -201
  391. linkedparticles-1.151.18/particles/api/cli/mcp.py +0 -171
  392. linkedparticles-1.151.18/particles/api/cli/memory.py +0 -1095
  393. linkedparticles-1.151.18/particles/api/cli/particle.py +0 -559
  394. linkedparticles-1.151.18/particles/api/cli/quality.py +0 -72
  395. linkedparticles-1.151.18/particles/api/cli/query.py +0 -490
  396. linkedparticles-1.151.18/particles/api/cli/reconcile.py +0 -64
  397. linkedparticles-1.151.18/particles/api/cli/reindex.py +0 -155
  398. linkedparticles-1.151.18/particles/api/cli/review.py +0 -228
  399. linkedparticles-1.151.18/particles/api/cli/rules.py +0 -321
  400. linkedparticles-1.151.18/particles/api/cli/structure.py +0 -106
  401. linkedparticles-1.151.18/particles/api/cli/subjects.py +0 -594
  402. linkedparticles-1.151.18/particles/api/cli/synthesis_cache.py +0 -180
  403. linkedparticles-1.151.18/particles/api/client/base.py +0 -587
  404. linkedparticles-1.151.18/particles/api/client/http.py +0 -955
  405. linkedparticles-1.151.18/particles/api/client/local.py +0 -894
  406. linkedparticles-1.151.18/particles/api/daemon.py +0 -445
  407. linkedparticles-1.151.18/particles/benchmark/equivalence.py +0 -342
  408. linkedparticles-1.151.18/particles/benchmark/loader.py +0 -260
  409. linkedparticles-1.151.18/particles/benchmark/memory/loader.py +0 -312
  410. linkedparticles-1.151.18/particles/benchmark/memory/runner.py +0 -3119
  411. linkedparticles-1.151.18/particles/benchmark/metrics.py +0 -83
  412. linkedparticles-1.151.18/particles/benchmark/observer/oracle.py +0 -187
  413. linkedparticles-1.151.18/particles/benchmark/observer/runner.py +0 -575
  414. linkedparticles-1.151.18/particles/benchmark/relevance_floor/runner.py +0 -610
  415. linkedparticles-1.151.18/particles/benchmark/rot/__init__.py +0 -98
  416. linkedparticles-1.151.18/particles/benchmark/rot/oracle.py +0 -211
  417. linkedparticles-1.151.18/particles/benchmark/rot/render.py +0 -113
  418. linkedparticles-1.151.18/particles/benchmark/rot/runner.py +0 -771
  419. linkedparticles-1.151.18/particles/benchmark/rot/schema.py +0 -330
  420. linkedparticles-1.151.18/particles/benchmark/runner.py +0 -634
  421. linkedparticles-1.151.18/particles/corpus/deposit.py +0 -1607
  422. linkedparticles-1.151.18/particles/corpus/store.py +0 -996
  423. linkedparticles-1.151.18/particles/db.py +0 -438
  424. linkedparticles-1.151.18/particles/exporters/logseq/exporter.py +0 -75
  425. linkedparticles-1.151.18/particles/exporters/logseq/vault.py +0 -576
  426. linkedparticles-1.151.18/particles/exporters/markdown.py +0 -64
  427. linkedparticles-1.151.18/particles/exporters/notion.py +0 -543
  428. linkedparticles-1.151.18/particles/exporters/obsidian/exporter.py +0 -72
  429. linkedparticles-1.151.18/particles/exporters/obsidian/vault.py +0 -1082
  430. linkedparticles-1.151.18/particles/ingest/authorities/__init__.py +0 -32
  431. linkedparticles-1.151.18/particles/ingest/authorities/registry.py +0 -175
  432. linkedparticles-1.151.18/particles/ingest/authorities/wikidata.py +0 -314
  433. linkedparticles-1.151.18/particles/ingest/conflict_plan.py +0 -348
  434. linkedparticles-1.151.18/particles/ingest/duplicate_suppression.py +0 -231
  435. linkedparticles-1.151.18/particles/ingest/narrative_merge.py +0 -140
  436. linkedparticles-1.151.18/particles/ingest/pair_selection.py +0 -202
  437. linkedparticles-1.151.18/particles/ingest/pipeline.py +0 -2134
  438. linkedparticles-1.151.18/particles/ingest/subject_resolver.py +0 -482
  439. linkedparticles-1.151.18/particles/ingest/update_supersession.py +0 -312
  440. linkedparticles-1.151.18/particles/mcp/memory_compat/server.py +0 -607
  441. linkedparticles-1.151.18/particles/mcp/server.py +0 -188
  442. linkedparticles-1.151.18/particles/mcp/tools/diagnostics.py +0 -25
  443. linkedparticles-1.151.18/particles/mcp/tools/query.py +0 -200
  444. linkedparticles-1.151.18/particles/mcp/tools/write.py +0 -361
  445. linkedparticles-1.151.18/particles/observability/setup.py +0 -314
  446. linkedparticles-1.151.18/particles/operations/_llm.py +0 -213
  447. linkedparticles-1.151.18/particles/operations/_quarantine.py +0 -114
  448. linkedparticles-1.151.18/particles/operations/abstraction.py +0 -1084
  449. linkedparticles-1.151.18/particles/operations/agent_write.py +0 -733
  450. linkedparticles-1.151.18/particles/operations/audit.py +0 -827
  451. linkedparticles-1.151.18/particles/operations/candidate_pairs.py +0 -137
  452. linkedparticles-1.151.18/particles/operations/consolidation.py +0 -1623
  453. linkedparticles-1.151.18/particles/operations/curation/__init__.py +0 -46
  454. linkedparticles-1.151.18/particles/operations/curation/cards.py +0 -228
  455. linkedparticles-1.151.18/particles/operations/curation/collect.py +0 -210
  456. linkedparticles-1.151.18/particles/operations/curation/leverage.py +0 -194
  457. linkedparticles-1.151.18/particles/operations/curation/session.py +0 -612
  458. linkedparticles-1.151.18/particles/operations/curation/snapshot.py +0 -305
  459. linkedparticles-1.151.18/particles/operations/digest.py +0 -104
  460. linkedparticles-1.151.18/particles/operations/extract.py +0 -31
  461. linkedparticles-1.151.18/particles/operations/graph_view.py +0 -1021
  462. linkedparticles-1.151.18/particles/operations/inbox.py +0 -151
  463. linkedparticles-1.151.18/particles/operations/links_suggest.py +0 -1097
  464. linkedparticles-1.151.18/particles/operations/lint/contestedness.py +0 -319
  465. linkedparticles-1.151.18/particles/operations/lint/contradictions.py +0 -375
  466. linkedparticles-1.151.18/particles/operations/lint/granularity.py +0 -98
  467. linkedparticles-1.151.18/particles/operations/lint/orchestrator.py +0 -155
  468. linkedparticles-1.151.18/particles/operations/lint/retirement.py +0 -78
  469. linkedparticles-1.151.18/particles/operations/lint/staleness.py +0 -239
  470. linkedparticles-1.151.18/particles/operations/quality.py +0 -85
  471. linkedparticles-1.151.18/particles/operations/query/as_of.py +0 -282
  472. linkedparticles-1.151.18/particles/operations/query/contested.py +0 -149
  473. linkedparticles-1.151.18/particles/operations/query/main.py +0 -1062
  474. linkedparticles-1.151.18/particles/operations/query/respond.py +0 -257
  475. linkedparticles-1.151.18/particles/operations/query/structural.py +0 -526
  476. linkedparticles-1.151.18/particles/operations/reconcile.py +0 -519
  477. linkedparticles-1.151.18/particles/operations/reindex.py +0 -599
  478. linkedparticles-1.151.18/particles/operations/reindex_scope.py +0 -124
  479. linkedparticles-1.151.18/particles/operations/review.py +0 -262
  480. linkedparticles-1.151.18/particles/operations/source_passage.py +0 -269
  481. linkedparticles-1.151.18/particles/operations/utility_mining.py +0 -537
  482. linkedparticles-1.151.18/particles/render/article_synthesis/cache.py +0 -399
  483. linkedparticles-1.151.18/particles/store/curation_snapshot_store.py +0 -185
  484. linkedparticles-1.151.18/particles/store/event_store.py +0 -493
  485. linkedparticles-1.151.18/particles/store/lens_store.py +0 -377
  486. linkedparticles-1.151.18/particles/store/particle_store.py +0 -1891
  487. linkedparticles-1.151.18/particles/store/subject_store.py +0 -1027
  488. linkedparticles-1.151.18/particles/store/utility_store.py +0 -285
  489. linkedparticles-1.151.18/particles/store/wikidata_cache.py +0 -93
  490. linkedparticles-1.151.18/pyproject.toml +0 -289
  491. linkedparticles-1.151.18/tests/_claude_projects.py +0 -39
  492. linkedparticles-1.151.18/tests/_client_fixtures.py +0 -187
  493. linkedparticles-1.151.18/tests/benchmark/suites/prose-article-seed-001.yaml +0 -766
  494. linkedparticles-1.151.18/tests/conftest.py +0 -144
  495. linkedparticles-1.151.18/tests/mcp/tool-schema.json +0 -704
  496. linkedparticles-1.151.18/tests/test_abstraction.py +0 -1180
  497. linkedparticles-1.151.18/tests/test_account_level_failure.py +0 -316
  498. linkedparticles-1.151.18/tests/test_agent_write_operator.py +0 -309
  499. linkedparticles-1.151.18/tests/test_api_client.py +0 -814
  500. linkedparticles-1.151.18/tests/test_app.py +0 -2151
  501. linkedparticles-1.151.18/tests/test_as_of.py +0 -864
  502. linkedparticles-1.151.18/tests/test_audit.py +0 -960
  503. linkedparticles-1.151.18/tests/test_benchmark_compare.py +0 -330
  504. linkedparticles-1.151.18/tests/test_benchmark_memory.py +0 -4269
  505. linkedparticles-1.151.18/tests/test_benchmark_relevance_floor.py +0 -805
  506. linkedparticles-1.151.18/tests/test_benchmark_rot.py +0 -825
  507. linkedparticles-1.151.18/tests/test_benchmark_runner.py +0 -1183
  508. linkedparticles-1.151.18/tests/test_benchmark_schema.py +0 -689
  509. linkedparticles-1.151.18/tests/test_calibration.py +0 -607
  510. linkedparticles-1.151.18/tests/test_calibration_integration.py +0 -1365
  511. linkedparticles-1.151.18/tests/test_candidate_pairs.py +0 -224
  512. linkedparticles-1.151.18/tests/test_claude_code_hook.py +0 -678
  513. linkedparticles-1.151.18/tests/test_claude_code_init.py +0 -741
  514. linkedparticles-1.151.18/tests/test_cli.py +0 -2943
  515. linkedparticles-1.151.18/tests/test_cli_audit.py +0 -496
  516. linkedparticles-1.151.18/tests/test_cli_curate.py +0 -197
  517. linkedparticles-1.151.18/tests/test_cli_memory.py +0 -350
  518. linkedparticles-1.151.18/tests/test_cli_output.py +0 -118
  519. linkedparticles-1.151.18/tests/test_cli_particle_retract.py +0 -240
  520. linkedparticles-1.151.18/tests/test_cli_progress.py +0 -64
  521. linkedparticles-1.151.18/tests/test_cli_structure.py +0 -122
  522. linkedparticles-1.151.18/tests/test_config.py +0 -744
  523. linkedparticles-1.151.18/tests/test_conflict_plan.py +0 -257
  524. linkedparticles-1.151.18/tests/test_conflict_resolution.py +0 -678
  525. linkedparticles-1.151.18/tests/test_conflict_review.py +0 -369
  526. linkedparticles-1.151.18/tests/test_consolidation.py +0 -1371
  527. linkedparticles-1.151.18/tests/test_corpus_store.py +0 -177
  528. linkedparticles-1.151.18/tests/test_curation.py +0 -665
  529. linkedparticles-1.151.18/tests/test_curation_snapshot.py +0 -491
  530. linkedparticles-1.151.18/tests/test_daemon.py +0 -412
  531. linkedparticles-1.151.18/tests/test_db.py +0 -382
  532. linkedparticles-1.151.18/tests/test_decide_ladder.py +0 -275
  533. linkedparticles-1.151.18/tests/test_deposit_date.py +0 -408
  534. linkedparticles-1.151.18/tests/test_document_scope.py +0 -332
  535. linkedparticles-1.151.18/tests/test_duplicate_suppression.py +0 -726
  536. linkedparticles-1.151.18/tests/test_egress_chokepoint.py +0 -418
  537. linkedparticles-1.151.18/tests/test_extract.py +0 -2660
  538. linkedparticles-1.151.18/tests/test_extractor_registry.py +0 -483
  539. linkedparticles-1.151.18/tests/test_github_extractor.py +0 -1690
  540. linkedparticles-1.151.18/tests/test_graph_layout.py +0 -300
  541. linkedparticles-1.151.18/tests/test_inbox.py +0 -219
  542. linkedparticles-1.151.18/tests/test_incremental.py +0 -657
  543. linkedparticles-1.151.18/tests/test_integration_audit.py +0 -95
  544. linkedparticles-1.151.18/tests/test_integration_llm.py +0 -344
  545. linkedparticles-1.151.18/tests/test_journal.py +0 -409
  546. linkedparticles-1.151.18/tests/test_links_suggest.py +0 -508
  547. linkedparticles-1.151.18/tests/test_lint.py +0 -1288
  548. linkedparticles-1.151.18/tests/test_lint_contested.py +0 -440
  549. linkedparticles-1.151.18/tests/test_llm.py +0 -595
  550. linkedparticles-1.151.18/tests/test_llm_batch.py +0 -507
  551. linkedparticles-1.151.18/tests/test_llm_circuit_breaker.py +0 -105
  552. linkedparticles-1.151.18/tests/test_llm_openai_compat.py +0 -696
  553. linkedparticles-1.151.18/tests/test_logseq_exporter.py +0 -797
  554. linkedparticles-1.151.18/tests/test_markdown.py +0 -778
  555. linkedparticles-1.151.18/tests/test_mcp_routing.py +0 -311
  556. linkedparticles-1.151.18/tests/test_mcp_write.py +0 -495
  557. linkedparticles-1.151.18/tests/test_memory_projection.py +0 -1022
  558. linkedparticles-1.151.18/tests/test_no_derived_columns.py +0 -82
  559. linkedparticles-1.151.18/tests/test_observer_gate.py +0 -451
  560. linkedparticles-1.151.18/tests/test_obsidian.py +0 -1112
  561. linkedparticles-1.151.18/tests/test_pair_selection.py +0 -305
  562. linkedparticles-1.151.18/tests/test_pending_collapse.py +0 -430
  563. linkedparticles-1.151.18/tests/test_polarity.py +0 -410
  564. linkedparticles-1.151.18/tests/test_quality.py +0 -177
  565. linkedparticles-1.151.18/tests/test_query.py +0 -1225
  566. linkedparticles-1.151.18/tests/test_reconcile.py +0 -246
  567. linkedparticles-1.151.18/tests/test_reindex.py +0 -1009
  568. linkedparticles-1.151.18/tests/test_reindex_scope.py +0 -175
  569. linkedparticles-1.151.18/tests/test_retired_value_quarantine.py +0 -495
  570. linkedparticles-1.151.18/tests/test_review.py +0 -463
  571. linkedparticles-1.151.18/tests/test_rule_sources.py +0 -861
  572. linkedparticles-1.151.18/tests/test_scope_exemption.py +0 -453
  573. linkedparticles-1.151.18/tests/test_source_passage.py +0 -337
  574. linkedparticles-1.151.18/tests/test_subject_authority.py +0 -200
  575. linkedparticles-1.151.18/tests/test_subjects.py +0 -1150
  576. linkedparticles-1.151.18/tests/test_update_supersession.py +0 -812
  577. linkedparticles-1.151.18/tests/test_utility_mining.py +0 -559
  578. linkedparticles-1.151.18/tests/test_utility_store.py +0 -167
  579. linkedparticles-1.151.18/tests/test_wikidata_cache.py +0 -117
  580. linkedparticles-1.151.18/tests/test_wikidata_extractor.py +0 -351
  581. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/LICENSE +0 -0
  582. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/NOTICE +0 -0
  583. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/README.md +0 -0
  584. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/env.py +0 -0
  585. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/script.py.mako +0 -0
  586. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/001_initial.py +0 -0
  587. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/002_subjects.py +0 -0
  588. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/003_wikidata_label_cache.py +0 -0
  589. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/004_source_trust.py +0 -0
  590. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/005_structured_properties.py +0 -0
  591. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/006_extractor_records.py +0 -0
  592. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/007_domain_hint.py +0 -0
  593. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/008_content_published_at.py +0 -0
  594. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/009_provenance_chunk_hash.py +0 -0
  595. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/010_context_fingerprint.py +0 -0
  596. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/011_particle_relations.py +0 -0
  597. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/012_taxonomies.py +0 -0
  598. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/013_extractor_calibration.py +0 -0
  599. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/014_corpus_follow_edges.py +0 -0
  600. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/015_synthesis_cache.py +0 -0
  601. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/016_snapshot_extraction_started_at.py +0 -0
  602. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/017_operator_events.py +0 -0
  603. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/018_contributor_refs.py +0 -0
  604. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/019_embedding_model_id.py +0 -0
  605. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/020_trust_lenses.py +0 -0
  606. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/021_registered_at_string.py +0 -0
  607. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/022_assertion_modality.py +0 -0
  608. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/023_url_mentions.py +0 -0
  609. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/024_corpus_document_supersession.py +0 -0
  610. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/025_per_provider_calibration.py +0 -0
  611. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/026_conformance_trust_cap.py +0 -0
  612. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/027_lens_decay_rules.py +0 -0
  613. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/028_utility_lens.py +0 -0
  614. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/029_retired_at.py +0 -0
  615. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/030_utility_rank_lift.py +0 -0
  616. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/031_content_norm_hash.py +0 -0
  617. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/032_utility_event_source.py +0 -0
  618. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/033_structured_claim.py +0 -0
  619. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/034_extraction_provider_model.py +0 -0
  620. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/035_prefix_extraction_properties_keys.py +0 -0
  621. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/036_curation_snapshots.py +0 -0
  622. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/037_rekey_reviewer_trust_statements.py +0 -0
  623. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/038_snapshot_superseded_by.py +0 -0
  624. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/039_observer_scope_statements.py +0 -0
  625. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic/versions/040_backfill_particle_tag_edges.py +0 -0
  626. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/alembic.ini +0 -0
  627. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/conformance/similarity_vectors.json +0 -0
  628. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/graph/LICENSE.cytoscape.txt +0 -0
  629. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/graph/cytoscape.min.js +0 -0
  630. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/schemas/context.jsonld +0 -0
  631. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/schemas/interchange.schema.json +0 -0
  632. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/schemas/shacl/CorpusSnapshotShape.ttl +0 -0
  633. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/schemas/shacl/ProvenanceChainShape.ttl +0 -0
  634. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/schemas/shacl/SubjectShape.ttl +0 -0
  635. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/artifacts/schemas/shacl/TrustStatementShape.ttl +0 -0
  636. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/design/tokens.css +0 -0
  637. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/__init__.py +0 -0
  638. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/_middleware.py +0 -0
  639. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/_rate_limit.py +0 -0
  640. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/auth.py +0 -0
  641. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/_id_norm.py +0 -0
  642. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/_logging.py +0 -0
  643. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/_output.py +0 -0
  644. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/_projection_git.py +0 -0
  645. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/_remote.py +0 -0
  646. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/_source_passage.py +0 -0
  647. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/conformance.py +0 -0
  648. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/engine.py +0 -0
  649. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/events.py +0 -0
  650. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/import_vault.py +0 -0
  651. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/interchange.py +0 -0
  652. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/project.py +0 -0
  653. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/skills.py +0 -0
  654. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/cli/trust.py +0 -0
  655. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/client/__init__.py +0 -0
  656. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/api/web_app.py +0 -0
  657. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/__init__.py +0 -0
  658. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/compare.py +0 -0
  659. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/memory/__init__.py +0 -0
  660. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/memory/comparators.py +0 -0
  661. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/memory/metrics.py +0 -0
  662. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/memory/rejudge.py +0 -0
  663. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/memory/schema.py +0 -0
  664. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/modality/__init__.py +0 -0
  665. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/modality/loader.py +0 -0
  666. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/modality/metrics.py +0 -0
  667. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/modality/runner.py +0 -0
  668. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/modality/schema.py +0 -0
  669. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/observer/__init__.py +0 -0
  670. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/observer/generator.py +0 -0
  671. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/observer/render.py +0 -0
  672. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/observer/schema.py +0 -0
  673. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/polarity/__init__.py +0 -0
  674. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/polarity/loader.py +0 -0
  675. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/polarity/metrics.py +0 -0
  676. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/polarity/runner.py +0 -0
  677. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/polarity/schema.py +0 -0
  678. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/relevance_floor/__init__.py +0 -0
  679. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/relevance_floor/harvest.py +0 -0
  680. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/relevance_floor/metrics.py +0 -0
  681. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/relevance_floor/render.py +0 -0
  682. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/relevance_floor/schema.py +0 -0
  683. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/rot/generator.py +0 -0
  684. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/rot/rescore.py +0 -0
  685. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/rot/scoring.py +0 -0
  686. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/schema.py +0 -0
  687. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/validity/__init__.py +0 -0
  688. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/validity/loader.py +0 -0
  689. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/validity/metrics.py +0 -0
  690. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/validity/runner.py +0 -0
  691. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/benchmark/validity/schema.py +0 -0
  692. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/__init__.py +0 -0
  693. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/blob_fsck.py +0 -0
  694. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/blob_health.py +0 -0
  695. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/fetch.py +0 -0
  696. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/follow_edges.py +0 -0
  697. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/refresh_outcome.py +0 -0
  698. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/rule_sources.py +0 -0
  699. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/corpus/supersession.py +0 -0
  700. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/__init__.py +0 -0
  701. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/anki.py +0 -0
  702. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/article_synthesis/__init__.py +0 -0
  703. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/graph/__init__.py +0 -0
  704. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/graph/_assets.py +0 -0
  705. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/graph/exporter.py +0 -0
  706. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/graph/render.py +0 -0
  707. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/jsonl.py +0 -0
  708. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/logseq/__init__.py +0 -0
  709. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/logseq/format.py +0 -0
  710. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/logseq/narrative.py +0 -0
  711. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/logseq/synthesis.py +0 -0
  712. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/obsidian/__init__.py +0 -0
  713. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/obsidian/format.py +0 -0
  714. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/obsidian/narrative.py +0 -0
  715. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/obsidian/synthesis.py +0 -0
  716. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/registry.py +0 -0
  717. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/summaries.py +0 -0
  718. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/exporters/wiki.py +0 -0
  719. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/__init__.py +0 -0
  720. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/authorities/_shared.py +0 -0
  721. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/candidate_dedup.py +0 -0
  722. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/generation.py +0 -0
  723. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/__init__.py +0 -0
  724. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/github.py +0 -0
  725. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/hackernews.py +0 -0
  726. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/mastodon.py +0 -0
  727. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/nomisma.py +0 -0
  728. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/numista.py +0 -0
  729. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/reddit.py +0 -0
  730. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/registry.py +0 -0
  731. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/importers/wikidata.py +0 -0
  732. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/observer_gate.py +0 -0
  733. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/pending_collapse.py +0 -0
  734. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/routing.py +0 -0
  735. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/ingest/structure_edges.py +0 -0
  736. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/integrations/__init__.py +0 -0
  737. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/integrations/_mapping.py +0 -0
  738. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/integrations/langchain.py +0 -0
  739. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/interchange/store.py +0 -0
  740. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/__init__.py +0 -0
  741. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/memory_compat/__init__.py +0 -0
  742. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/memory_compat/graph.py +0 -0
  743. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/memory_compat/ops.py +0 -0
  744. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/observer.py +0 -0
  745. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/resources.py +0 -0
  746. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/__init__.py +0 -0
  747. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/corpus.py +0 -0
  748. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/events.py +0 -0
  749. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/graph.py +0 -0
  750. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/links_suggest.py +0 -0
  751. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/lint.py +0 -0
  752. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/particles.py +0 -0
  753. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/subjects.py +0 -0
  754. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/mcp/tools/taxonomy.py +0 -0
  755. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/observability/__init__.py +0 -0
  756. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/observability/spans.py +0 -0
  757. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/__init__.py +0 -0
  758. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/_scope.py +0 -0
  759. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/cascade.py +0 -0
  760. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/corpus_delete.py +0 -0
  761. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/corpus_refresh.py +0 -0
  762. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/deposit.py +0 -0
  763. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/deposit_suggest.py +0 -0
  764. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/lint/__init__.py +0 -0
  765. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/lint/assertion_quality.py +0 -0
  766. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/lint/citation_signal.py +0 -0
  767. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/lint/coverage.py +0 -0
  768. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/lint/wikidata_links.py +0 -0
  769. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/narrative.py +0 -0
  770. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/narrative_synthesis.py +0 -0
  771. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/observer_scope.py +0 -0
  772. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/projection/__init__.py +0 -0
  773. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/projection/manifest.py +0 -0
  774. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/projection/project.py +0 -0
  775. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/__init__.py +0 -0
  776. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/contestedness.py +0 -0
  777. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/decay_policy.py +0 -0
  778. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/effective_confidence.py +0 -0
  779. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/gaps.py +0 -0
  780. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/observer_scope.py +0 -0
  781. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/owner_policy.py +0 -0
  782. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/precedence.py +0 -0
  783. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/rank.py +0 -0
  784. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/source_info.py +0 -0
  785. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/source_trust.py +0 -0
  786. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/stance.py +0 -0
  787. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/query/utility_policy.py +0 -0
  788. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/retract.py +0 -0
  789. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/structure.py +0 -0
  790. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/trust.py +0 -0
  791. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/utility_feedback.py +0 -0
  792. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/utility_sweep.py +0 -0
  793. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/operations/version_guard.py +0 -0
  794. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/render/article_synthesis/__init__.py +0 -0
  795. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/render/article_synthesis/layer_a.py +0 -0
  796. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/render/article_synthesis/layer_b.py +0 -0
  797. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/render/article_synthesis/orchestrate.py +0 -0
  798. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/render/article_synthesis/render.py +0 -0
  799. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/render/article_synthesis/topic.py +0 -0
  800. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/skills/__init__.py +0 -0
  801. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/skills/asking-the-store.md +0 -0
  802. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/skills/keeping-it-clean.md +0 -0
  803. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/skills/recording-a-belief.md +0 -0
  804. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/sql_safety.py +0 -0
  805. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/__init__.py +0 -0
  806. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/extractor_store.py +0 -0
  807. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/observer_scope_join.py +0 -0
  808. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/observer_scope_store.py +0 -0
  809. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/relation_store.py +0 -0
  810. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/subject_cache.py +0 -0
  811. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/synthesis_cache_store.py +0 -0
  812. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/taxonomy_store.py +0 -0
  813. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/trust_store.py +0 -0
  814. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/particles/store/url_mention_store.py +0 -0
  815. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/__init__.py +0 -0
  816. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/_capped_http.py +0 -0
  817. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/_observer_scope.py +0 -0
  818. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/_upstream.py +0 -0
  819. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/calibration/numismatic-calibration-001.yaml +0 -0
  820. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/calibration/prose-calibration-001.yaml +0 -0
  821. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/calibration/rdf-calibration-001.yaml +0 -0
  822. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/memory/fixtures/NOTICE +0 -0
  823. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/memory/fixtures/longmemeval_oracle_synthetic.json +0 -0
  824. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/modality/journal-modality-seed-001.yaml +0 -0
  825. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/polarity/adr-polarity-seed-001.yaml +0 -0
  826. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/suites/hackernews-seed-001.yaml +0 -0
  827. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/suites/numismatic-seed-001.yaml +0 -0
  828. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/suites/rdf-seed-001.yaml +0 -0
  829. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/suites/reddit-seed-001.yaml +0 -0
  830. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/suites/wikidata-seed-001.yaml +0 -0
  831. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/benchmark/validity/durability-seed-001.yaml +0 -0
  832. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/MANIFEST.yaml +0 -0
  833. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/hackernews-thread-001/content.bin +0 -0
  834. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/hackernews-thread-001/manifest.yaml +0 -0
  835. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/hackernews-thread-001/snapshot.json +0 -0
  836. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/journal-entry-001/content.bin +0 -0
  837. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/journal-entry-001/manifest.yaml +0 -0
  838. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/journal-entry-001/snapshot.json +0 -0
  839. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/mastodon-thread-001/content.bin +0 -0
  840. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/mastodon-thread-001/manifest.yaml +0 -0
  841. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/mastodon-thread-001/snapshot.json +0 -0
  842. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/mcp-memory-export-001/content.bin +0 -0
  843. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/mcp-memory-export-001/manifest.yaml +0 -0
  844. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/mcp-memory-export-001/snapshot.json +0 -0
  845. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/nomisma-concept-001/content.bin +0 -0
  846. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/nomisma-concept-001/manifest.yaml +0 -0
  847. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/nomisma-concept-001/snapshot.json +0 -0
  848. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-coin-001/content.bin +0 -0
  849. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-coin-001/manifest.yaml +0 -0
  850. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-coin-001/snapshot.json +0 -0
  851. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-issuer-001/content.bin +0 -0
  852. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-issuer-001/manifest.yaml +0 -0
  853. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-issuer-001/snapshot.json +0 -0
  854. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-listing-001/content.bin +0 -0
  855. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-listing-001/manifest.yaml +0 -0
  856. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/numista-listing-001/snapshot.json +0 -0
  857. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/rdf-graph-001/content.bin +0 -0
  858. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/rdf-graph-001/manifest.yaml +0 -0
  859. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/rdf-graph-001/snapshot.json +0 -0
  860. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/reddit-thread-001/content.bin +0 -0
  861. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/reddit-thread-001/manifest.yaml +0 -0
  862. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/reddit-thread-001/snapshot.json +0 -0
  863. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/taxonomy-coins-001/content.bin +0 -0
  864. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/taxonomy-coins-001/manifest.yaml +0 -0
  865. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/taxonomy-coins-001/snapshot.json +0 -0
  866. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/trust-lens-001/content.bin +0 -0
  867. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/trust-lens-001/manifest.yaml +0 -0
  868. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/trust-lens-001/snapshot.json +0 -0
  869. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-article-001/content.bin +0 -0
  870. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-article-001/manifest.yaml +0 -0
  871. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-article-001/snapshot.json +0 -0
  872. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-article-002/content.bin +0 -0
  873. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-article-002/manifest.yaml +0 -0
  874. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-article-002/snapshot.json +0 -0
  875. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-essay-001/content.bin +0 -0
  876. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-essay-001/manifest.yaml +0 -0
  877. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-essay-001/snapshot.json +0 -0
  878. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-interview-001/content.bin +0 -0
  879. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-interview-001/manifest.yaml +0 -0
  880. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/web-interview-001/snapshot.json +0 -0
  881. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/wikidata-entity-001/content.bin +0 -0
  882. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/wikidata-entity-001/manifest.yaml +0 -0
  883. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/conformance/fixtures/wikidata-entity-001/snapshot.json +0 -0
  884. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/dogfood/__init__.py +0 -0
  885. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/dogfood/corpus.yaml +0 -0
  886. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/dogfood/llm_responses.yaml +0 -0
  887. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/dogfood/record.py +0 -0
  888. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/.obsidian/app.json +0 -0
  889. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/1933 Double Eagle.md +0 -0
  890. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Coin Silver Standards.md +0 -0
  891. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Flowing Hair Dollar.md +0 -0
  892. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Grading and Condition.md +0 -0
  893. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Home.md +0 -0
  894. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Mint Records.md +0 -0
  895. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Morgan Dollar.md +0 -0
  896. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Most Expensive Coins.md +0 -0
  897. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Philadelphia Mint.md +0 -0
  898. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/Seated Liberty Dollar.md +0 -0
  899. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/US Mint History.md +0 -0
  900. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/_GROUND_TRUTH.md +0 -0
  901. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/_templates/Coin Note Template.md +0 -0
  902. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/llm_wiki_vault/inventory.csv +0 -0
  903. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/memory_dir/MEMORY.md +0 -0
  904. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/memory_dir/deploy-pipeline.md +0 -0
  905. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/memory_dir/orion-api.md +0 -0
  906. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/scope/normative-rule-file.md +0 -0
  907. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/scope/normative-rule-file.recorded.json +0 -0
  908. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/scope/rule-file-agents-md.md +0 -0
  909. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/fixtures/scope/rule-file-agents-md.recorded.json +0 -0
  910. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/mcp/memory-tool-schema.json +0 -0
  911. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/mcp/resource-schema.json +0 -0
  912. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_anki.py +0 -0
  913. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_api_middleware.py +0 -0
  914. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_api_rate_limit.py +0 -0
  915. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_article_synthesis.py +0 -0
  916. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_auth.py +0 -0
  917. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_benchmark_memory_comparators.py +0 -0
  918. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_benchmark_modality.py +0 -0
  919. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_benchmark_observer.py +0 -0
  920. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_benchmark_polarity.py +0 -0
  921. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_benchmark_validity.py +0 -0
  922. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_blob_fsck.py +0 -0
  923. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_blob_health.py +0 -0
  924. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_candidate_dedup.py +0 -0
  925. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cascade.py +0 -0
  926. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cascade_gate.py +0 -0
  927. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_claims.py +0 -0
  928. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_claude_code_project.py +0 -0
  929. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_benchmark_memory.py +0 -0
  930. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_extract.py +0 -0
  931. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_lint.py +0 -0
  932. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_logging.py +0 -0
  933. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_memory_useful.py +0 -0
  934. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_particle_source.py +0 -0
  935. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_query.py +0 -0
  936. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_cli_suggested_commands.py +0 -0
  937. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_co_evidential_cli.py +0 -0
  938. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_co_evidential_merge.py +0 -0
  939. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_co_evidential_query_collapse.py +0 -0
  940. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_conformance.py +0 -0
  941. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_conformance_cli.py +0 -0
  942. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_conformance_profile.py +0 -0
  943. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_contested_badge.py +0 -0
  944. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_context_fingerprint.py +0 -0
  945. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_context_schema_sync.py +0 -0
  946. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_contributor_ref.py +0 -0
  947. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_cat.py +0 -0
  948. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_delete.py +0 -0
  949. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_delete_operation.py +0 -0
  950. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_fetch.py +0 -0
  951. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_fsck_cli.py +0 -0
  952. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_links_cli.py +0 -0
  953. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_corpus_retract.py +0 -0
  954. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_decay.py +0 -0
  955. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_decay_policy.py +0 -0
  956. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_deposit_follow.py +0 -0
  957. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_deposit_project_keys.py +0 -0
  958. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_deposit_routing.py +0 -0
  959. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_deposit_suggest.py +0 -0
  960. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_deposit_versioned.py +0 -0
  961. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_docstrings.py +0 -0
  962. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_dogfood_corpus.py +0 -0
  963. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_dogfood_record.py +0 -0
  964. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_embedding_model_marker.py +0 -0
  965. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_engine_cli.py +0 -0
  966. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_equivalence.py +0 -0
  967. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_exporter_quality_threshold.py +0 -0
  968. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_exporters_registry.py +0 -0
  969. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_extraction_provider_model.py +0 -0
  970. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_extractor_ref.py +0 -0
  971. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_fingerprint.py +0 -0
  972. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_generation_cascade.py +0 -0
  973. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_granularity.py +0 -0
  974. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_graph_exporter.py +0 -0
  975. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_hackernews_extractor.py +0 -0
  976. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_http.py +0 -0
  977. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_id_norm.py +0 -0
  978. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integration_journal_modality.py +0 -0
  979. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integration_memory_benchmark.py +0 -0
  980. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integration_polarity.py +0 -0
  981. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integration_polarity_benchmark.py +0 -0
  982. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integration_rot_benchmark.py +0 -0
  983. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integration_validity_benchmark.py +0 -0
  984. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_integrations_langchain.py +0 -0
  985. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_interchange.py +0 -0
  986. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_jsonl_exporter.py +0 -0
  987. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_jsonld_context.py +0 -0
  988. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_layer_boundary.py +0 -0
  989. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_links_dedup.py +0 -0
  990. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_links_unmerge.py +0 -0
  991. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_lint_callouts.py +0 -0
  992. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_lint_citation_signal.py +0 -0
  993. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_lint_contestedness.py +0 -0
  994. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_lint_granularity.py +0 -0
  995. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_mastodon_extractor.py +0 -0
  996. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_mcp_links_suggest.py +0 -0
  997. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_mcp_memory.py +0 -0
  998. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_mcp_server.py +0 -0
  999. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_memory_compat.py +0 -0
  1000. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_memory_rescope_cli.py +0 -0
  1001. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_migration_035_properties_keys.py +0 -0
  1002. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_migration_037_reviewer_statement_key.py +0 -0
  1003. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_migration_040_tag_edges.py +0 -0
  1004. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_migration_preview.py +0 -0
  1005. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_narrative.py +0 -0
  1006. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_narrative_cli.py +0 -0
  1007. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_narrative_merge.py +0 -0
  1008. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_narrative_synthesis.py +0 -0
  1009. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_nomisma.py +0 -0
  1010. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_notion_exporter.py +0 -0
  1011. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_numista.py +0 -0
  1012. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_observability.py +0 -0
  1013. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_observer_scope.py +0 -0
  1014. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_observer_scope_surfaces.py +0 -0
  1015. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_openapi_snapshot.py +0 -0
  1016. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_operations_scope.py +0 -0
  1017. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_operator_events.py +0 -0
  1018. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_operator_verb_routing.py +0 -0
  1019. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_owner_policy.py +0 -0
  1020. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_packaging.py +0 -0
  1021. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_particle_store.py +0 -0
  1022. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_plan_collapse.py +0 -0
  1023. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_plan_unmerge_group.py +0 -0
  1024. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_project_import.py +0 -0
  1025. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_projection.py +0 -0
  1026. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_projection_git.py +0 -0
  1027. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_projection_manifest.py +0 -0
  1028. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_property_keys.py +0 -0
  1029. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_provenance_append_only.py +0 -0
  1030. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_query_contestedness.py +0 -0
  1031. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_query_gaps.py +0 -0
  1032. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_query_negative_retrieval.py +0 -0
  1033. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_query_source_trust.py +0 -0
  1034. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_query_stance.py +0 -0
  1035. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_rdf.py +0 -0
  1036. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_reddit.py +0 -0
  1037. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_refresh_outcome.py +0 -0
  1038. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_relation_store.py +0 -0
  1039. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_relevance.py +0 -0
  1040. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_resolver_alias_attach.py +0 -0
  1041. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_routing.py +0 -0
  1042. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_skills.py +0 -0
  1043. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_sql_safety.py +0 -0
  1044. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_stance.py +0 -0
  1045. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_store_adjacent_paths.py +0 -0
  1046. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_store_engine.py +0 -0
  1047. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_structural_query.py +0 -0
  1048. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_structure_edges.py +0 -0
  1049. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_structured_claim.py +0 -0
  1050. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_subject_scope.py +0 -0
  1051. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_subjects_split.py +0 -0
  1052. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_synthesis_cache_integration.py +0 -0
  1053. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_synthesis_cache_store.py +0 -0
  1054. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_synthesis_topic.py +0 -0
  1055. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_taxonomy_extractor.py +0 -0
  1056. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_taxonomy_schema.py +0 -0
  1057. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_taxonomy_store.py +0 -0
  1058. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_transitions.py +0 -0
  1059. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_trust_lens.py +0 -0
  1060. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_url_mention_store.py +0 -0
  1061. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_url_safety.py +0 -0
  1062. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_utility.py +0 -0
  1063. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_utility_feedback.py +0 -0
  1064. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_utility_policy.py +0 -0
  1065. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_vault_import.py +0 -0
  1066. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_version_guard.py +0 -0
  1067. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_web_app.py +0 -0
  1068. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_web_clipper_import.py +0 -0
  1069. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_wiki_exporter.py +0 -0
  1070. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_wikidata_importer.py +0 -0
  1071. {linkedparticles-1.151.18 → linkedparticles-1.187.3}/tests/test_wikidata_link_confidence.py +0 -0
@@ -0,0 +1,320 @@
1
+ Metadata-Version: 2.5
2
+ Name: linkedparticles
3
+ Version: 1.187.3
4
+ Summary: Auditable, provenance-tracked memory for AI agents — the Particles engine and its API, CLI, and MCP surfaces
5
+ Project-URL: Homepage, https://linkedparticles.org
6
+ Project-URL: Documentation, https://docs.linkedparticles.org
7
+ Project-URL: Repository, https://github.com/LinkedParticles/particles-engine-py
8
+ Author: The Particles authors
9
+ License: Apache-2.0
10
+ License-File: LICENSE
11
+ License-File: NOTICE
12
+ Keywords: agent-memory,agents,ai-memory,audit,belief-store,beliefs,citations,claim-extraction,epistemic,epistemics,json-ld,knowledge-graph,knowledge-management,llm,mcp,memory,provenance,psum,rag,uncertainty
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Environment :: Console
15
+ Classifier: Environment :: Web Environment
16
+ Classifier: Framework :: FastAPI
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Intended Audience :: Information Technology
19
+ Classifier: Intended Audience :: Science/Research
20
+ Classifier: License :: OSI Approved :: Apache Software License
21
+ Classifier: Natural Language :: English
22
+ Classifier: Operating System :: OS Independent
23
+ Classifier: Programming Language :: Python :: 3
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
27
+ Classifier: Topic :: Database
28
+ Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
29
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
30
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
31
+ Classifier: Topic :: Software Development :: Libraries
32
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
33
+ Classifier: Typing :: Typed
34
+ Requires-Python: >=3.11
35
+ Requires-Dist: aiosqlite>=0.20
36
+ Requires-Dist: alembic>=1.13
37
+ Requires-Dist: apscheduler>=3.10
38
+ Requires-Dist: fastapi>=0.111
39
+ Requires-Dist: filelock>=3.13
40
+ Requires-Dist: greenlet>=3.5.0
41
+ Requires-Dist: jinja2>=3.1
42
+ Requires-Dist: linkedparticles-core==1.187.3
43
+ Requires-Dist: mcp<2,>=1.27.1
44
+ Requires-Dist: opentelemetry-api>=1.27
45
+ Requires-Dist: python-multipart>=0.0.9
46
+ Requires-Dist: sqlalchemy[asyncio]<2.2,>=2.0
47
+ Requires-Dist: typer>=0.12
48
+ Requires-Dist: uvicorn[standard]>=0.30
49
+ Requires-Dist: warcio>=1.7
50
+ Provides-Extra: langchain
51
+ Requires-Dist: langchain-core>=0.3; extra == 'langchain'
52
+ Provides-Extra: otel
53
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http>=1.27; extra == 'otel'
54
+ Requires-Dist: opentelemetry-instrumentation-fastapi>=0.48b0; extra == 'otel'
55
+ Requires-Dist: opentelemetry-instrumentation-httpx>=0.48b0; extra == 'otel'
56
+ Requires-Dist: opentelemetry-instrumentation-logging>=0.48b0; extra == 'otel'
57
+ Requires-Dist: opentelemetry-instrumentation-sqlalchemy>=0.48b0; extra == 'otel'
58
+ Requires-Dist: opentelemetry-sdk>=1.27; extra == 'otel'
59
+ Description-Content-Type: text/markdown
60
+
61
+ # linkedparticles
62
+
63
+ **[linkedparticles.org](https://linkedparticles.org)** ·
64
+ **[docs.linkedparticles.org](https://docs.linkedparticles.org)** ·
65
+ [PyPI](https://pypi.org/project/linkedparticles/) ·
66
+ [Apache-2.0](https://github.com/LinkedParticles/particles-engine-py/blob/main/LICENSE)
67
+
68
+ <!-- Ownership proof for the official Model Context Protocol registry: the
69
+ registry matches this token against the server name in server.json before
70
+ it will accept a listing for the linkedparticles PyPI package. Keep it
71
+ byte-identical to server.json's `name`. -->
72
+ <!-- mcp-name: org.linkedparticles/particles -->
73
+
74
+ > **Particles is shared memory for humans and AI agents.** Each particle is one
75
+ > claim, plus what you need to judge it: who said it, where, when, and how
76
+ > confident they were. Facts, opinions, and memories are all claims, recorded
77
+ > the same way as particles. Particles are not edited or deleted. Particles are
78
+ > superseded, retracted, or disputed in the open. How much to trust it is a
79
+ > perspective applied at query time, never baked into the record.
80
+
81
+ `linkedparticles` is the **Engine** of the Particles reference implementation:
82
+ the package you install to actually run a belief store. Give it documents,
83
+ pages, chat logs, or an agent's own session notes; get back claim-granularity
84
+ beliefs, each carrying calibrated confidence, an uncertainty kind, a resolved
85
+ subject, and provenance back to the exact source bytes. Ask a question and the
86
+ answer cites the beliefs it was built from. Nothing is ever overwritten, so you
87
+ can ask the store what it believed a year ago and why it stopped.
88
+
89
+ **When your agent is wrong, you can see exactly why, and fix it at the source.**
90
+
91
+ The Engine is a library first. The HTTP API, the CLI, the read-only MCP server,
92
+ and the resident daemon are all *surfaces* over it.
93
+
94
+ ## Install
95
+
96
+ ```bash
97
+ pip install linkedparticles
98
+ ```
99
+
100
+ Python 3.11+. `linkedparticles-core`, the store-free Client layer, is pulled
101
+ in automatically.
102
+
103
+ ## Sixty seconds
104
+
105
+ ```bash
106
+ export ANTHROPIC_API_KEY=sk-ant-...
107
+ particles db init
108
+
109
+ # Deposit a source (file, URL, or literal text) into the append-only corpus
110
+ particles deposit https://en.wikipedia.org/wiki/Pluto
111
+
112
+ # Extract claim-granularity beliefs with confidence, subjects, and provenance
113
+ particles extract --all-pending
114
+
115
+ # Ask in natural language; the answer cites the particles behind it
116
+ particles query "Why is Pluto not a planet?"
117
+
118
+ # Health-check the store: contradictions, staleness, orphaned links
119
+ particles lint
120
+ ```
121
+
122
+ Because nothing is overwritten, the store can replay its own history. `--as-of`
123
+ is the **assertion-time** lens. It answers *what did the store believe at T, and
124
+ why did it stop*, not what was true of the world at T:
125
+
126
+ ```bash
127
+ particles query "How many planets are in the Solar System?" --as-of 2000-01-01
128
+ # → the belief as it stood then, and why it no longer stands: SUPERSEDED,
129
+ # retired 2006-08-24, superseded by "Pluto is a dwarf planet."
130
+ ```
131
+
132
+ There is a clickable version of that belief history on the
133
+ [front door](https://linkedparticles.org). Step by step:
134
+ [getting started](https://docs.linkedparticles.org/user-guide/getting-started/),
135
+ then [as-of time travel](https://docs.linkedparticles.org/user-guide/as-of/).
136
+
137
+ ### Wiring it into an agent
138
+
139
+ ```bash
140
+ particles mcp serve # read-only MCP server (stdio), any MCP client
141
+ particles init claude-code # session-start digest, session-end harvest
142
+ particles engine serve # HTTP API, for a shared or remote engine
143
+ particles export obsidian ./vault # also: anki, wiki, logseq, notion, graph, jsonl
144
+ ```
145
+
146
+ It can also stand in for the reference memory server, and it plugs into
147
+ LangChain as a retriever and a tool set. See
148
+ [Claude Code memory](https://docs.linkedparticles.org/user-guide/claude-code/),
149
+ [swapping in for the reference memory server](https://docs.linkedparticles.org/user-guide/memory-server-swap/),
150
+ and [using from LangChain](https://docs.linkedparticles.org/user-guide/integrations/).
151
+
152
+ ## Does it hold up?
153
+
154
+ Measured on **LongMemEval**, the multi-session agent-memory benchmark, with a
155
+ full-context oracle and a no-memory floor run as controls in the same harness:
156
+
157
+ | | Recall@40 | End-to-end QA |
158
+ |---|---:|---:|
159
+ | **Particles memory** (shipped default, `top_k` 40) | **0.969** | **0.804** |
160
+ | Full-context oracle (baseline, n=148) | — | 0.878 |
161
+ | No memory (floor) | — | 0.047 |
162
+
163
+ Method, per-question-type breakdowns, comparator memories, and the
164
+ budget-matched arm (including the arms where Particles *loses*) are on the
165
+ [benchmarks page](https://docs.linkedparticles.org/benchmarks/), with the
166
+ report JSONs of record beside them.
167
+
168
+ ## Security posture
169
+
170
+ A memory layer is an *input-shaping* attack surface: it does not merely hold
171
+ data, it shapes what the agent believes and does next, so a poisoned claim is
172
+ an instruction on a delay timer. Before this code was opened we ran an
173
+ adversarial application-security audit over the whole package: the HTTP, CLI,
174
+ and MCP surfaces, the filesystem writers, the egress layer, and the build
175
+ pipeline. The verdict, verbatim: **GO-WITH-FIXES**, with **33 findings (2
176
+ High, 7 Medium, 20 Low, 4 Info)**. The ranked must-fix set merged the following
177
+ day; the last open finding closed in `v1.128.0`.
178
+
179
+ What that bought, and what it did not:
180
+
181
+ - **Prompt injection is contained, not eliminated.** Every LLM call site that
182
+ touches attacker-controllable text keeps trusted instructions in the system
183
+ turn and wraps the untrusted material in a per-call, 128-bit-nonce data
184
+ fence, with structural backstops behind it: a JSON contract enforced at the
185
+ parser, a citation-id membership gate on synthesized prose. This raises the
186
+ bar materially. It is hardening, not immunity.
187
+ - **The model is never given tools, and no model output is executed.** No
188
+ function-calling; nothing the model emits becomes a shell command, a SQL
189
+ fragment, or a fetch. An injection can at worst distort *claims*, never
190
+ trigger *actions*.
191
+ - **Outbound fetches are validated per hop.** The host is resolved, the address
192
+ is checked against a blocklist, and the connection is made to *that vetted
193
+ address*, re-resolved and re-validated on every redirect. That closes DNS
194
+ rebinding and redirect SSRF, not just the first lookup. The two fetches that
195
+ run as subprocesses reach the same guarantee by pinning to addresses this
196
+ process vetted.
197
+ - **Fail-closed auth, and no raw SQL.** The API refuses to boot on a
198
+ non-loopback bind without a real bearer key, and the token comparison is
199
+ constant-time. Every query in the data layer is typed ORM with bound
200
+ parameters: no `text()`, no string-built SQL, no dynamic `ORDER BY`.
201
+ - **Local-first by default.** Loopback bind, a local SQLite file, telemetry
202
+ off, and the MCP server as a locally-spawned stdio child rather than a
203
+ network service. The only outbound traffic in the default posture is what you
204
+ configured.
205
+
206
+ The real answer to the residual is epistemic rather than technical: every
207
+ particle carries its provenance, source trust is a read-time lens that
208
+ discounts a distrusted source without rewriting anything, and `lint` / `review`
209
+ turn your rulings on contradictions into a reusable trust policy. The store is
210
+ a record of *what sources said, weighted by how much you trust them*, not an
211
+ oracle, so a poisoned source is something you can see, discount, and retract
212
+ with the audit trail intact.
213
+
214
+ The limitations we ask you to read before relying on any of this are in
215
+ [SECURITY.md](https://github.com/LinkedParticles/particles-engine-py/blob/main/SECURITY.md):
216
+ the unauthenticated read surface, verbatim storage of whatever you deposit
217
+ (secrets included), the single-operator trust model, and the MCP write
218
+ boundary. SECURITY.md is also where to report a vulnerability; please report
219
+ privately.
220
+
221
+ ## Why Particles?
222
+
223
+ <!-- BEGIN PROJECTED: what-is (manifest: docs/projection/readme.yaml) -->
224
+ Most Retrieval-Augmented Generation systems re-derive knowledge from scratch on every query, operating over raw text chunks without any persistent record of what was learned, how confidently it was held, or where it came from. Particles takes a different approach: rather than retrieving passages, it stores discrete, citable, revisable claims (natural-language sentences paired with structured metadata for confidence, provenance, and uncertainty) so that an agent's knowledge accumulates as an auditable ledger rather than evaporating between sessions. Corpus-entry-level provenance is required at Core, meaning every belief can be traced back to the source that produced it, and the particle store itself is a derived view that can be rebuilt from the corpus by re-running extractors, giving the system both durability and reproducibility.
225
+
226
+ The Particles standard defines the particle schema, the source-corpus model, the extraction protocol, and a set of operations (deposit, extract, query, lint, review, and reindex) that together form the spine along which an agent's knowledge is built, queried, audited, and revised one belief at a time. A developer working with this loop deposits a source into the append-only corpus, extracts claim-granularity particles with resolved subjects, queries by effective-confidence ranking, lints for contradictions and staleness, and reviews inconsistencies into a reusable trust policy. Because particles carry explicit confidence and provenance, Particles can answer queries that require finding relevant claims about a subject and synthesising them with provenance intact, rather than returning a ranked list of chunks whose epistemic status is opaque.
227
+
228
+ Particles is a minimal interoperable substrate for claim-granularity agent knowledge: narrower than a formal-ontology knowledge graph such as RDF/SPARQL and more structured than augmented markdown. Anchoring every particle to a subject is what makes this precision possible: the Subject store is the standard's catalogue of real-world entities against which particles are indexed, aligning beliefs to canonical entities that can, in principle, be mapped to external ontologies. A developer choosing Particles is therefore choosing a substrate where each belief is a first-class object with an identity, a confidence score, a source, and a subject, not a position in a vector space.
229
+
230
+ <!-- sources: p-21f11766, p-3f71ca93, p-7931228a, p-80f9b726, p-a5a42fe0, p-ba8cfa2c, p-cb10c54c, p-d3fd6c56 -->
231
+ <!-- END PROJECTED: what-is -->
232
+
233
+ ## Design rationale
234
+
235
+ <!-- BEGIN PROJECTED: design-rationale (manifest: docs/projection/readme.yaml) -->
236
+ The foundation of Particles is the guarantee that nothing already written is ever overwritten. The Source Corpus is constituted as an append-only archive of all materials from which particles have been or may be extracted, meaning that every ingested source and every derived claim accumulates in place rather than displacing what came before. Provenance is carried by each particle from the moment of its creation, and when a source must be handled in a mutable mode rather than a purely append-only one, the system does not silently absorb the change: particles whose provenance location falls within the changed regions are flagged with `PROVENANCE_STALE`, making the disturbance visible rather than burying it. Supersession and retraction therefore propagate deterministically through the provenance graph, touching every claim whose origin is implicated, so the ledger remains a faithful record of what was asserted and when, never a quietly revised version of the past.
237
+
238
+ Trust in Particles is not a property baked into a stored record but a lens applied at the moment of reading. The raw confidence value is stored immutably, calibrated at the time a particle is created and never subsequently altered; what changes with each query is the effective confidence, which is computed at query time rather than stored. Trust weighting, recency decay, and the as-of instant are all applied per observer at query time, never written back into the record. This means that a belief does not need to be retracted or rewritten to sink in the rankings as its source ages or as the extractor that produced it loses credibility: the stored particle remains intact while the effective confidence computed over it falls, allowing stale beliefs to recede naturally without any mutation of the underlying ledger. When `as_of` is set to a past instant T, the query evaluates the store on the assertion-time axis (what the store believed at T) rather than on any world-time validity dimension, so the same immutable corpus can answer questions about present belief and historical belief without ambiguity.
239
+
240
+ Contradictions in Particles are treated as first-class citizens of the knowledge graph rather than anomalies to be suppressed. When two sources or two principals disagree, the conflict-resolution ladder surfaces an `INCONSISTENCY` record for review instead of silently overwriting either side, preserving both competing claims in the ledger and making the disagreement legible to any downstream consumer. Contestedness, the property that marks a particle as being in tension with one or more others, must be computed at read time and is never stored; like effective confidence, it is a read-time lens rather than a durable annotation, which means that as new particles arrive or old ones are superseded, the contested status of any given claim is always freshly derived from the current state of the graph rather than from a stale flag written at some earlier moment.
241
+
242
+ Memory in Particles maintains itself through a periodic, automated health discipline. The Lint operation performs health checks for contradictions, stale claims, orphan pages, and missing cross-references, scanning the corpus on a scheduled basis so that problems accumulate into visible findings rather than silently degrading the quality of the belief store. Because nothing is overwritten and contradictions are surfaced rather than resolved by fiat, Lint operates on a stable substrate: it traverses the same immutable record that queries read, and its findings feed back into the trust-policy review cycle, closing the loop between ingestion, querying, and the ongoing stewardship of the ledger's integrity.
243
+
244
+ <!-- sources: p-0296afc0, p-8476c2ac, p-8767ad66, p-9cf41a46, p-c3b1cef6, p-cea0186c, p-d0d41702, p-f1ced6c4, p-f35e1dee -->
245
+ <!-- END PROJECTED: design-rationale -->
246
+
247
+ ## Architecture
248
+
249
+ <!-- BEGIN PROJECTED: architecture (manifest: docs/projection/readme.yaml) -->
250
+ A Particles deployment is organized around two distinct storage subsystems: a Source Corpus store and a Particle store. The Source Corpus store is an append-only object store, compatible with a local filesystem, an S3-compatible backend, or a content-addressed store, while corpus entries and snapshot metadata are held in queryable form, either relational or document store. Together these two subsystems form the durable foundation on which all operations act.
251
+
252
+ The Core SDK exposes both a clean Python API and a CLI, and the six core operations (Deposit, Extract, Query, Lint, Reindex, and Review) each map to a CLI subcommand and a `POST` API endpoint in the reference SDK. A developer therefore has two symmetric surfaces for every operation: a scriptable command line suitable for pipelines and a programmatic endpoint suitable for application integration.
253
+
254
+ The journey from a raw source to a set of particles begins with Deposit, which writes the source into the append-only corpus, and continues with Extract, which drives the extraction pipeline. That pipeline selects the most specific registered extractor whose applicability specification matches the deposited source; the general extractor is used if and only if no domain-specific extractor applies. Once particles exist in the Particle store, Query retrieves them ranked by effective confidence, Lint checks for contradictions and staleness, Reindex rebuilds derived indexes, and Review consolidates inconsistencies into a reusable trust policy. Each step in this sequence is a discrete, named operation rather than an implicit side effect, which means a developer can invoke any stage independently and observe its inputs and outputs in isolation.
255
+
256
+ <!-- sources: p-3bd3740c, p-5a941962, p-8f670063, p-a4bdde07, p-ac28fba0, p-cb1cd190, p-e5639e78 -->
257
+ <!-- END PROJECTED: architecture -->
258
+
259
+ > The *Why Particles?*, *Design rationale*, and *Architecture* sections are
260
+ > **cited projections of a particle store**, not hand-authored prose. Each
261
+ > marked block is rendered from
262
+ > [`docs/projection/readme.yaml`](https://github.com/LinkedParticles/particles-engine-py/blob/main/docs/projection/readme.yaml)
263
+ > and the corpus bundle committed beside it, and the trailer under each block
264
+ > names the exact claims it was built from. Edit the manifest or the underlying
265
+ > particles and re-render, never the prose between the sentinels. Check it
266
+ > yourself: `python scripts/projection_drift.py` restores the bundle into a
267
+ > throwaway store, re-derives the deterministic render, and fails if any block
268
+ > has drifted from the claims it cites.
269
+ >
270
+ > This is the project eating its own dogfood: the README argues for
271
+ > claim-granularity knowledge with provenance, and is itself assembled that way.
272
+
273
+ ## Documentation
274
+
275
+ Everything below is served at
276
+ **[docs.linkedparticles.org](https://docs.linkedparticles.org)**.
277
+
278
+ | Guide | What it covers |
279
+ |---|---|
280
+ | [User guide](https://docs.linkedparticles.org/user-guide/) | Depositing, extracting, querying, as-of time travel, exporting, agent integrations |
281
+ | [Operator guide](https://docs.linkedparticles.org/operator-guide/) | Configuration, tuning, lint and review, remote engines, containers, observability, troubleshooting |
282
+ | [Plugin-author guide](https://docs.linkedparticles.org/plugin-author-guide/) | Writing extractors, exporters, and benchmark suites |
283
+ | [CLI reference](https://docs.linkedparticles.org/cli-reference/) | Every verb and flag |
284
+ | [HTTP API](https://docs.linkedparticles.org/api/http/) | The OpenAPI contract |
285
+ | [Benchmarks](https://docs.linkedparticles.org/benchmarks/) | LongMemEval results, method, and comparators |
286
+
287
+ The standard itself (whitepaper, technical specification, and the normative
288
+ schema, context, and vocabulary artifacts) lives at
289
+ **[linkedparticles.org](https://linkedparticles.org)**.
290
+
291
+ ## The three repositories
292
+
293
+ | Repo | What it is |
294
+ |---|---|
295
+ | [`particles-standard`](https://github.com/LinkedParticles/particles-standard) | The standard: whitepaper, technical specification, normative schema + SHACL artifacts, conformance fixtures |
296
+ | [`particles-core-py`](https://github.com/LinkedParticles/particles-core-py) | The Python Client layer ([`linkedparticles-core`](https://pypi.org/project/linkedparticles-core/)) |
297
+ | [`particles-engine-py`](https://github.com/LinkedParticles/particles-engine-py) | **This repo**: the Python Engine layer + surfaces (`linkedparticles`) |
298
+
299
+ ## Deployment
300
+
301
+ Container and chart artifacts live under
302
+ [`deploy/`](https://github.com/LinkedParticles/particles-engine-py/tree/main/deploy).
303
+ The engine ships as a single-writer service; see
304
+ [running in a container](https://docs.linkedparticles.org/operator-guide/container-deployment/).
305
+
306
+ ## Contributing
307
+
308
+ See
309
+ [CONTRIBUTING.md](https://github.com/LinkedParticles/particles-engine-py/blob/main/CONTRIBUTING.md)
310
+ and
311
+ [ARCHITECTURE.md](https://github.com/LinkedParticles/particles-engine-py/blob/main/ARCHITECTURE.md).
312
+ Contributions are accepted under a Developer Certificate of Origin sign-off;
313
+ there is no CLA.
314
+
315
+ ## License
316
+
317
+ Apache-2.0. See
318
+ [LICENSE](https://github.com/LinkedParticles/particles-engine-py/blob/main/LICENSE)
319
+ and
320
+ [NOTICE](https://github.com/LinkedParticles/particles-engine-py/blob/main/NOTICE).
@@ -0,0 +1,57 @@
1
+ # SPDX-FileCopyrightText: 2026 The Particles authors
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ """Count extraction claims per snapshot.
6
+
7
+ One non-null integer column on ``snapshots``:
8
+
9
+ * ``extraction_attempts`` — incremented each time extraction claims the
10
+ snapshot (the IN_PROGRESS write), never reset. The consolidation extract
11
+ catch-up orders its PENDING queue on it, least-tried first,
12
+ then by capture time.
13
+
14
+ Why a column. The pipeline hands a snapshot back to PENDING when every LLM
15
+ call for it failed, which is right for a transient outage and wrong for a
16
+ failure that recurs: a reply cut at the output budget, or a pooled batch that
17
+ outlives ``llm.batch.max_wait_seconds``, fails the same way the next night.
18
+ Ordered on capture time alone, those snapshots were first in line every night.
19
+ Measured on the owner's store 2026-09-25: the same six transcript snapshots,
20
+ captured 2026-07-19 to 2026-08-08, took most of the per-run cap on every run
21
+ since mid-September while 337 PENDING snapshots, every memory file written in
22
+ September among them, waited behind them. Nothing on the row recorded that a
23
+ snapshot had been tried, so no ordering could route around it.
24
+
25
+ **No backfill.** Every existing row starts at 0. A snapshot that was already
26
+ failing repeatedly is tried once more on the first run after this revision,
27
+ and from then on sorts behind every snapshot not yet tried.
28
+
29
+ Revision ID: 041
30
+ Revises: 040
31
+ """
32
+
33
+ import sqlalchemy as sa
34
+
35
+ from alembic import op
36
+
37
+ revision = "041"
38
+ down_revision = "040"
39
+ branch_labels = None
40
+ depends_on = None
41
+
42
+
43
+ def upgrade() -> None:
44
+ with op.batch_alter_table("snapshots") as batch:
45
+ batch.add_column(
46
+ sa.Column(
47
+ "extraction_attempts",
48
+ sa.Integer(),
49
+ nullable=False,
50
+ server_default="0",
51
+ )
52
+ )
53
+
54
+
55
+ def downgrade() -> None:
56
+ with op.batch_alter_table("snapshots") as batch:
57
+ batch.drop_column("extraction_attempts")
@@ -0,0 +1,140 @@
1
+ # SPDX-FileCopyrightText: 2026 The Particles authors
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ """Mark rows born retired, so the as-of lens never reads them as beliefs.
6
+
7
+ One non-null boolean column on ``particles``:
8
+
9
+ * ``born_retired`` — true for a row inserted in a status other than
10
+ ``ACTIVE``: an INCONSISTENCY record, or the losing candidate of a §6.6
11
+ INCONSISTENT verdict persisted ``PROVENANCE_STALE`` / ``CONFLICT_PENDING``.
12
+ ``insert_particle`` stamps it from this revision on.
13
+
14
+ Why a column. The as-of lens hid these rows by their
15
+ current status and reason (``INCONSISTENCY``, ``CONFLICT_PENDING``), and
16
+ resolving a conflict changes both. The loser moves to ``CONFLICT_RESOLVED``
17
+ (PREFER_A, the trust cascade), ``SUPERSEDED`` (promotion) or ``RETRACTED``
18
+ (DISCARD); the record moves to ``RETRACTED`` or ``PROVENANCE_STALE``. Each then
19
+ looked like a retired belief, dated from the review, so an as-of query between
20
+ its birth and the review returned a claim the store never held. Nothing else
21
+ on the row survives the resolution: ``retired_at`` stays NULL (the row never
22
+ left ACTIVE), but it is NULL on pre-029 retirements too.
23
+
24
+ **The backfill** is exact on every store this SDK wrote. It marks:
25
+
26
+ 1. every row still ``INCONSISTENCY`` or ``CONFLICT_PENDING``;
27
+ 2. every resolved INCONSISTENCY record: content opening ``INCONSISTENCY: ``
28
+ (the one template prefix every version has written), not ACTIVE, no
29
+ ``retired_at``;
30
+ 3. every row an INCONSISTENCY record, open or resolved, names as its B claim
31
+ (the second PARTICLE provenance ref), when the row exists, is not ACTIVE,
32
+ and has no ``retired_at``. Since the only writer of an
33
+ INCONSISTENCY record is the quarantine plan, and its B is the quarantined
34
+ candidate; before the B ref was a dangling id, so it matches no
35
+ row.
36
+
37
+ The ``retired_at`` guard skips any row stamped on leaving ACTIVE, which a
38
+ born-retired row never is.
39
+
40
+ ``downgrade()`` drops the column.
41
+
42
+ Revision ID: 042
43
+ Revises: 041
44
+ """
45
+
46
+ from __future__ import annotations
47
+
48
+ import json
49
+
50
+ import sqlalchemy as sa
51
+
52
+ from alembic import op
53
+
54
+ revision = "042"
55
+ down_revision = "041"
56
+ branch_labels = None
57
+ depends_on = None
58
+
59
+ #: The content prefix of every INCONSISTENCY record template this SDK has
60
+ #: written (``core.conflict_resolution.build_inconsistency_particle``).
61
+ _RECORD_PREFIX = "INCONSISTENCY: "
62
+
63
+
64
+ def _b_claim_id(provenance_json: str | None) -> str | None:
65
+ """The B claim an INCONSISTENCY record names: its second PARTICLE ref."""
66
+ try:
67
+ refs = json.loads(provenance_json or "[]")
68
+ except (TypeError, ValueError):
69
+ return None
70
+ if not isinstance(refs, list):
71
+ return None
72
+ particle_refs = [
73
+ r.get("corpus_entry_id")
74
+ for r in refs
75
+ if isinstance(r, dict) and r.get("type") == "PARTICLE"
76
+ ]
77
+ b = particle_refs[1] if len(particle_refs) > 1 else None
78
+ return b if isinstance(b, str) else None
79
+
80
+
81
+ def backfill_born_retired(bind: sa.engine.Connection) -> int:
82
+ """Set ``born_retired`` on every born-retired row already stored.
83
+
84
+ Takes the connection rather than calling ``op.get_bind()`` so the backfill
85
+ is exercisable outside an Alembic context, as in migration 040. See
86
+ ``tests/test_migration_042_born_retired.py``.
87
+
88
+ Returns the number of rows marked.
89
+ """
90
+ marked = {
91
+ pid
92
+ for (pid,) in bind.execute(
93
+ sa.text(
94
+ "SELECT id FROM particles"
95
+ " WHERE status = 'INCONSISTENCY' OR status_reason = 'CONFLICT_PENDING'"
96
+ )
97
+ ).fetchall()
98
+ }
99
+ # Rows that left no trace of ever being believed: not ACTIVE, never stamped.
100
+ unstamped = bind.execute(
101
+ sa.text(
102
+ "SELECT id, content, provenance_json FROM particles"
103
+ " WHERE status != 'ACTIVE' AND retired_at IS NULL"
104
+ )
105
+ ).fetchall()
106
+ unstamped_ids = {pid for pid, _content, _prov in unstamped}
107
+ records = [
108
+ (pid, prov) for pid, content, prov in unstamped if content.startswith(_RECORD_PREFIX)
109
+ ]
110
+ marked.update(pid for pid, _prov in records)
111
+ open_records = bind.execute(
112
+ sa.text("SELECT provenance_json FROM particles WHERE status = 'INCONSISTENCY'")
113
+ ).fetchall()
114
+ record_provenance = [prov for (prov,) in open_records] + [prov for _pid, prov in records]
115
+ b_ids = {b for prov in record_provenance if (b := _b_claim_id(prov)) is not None}
116
+ marked |= b_ids & unstamped_ids
117
+ if marked:
118
+ bind.execute(
119
+ sa.text("UPDATE particles SET born_retired = :t WHERE id = :pid"),
120
+ [{"t": True, "pid": pid} for pid in sorted(marked)],
121
+ )
122
+ return len(marked)
123
+
124
+
125
+ def upgrade() -> None:
126
+ with op.batch_alter_table("particles") as batch:
127
+ batch.add_column(
128
+ sa.Column(
129
+ "born_retired",
130
+ sa.Boolean(),
131
+ nullable=False,
132
+ server_default=sa.false(),
133
+ )
134
+ )
135
+ backfill_born_retired(op.get_bind())
136
+
137
+
138
+ def downgrade() -> None:
139
+ with op.batch_alter_table("particles") as batch:
140
+ batch.drop_column("born_retired")
@@ -0,0 +1,45 @@
1
+ # SPDX-FileCopyrightText: 2026 The Particles authors
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ """Record how far extraction read each snapshot.
6
+
7
+ One nullable integer column on ``snapshots``:
8
+
9
+ * ``extracted_through`` — the offset, in bytes of the raw content, up to which
10
+ extraction read the snapshot. The content's length when the read reached the
11
+ end; the largest paragraph boundary whose decoded prefix was read in full
12
+ when the read was cut at ``extraction.max_llm_calls_per_source``. Written in
13
+ the transaction that marks the snapshot COMPLETE after an extraction.
14
+
15
+ Why a column. An APPEND_ONLY entry's snapshot is extracted as a delta from the
16
+ last snapshot the store extracted, and the delta starts where that read
17
+ stopped. Recording the stop is what lets text a capped read skipped be read on
18
+ the next pass instead of never.
19
+
20
+ **No backfill.** Every existing row stays NULL. The pipeline derives the offset
21
+ of such a base from the chunk hashes its entry's claims carry the first time it
22
+ is used as one, and otherwise counts it as fully extracted.
23
+
24
+ Revision ID: 043
25
+ Revises: 042
26
+ """
27
+
28
+ import sqlalchemy as sa
29
+
30
+ from alembic import op
31
+
32
+ revision = "043"
33
+ down_revision = "042"
34
+ branch_labels = None
35
+ depends_on = None
36
+
37
+
38
+ def upgrade() -> None:
39
+ with op.batch_alter_table("snapshots") as batch:
40
+ batch.add_column(sa.Column("extracted_through", sa.Integer(), nullable=True))
41
+
42
+
43
+ def downgrade() -> None:
44
+ with op.batch_alter_table("snapshots") as batch:
45
+ batch.drop_column("extracted_through")
@@ -0,0 +1,58 @@
1
+ # SPDX-FileCopyrightText: 2026 The Particles authors
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ """The probe-verdict ledger.
6
+
7
+ One new table, ``probe_verdicts``: every answer a pairwise LLM probe gave, so a
8
+ pair a probe already cleared is not asked again. A row is a record:
9
+ the verdict a model gave about two claim contents at one prompt version. It is
10
+ keyed by ``probe_kind``, ``prompt_hash`` and both claims' content hashes, and
11
+ carries the verdict, the model and the time. Rows are only appended; the newest
12
+ row for a key is the one read.
13
+
14
+ ``id`` is an integer surrogate key because one key can hold more than one row
15
+ (a later run that answered differently). The read path looks rows up by the
16
+ full key, which the one composite index covers.
17
+
18
+ **No backfill.** An existing store starts with an empty ledger, and its first
19
+ run after the upgrade probes exactly as before.
20
+
21
+ Revision ID: 044
22
+ Revises: 043
23
+ """
24
+
25
+ from __future__ import annotations
26
+
27
+ import sqlalchemy as sa
28
+
29
+ from alembic import op
30
+
31
+ revision = "044"
32
+ down_revision = "043"
33
+ branch_labels = None
34
+ depends_on = None
35
+
36
+
37
+ def upgrade() -> None:
38
+ op.create_table(
39
+ "probe_verdicts",
40
+ sa.Column("id", sa.Integer(), primary_key=True, autoincrement=True),
41
+ sa.Column("probe_kind", sa.String(length=32), nullable=False),
42
+ sa.Column("prompt_hash", sa.String(length=64), nullable=False),
43
+ sa.Column("hash_a", sa.String(length=64), nullable=False),
44
+ sa.Column("hash_b", sa.String(length=64), nullable=False),
45
+ sa.Column("verdict", sa.Boolean(), nullable=False),
46
+ sa.Column("model", sa.String(), nullable=False),
47
+ sa.Column("recorded_at", sa.DateTime(timezone=True), nullable=False),
48
+ )
49
+ op.create_index(
50
+ "ix_probe_verdicts_key",
51
+ "probe_verdicts",
52
+ ["probe_kind", "prompt_hash", "hash_a", "hash_b"],
53
+ )
54
+
55
+
56
+ def downgrade() -> None:
57
+ op.drop_index("ix_probe_verdicts_key", table_name="probe_verdicts")
58
+ op.drop_table("probe_verdicts")
@@ -0,0 +1,45 @@
1
+ # SPDX-FileCopyrightText: 2026 The Particles authors
2
+ #
3
+ # SPDX-License-Identifier: Apache-2.0
4
+
5
+ """Record which extraction components each snapshot's extraction exercised.
6
+
7
+ One nullable text column on ``snapshots``:
8
+
9
+ * ``extraction_components_json`` — the components the snapshot's latest
10
+ extraction exercised (each prompt section, the chunking path, the vision
11
+ channel, the subject gate), each named and stamped with a content hash of
12
+ the text that defines it. Written in the transaction that marks the snapshot
13
+ COMPLETE after an extraction, beside ``extracted_through``.
14
+
15
+ Why a column. An ``EXTRACTOR_VERSION`` bump re-runs every snapshot stamped with
16
+ the old version, though most bumps change one prompt section or one rule. The
17
+ record is what lets a later bump select only the snapshots that reached the
18
+ changed part. The selection itself is not enabled by this migration.
19
+
20
+ **No backfill.** Every existing row stays NULL, and NULL reads as "every
21
+ component exercised": nothing is known about an extraction that ran before
22
+ the record, so it is never skipped on the record's account.
23
+
24
+ Revision ID: 045
25
+ Revises: 044
26
+ """
27
+
28
+ import sqlalchemy as sa
29
+
30
+ from alembic import op
31
+
32
+ revision = "045"
33
+ down_revision = "044"
34
+ branch_labels = None
35
+ depends_on = None
36
+
37
+
38
+ def upgrade() -> None:
39
+ with op.batch_alter_table("snapshots") as batch:
40
+ batch.add_column(sa.Column("extraction_components_json", sa.Text(), nullable=True))
41
+
42
+
43
+ def downgrade() -> None:
44
+ with op.batch_alter_table("snapshots") as batch:
45
+ batch.drop_column("extraction_components_json")