rag-wright 0.20.0__tar.gz → 0.21.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1201) hide show
  1. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-an-agent-harness/SKILL.md +61 -11
  2. {rag_wright-0.20.0/src/rag_wright/.agents → rag_wright-0.21.0/.claude}/skills/classifier-opportunity-analysis/SKILL.md +2 -2
  3. rag_wright-0.21.0/.claude/skills/decision-model/SKILL.md +183 -0
  4. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/laya/SKILL.md +13 -34
  5. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/setfit/SKILL.md +11 -47
  6. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/using-the-rag-wright-engine/SKILL.md +3 -3
  7. rag_wright-0.21.0/.release-please-manifest.json +3 -0
  8. {rag_wright-0.20.0 → rag_wright-0.21.0}/CHANGELOG.md +51 -0
  9. {rag_wright-0.20.0 → rag_wright-0.21.0}/CLAUDE.md +13 -2
  10. {rag_wright-0.20.0 → rag_wright-0.21.0}/PKG-INFO +1 -1
  11. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/ARCHITECTURE_OVERVIEW.md +1 -1
  12. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0139-the-agent-harness-substrate-is-engine-scope.md +14 -0
  13. rag_wright-0.21.0/docs/adr/0147-the-default-decision-model-while-jev-is-unavailable.md +40 -0
  14. rag_wright-0.21.0/docs/adr/0148-large-results-passed-by-reference.md +48 -0
  15. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/README.md +3 -1
  16. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/api/README.md +1 -1
  17. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/api/harness.md +88 -38
  18. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/api/pack_sdk.md +1 -5
  19. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/configuration.md +1 -1
  20. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/README.md +2 -2
  21. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/classification-and-decision-models.md +12 -4
  22. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/harness.md +267 -17
  23. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/installation.md +2 -2
  24. rag_wright-0.21.0/docs/specs/public-surface/migration-0.21.0.md +80 -0
  25. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/plan.md +26 -0
  26. rag_wright-0.21.0/docs/specs/public-surface/ps-96-results-by-reference.md +158 -0
  27. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/texwright-building-on-the-harness.md +4 -0
  28. {rag_wright-0.20.0 → rag_wright-0.21.0}/examples/harness_quickstart.py +16 -8
  29. {rag_wright-0.20.0 → rag_wright-0.21.0}/pyproject.toml +1 -1
  30. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/build_harness_doc.py +5 -0
  31. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-an-agent-harness/SKILL.md +61 -11
  32. {rag_wright-0.20.0/.claude → rag_wright-0.21.0/src/rag_wright/.agents}/skills/classifier-opportunity-analysis/SKILL.md +2 -2
  33. rag_wright-0.21.0/src/rag_wright/.agents/skills/decision-model/SKILL.md +183 -0
  34. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/laya/SKILL.md +13 -34
  35. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/setfit/SKILL.md +11 -47
  36. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/using-the-rag-wright-engine/SKILL.md +3 -3
  37. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/jev_decision.py +22 -5
  38. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/__init__.py +23 -7
  39. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/agent.py +42 -12
  40. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/batch.py +6 -2
  41. rag_wright-0.21.0/src/rag_wright/harness/budget.py +263 -0
  42. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/clarify.py +11 -1
  43. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/decider.py +34 -10
  44. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/decisions.py +11 -3
  45. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/definition.py +97 -3
  46. rag_wright-0.21.0/src/rag_wright/harness/dispatch.py +303 -0
  47. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/errors.py +16 -9
  48. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/events.py +9 -0
  49. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/filesystem.py +26 -2
  50. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/grading.py +201 -22
  51. rag_wright-0.21.0/src/rag_wright/harness/handover.py +486 -0
  52. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/recording.py +41 -6
  53. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/routing.py +48 -15
  54. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/rules.py +13 -4
  55. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/runs.py +53 -6
  56. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/seen.py +211 -18
  57. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/skills.py +1 -1
  58. rag_wright-0.21.0/src/rag_wright/harness/stalled.py +197 -0
  59. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/tiers.py +64 -70
  60. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/withhold.py +43 -6
  61. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/workers.py +97 -14
  62. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/profiles.py +13 -3
  63. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/pack_sdk/__init__.py +2 -2
  64. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/dg_extraction.py +1 -1
  65. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_shipped_skills.py +1 -0
  66. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_jev_decision.py +77 -4
  67. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/fabric.py +1 -2
  68. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_greenfield_conformance.py +2 -19
  69. rag_wright-0.21.0/tests/harness/test_harness_answer_inside_a_dispatch.py +67 -0
  70. rag_wright-0.21.0/tests/harness/test_harness_answered_by_dispatch.py +246 -0
  71. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_brief_routing.py +2 -1
  72. rag_wright-0.21.0/tests/harness/test_harness_chat_repeats.py +105 -0
  73. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_decider.py +63 -0
  74. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_deciders.py +2 -1
  75. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_dispatch.py +8 -6
  76. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_error_model.py +3 -3
  77. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_example.py +26 -0
  78. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_filesystem.py +52 -0
  79. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_grading.py +22 -0
  80. rag_wright-0.21.0/tests/harness/test_harness_grading_decided.py +261 -0
  81. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_grading_tiers.py +2 -1
  82. rag_wright-0.21.0/tests/harness/test_harness_handover.py +448 -0
  83. rag_wright-0.21.0/tests/harness/test_harness_interpreter.py +46 -0
  84. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_live.py +1 -1
  85. rag_wright-0.21.0/tests/harness/test_harness_markup_replies.py +153 -0
  86. rag_wright-0.21.0/tests/harness/test_harness_orchestrator_dispatches.py +216 -0
  87. rag_wright-0.21.0/tests/harness/test_harness_orchestrator_plans.py +103 -0
  88. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_public_surface.py +2 -2
  89. rag_wright-0.21.0/tests/harness/test_harness_resumed_plan.py +135 -0
  90. rag_wright-0.21.0/tests/harness/test_harness_resumed_record.py +144 -0
  91. rag_wright-0.21.0/tests/harness/test_harness_resumed_routing.py +146 -0
  92. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_routing.py +104 -0
  93. rag_wright-0.21.0/tests/harness/test_harness_run_budget.py +320 -0
  94. rag_wright-0.21.0/tests/harness/test_harness_same_question.py +213 -0
  95. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_seen.py +89 -0
  96. rag_wright-0.21.0/tests/harness/test_harness_stalled_replies.py +118 -0
  97. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_tiers.py +5 -44
  98. rag_wright-0.21.0/tests/harness/test_harness_told_twice.py +156 -0
  99. rag_wright-0.21.0/tests/harness/test_harness_unoffered_tools.py +170 -0
  100. rag_wright-0.21.0/tests/harness/test_harness_waiting_on.py +204 -0
  101. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_withhold.py +28 -3
  102. rag_wright-0.21.0/tests/harness/test_harness_worker_model.py +181 -0
  103. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_workers.py +29 -6
  104. {rag_wright-0.20.0 → rag_wright-0.21.0}/uv.lock +1 -1
  105. rag_wright-0.20.0/.release-please-manifest.json +0 -3
  106. rag_wright-0.20.0/src/rag_wright/harness/dispatch.py +0 -171
  107. rag_wright-0.20.0/src/rag_wright/harness/interpreter.py +0 -101
  108. rag_wright-0.20.0/tests/harness/test_harness_interpreter.py +0 -174
  109. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/settings.json +0 -0
  110. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/authoring-a-capability/SKILL.md +0 -0
  111. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-a-product-backend/SKILL.md +0 -0
  112. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/SKILL.md +0 -0
  113. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
  114. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
  115. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
  116. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/building-an-ingestion-capability/SKILL.md +0 -0
  117. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/creating-evals/SKILL.md +0 -0
  118. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/qwen-vllm-modal/SKILL.md +0 -0
  119. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
  120. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
  121. {rag_wright-0.20.0 → rag_wright-0.21.0}/.claude/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
  122. {rag_wright-0.20.0 → rag_wright-0.21.0}/.env.example +0 -0
  123. {rag_wright-0.20.0 → rag_wright-0.21.0}/.github/workflows/publish.yml +0 -0
  124. {rag_wright-0.20.0 → rag_wright-0.21.0}/.github/workflows/release-please.yml +0 -0
  125. {rag_wright-0.20.0 → rag_wright-0.21.0}/.gitignore +0 -0
  126. {rag_wright-0.20.0 → rag_wright-0.21.0}/LICENSE +0 -0
  127. {rag_wright-0.20.0 → rag_wright-0.21.0}/README.md +0 -0
  128. {rag_wright-0.20.0 → rag_wright-0.21.0}/SPEC.md +0 -0
  129. {rag_wright-0.20.0 → rag_wright-0.21.0}/conftest.py +0 -0
  130. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/ArcadeDB_Local.md +0 -0
  131. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/OBSERVABILITY.md +0 -0
  132. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0001-stack-and-library-choices.md +0 -0
  133. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0002-validation-corpus-cuad-edgar.md +0 -0
  134. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0003-ard-registration-and-capability-kinds.md +0 -0
  135. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0004-entity-disambiguation.md +0 -0
  136. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0005-relational-golden-set.md +0 -0
  137. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0006-model-profile.md +0 -0
  138. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0007-arcadedb-store-schema.md +0 -0
  139. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0008-unified-framework-index-docs-grounding.md +0 -0
  140. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0009-rlm-chunking-retained-as-configurable-capability.md +0 -0
  141. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0010-transformers-pinned-below-5-for-flagembedding-reranker.md +0 -0
  142. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0011-cuad-not-a-retrieval-benchmark-acord-for-queries.md +0 -0
  143. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0012-entity-mention-confidence-no-proximity-edges.md +0 -0
  144. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0013-entity-resolution-matching-strategy.md +0 -0
  145. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0014-split-generation-and-vision-to-text.md +0 -0
  146. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0015-rlm-dynamic-subagents-and-granted-subagents.md +0 -0
  147. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0016-rlm-defined-by-required-capabilities-enforced-as-tests.md +0 -0
  148. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0017-dynamic-dispatch-trigger-as-typed-flag.md +0 -0
  149. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0018-rlm-method-is-the-orchestrator-system-prompt.md +0 -0
  150. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0019-recursion-is-optional-for-chunking-required-for-synthesis.md +0 -0
  151. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0020-serialize-interpreter-sessions-per-process-ki1.md +0 -0
  152. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0021-capability-interface-governed-typed-io.md +0 -0
  153. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0022-fr-k-embedding-free-okf-navigation-experimental.md +0 -0
  154. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0023-cheap-model-for-okf-enrichment.md +0 -0
  155. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0024-reader-parallelism-lives-in-python-not-the-interpreter.md +0 -0
  156. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0025-retrieval-pivot-function-classify-property-graph-rerank.md +0 -0
  157. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0026-property-schema-and-extended-function-taxonomy.md +0 -0
  158. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0027-openrouter-provider-routing-by-throughput.md +0 -0
  159. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0028-deterministic-grounding-judge-and-flash-pro-cascade.md +0 -0
  160. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0029-retrieval-pipeline-domain-portability-and-adaptation.md +0 -0
  161. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0030-model-training-standard-modal-reusable-checkpointed.md +0 -0
  162. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0031-single-call-chunking-for-structured-contracts.md +0 -0
  163. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0032-nl-to-type-two-step-reason-emit-on-gemma.md +0 -0
  164. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0033-unified-contract-kg-three-legs-one-graph.md +0 -0
  165. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0034-granite-json-schema-structured-output-profile.md +0 -0
  166. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0035-graph-extraction-rebacked-with-gp1b-retire-hybrid.md +0 -0
  167. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0036-party-clause-link-party-to-edge.md +0 -0
  168. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0037-clause-template-is-authoritative-code-not-generated.md +0 -0
  169. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0038-full-cuad-kg-on-gcp-gpu-vm-and-gcs-backup.md +0 -0
  170. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0039-self-hosted-open-model-stack-on-modal-a100.md +0 -0
  171. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0040-neuro-symbolic-extraction-fidelity-ontology-shacl-validation.md +0 -0
  172. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0041-capability-kind-rubric-and-agent-skill-runtime-tiers.md +0 -0
  173. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0042-clause-level-span-id-provenance-and-content-hash-backfill.md +0 -0
  174. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0043-retire-cross-corpus-retrieval-standardize-on-leg-b.md +0 -0
  175. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0044-is-exception-to-derived-carveout-relationship.md +0 -0
  176. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0045-client-side-tag-parse-structured-output.md +0 -0
  177. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0046-acord-unified-into-one-production-kg.md +0 -0
  178. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0047-retire-precomputed-clause-function-gate.md +0 -0
  179. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0048-ingest-llm-classifier-nondestructive-reclassify.md +0 -0
  180. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0049-generic-customer-lens-for-ingestion.md +0 -0
  181. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0050-async-langgraph-ingestion.md +0 -0
  182. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0051-schema-bootstrap-and-feedback-driven-ontology-evolution.md +0 -0
  183. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0052-engine-product-split-graphwright-parked.md +0 -0
  184. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0053-answer-prose-output-hygiene.md +0 -0
  185. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0054-remove-auto-tag-from-generator-evidence.md +0 -0
  186. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0055-confidence-out-of-band.md +0 -0
  187. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0056-bound-structured-retry-wall-clock.md +0 -0
  188. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0057-async-engine-architecture.md +0 -0
  189. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0058-structure-first-chunking.md +0 -0
  190. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0059-recall-decoupled-from-classification-and-visible-partial-loss.md +0 -0
  191. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0060-scope-compliance-check-to-named-policy-sources.md +0 -0
  192. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0061-subject-document-compliance-per-section.md +0 -0
  193. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0062-tiered-ocr-scan-quality-vlm-escalation.md +0 -0
  194. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0063-per-sentence-compliance-subject-facts.md +0 -0
  195. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0064-typed-properties-out-of-band-on-evidence.md +0 -0
  196. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0065-deontic-applicability-gates-query-side.md +0 -0
  197. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0066-ontology-ttl-single-source-of-truth.md +0 -0
  198. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0067-domain-pack-retargeting.md +0 -0
  199. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0068-recall-first-actor-gate-ontology-role-disjointness.md +0 -0
  200. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0069-reading-order-chunking-tables-figures-retrievable.md +0 -0
  201. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0070-text-layer-first-parsing-no-false-vlm-escalation.md +0 -0
  202. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0071-defragmentation-reconstruct-paragraphs-from-line-items.md +0 -0
  203. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0072-extract-guard-furniture-and-deterministic-failure.md +0 -0
  204. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0073-born-digital-threshold-sparse-pages-no-vlm-escalation.md +0 -0
  205. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0074-retry-transient-extraction-failures.md +0 -0
  206. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0075-per-page-vlm-escalation.md +0 -0
  207. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0076-thread-safe-shared-embedder-reranker.md +0 -0
  208. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0077-concurrent-function-classification-across-chunks.md +0 -0
  209. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0078-dedicated-extraction-executor.md +0 -0
  210. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0079-product-default-granite-4.2-openrouter-routing.md +0 -0
  211. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0080-nested-tag-parse-and-degrade.md +0 -0
  212. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0081-function-independent-tagparse-clause-extraction.md +0 -0
  213. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0082-symbolic-gate-function-independent.md +0 -0
  214. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0083-executor-hop-trace-context-capture.md +0 -0
  215. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0084-gleaning-off-on-the-query-leg.md +0 -0
  216. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0085-query-constraint-extraction-tagparse.md +0 -0
  217. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0086-streaming-cost-capture.md +0 -0
  218. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0087-retrieval-relevance-score-on-rankedspan.md +0 -0
  219. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0088-per-span-relevance-verdict.md +0 -0
  220. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0089-structured-output-generation-tracing.md +0 -0
  221. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0090-affiliate-of-extraction.md +0 -0
  222. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0091-retire-partyto-edge.md +0 -0
  223. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0092-idempotent-write-graph.md +0 -0
  224. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0093-entities-by-name-seam.md +0 -0
  225. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0094-workspace-document-scope.md +0 -0
  226. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0095-span-page-provenance.md +0 -0
  227. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0096-carveout-keyword-normalization.md +0 -0
  228. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0097-caller-configurable-ingest-extraction-models.md +0 -0
  229. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0098-invoke-time-document-scope.md +0 -0
  230. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0099-mcp-tools-never-take-a-model-supplied-tenant.md +0 -0
  231. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0100-profile-based-model-routing.md +0 -0
  232. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0101-untagged-spans-reach-extraction-aspect-gate-removed.md +0 -0
  233. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0102-open-descriptive-list-dims-retain-verbatim.md +0 -0
  234. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0103-a-clause-is-a-provision-not-a-span.md +0 -0
  235. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0104-dense-floor-protection-in-leg-b.md +0 -0
  236. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0105-in-band-model-usage-accounting.md +0 -0
  237. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0106-document-signals-off-the-citation.md +0 -0
  238. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0107-requirement-page-provenance.md +0 -0
  239. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0108-qwen3-27b-single-a100-serving-profile.md +0 -0
  240. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0109-vllm-cold-start-reduction.md +0 -0
  241. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0110-fp8-kv-cache-16k-single-a100.md +0 -0
  242. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0111-pin-qwen3-27b-deepinfra-bf16.md +0 -0
  243. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0112-relax-deepagents-pin-to-floor.md +0 -0
  244. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0113-llm-span-instrumentation-for-latency-attribution.md +0 -0
  245. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0114-setfit-default-clause-function-classifier.md +0 -0
  246. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0115-classifier-only-step3a-property-extraction.md +0 -0
  247. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0116-soft-function-scoping-classifier-lane.md +0 -0
  248. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0117-engine-api-layer-and-capability-runtime.md +0 -0
  249. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0118-engine-core-api-vs-ard-adapter-free-impl-ref-client.md +0 -0
  250. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0119-jev-typed-decision-model-for-compliance-closed-set-fields.md +0 -0
  251. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0120-rlm-sub-agent-identity-dynamic-dispatch-trigger.md +0 -0
  252. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0121-spacy-optional-extra-model-runtime-download.md +0 -0
  253. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0122-provision-boundary-deterministic-plus-decision-model-residue.md +0 -0
  254. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0123-batched-releases-release-please-and-consumer-dependabot.md +0 -0
  255. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0124-generic-ingestion-builder-and-hooks.md +0 -0
  256. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0125-qwen-openrouter-unpinned.md +0 -0
  257. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0126-unit-representative-hook-and-the-reference-vote.md +0 -0
  258. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0127-retire-the-okf-code.md +0 -0
  259. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0128-two-public-tiers-api-and-pack-sdk.md +0 -0
  260. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0129-laya-temperatures-and-the-sklearn-floor.md +0 -0
  261. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0130-deploy-the-self-hosted-model-server-from-the-engine.md +0 -0
  262. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0131-model-server-hardening-after-rulewright-review.md +0 -0
  263. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0132-model-server-cold-start-from-a-gpu-snapshot.md +0 -0
  264. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0133-model-call-deadline-follows-the-timeout-and-a-thinking-cap.md +0 -0
  265. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0134-skills-for-product-developers-are-linked-per-project-never-globally.md +0 -0
  266. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0135-the-seam-gives-each-event-loop-its-own-async-http-client.md +0 -0
  267. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0136-spreadsheet-tables-are-glued-back-across-blank-rows.md +0 -0
  268. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0137-generated-answers-state-their-support-and-none-is-an-abstention.md +0 -0
  269. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0138-the-engine-reaches-pdfium-through-one-locked-door.md +0 -0
  270. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0140-one-model-family-on-metal.md +0 -0
  271. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0141-the-hard-split-cuts-between-lines-and-repeats-a-tables-header.md +0 -0
  272. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0142-the-default-writer-keeps-one-edge-per-type-and-endpoints.md +0 -0
  273. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0143-a-float-is-written-and-compared-as-a-double.md +0 -0
  274. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0144-one-loaded-bge-model-per-process.md +0 -0
  275. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0145-arcadedb-26-11-1-and-vector-index-upkeep.md +0 -0
  276. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/adr/0146-the-harness-routes-with-a-decision-model.md +0 -0
  277. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/architecture/foundations-and-adding-a-domain.md +0 -0
  278. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/architecture.md +0 -0
  279. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/README.md +0 -0
  280. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/design/deontic-applicability-routing.md +0 -0
  281. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/design/ingestion-neuro-symbolic-gaps.md +0 -0
  282. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/design/semantic-subject-segmentation.md +0 -0
  283. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/design/unify-subject-preprocessing.md +0 -0
  284. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0037-closed-vocab-drops-verbatim-values-to-other.md +0 -0
  285. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0038-a-clause-node-is-now-created-per-sentence-so-98-percent-of-spans-become-clauses.md +0 -0
  286. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0039-the-provision-detector-reads-text-but-docling-puts-the-section-number-in-marker.md +0 -0
  287. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0040-covered-subject-is-asked-of-every-provision-so-verbatim-retention-fills-it-with-noise.md +0 -0
  288. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0041-VERIFICATION-dense-floor.md +0 -0
  289. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0041-leg-b-discards-the-best-dense-matches-on-some-queries.md +0 -0
  290. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0042-usage-is-captured-per-call-but-never-returned-so-cost-needs-a-langfuse-round-trip.md +0 -0
  291. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0043-a-requirement-carries-no-page-provenance-so-a-finding-cannot-point-into-its-policy.md +0 -0
  292. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0044-document-signals-scaffolding-is-shown-to-the-user-as-a-quote-from-their-document.md +0 -0
  293. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0045-a-fixed-money-cap-records-no-cap-quantum-so-the-amount-is-only-prose.md +0 -0
  294. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0046-appending-a-natural-follow-up-to-a-question-drops-the-clause-type.md +0 -0
  295. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0047-an-exact-deepagents-pin-transitively-pins-every-consumer.md +0 -0
  296. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/engine-issues/0048-the-pinned-endpoints-latency-tail-makes-agent-runs-undebuggable-from-either-side.md +0 -0
  297. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-07-20_graphwright_capability_interface_reply.md +0 -0
  298. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-07-20b_graphwright_interface_confirmation.md +0 -0
  299. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-07-20c_graphwright_ingestion_interfaces.md +0 -0
  300. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-08-30_subject_compliance_final_rulewright.md +0 -0
  301. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-01_issue-0013-recall-first-actor-gate_rulewright.md +0 -0
  302. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-01_ontology-source-of-truth_rulewright.md +0 -0
  303. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-03_issue-0014-table-retrievability_rulewright.md +0 -0
  304. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-04_bulk-ingestion-wall_rulewright.md +0 -0
  305. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-04_issue-0016-thread-safe-embedder_rulewright.md +0 -0
  306. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-05_observability-langfuse_rulewright.md +0 -0
  307. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-05_tagparse-ingestion-and-granite-4.2_rulewright.md +0 -0
  308. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_affiliate-of-extraction_rulewright.md +0 -0
  309. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_issue-0028-partyto-retired_rulewright.md +0 -0
  310. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_issue-0029-idempotent-write-graph_rulewright.md +0 -0
  311. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_issue-0030-entities-by-name_rulewright.md +0 -0
  312. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_observability-and-retrieval-floor_rulewright.md +0 -0
  313. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_relevance-verdict_rulewright.md +0 -0
  314. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_rename-run-ad-compliance-check_rulewright.md +0 -0
  315. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_structured-output-cost-tracing_rulewright.md +0 -0
  316. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_ingest-models-caller-configurable_rulewright.md +0 -0
  317. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0031-followup-failclosed-and-nodrift_rulewright.md +0 -0
  318. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0031-followup-validate-ingested-set_rulewright.md +0 -0
  319. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0031-workspace-document-scope_rulewright.md +0 -0
  320. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0032-span-page-provenance_rulewright.md +0 -0
  321. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0033-carveout-normalization_rulewright.md +0 -0
  322. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0034-invoke-time-document-scope_rulewright.md +0 -0
  323. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_issue-0035-followup-derived-guard_rulewright.md +0 -0
  324. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_issue-0035-mcp-no-model-tenant_rulewright.md +0 -0
  325. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_profile-based-model-routing_rulewright.md +0 -0
  326. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_qwen-default-modal-or_rulewright.md +0 -0
  327. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_qwen-everywhere-config_rulewright.md +0 -0
  328. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-12_clause-granularity_0036-0039_rulewright.md +0 -0
  329. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-12_closed-vocab_0037-0040_rulewright.md +0 -0
  330. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-12_dense-floor-protection_0041_rulewright.md +0 -0
  331. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-13_in-band-usage_0042_rulewright.md +0 -0
  332. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-14_document-signals-off-citation_0044_rulewright.md +0 -0
  333. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-14_requirement-page-provenance_0043_rulewright.md +0 -0
  334. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-16_qwen3-27b-single-a100-serving-profile_rulewright.md +0 -0
  335. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-18_fp8-accuracy-eval-configB_rulewright.md +0 -0
  336. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-18_fp8-kv-16k-single-a100_rulewright.md +0 -0
  337. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-20_deepagents-pin-relaxed_0047_rulewright.md +0 -0
  338. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-20_llm-span-instrumentation_0048_rulewright.md +0 -0
  339. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-21_0048-part2-modal-answers_from_rulewright.md +0 -0
  340. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-21_0048-part2-modal-scoping-questions_rulewright.md +0 -0
  341. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/misc/.gitkeep +0 -0
  342. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/plans/Corpus_Acquisition.md +0 -0
  343. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/plans/async-migration.md +0 -0
  344. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/plans/demo_plan.md +0 -0
  345. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/plans/gp1b_docling_graph_plan.md +0 -0
  346. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/plans/unified_contract_kg_ontology_bridge.md +0 -0
  347. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/plans/unified_contract_kg_plan.md +0 -0
  348. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/results/2026-07-24-t58-property-graph-population.md +0 -0
  349. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/results/2026-07-25-t58b-full-pipeline-rerank.md +0 -0
  350. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/archive/results/2026-07-25-t58b-topk-ordering-levers.md +0 -0
  351. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/concepts.md +0 -0
  352. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/contract_pipeline_explainer.md +0 -0
  353. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/corpus_ingest_recipe.md +0 -0
  354. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/_engine-gaps.md +0 -0
  355. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/authoring-capabilities.md +0 -0
  356. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/entity-resolution.md +0 -0
  357. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/evals-from-expert-files.md +0 -0
  358. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/kg-construction.md +0 -0
  359. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/domain-adaptation/ontology-authoring.md +0 -0
  360. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/classifier_model_ab.md +0 -0
  361. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/compliance_demo.md +0 -0
  362. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/compliance_gate_cc7.md +0 -0
  363. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/compliance_rung2_cc7.md +0 -0
  364. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/cuad_highlighting_cu-d1.md +0 -0
  365. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/dg_model_ab.md +0 -0
  366. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/function_gate_recall.md +0 -0
  367. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/generation_robustness_b_vs_c.md +0 -0
  368. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/nl_to_type_cu-d2.md +0 -0
  369. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/ocr_benchmark.md +0 -0
  370. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/prod1_readiness.md +0 -0
  371. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/prod2_readiness.md +0 -0
  372. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/query_side_model_ab.md +0 -0
  373. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/silver_granite_vs_gemma4.md +0 -0
  374. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/silver_provider_routing.md +0 -0
  375. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/eval/silver_selfhosted_gemma4_26b.md +0 -0
  376. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/evals.md +0 -0
  377. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/playbook.md +0 -0
  378. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/product/capability_profiles.md +0 -0
  379. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/product/contracts_product_roadmap.md +0 -0
  380. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/product/engine-api-migration-handoff.md +0 -0
  381. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/product/engine_async_api.md +0 -0
  382. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/product/new-domain-build-sequence.md +0 -0
  383. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/product/seam-adaptation-guide.md +0 -0
  384. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/proposals/compliance-ingest-classifier-decomposition.md +0 -0
  385. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/proposals/de-domaining-and-capability-runtime.md +0 -0
  386. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/proposals/new-domain-developer-journey.md +0 -0
  387. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/proposals/ontology-induction.md +0 -0
  388. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/quickstart.md +0 -0
  389. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/reference-pack.md +0 -0
  390. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/releasing.md +0 -0
  391. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/engine-platform/SPEC.md +0 -0
  392. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/engine-platform/TASKS.md +0 -0
  393. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/engine-prep/plan.md +0 -0
  394. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/evals/plan.md +0 -0
  395. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/harness-decisions/plan.md +0 -0
  396. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/ing5-doc-audit.md +0 -0
  397. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/ing8-breaking-changes.md +0 -0
  398. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/plan.md +0 -0
  399. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/rulewright-migration-0.2.0.md +0 -0
  400. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/langgraph-ingestion/plan.md +0 -0
  401. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-arcadedb-separation.md +0 -0
  402. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.10.0.md +0 -0
  403. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.11.0.md +0 -0
  404. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.12.0.md +0 -0
  405. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.13.0.md +0 -0
  406. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.14.0.md +0 -0
  407. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.18.0.md +0 -0
  408. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.19.0.md +0 -0
  409. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.3.0.md +0 -0
  410. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.4.0.md +0 -0
  411. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.5.0.md +0 -0
  412. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.6.0.md +0 -0
  413. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.7.0.md +0 -0
  414. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.8.0.md +0 -0
  415. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.9.0.md +0 -0
  416. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-reply-2026-10-10-laya-and-sklearn.md +0 -0
  417. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/templates/product-starter/CLAUDE.md.template +0 -0
  418. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/templates/product-starter/README.md +0 -0
  419. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/templates/product-starter/dependabot.yml +0 -0
  420. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/templates/product-starter/playbook.md.template +0 -0
  421. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/upstream/laya-temperature-range-mismatch.md +0 -0
  422. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-buckets-schema.md +0 -0
  423. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-docs-extraction.json +0 -0
  424. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-sql-rebuild-index.md +0 -0
  425. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-vector-embeddings.md +0 -0
  426. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-vector-search-tutorial.md +0 -0
  427. {rag_wright-0.20.0 → rag_wright-0.21.0}/docs/workspaces.md +0 -0
  428. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/__init__.py +0 -0
  429. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/acord.py +0 -0
  430. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/acord_retrieval.py +0 -0
  431. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/boundary_residue_gold.py +0 -0
  432. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/build_golden.py +0 -0
  433. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/compliance_demo/policy/community_conduct_policy.md +0 -0
  434. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/compliance_demo/subjects/post_borderline.txt +0 -0
  435. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/compliance_demo/subjects/post_compliant.txt +0 -0
  436. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/compliance_demo/subjects/post_violation.txt +0 -0
  437. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/condensed_pipeline.py +0 -0
  438. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/contract_parity_live.py +0 -0
  439. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/contractnli_judge.py +0 -0
  440. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/cuad_highlight.py +0 -0
  441. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/embedded_eval.py +0 -0
  442. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/full_pipeline_rerank.py +0 -0
  443. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/function_ceiling.py +0 -0
  444. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/function_property_rerank.py +0 -0
  445. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/function_rerank.py +0 -0
  446. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/gate1_chunker_ab.py +0 -0
  447. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/gate2_hybrid_rerank.py +0 -0
  448. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/golden/relational/set.json +0 -0
  449. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/golden.py +0 -0
  450. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/ground_discriminator_rerank.py +0 -0
  451. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/harness.py +0 -0
  452. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/ingestion_live_smoke.py +0 -0
  453. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/kg_primary.py +0 -0
  454. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/kg_property_rerank.py +0 -0
  455. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/listwise_rerank.py +0 -0
  456. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/multihop.py +0 -0
  457. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/nl_to_type.py +0 -0
  458. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/relational_eval.py +0 -0
  459. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/residual_decision_gold.py +0 -0
  460. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/segmenter_eval.py +0 -0
  461. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/semantic_judge_gold.py +0 -0
  462. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/test_acord.py +0 -0
  463. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/test_acord_retrieval.py +0 -0
  464. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/test_harness.py +0 -0
  465. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/test_multihop_set.py +0 -0
  466. {rag_wright-0.20.0 → rag_wright-0.21.0}/eval/unit_grouper_eval.py +0 -0
  467. {rag_wright-0.20.0 → rag_wright-0.21.0}/examples/model_server.py +0 -0
  468. {rag_wright-0.20.0 → rag_wright-0.21.0}/examples/quickstart.py +0 -0
  469. {rag_wright-0.20.0 → rag_wright-0.21.0}/plan.md +0 -0
  470. {rag_wright-0.20.0 → rag_wright-0.21.0}/release-please-config.json +0 -0
  471. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ab_model_overlap.py +0 -0
  472. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acord_unify.py +0 -0
  473. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acquire_acord.py +0 -0
  474. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acquire_cuad.py +0 -0
  475. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acquire_ecfr.py +0 -0
  476. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acquire_edgar.py +0 -0
  477. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acquire_ftc_255.py +0 -0
  478. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/acquire_prod1_corpus.py +0 -0
  479. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/audit_reclass_flips.py +0 -0
  480. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/author_leg_a_silver_key.py +0 -0
  481. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/backfill_affiliations.py +0 -0
  482. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/backfill_clause_span_id.py +0 -0
  483. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/backfill_edge_source_doc_id.py +0 -0
  484. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/backup_kg_to_gcs.sh +0 -0
  485. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/bootstrap_template_capture.py +0 -0
  486. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/bootstrap_typed_edges.py +0 -0
  487. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/build_api_docs.py +0 -0
  488. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/build_api_docs.sh +0 -0
  489. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/build_cuad_clause_cache.py +0 -0
  490. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/build_function_routing_map.py +0 -0
  491. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_assemble_v2.py +0 -0
  492. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_assemble_v3.py +0 -0
  493. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_generate_hard_negatives.py +0 -0
  494. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_generate_hard_positives.py +0 -0
  495. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_generate_training.py +0 -0
  496. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_hybrid.py +0 -0
  497. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_hybrid2.py +0 -0
  498. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_jev_actor.py +0 -0
  499. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_jev_claimtypes.py +0 -0
  500. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_jev_operative.py +0 -0
  501. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_label_spans.py +0 -0
  502. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_laya_prep.py +0 -0
  503. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_laya_train.py +0 -0
  504. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_prep_operative.py +0 -0
  505. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_relabel_rubric.py +0 -0
  506. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_relabel_rubric2.py +0 -0
  507. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/cic1_train_operative.py +0 -0
  508. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/compare_extraction_models.py +0 -0
  509. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/compliance_actor_gate_smoke.py +0 -0
  510. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/compliance_engine_smoke.py +0 -0
  511. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/compliance_policy_demo.py +0 -0
  512. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/curate_taxonomy_gaps.py +0 -0
  513. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/dg_model_ab.py +0 -0
  514. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_knn_expansion.py +0 -0
  515. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_knn_rerank.py +0 -0
  516. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_leg_pool.py +0 -0
  517. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_legs.py +0 -0
  518. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_pool.py +0 -0
  519. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_relstructure.py +0 -0
  520. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/diagnose_acord_retrieval.py +0 -0
  521. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/eval_all.py +0 -0
  522. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/eval_ce.py +0 -0
  523. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/eval_listwise_b.py +0 -0
  524. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/export_ce_dataset.py +0 -0
  525. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/extract_features.py +0 -0
  526. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/listwise_variants.py +0 -0
  527. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/relational_features.py +0 -0
  528. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/train_ce.py +0 -0
  529. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/distill/train_modal.py +0 -0
  530. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/enrich_edgar_candidates.py +0 -0
  531. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/eval_chunking_ab.py +0 -0
  532. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/eval_classifier_guided_vs_tagparse.py +0 -0
  533. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/eval_compliance_gold.py +0 -0
  534. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/extract_arcadedb_docs.py +0 -0
  535. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/fetch_reference_models.py +0 -0
  536. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/generate_contract_python.py +0 -0
  537. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/git_post_commit_graphify.sh +0 -0
  538. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/granite_chunker_assess.py +0 -0
  539. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/graph_status.sh +0 -0
  540. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_acord.py +0 -0
  541. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_compliance_async_prod2.py +0 -0
  542. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_compliance_document_prod2.py +0 -0
  543. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_compliance_prod2.py +0 -0
  544. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_cuad.py +0 -0
  545. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_cuad_full.py +0 -0
  546. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_ftc_compliance.py +0 -0
  547. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_prod1.py +0 -0
  548. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_prod1_async.py +0 -0
  549. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ingest_smoke.py +0 -0
  550. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/install_git_hooks.sh +0 -0
  551. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/label_new_functions.py +0 -0
  552. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/legb_function_gate_recall.py +0 -0
  553. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/make_compliance_fixtures.py +0 -0
  554. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/make_compliance_gold.py +0 -0
  555. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/mcp_compliance_agent_demo.py +0 -0
  556. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/mcp_intra_document_qa_smoke.py +0 -0
  557. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/mcp_query_legs_agent_demo.py +0 -0
  558. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/measure_generation_robustness.py +0 -0
  559. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/measure_harness_genericity.py +0 -0
  560. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/measure_silver.py +0 -0
  561. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/merge_docs_into_framework.py +0 -0
  562. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/migrate_entity_cik_to_canonical_id.py +0 -0
  563. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/migrate_silver_evidence_autotag.py +0 -0
  564. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/migrate_silver_evidence_remove_autotag.py +0 -0
  565. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/migrate_span_fields.py +0 -0
  566. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/mine_scarce_functions.py +0 -0
  567. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_arcadedb.py +0 -0
  568. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_backfill.py +0 -0
  569. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_exception_linking.py +0 -0
  570. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_gemma4_vllm.py +0 -0
  571. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_gemma4_vllm_snapshot.py +0 -0
  572. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_granite_server.py +0 -0
  573. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_granite_throughput.py +0 -0
  574. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_granite_vllm_server.py +0 -0
  575. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_query_app.py +0 -0
  576. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_qwen3_27b_bench.py +0 -0
  577. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_qwen3_27b_snapshot.py +0 -0
  578. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_qwen3_vllm_server.py +0 -0
  579. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/modal_stack_a100.py +0 -0
  580. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ocr_benchmark.py +0 -0
  581. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ocr_preprocess.py +0 -0
  582. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/ontology_dimension_check.py +0 -0
  583. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/phase_a_leg_validate.py +0 -0
  584. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/populate_clause_kg.py +0 -0
  585. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/populate_entity_graph.py +0 -0
  586. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/populate_entity_graph_extracted.py +0 -0
  587. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/populate_property_store.py +0 -0
  588. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/prep_relational_verification.py +0 -0
  589. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/publish_manifests.py +0 -0
  590. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/reclassify_kg.py +0 -0
  591. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/refresh_framework_graph.sh +0 -0
  592. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/revert_reclass_flips.py +0 -0
  593. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/run_acord_retrieval.py +0 -0
  594. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/run_clause_exception_linking.py +0 -0
  595. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/semantic_judge_live_validate.py +0 -0
  596. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/semantic_judge_probe.py +0 -0
  597. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/snapshot_leg_a_eval.py +0 -0
  598. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/stack_correctness_validate.py +0 -0
  599. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/table_retrieval_smoke.py +0 -0
  600. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/train_function_classifier.py +0 -0
  601. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/train_legalbert_function.py +0 -0
  602. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/train_legalbert_modal.py +0 -0
  603. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/typed_rerank_validate.py +0 -0
  604. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/verify_wheel_install.sh +0 -0
  605. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/vllm_extraction_ab.py +0 -0
  606. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/vllm_kg_query_validate.py +0 -0
  607. {rag_wright-0.20.0 → rag_wright-0.21.0}/scripts/vllm_raw_diagnostic.py +0 -0
  608. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/authoring-a-capability/SKILL.md +0 -0
  609. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-backend/SKILL.md +0 -0
  610. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/SKILL.md +0 -0
  611. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
  612. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
  613. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
  614. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-an-ingestion-capability/SKILL.md +0 -0
  615. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/creating-evals/SKILL.md +0 -0
  616. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/SKILL.md +0 -0
  617. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
  618. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
  619. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
  620. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/__init__.py +0 -0
  621. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/__init__.py +0 -0
  622. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/agents.py +0 -0
  623. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/answers.py +0 -0
  624. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/config.py +0 -0
  625. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/discover.py +0 -0
  626. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/documents.py +0 -0
  627. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/ids.py +0 -0
  628. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/invoke.py +0 -0
  629. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/kg.py +0 -0
  630. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/mcp.py +0 -0
  631. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/tracing.py +0 -0
  632. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/usage.py +0 -0
  633. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/api/workspace.py +0 -0
  634. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/__init__.py +0 -0
  635. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/answer_generator.py +0 -0
  636. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/ard.py +0 -0
  637. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/chunk_read.py +0 -0
  638. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/chunk_write.py +0 -0
  639. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/disambiguation.py +0 -0
  640. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/document_parse.py +0 -0
  641. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/document_scope.py +0 -0
  642. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/embedding.py +0 -0
  643. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/embedding_profiles.py +0 -0
  644. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/entity_resolution.py +0 -0
  645. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/fusion.py +0 -0
  646. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/graph_query.py +0 -0
  647. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/graph_storage.py +0 -0
  648. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/hybrid_search.py +0 -0
  649. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/invoke.py +0 -0
  650. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/manifests.py +0 -0
  651. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/parse_audit.py +0 -0
  652. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/parsing.py +0 -0
  653. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/registry.py +0 -0
  654. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/remote_encoders.py +0 -0
  655. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/reranking.py +0 -0
  656. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/retrieval_core.py +0 -0
  657. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/rlm_chunking.py +0 -0
  658. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/rlm_synthesis.py +0 -0
  659. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/scan_quality.py +0 -0
  660. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/sheet_tables.py +0 -0
  661. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/span_relevance_judgment.py +0 -0
  662. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/span_search.py +0 -0
  663. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/vision_to_text.py +0 -0
  664. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/capabilities/vlm_ocr.py +0 -0
  665. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/__init__.py +0 -0
  666. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/chunk.py +0 -0
  667. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/evals.py +0 -0
  668. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/extraction.py +0 -0
  669. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/graph.py +0 -0
  670. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/identifiers.py +0 -0
  671. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/ingestion.py +0 -0
  672. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/provenance.py +0 -0
  673. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/contracts/span.py +0 -0
  674. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/corpus/__init__.py +0 -0
  675. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/corpus/canonicalize.py +0 -0
  676. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/corpus/document_parser.py +0 -0
  677. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/corpus/embedded.py +0 -0
  678. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/corpus/http.py +0 -0
  679. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/evals/__init__.py +0 -0
  680. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/evals/gold.py +0 -0
  681. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/evals/langfuse_backend.py +0 -0
  682. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/evals/runner.py +0 -0
  683. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/evals/scorers.py +0 -0
  684. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/accounting.py +0 -0
  685. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/confirm.py +0 -0
  686. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/faults.py +0 -0
  687. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/memory.py +0 -0
  688. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/models.py +0 -0
  689. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/preflight.py +0 -0
  690. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/scope.py +0 -0
  691. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/thinking.py +0 -0
  692. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/harness/tracing.py +0 -0
  693. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/__init__.py +0 -0
  694. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/builder.py +0 -0
  695. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/evaluate.py +0 -0
  696. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/group.py +0 -0
  697. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/layout.py +0 -0
  698. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/segment.py +0 -0
  699. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ingestion/tables.py +0 -0
  700. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/__init__.py +0 -0
  701. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/model_servers.py +0 -0
  702. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/seam.py +0 -0
  703. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/tag_structured.py +0 -0
  704. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/tracing.py +0 -0
  705. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/usage.py +0 -0
  706. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/models/weights.py +0 -0
  707. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ontology/__init__.py +0 -0
  708. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ontology/pack_schema.py +0 -0
  709. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/ontology/registry.py +0 -0
  710. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/__init__.py +0 -0
  711. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/__init__.py +0 -0
  712. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/__init__.py +0 -0
  713. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/assertion_extraction.py +0 -0
  714. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/claim_extraction.py +0 -0
  715. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/compliance_judgment.py +0 -0
  716. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/compliance_store.py +0 -0
  717. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/requirement_extraction.py +0 -0
  718. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/invokers.py +0 -0
  719. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/mcp/__init__.py +0 -0
  720. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/mcp/compliance_server.py +0 -0
  721. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/__init__.py +0 -0
  722. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/compliance_bridge.ttl +0 -0
  723. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/loader.py +0 -0
  724. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/packs/ftc_16cfr255.ttl +0 -0
  725. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/pack.py +0 -0
  726. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/schemas/__init__.py +0 -0
  727. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/schemas/compliance.py +0 -0
  728. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/__init__.py +0 -0
  729. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/claim_extraction/SKILL.md +0 -0
  730. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/claim_extraction/__init__.py +0 -0
  731. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/claim_extraction/template.py +0 -0
  732. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/compliance_judgment/SKILL.md +0 -0
  733. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/generic_compliance_judgment/SKILL.md +0 -0
  734. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/SKILL.md +0 -0
  735. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/__init__.py +0 -0
  736. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/template.py +0 -0
  737. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/__init__.py +0 -0
  738. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/compliance_check.py +0 -0
  739. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/compliance_ingestion.py +0 -0
  740. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/requirement_extraction.py +0 -0
  741. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/__init__.py +0 -0
  742. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/__init__.py +0 -0
  743. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/clause_exception_linking.py +0 -0
  744. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/contract_kg_serve.py +0 -0
  745. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/contract_kg_store.py +0 -0
  746. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/graph_extraction.py +0 -0
  747. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/highlight_serve.py +0 -0
  748. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/property_boosted_retrieval.py +0 -0
  749. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/query_function_classifier.py +0 -0
  750. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/query_understanding.py +0 -0
  751. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/__init__.py +0 -0
  752. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/cuad.py +0 -0
  753. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/cuad_ingestion.py +0 -0
  754. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/edgar.py +0 -0
  755. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/gcs_ingestion.py +0 -0
  756. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/selection.py +0 -0
  757. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/__init__.py +0 -0
  758. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/intra_document_qa_server.py +0 -0
  759. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/relational_qa_server.py +0 -0
  760. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/session_store.py +0 -0
  761. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/typed_property_retrieval_server.py +0 -0
  762. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/__init__.py +0 -0
  763. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/_generated_template_meta.py +0 -0
  764. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/_generated_vocab.py +0 -0
  765. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/clause_template.py +0 -0
  766. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/codegen.py +0 -0
  767. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/contract_bridge.ttl +0 -0
  768. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/contract_taxonomy.py +0 -0
  769. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/derive.py +0 -0
  770. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/loader.py +0 -0
  771. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/template_introspect.py +0 -0
  772. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/options.py +0 -0
  773. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/pack.py +0 -0
  774. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/__init__.py +0 -0
  775. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/contract_meta.py +0 -0
  776. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/function.py +0 -0
  777. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/function_routing.py +0 -0
  778. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/highlight.py +0 -0
  779. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/jurisdiction.py +0 -0
  780. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/ontology.py +0 -0
  781. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/property.py +0 -0
  782. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/query_intent.py +0 -0
  783. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/value_match.py +0 -0
  784. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/__init__.py +0 -0
  785. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/corpus_ingest/SKILL.md +0 -0
  786. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/SKILL.md +0 -0
  787. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/__init__.py +0 -0
  788. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/__init__.py +0 -0
  789. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/chunking.md +0 -0
  790. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/generation.md +0 -0
  791. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/relevance.md +0 -0
  792. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/__init__.py +0 -0
  793. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/boundary.py +0 -0
  794. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/clause_function_classifier.py +0 -0
  795. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/clause_kg_extractor.py +0 -0
  796. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/cuad_labels.py +0 -0
  797. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/dim_classifier.py +0 -0
  798. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/dim_fleet.json +0 -0
  799. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/function_classifier.py +0 -0
  800. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/function_families.py +0 -0
  801. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/hybrid_classifier.py +0 -0
  802. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/legalbert_classifier.py +0 -0
  803. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/model_capabilities.py +0 -0
  804. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/new_function_labels.py +0 -0
  805. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/property_extractor.py +0 -0
  806. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/property_grounding.py +0 -0
  807. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/reclassify.py +0 -0
  808. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/residual_candidates.py +0 -0
  809. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/scarce_function_labels.py +0 -0
  810. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/segment.py +0 -0
  811. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/semantic_judge.py +0 -0
  812. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/symbolic_validation.py +0 -0
  813. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/tag_clause_extractor.py +0 -0
  814. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/__init__.py +0 -0
  815. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/async_ingestion.py +0 -0
  816. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/contract_ingestion_pipeline.py +0 -0
  817. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/intra_document_qa.py +0 -0
  818. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/query_constraint_extraction.py +0 -0
  819. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/relational_qa.py +0 -0
  820. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/typed_clause_extraction.py +0 -0
  821. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/typed_property_retrieval.py +0 -0
  822. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/packs/reference_seam.py +0 -0
  823. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/py.typed +0 -0
  824. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/__init__.py +0 -0
  825. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/generation/SKILL.md +0 -0
  826. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/generation/__init__.py +0 -0
  827. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/rlm/SKILL.md +0 -0
  828. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/rlm/__init__.py +0 -0
  829. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/rlm/agent.py +0 -0
  830. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/span_relevance_judgment/SKILL.md +0 -0
  831. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/vision_to_text/SKILL.md +0 -0
  832. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/skills/vision_to_text/__init__.py +0 -0
  833. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/spans/__init__.py +0 -0
  834. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/spans/page_map.py +0 -0
  835. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/store/__init__.py +0 -0
  836. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/store/arcadedb.py +0 -0
  837. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/store/chunk_text.py +0 -0
  838. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/store/seam.py +0 -0
  839. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/subgraphs/__init__.py +0 -0
  840. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/subgraphs/graph_extraction.py +0 -0
  841. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/subgraphs/observability.py +0 -0
  842. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/subgraphs/scaffold.py +0 -0
  843. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/subgraphs/semantic_chunking.py +0 -0
  844. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/util/__init__.py +0 -0
  845. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/util/concurrent.py +0 -0
  846. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/util/devices.py +0 -0
  847. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/util/pdfium.py +0 -0
  848. {rag_wright-0.20.0 → rag_wright-0.21.0}/src/rag_wright/util/spacy_model.py +0 -0
  849. {rag_wright-0.20.0 → rag_wright-0.21.0}/tasks.md +0 -0
  850. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/__init__.py +0 -0
  851. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/__init__.py +0 -0
  852. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_agent_chat_model.py +0 -0
  853. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_agent_chat_model_live.py +0 -0
  854. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_answers_exports.py +0 -0
  855. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_api_embedder_ps39.py +0 -0
  856. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_bytes_ingest.py +0 -0
  857. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_capability_reexports.py +0 -0
  858. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_decision_swap_doc_example.py +0 -0
  859. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_discover.py +0 -0
  860. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_documents.py +0 -0
  861. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_drop_workspace.py +0 -0
  862. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_drop_workspace_live.py +0 -0
  863. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_e2e.py +0 -0
  864. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_invoke.py +0 -0
  865. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_kg.py +0 -0
  866. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_mcp.py +0 -0
  867. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_metering_tracing_exports.py +0 -0
  868. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_migrate_span_fields.py +0 -0
  869. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_model_role_export.py +0 -0
  870. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_open_workspace_reconfig.py +0 -0
  871. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_options.py +0 -0
  872. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_pack_sdk.py +0 -0
  873. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_pack_sdk_segmenter.py +0 -0
  874. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_pack_store.py +0 -0
  875. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_pdf_page_count.py +0 -0
  876. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_public_gaps_ps38.py +0 -0
  877. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_tracing_helpers_ps32.py +0 -0
  878. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_usage.py +0 -0
  879. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_workspace.py +0 -0
  880. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/api/test_workspace_models.py +0 -0
  881. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/domain_vocabulary_baseline.json +0 -0
  882. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_api_docs_current.py +0 -0
  883. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_doc_references.py +0 -0
  884. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_engine_domain_vocabulary.py +0 -0
  885. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_import_contracts.py +0 -0
  886. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_lock_version.py +0 -0
  887. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_packs_use_store_primitives.py +0 -0
  888. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/arch/test_pdfium_door.py +0 -0
  889. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/async_helpers.py +0 -0
  890. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/__init__.py +0 -0
  891. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/_fixtures/rlm_probe_skill/SKILL.md +0 -0
  892. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_answer_generator.py +0 -0
  893. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_answer_generator_async.py +0 -0
  894. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_assertion_extraction.py +0 -0
  895. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_authoring_contract.py +0 -0
  896. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_chunk_read.py +0 -0
  897. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_chunk_write.py +0 -0
  898. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_chunking_prompts_neutral.py +0 -0
  899. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_claim_extraction.py +0 -0
  900. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_clause_exception_linking.py +0 -0
  901. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_compliance_judgment.py +0 -0
  902. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_compliance_store.py +0 -0
  903. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_contract_kg_serve.py +0 -0
  904. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_contract_kg_store.py +0 -0
  905. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_contract_kg_store_reads.py +0 -0
  906. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_contract_taxonomy_and_spans.py +0 -0
  907. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_dg_adapter.py +0 -0
  908. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_dg_async.py +0 -0
  909. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_dg_extraction.py +0 -0
  910. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_dg_model_seam.py +0 -0
  911. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_dg_private.py +0 -0
  912. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_disambiguation.py +0 -0
  913. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_document_scope.py +0 -0
  914. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_embedding.py +0 -0
  915. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_embedding_profiles.py +0 -0
  916. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_entity_resolution.py +0 -0
  917. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_entity_rules_plumbing.py +0 -0
  918. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_fusion.py +0 -0
  919. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_graph_extraction.py +0 -0
  920. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_graph_query.py +0 -0
  921. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_graph_storage.py +0 -0
  922. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_highlight_serve.py +0 -0
  923. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_hybrid_search.py +0 -0
  924. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_manifest_validation.py +0 -0
  925. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_manifests.py +0 -0
  926. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_parse_audit.py +0 -0
  927. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_parsing.py +0 -0
  928. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_parties_extraction.py +0 -0
  929. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_property_boosted_retrieval.py +0 -0
  930. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_query_function_classifier.py +0 -0
  931. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_query_understanding.py +0 -0
  932. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_registry.py +0 -0
  933. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_remote_encoders.py +0 -0
  934. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_repair_partition.py +0 -0
  935. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_requirement_extraction.py +0 -0
  936. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_reranking.py +0 -0
  937. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_retrieval_core.py +0 -0
  938. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_rlm_chunking.py +0 -0
  939. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_rlm_chunking_async.py +0 -0
  940. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_rlm_method.py +0 -0
  941. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_rlm_synthesis.py +0 -0
  942. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_runtime_registry.py +0 -0
  943. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_scan_quality.py +0 -0
  944. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_shared_models.py +0 -0
  945. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_span_relevance_judgment.py +0 -0
  946. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_span_search.py +0 -0
  947. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_structural_boundary_discoverer.py +0 -0
  948. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_structural_model_fallback.py +0 -0
  949. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_tag_boundary_discoverer.py +0 -0
  950. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_tiered_ocr.py +0 -0
  951. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/capabilities/test_vlm_ocr.py +0 -0
  952. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/compliance_fakes.py +0 -0
  953. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/conftest.py +0 -0
  954. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/__init__.py +0 -0
  955. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_canonical_source_doc_id.py +0 -0
  956. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_chunk_record.py +0 -0
  957. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_compliance.py +0 -0
  958. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_cuad_highlight_contracts.py +0 -0
  959. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_extraction.py +0 -0
  960. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_function.py +0 -0
  961. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_function_routing.py +0 -0
  962. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_identifiers.py +0 -0
  963. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_ingestion_hooks.py +0 -0
  964. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_jurisdiction.py +0 -0
  965. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_ontology.py +0 -0
  966. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_property.py +0 -0
  967. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_provenance.py +0 -0
  968. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/contracts/test_value_match.py +0 -0
  969. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/__init__.py +0 -0
  970. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/_ooxml_fixtures.py +0 -0
  971. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_canonicalize.py +0 -0
  972. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_cuad.py +0 -0
  973. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_cuad_ingestion.py +0 -0
  974. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_document_parser.py +0 -0
  975. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_edgar.py +0 -0
  976. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_embedded.py +0 -0
  977. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_gcs_ingestion.py +0 -0
  978. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_http.py +0 -0
  979. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_parse_wire2.py +0 -0
  980. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/corpus/test_selection.py +0 -0
  981. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/eval/test_contractnli_judge.py +0 -0
  982. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/eval/test_cuad_highlight_metrics.py +0 -0
  983. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/eval/test_kg_property_rerank.py +0 -0
  984. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/eval/test_nl_to_type_metrics.py +0 -0
  985. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/eval/test_relational_eval.py +0 -0
  986. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/__init__.py +0 -0
  987. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_gold_contracts.py +0 -0
  988. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_gold_import.py +0 -0
  989. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_langfuse_backend.py +0 -0
  990. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_runner.py +0 -0
  991. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_scorer_parity.py +0 -0
  992. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_scorers_a.py +0 -0
  993. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_scorers_b.py +0 -0
  994. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_scorers_c.py +0 -0
  995. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/evals/test_scorers_d.py +0 -0
  996. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity.json +0 -0
  997. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_blank.pdf +0 -0
  998. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_cover_with_attachment.pdf +0 -0
  999. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_db_with_a_broken_report.xlsx +0 -0
  1000. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_db_with_reports.xlsx +0 -0
  1001. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_grid.xlsx +0 -0
  1002. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/segmenter_gold.json +0 -0
  1003. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/textile_spec_sheet.md +0 -0
  1004. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/ingestion/textile_test_report.md +0 -0
  1005. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/leg_a_silver/README.md +0 -0
  1006. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/leg_a_silver/evidence_snapshot.json +0 -0
  1007. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/fixtures/table-bearing-contract.pdf +0 -0
  1008. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/foundation/__init__.py +0 -0
  1009. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/foundation/test_arcadedb_hybrid.py +0 -0
  1010. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/foundation/test_model_seam_structured.py +0 -0
  1011. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/__init__.py +0 -0
  1012. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/conftest.py +0 -0
  1013. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/__init__.py +0 -0
  1014. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/b1.jsonl +0 -0
  1015. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/d1.jsonl +0 -0
  1016. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/d2.jsonl +0 -0
  1017. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/deciders.py +0 -0
  1018. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/loom.py +0 -0
  1019. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/run.py +0 -0
  1020. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/gold/scoring.py +0 -0
  1021. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_accounting.py +0 -0
  1022. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_agent.py +0 -0
  1023. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_batching.py +0 -0
  1024. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_clarify.py +0 -0
  1025. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_confirm.py +0 -0
  1026. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_deadline.py +0 -0
  1027. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_decisions.py +0 -0
  1028. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_engine_wiring.py +0 -0
  1029. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_events.py +0 -0
  1030. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_faults.py +0 -0
  1031. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_genericity.py +0 -0
  1032. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_gold.py +0 -0
  1033. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_memory.py +0 -0
  1034. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_model.py +0 -0
  1035. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_preflight.py +0 -0
  1036. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_recorder.py +0 -0
  1037. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_recording.py +0 -0
  1038. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_rules.py +0 -0
  1039. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_runs.py +0 -0
  1040. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_skills.py +0 -0
  1041. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/harness/test_harness_thinking.py +0 -0
  1042. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/__init__.py +0 -0
  1043. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_aevaluate.py +0 -0
  1044. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_builder.py +0 -0
  1045. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_chunk_discoverer_hook.py +0 -0
  1046. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_concurrency_ceiling.py +0 -0
  1047. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_default_writer_ensures_edges.py +0 -0
  1048. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_document_metadata.py +0 -0
  1049. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_evaluate.py +0 -0
  1050. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_evaluate_labels.py +0 -0
  1051. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_graph_live.py +0 -0
  1052. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_graph_parity.py +0 -0
  1053. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_layout_segmenter.py +0 -0
  1054. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_sheet_continuations.py +0 -0
  1055. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_split_tables.py +0 -0
  1056. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_spreadsheet_content.py +0 -0
  1057. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_table_rows.py +0 -0
  1058. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_tuning.py +0 -0
  1059. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_unit_grouper.py +0 -0
  1060. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_unit_representative.py +0 -0
  1061. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_unreached_rows.py +0 -0
  1062. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ingestion/test_write_count.py +0 -0
  1063. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/journey/incidents_domain.py +0 -0
  1064. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/journey/incidents_pack.ttl +0 -0
  1065. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/journey/test_incidents_journey.py +0 -0
  1066. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/journey/test_pack_schema.py +0 -0
  1067. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/mcp/__init__.py +0 -0
  1068. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/mcp/test_compliance_server.py +0 -0
  1069. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/mcp/test_intra_document_qa_server.py +0 -0
  1070. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/mcp/test_no_model_supplied_tenant.py +0 -0
  1071. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/mcp/test_relational_qa_server.py +0 -0
  1072. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/mcp/test_typed_property_retrieval_server.py +0 -0
  1073. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/__init__.py +0 -0
  1074. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_async_infra.py +0 -0
  1075. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_classifier_heads_load_clean.py +0 -0
  1076. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_model_servers.py +0 -0
  1077. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_models_dir.py +0 -0
  1078. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_no_gemma_default.py +0 -0
  1079. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_profile_routing.py +0 -0
  1080. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_profile_seam.py +0 -0
  1081. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_seam_async.py +0 -0
  1082. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_seam_deadline_and_cap.py +0 -0
  1083. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_seam_event_loops.py +0 -0
  1084. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_seam_retry.py +0 -0
  1085. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_seam_stream.py +0 -0
  1086. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_serving_seam.py +0 -0
  1087. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_serving_wiring.py +0 -0
  1088. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_tag_structured.py +0 -0
  1089. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_tag_structured_async.py +0 -0
  1090. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_tracing.py +0 -0
  1091. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/models/test_usage.py +0 -0
  1092. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/__init__.py +0 -0
  1093. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_clause_template.py +0 -0
  1094. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_compliance_ontology_authoritative.py +0 -0
  1095. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_derivation.py +0 -0
  1096. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_entity_taxonomy.py +0 -0
  1097. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_generated_template_meta_in_sync.py +0 -0
  1098. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_generated_vocab_in_sync.py +0 -0
  1099. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_template_captured_in_ttl.py +0 -0
  1100. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/ontology/test_ttl_is_source_of_truth.py +0 -0
  1101. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/reference/test_compliance_reference.py +0 -0
  1102. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/reference/test_contract_seam.py +0 -0
  1103. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/scripts/test_eval_chunking_ab.py +0 -0
  1104. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/scripts/test_eval_classifier_ab.py +0 -0
  1105. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/scripts/test_fetch_reference_models.py +0 -0
  1106. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/scripts/test_generation_robustness_errors.py +0 -0
  1107. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/skills/__init__.py +0 -0
  1108. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/skills/test_creating_evals_skill_example.py +0 -0
  1109. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/skills/test_ingestion_skill_example.py +0 -0
  1110. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_boundary.py +0 -0
  1111. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_classifier_property_extractor.py +0 -0
  1112. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_clause_classifier_tags_0005.py +0 -0
  1113. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_clause_function_classifier.py +0 -0
  1114. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_clause_function_classifier_async.py +0 -0
  1115. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_clause_kg_extractor.py +0 -0
  1116. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_clause_kg_extractor_async.py +0 -0
  1117. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_dim_classifier.py +0 -0
  1118. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_dim_fleet_live.py +0 -0
  1119. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_function_classifier.py +0 -0
  1120. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_hybrid_classifier.py +0 -0
  1121. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_hybrid_property_extractor.py +0 -0
  1122. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_legalbert_classifier.py +0 -0
  1123. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_model_capabilities.py +0 -0
  1124. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_new_function_labels.py +0 -0
  1125. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_page_map.py +0 -0
  1126. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_property_extractor.py +0 -0
  1127. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_property_grounding.py +0 -0
  1128. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_reclassify.py +0 -0
  1129. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_residual_decision.py +0 -0
  1130. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_scarce_function_labels.py +0 -0
  1131. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_segment.py +0 -0
  1132. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_segmentation_vocab.py +0 -0
  1133. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_semantic_judge.py +0 -0
  1134. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_setfit_clause_adapter.py +0 -0
  1135. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_setfit_probabilities.py +0 -0
  1136. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_span_offsets.py +0 -0
  1137. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_stage_labels_0005.py +0 -0
  1138. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_symbolic_validation.py +0 -0
  1139. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/spans/test_tag_clause_extractor.py +0 -0
  1140. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/__init__.py +0 -0
  1141. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_affiliation_backfill.py +0 -0
  1142. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_arcadedb_clause_kg.py +0 -0
  1143. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_arcadedb_contract.py +0 -0
  1144. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_arcadedb_property.py +0 -0
  1145. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_arcadedb_requirement_sources.py +0 -0
  1146. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_arcadedb_schema.py +0 -0
  1147. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_arcadedb_span.py +0 -0
  1148. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_chunk_text.py +0 -0
  1149. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_concurrent_writes.py +0 -0
  1150. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_contract_kg_store_live.py +0 -0
  1151. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_document_metadata_live.py +0 -0
  1152. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_document_scope.py +0 -0
  1153. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_engine_domain_neutral.py +0 -0
  1154. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_entities_by_name.py +0 -0
  1155. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_contains.py +0 -0
  1156. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_doubles.py +0 -0
  1157. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_edges.py +0 -0
  1158. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_function_namespace_fields.py +0 -0
  1159. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_identifiers.py +0 -0
  1160. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_mutations.py +0 -0
  1161. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_range.py +0 -0
  1162. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_read.py +0 -0
  1163. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_write.py +0 -0
  1164. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_kg_write_ensure_edges.py +0 -0
  1165. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_neutral_schema.py +0 -0
  1166. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_pack_schema_properties.py +0 -0
  1167. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_pooled_client.py +0 -0
  1168. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_store_create_flag.py +0 -0
  1169. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_vector_index_upkeep.py +0 -0
  1170. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/store/test_write_graph_idempotent.py +0 -0
  1171. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/__init__.py +0 -0
  1172. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_async_ingestion.py +0 -0
  1173. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_chunk7_structure_carry.py +0 -0
  1174. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_clause_results.py +0 -0
  1175. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_compliance_check.py +0 -0
  1176. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_compliance_ingestion.py +0 -0
  1177. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_contract_ingestion_pipeline.py +0 -0
  1178. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_contract_ingestion_pipeline_async.py +0 -0
  1179. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_contract_ingestion_pipeline_graph_async.py +0 -0
  1180. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_contract_write_retry.py +0 -0
  1181. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_graph_extraction.py +0 -0
  1182. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_ingest_knobs.py +0 -0
  1183. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_ingest_segment_classify.py +0 -0
  1184. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_intra_document_qa.py +0 -0
  1185. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_observability.py +0 -0
  1186. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_partial_entry_contract.py +0 -0
  1187. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_query_constraint_extraction.py +0 -0
  1188. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_relational_qa.py +0 -0
  1189. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_requirement_extraction.py +0 -0
  1190. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_scaffold.py +0 -0
  1191. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_semantic_chunking.py +0 -0
  1192. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_typed_clause_extraction.py +0 -0
  1193. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/subgraphs/test_typed_property_retrieval.py +0 -0
  1194. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/test_backfill_clause_span_id.py +0 -0
  1195. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/test_dg_model_ab.py +0 -0
  1196. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/test_populate_clause_kg.py +0 -0
  1197. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/test_populate_entity_graph.py +0 -0
  1198. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/util/__init__.py +0 -0
  1199. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/util/test_concurrent.py +0 -0
  1200. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/util/test_devices.py +0 -0
  1201. {rag_wright-0.20.0 → rag_wright-0.21.0}/tests/util/test_spacy_model.py +0 -0
@@ -85,13 +85,18 @@ and to verify it, not to build it again; a product that cards them as its own wo
85
85
  | the context type, tenancy the model cannot reach | **yours**: a context type with `scope` / `shared_scope` and tools reading it from the run; the tier validates the scope and keys memory and threads by it |
86
86
  | one entry point | **yours**: one function that builds the context from the authenticated principal and calls `start_run` / `resume_run` / `stream_run`; the tier refuses an agent that cannot carry a context |
87
87
  | take the tool away, the dispatch bound, per-tier reasoning, error levels and their order, signposts | **the tier's**, inside `build_chat_agent` / `build_orchestrator` (`withhold`, `error_middleware`, `DISPATCHES_PER_RUN`) |
88
- | the ask-only tool, workers that cannot ask | **the tier's** (`clarification_tool`, `CANNOT_ASK`): a worker reports `status: "blocked"` with its `need` |
88
+ | the ask-only tool, workers that cannot ask | **the tier's** (`clarification_tool`, `CANNOT_ASK`): a worker reports `status: "blocked"` with its `need`; what a paused run asked, of every kind, is `RunResult.waiting_on` (a `Pending`), and a `waiting` event on the stream (PS-83) |
89
89
  | a changed subject confirmed deterministically | **the tier's** (`ConfirmTheView`); your continuation type and its resolution are yours |
90
90
  | memory that refuses without a context | **the tier's** (`MemoryWithoutTenancy`); you pass the `store` |
91
+ | large results passed by reference between tiers | **the tier's** (PS-96, ADR-0148): a result over `AgentDefinition.hold_over` is held in the store and the model shown a reference with the result's own `result`/`detail`/`answer`/`note`, so fill one; your tool receives real values, your report's fields take references, the person's answer carries values, and `read_result` on every tier reads part of a held result. **Yours**: a durable `store` beside a durable checkpointer (the build refuses without one), `forget_held` (`aforget_held` on an async store) where you remove a thread, `shown_in_full` for a tool a worker must read whole, `hold_over=None` to turn it off |
92
+ | two calls written differently that ask the same question | **yours to declare** (PS-97): `AgentDefinition.same_question`, per `repeatable` tool, a `SameQuestion` naming the arguments whose order does not matter (`unordered`) and a page size with your test of whether a page held every match (`page_size`, `complete`); **the tier's** to serve the second from the record, in one turn or across turns, saying what differed |
91
93
  | routing D1, B1, D2 with a decision model | **the tier's** (ADR-0146); your descriptions are what it reads, `routing=None` turns it off |
92
94
  | the durable checkpointer, in its own schema | **yours**, passed as `checkpointer=`; the default is in-memory and loses a suspended run on restart |
93
95
  | tracing, metering, the run's duration | **the tier's** (`accounted_run`, `harness_tracing_on`, `spend`), on the engine's configuration; the `accounting` object is yours |
94
96
  | the event contract | **the tier's** `translate`: `stream_run`'s items become `RunEvent`s; your client routes on their names |
97
+ | what one question may spend | **yours**: `AgentDefinition.budget` (`RunBudget`, per question, counted from the person's latest message, PS-88: model calls, tool calls, a reserve each tier keeps for the tiers above it, and `dispatches`, the workers the orchestrator may dispatch per thing asked, PS-86), and `worker_spec(..., model_calls=, tool_calls=)` for one worker's cap per dispatch; what each tier spent, and what it dispatched or had refused, is `WhatTheRunSpent`, passed as `build_chat_agent(spent=)` (PS-80) |
98
+ | what a worker hands back | **yours**: its report, a `WorkerReport` subclass, is the whole of what the orchestrator reads of it (DeepAgents returns the structured report as the `task` reply, not the worker's messages or tool results); key it the way the plan asks, or the orchestrator re-dispatches to recover what the report dropped (PS-86) |
99
+ | which model each worker reasons with | **yours**: `definition.model_id_for` for every tier, or `worker_spec(..., model_id=)` for one worker; the tier builds it through the profile seam, meters it under its own id and names it on that worker's verdicts (PS-78) |
95
100
  | the agent's skills | **yours**: `AgentPrompts.skills` is `{path: text}`, so keep the files anywhere version-controlled and load them |
96
101
  | your rules, decision points, gold sets, the replay test against YOUR asking tools | **yours**; the grading, the ledger and the instruments are the tier's: declare `rules` and pass `grading=Grading(on_evaluation)` to `build_chat_agent`, and every tier with a rule (the chat-manager included) is recorded and graded |
97
102
 
@@ -198,8 +203,11 @@ planning classification (`planning`), the worker roster (`workers`) and the cont
198
203
  The other eleven are the customization surface, and an agent without them runs but is quietly less capable:
199
204
  `retry_on`, `message_for`, `model_id_for`, `prompts` (an `AgentPrompts`, eleven fields of its own: every word
200
205
  the model reads), `repeatable`, `question_argument`, `framings`, `carry_forward`, `rules`, `decision_points` and
201
- `read_framing`; a sixteenth, `routing`, is optional. The field-by-field reference, generated from the tier, is
202
- `docs/harness.md` in the engine repository.
206
+ `read_framing`. The rest are optional, with defaults: `routing`, `budget`, `hold_over` and `shown_in_full` (results
207
+ passed by reference, PS-96), and `same_question` (PS-97: per `repeatable` tool, a `SameQuestion` saying which
208
+ differences in how a call is written leave it the same question -- an argument whose order does not matter, and a
209
+ page size with your test of whether a page held every match -- so the second is served from the record). The
210
+ field-by-field reference, generated from the tier, is `docs/harness.md` in the engine repository.
203
211
 
204
212
  **Build every worker with `worker_spec(..., definition=...)`.** `worker_spec`'s policy parameters default to
205
213
  inert values, and all but the ledger are fields of the definition you already declared; a worker built
@@ -308,8 +316,12 @@ user <-> CHAT-MANAGER conversation, threads, UI context, direct tools for
308
316
  calls before any tool runs, and routing *"list my documents"* through all three is latency and cost on the
309
317
  commonest path. A model must never sit in the path of an unambiguous request.
310
318
 
311
- **The split is a SUBSET, never a partition.** The orchestrator holds everything; the chat-manager holds the
312
- half that needs no planning. *An operation the orchestrator cannot see is a plan it cannot make.*
319
+ **The orchestrator plans and dispatches; it runs nothing.** A tool bound to a model is a tool the model can
320
+ call, and there is no way to show it one it may read but not run. So the orchestrator holds no operation: the
321
+ chat-manager holds the half that needs no planning, workers hold the rest, and the orchestrator plans from each
322
+ worker's description, which the engine ends with what that worker can call. An operation that needs planning and
323
+ that no worker holds is refused when the agent is built (PS-84). Give a worker any direct operation a delegated
324
+ message may also need: once the message is handed down, the chat-manager's direct tools are out of reach.
313
325
 
314
326
  **And the split is a judgement, so write it down rather than dressing it up as a derivation.** The tempting
315
327
  rule - "an operation that names a model or a retrieval graph is a planning operation" - separates the set
@@ -321,6 +333,8 @@ down, ratchet that every exposed operation lands in exactly one half, and keep t
321
333
  model routes the chat-manager's turn (D1, ADR-0146): above its threshold it decides and a direct tool with no
322
334
  arguments is called with no model call at all; below it, or without the decision model, the tier's model routes.
323
335
  Either way, whether a request takes the direct path is measured on your gold sets, not asserted.
336
+ A chat-manager with no direct tools is not offered `answer` (PS-87): it has nothing to answer from, so its
337
+ routed choices are `delegate` and `ask_the_user`.
324
338
 
325
339
  ## Take the tool away. Do not ask the model not to use it.
326
340
 
@@ -336,6 +350,11 @@ Either way, whether a request takes the direct path is measured on your gold set
336
350
  reasoning settings only picks which failure you prefer. A dispatch past the bound never runs - no model
337
351
  call, no subagent, no second copy of a reply the tier already has. Twenty-three of those twenty-four were
338
352
  pure waste.
353
+ **And bound what the tier does with the report** (PS-76): with the dispatch bound in place, a chat-manager
354
+ handed a complete report re-derived it with its own direct tools, 6 metered calls becoming 35 for the same
355
+ answer. Once a report is back in a turn, the chat-manager's next call has no direct tools (it keeps
356
+ `ask_the_user`); the person's next message, or their answer to that question, restores them. Measure it as the parent's tool calls after the
357
+ dispatch's reply, never only by whether the route and the answer were right.
339
358
  - **Withholding is a MIDDLEWARE concern, not a model-profile one.** A provider profile keys on the *model*,
340
359
  and every tier runs the same model - so excluding a tool there strips it from the tier that needs it. A
341
360
  middleware is attached to a tier, which is the only seam that can say "this agent cannot do X".
@@ -373,8 +392,10 @@ reportable as exactly that.
373
392
 
374
393
  **Error levels, by who fixes it.** Transient failures retry; tool failures reach the model as a message it
375
394
  can act on; missing information interrupts for a human; anything unexpected reaches a developer. Runaway
376
- loops are capped - and cap model calls and tool calls per run, ending with what you have rather than raising,
377
- so a partial answer still reaches the user.
395
+ loops are capped - cap model calls and tool calls per invocation of each tier, ending with what you have rather
396
+ than raising, so a partial answer still reaches the user. **And bound the run as a whole, with a reserve per tier
397
+ above**: per-invocation caps restart on every dispatch, so they never bound the bill, and a run-wide budget with no
398
+ reserve lets a worker spend what the tiers above need to compose (PS-80).
378
399
 
379
400
  **Composition order is load-bearing.** Retry middleware goes INNER, configured so exceptions reach the
380
401
  error middleware. The other way round, a tool failure is converted to a message before the retry ever sees
@@ -407,8 +428,9 @@ that would ask instead reports "blocked, I need X" through its structured result
407
428
  once. The less obvious benefit is bigger: a need that reaches the orchestrator can often be answered *by* the
408
429
  orchestrator, which already knows what the conversation settled on, and never troubles the user at all.
409
430
 
410
- **Never bridge the asking tool into a code interpreter.** A question raised from inside a loop re-runs the
411
- whole program on resume - every tool call it had already made, again, with nothing on screen to say so.
431
+ **Never bridge the asking tool into a code interpreter**, if you give a tier one (the engine gives none, PS-84).
432
+ A question raised from inside a loop re-runs the whole program on resume - every tool call it had already made,
433
+ again, with nothing on screen to say so.
412
434
 
413
435
  **And a changed subject is confirmed deterministically, never adopted silently.** The user runs one query,
414
436
  navigates to another, types "what about this one?", and every word of the answer is fluent, cited, and about
@@ -431,6 +453,23 @@ not an error, and raising would put a foreign identifier on the model's path ins
431
453
  an asking tool must reach a person every time); key it on the **run**, not the dispatch (a worker
432
454
  re-dispatched asks the same question in different words, and a dispatch-scoped record matches nothing);
433
455
  and remember that what prevents a wrong answer is the **subject** check, not which brief did the asking.
456
+ **Every tier carries it, the chat-manager included** (PS-73): a chat-manager with direct tools and no
457
+ orchestrator cycled five identical calls until the run's call limit stopped it.
458
+ **And the record stops the tool, not the model** (PS-74): with every repeat served, one model still asked
459
+ seventeen times. So once one call is served a second time to the same context, the next model call has no
460
+ tools and the model must answer. A re-dispatched worker is a fresh context and counts afresh (PS-92): counted
461
+ run-wide, a third dispatch lost its tools on its first repeat and asked the person to give its tool back. Taking tools away is only half of it (PS-93): langchain runs any call in the reply whose tool the tier holds, shown or not. So a reply that does nothing -- a call to a tool that model call was not offered, the same call back with the same result twice running, or no text and no call, a tool call written as text, or a call whose arguments did not parse (PS-94) -- is asked for once, told that what came back stands, and then ends the tier with what came back; a run that ended so, or on the run's budget, does not read back as `COMPLETE`. Count what ran by the served marker (`ToolMessage.artifact["served_from_record"]`), never by
462
+ the calls a model emitted.
463
+ **And a quote says what it is** (PS-90): a served reply quoted the first 400 of 1,875 characters as "this
464
+ is what it returned", and two runs reported a truncated tool result and asked the person, unable to tell a
465
+ cut tool from a cut quote. A cut quote says it is the start, gives both lengths and says the tool did not
466
+ cut it. A tool that returns a dict with a `result`, `detail`, `answer` or `note` sentence is quoted by that
467
+ sentence instead of the start of its payload. **And a quote only saves what the context already holds**: the
468
+ record is the run's but a context is the dispatch's, so a re-dispatched worker never saw the first result; it is
469
+ served the whole of it (the tool still does not run), where 400 characters of it read as a broken tool 4/4.
470
+ **And a resumed run keeps it only if you pass it** (PS-91): the record lived in the agent object, so a resume on a
471
+ rebuilt agent re-ran a call its paused half had made. Build both halves with the same
472
+ `build_chat_agent(seen=WhatTheRunCalled())`, as you pass the same `ledger=` and `spent=`.
434
473
  2. **Progressive disclosure for the rare procedure.** What a tier needs on every turn belongs in its prompt
435
474
  and must stay decisive at the margin. What it needs occasionally - how to batch a clarification, which
436
475
  arises only when a worker comes back blocked - belongs in a skill it sees as a name and one line until it
@@ -528,7 +567,8 @@ deterministic check with a probabilistic one is a regression however fast it is.
528
567
  ask, or delegate), B1 (whether a delegated message is handed over verbatim) and D2 (which workers), each below a
529
568
  threshold left to the tier's model. Measured on the engine's routing gold sets against the model alone: D1 85.7%
530
569
  against 86.5% on four direct tools and 92.2% against 90.0% on twelve; D2 90.0% against 75.6% per worker. There is nothing to register: the harness calls its own decision model. Your
531
- tools', orchestrator's and workers' descriptions are what it reads, so write them to tell the options apart. `docs/harness.md` section 9.
570
+ tools', orchestrator's and workers' descriptions are what it reads, so write them to tell the options apart. `docs/harness.md` section 9;
571
+ asking any decision model well is the `decision-model` skill.
532
572
 
533
573
  **Derive a decision from what the tier DID, never from what the model announces.** A model asked to report
534
574
  its own decision reports an intention.
@@ -539,7 +579,17 @@ its own decision reports an intention.
539
579
  `grading=Grading(on_evaluation=...)` to `build_chat_agent`: each tier with a rule of its own (`chat-manager`,
540
580
  `orchestrator`, `worker`) is recorded and graded when it finishes, and its verdict arrives tagged with the tier.
541
581
  What stays yours is the rules themselves, delivering each `instruction` into its tier's prompt, and a test that it is
542
- there (`instructions_for`). The rest of this section is why the grader is built the way it is.
582
+ there (`instructions_for`). A rule with a detector is settled in code; a judgement rule is asked of the decision model,
583
+ one yes/no per `;`-separated part of its criterion, with each sentence of the answer asked whether it breaks it, over the
584
+ tier's run as named fields with every call in order (PS-95; a rule breaks once one part surely breaks), and
585
+ the LLM grader judges a tier only below `Grading(threshold=)` or without the decision model (PS-79: the LLM grader had
586
+ only ever copied the detectors' answers, and a judgement rule is a yes/no). Each verdict says which did, `graded_by`:
587
+ `code`, `decision_model` or `llm`. **Write a judgement rule's criterion as short, literal `;`-separated parts**: the
588
+ decision model reads literally, and a negated clause ("rather than", "not about which tools") or a conditional one
589
+ ("a question that did name a subject ... was not declined") is where it stays unsure and the LLM grader is paid for.
590
+ A rule code can count ("called no further tool after the dispatch") wants a detector instead. How a decision model is
591
+ asked, and what was measured, is the `decision-model` skill. The rest of this section is why the
592
+ grader is built the way it is.
543
593
 
544
594
  **Grading checks how a run behaved, not whether its answer was the right kind.** A rule holds or breaks the same way
545
595
  for every question. Whether a question should have been answered, refused or declined differs per question, so it
@@ -159,8 +159,8 @@ Produce a decomposition plan, not prose:
159
159
  model — **Jev** (managed, OpenRouter Decisions API, zero/few-shot, calibrated) or **Laya** (open, fine-tuned) —
160
160
  BEFORE committing to a trained classifier. It often wins when data is scarce or label-ambiguous, or when you need
161
161
  calibrated uncertainty to route/gate (measured: RAG_Wright CIC-1c — Jev zero-shot 0.92 vs a trained SetFit 0.82;
162
- ADR-0119). See `setfit` Phase 0.5 (the decision-vs-train A/B) and the `laya` skill; wire it as a `jev_decision`-style
163
- model capability with a `DecisionModelProfile`. **Evaluate this first; it may remove the need to train at all.**
162
+ ADR-0119). The `decision-model` skill covers choosing one, wiring it (a `jev_decision`-style model capability with a
163
+ `DecisionModelProfile`) and asking it well; `laya` is only for fine-tuning the open one. **Evaluate this first; it may remove the need to train at all.**
164
164
  The decision path runs only when `jev_decision` is registered (from `engine_capabilities()`) AND
165
165
  `OPENROUTER_API_KEY` is set; otherwise the reference pack's decision paths degrade silently (to the deterministic
166
166
  rule or the LLM), so check both before reading a number.
@@ -0,0 +1,183 @@
1
+ ---
2
+ name: decision-model
3
+ description: How to use a System-1 typed decision model -- Jev, or any model that speaks its Decisions API (Perplexity's decider, a served Laya, a later one) -- in the engine and its agent harness. When a decision model beats an LLM call or a trained classifier, which one to pick, wiring it (the `jev_decision` capability, `DecisionModelProfile`, fallback, unavailability), and above all how to ASK it well - state as named fields, every fact the decision needs, one literal question per judgement, criteria, few-shot, combining answers in code, thresholds, repeatability, caching, evaluating, its known blind spots and the decompositions measured to make it worse. Load before adding a decision point, writing questions or criteria for a decision model, or A/B-ing one against an LLM or a classifier. Fine-tuning Laya itself is the `laya` skill.
4
+ ---
5
+
6
+ # Using a decision model
7
+
8
+ A **System-1 decision model** answers typed questions about a `state` with calibrated probabilities and no generated
9
+ text, in roughly 70-1,000 ms: a `noul` (the probability of yes), a `choice` (one option, a probability for each) or a
10
+ `score` (a position on ordered levels). Your code asks narrow questions and decides what the answers mean.
11
+
12
+ **Every number below is a direction from one project, never a target -- re-measure on your own data.** Repository
13
+ paths in this skill (`docs/`, `tests/`, `src/`) are in the engine repository: read them there or on GitHub.
14
+
15
+ ## 1. When a decision model is the right tool
16
+
17
+ A closed-set decision (yes/no, one of N, a level) that an LLM makes today is a candidate. A/B one **before** you train
18
+ a classifier; it often removes the need to:
19
+
20
+ - **Data is scarce or label-ambiguous.** On the reference pack's operative-rule gate, zero-shot Jev reached 0.92
21
+ (the label ceiling) where a trained SetFit capped at about 0.82 and a fine-tuned Laya at 0.70-0.74 (ADR-0119).
22
+ - **You need honest uncertainty to route or gate.** Its probabilities are calibrated; a SetFit logistic head is
23
+ overconfident, so a confidence-routed hybrid could not be rescued (ADR-0119).
24
+ - **It replaces LLM calls outright.** Ingestion, one contract's 131 provisions: 215 decision-model calls and no LLM
25
+ call for $0.013, against 277 calls ($0.277) on the LLM path; the extraction judge 95.3% against the LLM judge's
26
+ 90.1% on 192 hand-labelled cases; boundary residue 460/461. Harness grading: a judgement rule settled in under a
27
+ second at about $0.00003, against 3-12 s and $0.001-0.009 for the LLM grader (PS-79, PS-95).
28
+
29
+ **Prefer a trained classifier** (the `setfit` skill) at high volume with a large labelled corpus, or when the
30
+ decision needs features a question cannot express. **Keep the LLM** for generation, multi-hop reasoning, arithmetic
31
+ and anything open-ended. **Keep code** for anything code can decide exactly: replacing a deterministic check with a
32
+ probabilistic one is a regression however fast it is.
33
+
34
+ ## 2. Which decision model
35
+
36
+ | Model | What it is | When |
37
+ |---|---|---|
38
+ | **Jev** (TypeSafe; `jev-1.14` the default profile, `jev-1.13`, `jev-latest`) | managed, strong zero- and few-shot, no training | first, almost always |
39
+ | **Perplexity's decider** (`pplx-decider-v1.2`) | managed, the same API | Jev's fallback (ADR-0147) |
40
+ | **Laya** (open weights, ModernBERT-large) | near-random zero-shot; must be fine-tuned | a managed API is unacceptable (on-prem, data residency): the `laya` skill |
41
+ | any later model | anything that speaks the Decisions API | register a profile; re-run your evals |
42
+
43
+ **The contract a model must speak**: `POST {model, state, questions}` returning `{answers: {<id>: {type, noul |
44
+ choice | score}}}`. Anything that speaks it is a configuration change, not a code change. It is not free: re-measure
45
+ accuracy, calibration and flips on your gold set before switching.
46
+
47
+ ## 3. Wiring it into the engine
48
+
49
+ - **Through the capability layer, never hand-called.** `jev_decision` is an engine capability (`kind="model"`,
50
+ async): register it from `engine_capabilities()` and call it by name.
51
+
52
+ ```python
53
+ from rag_wright.api import ainvoke_model
54
+
55
+ out = await ainvoke_model("jev_decision", {"state": state, "questions": questions}, resources=ws)
56
+ ```
57
+
58
+ - **The model is a profile, not a constant.** `DecisionModelProfile` (`model_id`, `served_model_id`, `endpoint`,
59
+ `api_key_env`, `timeout_s`, `fallback`, ...) registered with `register_decision_profile`, both on
60
+ `rag_wright.api`; select it with `RAG_DECISION_MODEL=<profile id>` or the capability's `model` input.
61
+ `RAG_JEV_TIMEOUT_S` overrides the request timeout.
62
+
63
+ ```python
64
+ from rag_wright.api import DecisionModelProfile, register_decision_profile
65
+
66
+ register_decision_profile(DecisionModelProfile(model_id="laya-onprem", served_model_id="laya",
67
+ endpoint="https://decider.internal/v1/decisions",
68
+ api_key_env="LAYA_API_KEY", fallback="jev-1.14"))
69
+ ```
70
+
71
+ - **A down model is asked once.** A profile's `fallback` is asked once when it fails and says which answered (PS-89).
72
+ - **Unavailable is an answer, not an error.** Without credentials (`OPENROUTER_API_KEY` by default), or after a
73
+ failed call, a caller decides as it did before there was a decision model (the deterministic rule, the LLM) and
74
+ the process warns once. Check registration and credentials before reading any number: a silently degraded path
75
+ measures the fallback.
76
+ - **Every call is metered** in `measure_usage`, with its cost.
77
+ - **The questions and criteria are domain knowledge**, so a pack keeps them in its ontology, not in code (ADR-0066):
78
+ `docs/domain-adaptation/ontology-authoring.md` section 5 is the pattern.
79
+ - **Keep a switch back to the LLM** per decision (the reference pack's `RAG_SEMANTIC_JUDGE=llm`), so a regression
80
+ found live is one setting away.
81
+
82
+ ## 4. In the agent harness
83
+
84
+ The harness carries its own decision model; a product registers nothing.
85
+
86
+ - **Routing** (ADR-0146): the chat-manager's turn (D1), a verbatim brief (B1) and the orchestrator's workers (D2),
87
+ each left to the tier's model below `RoutingThresholds`; `routing=None` turns it off. Your tools', orchestrator's
88
+ and workers' descriptions are what it reads: write them to tell the options apart.
89
+ - **Grading** (PS-79, PS-95): a judgement rule is asked of the decision model and the LLM grader is paid only below
90
+ `Grading(threshold=)`. Write a rule's criterion as short, literal `;`-separated parts (section 5).
91
+ - **One record per run.** Answers are cached per run, so a question asked twice in one run gets the first answer;
92
+ the run's ledger (`WhatTheRunDecided`) records which model answered, or that none could.
93
+ - **A new decision point**: the `building-an-agent-harness` skill, "Where a decision model pays": shadow it first,
94
+ and never replace a point a typed allow-list already decides.
95
+
96
+ ## 5. Asking it well
97
+
98
+ The single biggest lever, and free. Moving harness grading to these rules took judgement rules settled at 0.8 from 30
99
+ to 46 of 54 held-out cases, none wrong, with no training (PS-95, 480 calls). TypeSafe's guidance says the same:
100
+ "keep code in control", "break broad judgments into narrow, typed questions", "give each question only the context
101
+ it needs".
102
+
103
+ **The state**
104
+ - **An object whose fields name each part, not one string.** A run, for example: `{request, turns: [{speaker, text}],
105
+ tools: {name: description}, trace: [{n, name, kind, arguments, result, error}], answer}`. A string hides structure,
106
+ and a tool call has no text at all: a rule about what was called after what was undecidable from a transcript.
107
+ The object alone moved 30 to 34 of 54.
108
+ - **Every fact the decision depends on.** Which tier or record is judged, what each tool does, which call was a
109
+ dispatch. Without the tools' descriptions the sequence-rule fails weakened (a fail's yes-probability rose from 0.04
110
+ to 0.15). TypeSafe's tool-call gate flipped from refuse (0.87) to review (1.00) when the customer's account was
111
+ left out.
112
+ - **Nothing it does not need.** Unrelated text costs accuracy ("context rot"): cut long results, send the fields the
113
+ questions read, filter in code first.
114
+ - **Precompute in code** what code can know: order, kind, whether a call failed, counts, dates, sums, lookups. It
115
+ does not count, compare dates or do arithmetic reliably.
116
+
117
+ **The questions**
118
+ - **One literal judgement per question, pointing at the state by name**: `{"question": "Did the run keep to
119
+ `rule`?", "rule": <part>}`, not "Did this run keep to this rule? <text>". It reads literally: indirection (a
120
+ property of a property), negations and "rather than" clauses are where it is least sure. Direct questions moved
121
+ 34 to 37 of 54.
122
+ - **Pick the type by what your code does next**: `noul` for a yes/no gate (0.5 means split, not "medium"; never
123
+ read a magnitude from it), `choice` for one of known options (always add a `none` / other option, or pair it
124
+ with a companion `noul` "does any option fit?"), `score` for a level.
125
+ - **High means yes.** Phrase so a high value is the yes your code acts on, and keep the `true` / `false` criteria
126
+ saying the same thing as the question; contradicting them costs accuracy.
127
+ - **Criteria are where the boundary lives.** One line per option or side, saying what it covers and what it does
128
+ not; structured criteria (`{what, not_for, examples}`) sharpen confusable options. Author them as domain knowledge
129
+ and confirm them with a person.
130
+ - **Batch.** One call carries one state and many keyed questions, evaluated independently: ask everything about a
131
+ unit in one call. Seven questions in one request took a few hundred milliseconds against two seconds for seven
132
+ calls.
133
+ - **Few-shot is a lever, per decision.** Labelled exemplars in the state lifted subjective and relational choices a
134
+ lot (Laya: favorability 0.17 to 0.50, party_asymmetry 0.18 to 0.55) and collapsed a numeric one (0.40 to 0.00),
135
+ and can bias a binary gate. A/B it per decision; never assume.
136
+ - **Choice option order can matter**: it leans to the first option. Reorder and check the answer holds.
137
+
138
+ **Combining answers in code**
139
+ - **By the decision's own logic.** A rule with several parts breaks when ONE part surely breaks; requiring every
140
+ part to be sure deferred 9 of 54 rules another part had already broken (37 to 46 of 54). Keep "surely broken"
141
+ and "surely held" as two thresholds, and anything between as unsettled.
142
+ - **Measured dead ends -- do not repeat:**
143
+ - splitting "does the rule apply?" from "was it kept?": 15 of 54 confidently wrong. Asked whether "the situation
144
+ the rule describes" arose, it read the situation as the compliant behaviour and answered it absent exactly when
145
+ the run broke the rule;
146
+ - one question per tool call on top of the rule's own questions: more unsure answers, fewer settled (27 against
147
+ 37). More questions are not free when each is less literal;
148
+ - decompose only where each piece is itself a literal question.
149
+
150
+ ## 6. Thresholds and what to do with the middle
151
+
152
+ - **Three paths, not two.** Above the yes threshold act, below the no threshold act the other way, and send the
153
+ middle to a person or a larger model (the LLM). TypeSafe starts a `noul` at 0.7 / 0.3; the harness's grading uses
154
+ 0.8 (`Grading(threshold=)`), its routing `RoutingThresholds`.
155
+ - **Per action, by the cost of being wrong**: higher for an irreversible or expensive action, lower where missing a
156
+ yes is the costly error.
157
+ - **Choose it from a table**: settled, right and confidently wrong at several thresholds on a held-out set, never by
158
+ fitting a handful of cases. A threshold is a precision knob; it does not fix a confidently wrong question.
159
+
160
+ ## 7. Repeatability and caching
161
+
162
+ - **It is not repeatable call to call**: Jev flipped 5 of 181 answers across identical calls, all at 0.47-0.56; about
163
+ 3% of a residue flip. `temperature` and `seed` did not help; majority voting barely did. An answer that flips is an
164
+ ambiguous question: state the rubric once, phrase the criterion structurally, send the items without their
165
+ surrounding text.
166
+ - **Cache with the question in the key**: model, questions and exact state, so a re-run is repeatable and free and a
167
+ changed question never reuses an old answer. The harness caches per run.
168
+
169
+ ## 8. Evaluate it
170
+
171
+ - **A gold set with a held-out half.** Tune questions on one set and report on another: cases used to choose the
172
+ questions are not a fair test of them (the `creating-evals` skill).
173
+ - **Report**: settled share, accuracy among settled, confidently wrong (the number that must be zero), stability over
174
+ three repeats, cost and latency, against the LLM or classifier it replaces.
175
+ - **Probe before a bulk run**: a few calls to read the probabilities on planted passes and fails tell you whether a
176
+ question is literal enough; a pre-flight count and cost before anything over about 50 paid calls.
177
+
178
+ ## 9. Known blind spots
179
+
180
+ Literal reading; counting; dates and numeric comparison; indirection; long state full of unrelated detail; state
181
+ written to steer it (a third party's document can argue for its own label -- be explicit in the criteria); choice
182
+ option order; generation. Each has the same fix: move the part it is bad at into code or the state, and ask only the
183
+ judgement.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: laya
3
- description: Recipe for fine-tuning and serving a Laya (ModernBERT-large, RL-trained typed-decision) classifier -- the OPEN-weight System-1 decision model -- to replace an LLM decision that a SetFit/encoder classifier PLATEAUS on. Also explains Jev, the MANAGED zero-shot sibling (OpenRouter Decisions API), and when to A/B Jev first (usually) vs fine-tune Laya (on-prem / no managed API). Use when confusable/relational/subjective closed-vocab values won't clear the bar with any encoder backbone. Covers uv install + env-isolation gotchas, the JSONL schema, per-value criteria, single-T4 fine-tune (RLCD), few-shot-in-context, balance, OOM knobs, Modal harness, CPU/MPS/GPU serving, and the jev_decision/DecisionModelProfile wiring (ADR-0119).
3
+ description: Recipe for fine-tuning and serving Laya (ModernBERT-large with an RL-trained typed-decision head), the OPEN-weight System-1 decision model, when a managed decision model is unacceptable (on-prem, data residency) or a SetFit/encoder classifier PLATEAUS on a confusable/relational closed-vocab value. Covers uv install and env-isolation gotchas, checkpoints, the JSONL training schema, single-T4 fine-tuning (RLCD), calibration temperatures against the serving range, balance and data starvation, OOM knobs, the Modal harness, and CPU/MPS/GPU serving. Choosing a decision model, wiring one into the engine and asking it well is the `decision-model` skill; read it first.
4
4
  ---
5
5
 
6
6
  # Laya typed-decision classifier recipe
@@ -12,33 +12,12 @@ past SetFit**: use it when the decision — not the representation — is the bo
12
12
 
13
13
  **Every number below is a DIRECTION from one project, never a target — re-measure on your own data.**
14
14
 
15
- ## Laya vs Jev (the managed sibling) — pick the decision model first
16
- Laya is the **open-weight** System-1 decision model; **Jev** (TypeSafe, https://openrouter.ai, `typesafe/jev-1.13`
17
- via the OpenRouter **Decisions API**) is the **managed** one — same idea (typed `noul`/`choice`/`score` + calibrated
18
- probabilities), but **strong ZERO/few-shot with no fine-tuning**, whereas Laya scores near-random zero-shot and MUST
19
- be fine-tuned. Measured (RAG_Wright CIC-1c, ADR-0119): on the operative-rule gate **Jev zero-shot hit 0.92** where a
20
- trained SetFit capped ~0.82 and fine-tuned Laya reached ~0.70–0.74. So: **for a closed-set decision, A/B Jev
21
- (zero-shot, instant) first**; reach for Laya when a **managed API is unacceptable** (on-prem / data-residency) and
22
- you can fine-tune. In RAG_Wright a decision model is wired as a `kind="model"` capability (`jev_decision`) behind a
23
- `DecisionModelProfile` (model id / endpoint / thresholds in config) — see `setfit` Phase 0.5 +
24
- `authoring-a-capability`. The decision questions/criteria live in the `.ttl` (ADR-0066), not the capability.
25
-
26
- **Swapping Jev for Laya is config, but not free.** `DECISION_PROFILES` has only Jev entries (`jev-1.13`, the
27
- default, and `jev-latest`). A Laya swap needs (1) a server that speaks the Decisions API (POST
28
- `{model, state, questions}`, return `{answers: {<id>: {type, noul|choice|score}}}`), and (2) its profile, registered
29
- at startup from your product: `register_decision_profile(DecisionModelProfile(model_id="laya-onprem",
30
- served_model_id=..., endpoint=..., api_key_env=...))`, both on `rag_wright.api` (an unregistered id falls back to the
31
- OpenRouter endpoint). Then select it with `RAG_DECISION_MODEL=<profile id>` (or the `jev_decision` input `model`);
32
- `RAG_JEV_TIMEOUT_S` overrides the request timeout.
33
-
34
- **Batch the questions.** One call carries one `state` and many keyed questions, so ask everything about a unit in
35
- ONE call (the reference pack judges all of a provision's values, and labels all of its residual candidates, in one
36
- call each). That is the cost shape: one call per unit, not per value.
37
-
38
- **Repeatability.** Answers near the threshold can flip across identical calls (Jev: 5/181 flips, all at scores
39
- 0.47-0.56; temperature/seed did not help, majority voting barely helped). Fix the ambiguous question instead: state
40
- the rubric once, use structural criteria, pass the items without surrounding text. Re-measure flips on any Laya
41
- server you swap in.
15
+ ## Read the `decision-model` skill first
16
+ Choosing a decision model (a managed one such as Jev zero-shot usually wins, and needs no training), wiring it into
17
+ the engine, and asking it well (state, questions, criteria, few-shot, thresholds, repeatability) are the
18
+ `decision-model` skill, and hold for a fine-tuned Laya as for any other. This skill is the fine-tuning recipe: reach
19
+ for it when a managed API is unacceptable, or a closed-vocab value plateaus on every encoder. A served Laya plugs in
20
+ behind the engine's decision-model profile like any model that speaks the Decisions API.
42
21
 
43
22
  ## When to use Laya (vs SetFit)
44
23
  - A closed-vocab value **plateaus below the bar with EVERY encoder backbone you try** (we ruled it out with
@@ -73,9 +52,10 @@ One JSONL line per case (`research/scripts/finetune_single_device.py` reads this
73
52
  "questions": {"<dim>": {"type":"choice","instructions":"<the question>","criteria":{"<value>":"<description>", ...}}},
74
53
  "gold": {"<dim>": {"probabilities": {"<value>": <p>, ...}, "label": "<value>"}}}
75
54
  ```
76
- - **`criteria` = per-value written descriptions = the semantic-guidance lever SetFit never had.** Author them from
77
- the ontology (`.ttl`); if the ontology is thin (ours had vocab but no per-value defs), author from the value
78
- semantics and CONFIRM with a human before training. Wording matters — it directly shapes what the model learns.
55
+ - **`criteria` = per-value written descriptions = the semantic-guidance lever SetFit never had.** Author them as the
56
+ `decision-model` skill says (one line per value, what it covers and what it does not), from the ontology (`.ttl`);
57
+ if the ontology is thin, author from the value semantics and CONFIRM with a human before training. Wording
58
+ directly shapes what the model learns.
79
59
  - **`gold` is a DISTRIBUTION (soft targets), not a hard label** — RLCD trains on the teacher's probability per option.
80
60
  One-hot (`{gold:1.0, other:0.0}`) works and is the pragmatic start; true soft targets (teacher per-option probs)
81
61
  are the design-intended enhancement.
@@ -129,9 +109,8 @@ One JSONL line per case (`research/scripts/finetune_single_device.py` reads this
129
109
  qwen-vllm-modal skill — do not conflate. (Ignored the stated cap once, spawned 29 → 3 waves.)
130
110
 
131
111
  ## Levers that matter (measured, dim-dependent)
132
- - **Few-shot-in-`state` is a big BUT dim-dependent lever.** Prepend a few labeled exemplars (from TRAIN, per class)
133
- to the state. It lifted subjective/relational dims a lot (favorability 0.17→0.50, party_asymmetry 0.18→0.55) and
134
- **HURT a numeric dim** (cap_basis 0.40→0.00, collapsed). **A/B few-shot per dim; never assume it helps.**
112
+ - **Few-shot in the state** is an inference-time lever for any decision model (the `decision-model` skill); on Laya
113
+ it was dim-dependent. Take its exemplars from TRAIN only.
135
114
  - **Balance: don't down-sample to tiny data.** Balancing favorability DOWN to 18/18 (36 rows) + soft targets
136
115
  COLLAPSED it (0.00) — the larger imbalanced set did better (0.50). A starved minority value needs balance-**UP**
137
116
  (mine more minority data), not down-sampling the majority.
@@ -5,9 +5,8 @@ description: >-
5
5
  short text (spans, clauses, sentences, snippets). Use it when framing a decision as classification, or when
6
6
  building/improving a few-shot-to-full-data text classifier: problem framing, data & evaluation design,
7
7
  backbone selection, soft-tagging/top-k, ensembling, rare-class data curation (including sourcing examples
8
- online), calibration, and checkpointing. ALSO covers when NOT to train -- Phase 0.5: A/B a zero/few-shot
9
- System-1 decision model (Jev / Laya) first, which often wins on scarce or label-ambiguous data (the hard-won
10
- CIC-1c lesson). It exists so the NEXT classifier converges faster and re-uses hard-won lessons instead of
8
+ online), calibration, and checkpointing. Phase 0.5 says when NOT to train: A/B a zero/few-shot decision model
9
+ first (the `decision-model` skill), which often wins on scarce or label-ambiguous data. It exists so the NEXT classifier converges faster and re-uses hard-won lessons instead of
11
10
  re-discovering them.
12
11
  ---
13
12
 
@@ -42,52 +41,17 @@ your label set, data volume, and confusable structure differ, so re-measure ever
42
41
  label end to end. (ADR-0114's SetFit clause classifier passed >0.65 top-3 recall on gold snippets; in the pipeline
43
42
  its top-1 confused Cap / Uncapped Liability, which silently broke exception linking.)
44
43
 
45
- ## Phase 0.5 — Before you train: A/B a System-1 decision model (Jev / Laya)
44
+ ## Phase 0.5 — Before you train: A/B a System-1 decision model
46
45
 
47
- Once the task is framed as a closed-set decision (Phase 0), a trained classifier is NOT the only option — and
48
- often not the best. A **System-1 decision model** returns a CALIBRATED typed answer (yes/no, choice, score) with
49
- **no training, no text, in ~70–500 ms**. Evaluate one *before* committing to training; it frequently wins when:
50
- - **data is scarce or label-ambiguous** (training plateaus; the decision model is zero/few-shot). Measured
51
- (RAG_Wright CIC-1c, ADR-0119): a trained SetFit operative-rule classifier capped at ~0.82 on a 0.905-agreement
52
- gold (confident, unroutable errors; Laya no better; no public labeled negatives), while **Jev zero-shot hit 0.92**
53
- (the label ceiling), with claim_types micro-F1 0.85 / actor 0.90 few-shot;
54
- - **you need honest uncertainty to route/gate** — a decision model's probabilities are calibrated; a SetFit
55
- logistic head is overconfident, so a confidence-routed hybrid couldn't be rescued (ADR-0119);
56
- - **low-to-moderate volume** where there's no reason to host a local model (~$0.00002/call for a managed one).
46
+ Once the task is framed as a closed-set decision (Phase 0), a trained classifier is NOT the only option, and often not
47
+ the best: a decision model (Jev zero- or few-shot) answers with calibrated probabilities and no training. On the
48
+ reference pack's operative-rule gate it reached 0.92 where a trained SetFit capped near 0.82 (ADR-0119). When to
49
+ prefer it, how to wire it and how to ask it are the **`decision-model`** skill.
57
50
 
58
- Newer measurements (ingestion, ADR-0122 / ADR-0040 ING-9/9b): the provision-boundary residue on Jev 460/461
59
- (99.8%) with zero flips across 3 calls; the extraction judge on Jev 95.3% vs the LLM judge's 90.1% (192 blind
60
- hand-labelled cases); residual values (deterministic candidates + a Jev role choice) value-level recall 0.83 /
61
- precision 0.88 vs the LLM's 0.60 / 0.79. Live, one contract's 131 provisions took 215 Jev calls and 0 LLM calls
62
- for $0.013 (the LLM path: 277 calls, 276 of them LLM, $0.277).
63
-
64
- **Unstable answers mean an ambiguous question.** Jev flipped 5/181 answers across identical calls, all at scores
65
- 0.47-0.56; temperature/seed did not help and majority voting barely helped. Rewriting the question did: state the
66
- rubric ONCE in the `state`, phrase each criterion structurally (what the line IS, not what it might mean), and
67
- pass the lines to decide without their surrounding text. Measure repeatability (the `creating-evals` skill).
68
-
69
- **Prefer a trained classifier** when: high volume where per-call API cost compounds AND you have a large labeled
70
- corpus (the contract Step-3a fleet, ADR-0115/0116); on-prem-only with no managed API (then fine-tune **Laya**, the
71
- open decision model — the `laya` skill); or the decision needs features a prompt can't express.
72
-
73
- Two decision models:
74
- - **Jev** (TypeSafe, managed) — the **OpenRouter Decisions API** (`typesafe/jev-1.13`, POST `/api/alpha/decisions`,
75
- NOT chat completions). `questions` keyed by id: `noul` (yes/no → P(yes)), `choice` (options + probabilities),
76
- `score`. **Multi-label = several `noul` in one call.** **Few-shot = labeled exemplars in the `state`** (helps
77
- choice/multi-label; can BIAS a binary gate — zero-shot the gate). Tune the `noul` threshold for precision/recall
78
- (and note the threshold is a config knob, not a precision fix for confident errors).
79
- - **Laya** (Convai, open, Apache-2.0, ModernBERT-large + RL head) — on-prem; near-random zero-shot so **fine-tune
80
- it** (the `laya` skill). The open fallback when a managed API is unacceptable.
81
-
82
- **Wire it as a capability, don't hand-call it** (route-production-through-the-capability-layer): register a
83
- `kind="model"` capability with an `impl_ref` client (RAG_Wright ships `jev_decision`, an ASYNC model cap invoked via
84
- `ainvoke_model`) and keep the model id / endpoint / thresholds in a decision-model **profile**
85
- (`DecisionModelProfile`), never hardcoded — so swapping Jev ↔ Laya ↔ a future open-weight alternative is config.
86
- See `authoring-a-capability` + ADR-0119. The decision knowledge (the questions / criteria) belongs in the ontology
87
- (`.ttl`), not the capability (ADR-0066).
88
-
89
- **Rule of thumb: for a closed-set decision, A/B a decision model (Jev zero/few-shot) against a trained classifier
90
- on your REAL gold, and select on accuracy + calibration + cost — do not assume training is the answer.**
51
+ **Rule of thumb: for a closed-set decision, A/B a decision model against a trained classifier on your REAL gold, and
52
+ select on accuracy + calibration + cost — do not assume training is the answer.** Train (this skill) at high volume
53
+ with a large labelled corpus, or when the decision needs features a question cannot express; on-prem with no managed
54
+ API, fine-tune Laya (the `laya` skill).
91
55
 
92
56
  ## Phase 1 — Data & evaluation design (do this FIRST; it is the foundation)
93
57
  - **Judge by the per-class FLOOR, not overall accuracy.** A high average hides dead classes. Set an explicit
@@ -164,7 +164,7 @@ Work the domain-adaptation guide, grounding each engine call (step 2) and writin
164
164
  3. **Build + register capabilities** — compose the engine's generic primitives by import; register YOUR domain
165
165
  graphs/models/skills via `register_capability(manifest)` with an `impl_ref`. → `authoring-capabilities.md`.
166
166
  4. **Write each capability's eval first (TDD)** → the `creating-evals` skill; A/B rule vs classifier vs decision
167
- model vs LLM on it → `classifier-opportunity-analysis`, `setfit`, `laya`.
167
+ model vs LLM on it → `classifier-opportunity-analysis`, `decision-model`, `setfit`, `laya`.
168
168
  5. **Ingest the corpus** → the populated KG. `pipeline = build_ingestion(your_extractor, ...your hooks,
169
169
  tuning=IngestionTuning(...))`, then `await pipeline.aingest(ws, sources, cache_dir=...)`. Tune the hooks with
170
170
  `evaluate_ingestion` on your own sample documents before a full run. Embedded files and PDF attachments are
@@ -214,7 +214,7 @@ stay below `max_num_seqs` (`aingest` warns when its own peak exceeds it).
214
214
  Full walk-through: `docs/configuration.md`, "A self-hosted model server".
215
215
 
216
216
  **Using the decision model (Jev).** Register `jev_decision` (from `engine_capabilities()`) and set
217
- `OPENROUTER_API_KEY` (`RAG_DECISION_MODEL` overrides the default profile `jev-1.13`). Without both, the reference
217
+ `OPENROUTER_API_KEY` (`RAG_DECISION_MODEL` overrides the default profile `jev-1.14`, ADR-0147). Without both, the reference
218
218
  pack's decision paths silently fall back (to deterministic rules or the LLM); your own
219
219
  `ainvoke_model("jev_decision", ...)` raises `KeyError` when it is not registered and `RuntimeError` when the key is
220
220
  unset. Check both before trusting a run's numbers.
@@ -264,7 +264,7 @@ engine PR:
264
264
 
265
265
  `specifying-a-product-on-the-engine` (your high-level spec into a SPEC mapped to the engine, first),
266
266
  `creating-evals` (eval-first), `building-an-ingestion-capability` (your ingestion hooks),
267
- `classifier-opportunity-analysis` → `setfit`/`laya` (build a decision),
267
+ `classifier-opportunity-analysis` → `decision-model` (ask a decision model) or `setfit`/`laya` (train one),
268
268
  `authoring-a-capability` (register a cap), `building-an-agent-harness` (your agent on `rag_wright.harness`),
269
269
  `building-a-product-backend` and `building-a-product-frontend` (the backend's operation layer and the front end's
270
270
  architecture), `qwen-vllm-modal` (bulk teacher-labeling substrate, with its Modal deploy script). They ship inside the installed engine, at `rag_wright/.agents/skills/<name>/` (the convention
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.21.0"
3
+ }
@@ -4,6 +4,57 @@ All notable changes to RAG_Wright are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project aims to follow
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.21.0](https://github.com/fzaidi-dai/RAG_Wright/compare/0.20.1...0.21.0) (2026-12-04)
8
+
9
+
10
+ ### ⚠ BREAKING CHANGES
11
+
12
+ * **PS-85:** rag_wright.pack_sdk no longer exports profile_for; import it from rag_wright.api.
13
+ * **PS-84:** orchestrator_direct, orchestrator_reachable, bridged_tools and js_name are removed, with harness.interpreter; the orchestrator no longer runs operations no worker holds.
14
+ * **PS-96:** large tool results are held in the LangGraph store; `build_chat_agent` with a durable checkpointer and no `store=` refuses to build. Pass a durable store beside it, or set `AgentDefinition.hold_over=None`.
15
+ * **PS-96:** held results are not removed with a thread; call `forget_held(store, thread_id)` (`aforget_held` on an async store) wherever you remove one.
16
+ * **PS-80:** `MODEL_CALLS_PER_RUN` / `TOOL_CALLS_PER_RUN` are renamed `MODEL_CALLS_PER_INVOCATION` / `TOOL_CALLS_PER_INVOCATION` (`rag_wright.harness.errors`); a run's own bound is `AgentDefinition.budget`.
17
+ * **PS-91:** a paused run resumed on a fresh agent needs the same `seen=WhatTheRunCalled()` it started with, beside `ledger=` and `spent=`, or calls the paused half made run again.
18
+ * What to change, and the behaviour you will see with no change: `docs/specs/public-surface/migration-0.21.0.md`.
19
+
20
+ ### Features
21
+
22
+ * **PS-78:** a worker reasons with its own model ([50e4770](https://github.com/fzaidi-dai/RAG_Wright/commit/50e4770b86398652465bf033142ed5fcf5d39a95))
23
+ * **PS-79:** grading by the decision model ([f13ddf8](https://github.com/fzaidi-dai/RAG_Wright/commit/f13ddf8ae59722ebf4407c16937c7129f4432b90))
24
+ * **PS-80:** the run's protections see tiers and resumed turns ([18a3e13](https://github.com/fzaidi-dai/RAG_Wright/commit/18a3e134d867f154b82ed7df4356c175fce2621c))
25
+ * **PS-83:** a paused run says what it is waiting on ([76e9666](https://github.com/fzaidi-dai/RAG_Wright/commit/76e966636217035aed4b849a6b928029c51705ed))
26
+ * **PS-84:** the orchestrator plans and dispatches, never executes ([691ade6](https://github.com/fzaidi-dai/RAG_Wright/commit/691ade6cb7241ee80677138408dec810e980cd2e))
27
+ * **PS-86:** the orchestrator's dispatches are bounded per run ([c515571](https://github.com/fzaidi-dai/RAG_Wright/commit/c515571405b649cbe50d6707cd60613f4628e321))
28
+ * **PS-87:** a chat-manager with no direct operations is not offered answer ([00ec134](https://github.com/fzaidi-dai/RAG_Wright/commit/00ec13429af4f28d624c1ba717b242b65c02edf9))
29
+ * **PS-88:** the run's call budget is per question, and a stop carries what came back ([95316cd](https://github.com/fzaidi-dai/RAG_Wright/commit/95316cdcaca3ceb12af278c3e3c817dc27e321fe))
30
+ * **PS-89:** a decision model that is down falls back, and the outage is visible ([e05e375](https://github.com/fzaidi-dai/RAG_Wright/commit/e05e375218b1b74ef13707bcf1b1f433eb2a6f02))
31
+ * **PS-90:** a quoted repeat says what it quotes, and a context that never saw the result gets all of it ([2860f14](https://github.com/fzaidi-dai/RAG_Wright/commit/2860f14db752e544056edb354b3050cece60c099))
32
+ * **PS-91:** a resumed run knows what it already asked for ([a3f9c59](https://github.com/fzaidi-dai/RAG_Wright/commit/a3f9c596339e9171d19edd57722fe8712c9459c5))
33
+ * **PS-95:** the decision model grades from the run as named fields; a decision-model skill ([0fb7052](https://github.com/fzaidi-dai/RAG_Wright/commit/0fb70520ef2c21efc62b7368b015d2c56444dd45))
34
+ * **PS-96:** large results passed by reference, held in the LangGraph store ([383f506](https://github.com/fzaidi-dai/RAG_Wright/commit/383f5066d02333e2b2b9e5b56e9ab29fd96f5a27))
35
+ * **PS-97:** two calls written differently that ask the same question ([b609444](https://github.com/fzaidi-dai/RAG_Wright/commit/b609444cd84798350023aaa1bebb591bbd3c451d))
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * **PS-74:** a model told it is repeating is made to answer ([a77d6dd](https://github.com/fzaidi-dai/RAG_Wright/commit/a77d6dd599a5ed8c1af1facb6a9d8d8fb376fd17))
41
+ * **PS-76:** a chat-manager handed a report answers from it ([d69762d](https://github.com/fzaidi-dai/RAG_Wright/commit/d69762db79d66323fcf5e77088cfb734ae81de6a))
42
+ * **PS-77:** D1 offers the product's direct tools ([3e44c3b](https://github.com/fzaidi-dai/RAG_Wright/commit/3e44c3b3d5b0d6a388c3ca541d2edcf2ee2b220c))
43
+ * **PS-81:** a resumed dispatch carries the answer; a worker stops searching its filesystem ([bfa5e02](https://github.com/fzaidi-dai/RAG_Wright/commit/bfa5e02930a39c7ff0f691aff67e550d846b448d))
44
+ * **PS-85:** profile_for on one public tier ([f0bc144](https://github.com/fzaidi-dai/RAG_Wright/commit/f0bc144acc42d841f026a7b94aab7847bc371f47))
45
+ * **PS-92:** a plan paused by a worker's question continues where it stopped ([82801ff](https://github.com/fzaidi-dai/RAG_Wright/commit/82801fffb120029306b1510c3e27a7493d8dff42))
46
+ * **PS-93:** a reply that does nothing never runs a tool and cannot loop a tier ([60778bf](https://github.com/fzaidi-dai/RAG_Wright/commit/60778bf48d9a979dd16276b00ba1af1e681e28ac))
47
+ * **PS-94:** a tool call written as text is not an answer ([73fb9e6](https://github.com/fzaidi-dai/RAG_Wright/commit/73fb9e6258c412f667a2517a46089e345e91872a))
48
+ * the default decision model is jev-1.14, Jev having returned (ADR-0147 addendum) ([116e489](https://github.com/fzaidi-dai/RAG_Wright/commit/116e489a52165a3c348670b380eb586830256f4a))
49
+ * the default decision model is pplx-decider-v1.2 while Jev is unavailable (ADR-0147) ([9d4cae5](https://github.com/fzaidi-dai/RAG_Wright/commit/9d4cae57f970246711dd785af2844e5bfde64d19))
50
+
51
+ ## [0.20.1](https://github.com/fzaidi-dai/RAG_Wright/compare/0.20.0...0.20.1) (2026-11-21)
52
+
53
+
54
+ ### Bug Fixes
55
+
56
+ * **PS-73:** the chat-manager answers an identical repeat from the run's record ([f4e5544](https://github.com/fzaidi-dai/RAG_Wright/commit/f4e554470936b7eafa8b0b27d954fc7f4e86426a))
57
+
7
58
  ## [0.20.0](https://github.com/fzaidi-dai/RAG_Wright/compare/0.19.1...0.20.0) (2026-11-20)
8
59
 
9
60