rag-wright 0.18.0__tar.gz → 0.19.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 (1168) hide show
  1. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-an-agent-harness/SKILL.md +6 -0
  2. rag_wright-0.19.0/.release-please-manifest.json +3 -0
  3. {rag_wright-0.18.0 → rag_wright-0.19.0}/CHANGELOG.md +12 -0
  4. {rag_wright-0.18.0 → rag_wright-0.19.0}/CLAUDE.md +3 -3
  5. {rag_wright-0.18.0 → rag_wright-0.19.0}/PKG-INFO +1 -1
  6. rag_wright-0.19.0/docs/adr/0146-the-harness-routes-with-a-decision-model.md +89 -0
  7. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/README.md +2 -1
  8. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/api/README.md +5 -1
  9. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/api/harness.md +5 -1
  10. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/configuration.md +3 -1
  11. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/harness.md +57 -1
  12. rag_wright-0.19.0/docs/specs/harness-decisions/plan.md +72 -0
  13. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.18.0.md +3 -0
  14. rag_wright-0.19.0/docs/specs/public-surface/rulewright-migration-0.19.0.md +122 -0
  15. {rag_wright-0.18.0 → rag_wright-0.19.0}/pyproject.toml +1 -1
  16. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/build_harness_doc.py +12 -3
  17. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-an-agent-harness/SKILL.md +6 -0
  18. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/__init__.py +3 -2
  19. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/__init__.py +2 -2
  20. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/agent.py +21 -3
  21. rag_wright-0.19.0/src/rag_wright/harness/decider.py +122 -0
  22. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/decisions.py +31 -5
  23. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/definition.py +22 -0
  24. rag_wright-0.19.0/src/rag_wright/harness/routing.py +196 -0
  25. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/tiers.py +9 -1
  26. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/workers.py +11 -0
  27. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/profiles.py +6 -0
  28. {rag_wright-0.18.0 → rag_wright-0.19.0}/tasks.md +2 -0
  29. rag_wright-0.19.0/tests/harness/conftest.py +27 -0
  30. rag_wright-0.19.0/tests/harness/gold/__init__.py +46 -0
  31. rag_wright-0.19.0/tests/harness/gold/b1.jsonl +20 -0
  32. rag_wright-0.19.0/tests/harness/gold/d1.jsonl +90 -0
  33. rag_wright-0.19.0/tests/harness/gold/d2.jsonl +30 -0
  34. rag_wright-0.19.0/tests/harness/gold/deciders.py +226 -0
  35. rag_wright-0.19.0/tests/harness/gold/loom.py +164 -0
  36. rag_wright-0.19.0/tests/harness/gold/run.py +126 -0
  37. rag_wright-0.19.0/tests/harness/gold/scoring.py +70 -0
  38. rag_wright-0.19.0/tests/harness/test_harness_brief_routing.py +150 -0
  39. rag_wright-0.19.0/tests/harness/test_harness_decider.py +168 -0
  40. rag_wright-0.19.0/tests/harness/test_harness_deciders.py +184 -0
  41. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_genericity.py +1 -1
  42. rag_wright-0.19.0/tests/harness/test_harness_gold.py +127 -0
  43. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_public_surface.py +12 -0
  44. rag_wright-0.19.0/tests/harness/test_harness_routing.py +346 -0
  45. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_workers.py +3 -1
  46. {rag_wright-0.18.0 → rag_wright-0.19.0}/uv.lock +1 -1
  47. rag_wright-0.18.0/.release-please-manifest.json +0 -3
  48. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/settings.json +0 -0
  49. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/authoring-a-capability/SKILL.md +0 -0
  50. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-a-product-backend/SKILL.md +0 -0
  51. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-a-product-frontend/SKILL.md +0 -0
  52. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
  53. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
  54. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
  55. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/building-an-ingestion-capability/SKILL.md +0 -0
  56. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/classifier-opportunity-analysis/SKILL.md +0 -0
  57. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/creating-evals/SKILL.md +0 -0
  58. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/laya/SKILL.md +0 -0
  59. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/qwen-vllm-modal/SKILL.md +0 -0
  60. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
  61. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
  62. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/setfit/SKILL.md +0 -0
  63. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
  64. {rag_wright-0.18.0 → rag_wright-0.19.0}/.claude/skills/using-the-rag-wright-engine/SKILL.md +0 -0
  65. {rag_wright-0.18.0 → rag_wright-0.19.0}/.env.example +0 -0
  66. {rag_wright-0.18.0 → rag_wright-0.19.0}/.github/workflows/publish.yml +0 -0
  67. {rag_wright-0.18.0 → rag_wright-0.19.0}/.github/workflows/release-please.yml +0 -0
  68. {rag_wright-0.18.0 → rag_wright-0.19.0}/.gitignore +0 -0
  69. {rag_wright-0.18.0 → rag_wright-0.19.0}/LICENSE +0 -0
  70. {rag_wright-0.18.0 → rag_wright-0.19.0}/README.md +0 -0
  71. {rag_wright-0.18.0 → rag_wright-0.19.0}/SPEC.md +0 -0
  72. {rag_wright-0.18.0 → rag_wright-0.19.0}/conftest.py +0 -0
  73. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/ARCHITECTURE_OVERVIEW.md +0 -0
  74. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/ArcadeDB_Local.md +0 -0
  75. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/OBSERVABILITY.md +0 -0
  76. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0001-stack-and-library-choices.md +0 -0
  77. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0002-validation-corpus-cuad-edgar.md +0 -0
  78. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0003-ard-registration-and-capability-kinds.md +0 -0
  79. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0004-entity-disambiguation.md +0 -0
  80. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0005-relational-golden-set.md +0 -0
  81. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0006-model-profile.md +0 -0
  82. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0007-arcadedb-store-schema.md +0 -0
  83. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0008-unified-framework-index-docs-grounding.md +0 -0
  84. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0009-rlm-chunking-retained-as-configurable-capability.md +0 -0
  85. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0010-transformers-pinned-below-5-for-flagembedding-reranker.md +0 -0
  86. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0011-cuad-not-a-retrieval-benchmark-acord-for-queries.md +0 -0
  87. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0012-entity-mention-confidence-no-proximity-edges.md +0 -0
  88. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0013-entity-resolution-matching-strategy.md +0 -0
  89. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0014-split-generation-and-vision-to-text.md +0 -0
  90. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0015-rlm-dynamic-subagents-and-granted-subagents.md +0 -0
  91. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0016-rlm-defined-by-required-capabilities-enforced-as-tests.md +0 -0
  92. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0017-dynamic-dispatch-trigger-as-typed-flag.md +0 -0
  93. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0018-rlm-method-is-the-orchestrator-system-prompt.md +0 -0
  94. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0019-recursion-is-optional-for-chunking-required-for-synthesis.md +0 -0
  95. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0020-serialize-interpreter-sessions-per-process-ki1.md +0 -0
  96. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0021-capability-interface-governed-typed-io.md +0 -0
  97. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0022-fr-k-embedding-free-okf-navigation-experimental.md +0 -0
  98. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0023-cheap-model-for-okf-enrichment.md +0 -0
  99. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0024-reader-parallelism-lives-in-python-not-the-interpreter.md +0 -0
  100. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0025-retrieval-pivot-function-classify-property-graph-rerank.md +0 -0
  101. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0026-property-schema-and-extended-function-taxonomy.md +0 -0
  102. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0027-openrouter-provider-routing-by-throughput.md +0 -0
  103. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0028-deterministic-grounding-judge-and-flash-pro-cascade.md +0 -0
  104. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0029-retrieval-pipeline-domain-portability-and-adaptation.md +0 -0
  105. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0030-model-training-standard-modal-reusable-checkpointed.md +0 -0
  106. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0031-single-call-chunking-for-structured-contracts.md +0 -0
  107. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0032-nl-to-type-two-step-reason-emit-on-gemma.md +0 -0
  108. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0033-unified-contract-kg-three-legs-one-graph.md +0 -0
  109. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0034-granite-json-schema-structured-output-profile.md +0 -0
  110. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0035-graph-extraction-rebacked-with-gp1b-retire-hybrid.md +0 -0
  111. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0036-party-clause-link-party-to-edge.md +0 -0
  112. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0037-clause-template-is-authoritative-code-not-generated.md +0 -0
  113. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0038-full-cuad-kg-on-gcp-gpu-vm-and-gcs-backup.md +0 -0
  114. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0039-self-hosted-open-model-stack-on-modal-a100.md +0 -0
  115. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0040-neuro-symbolic-extraction-fidelity-ontology-shacl-validation.md +0 -0
  116. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0041-capability-kind-rubric-and-agent-skill-runtime-tiers.md +0 -0
  117. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0042-clause-level-span-id-provenance-and-content-hash-backfill.md +0 -0
  118. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0043-retire-cross-corpus-retrieval-standardize-on-leg-b.md +0 -0
  119. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0044-is-exception-to-derived-carveout-relationship.md +0 -0
  120. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0045-client-side-tag-parse-structured-output.md +0 -0
  121. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0046-acord-unified-into-one-production-kg.md +0 -0
  122. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0047-retire-precomputed-clause-function-gate.md +0 -0
  123. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0048-ingest-llm-classifier-nondestructive-reclassify.md +0 -0
  124. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0049-generic-customer-lens-for-ingestion.md +0 -0
  125. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0050-async-langgraph-ingestion.md +0 -0
  126. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0051-schema-bootstrap-and-feedback-driven-ontology-evolution.md +0 -0
  127. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0052-engine-product-split-graphwright-parked.md +0 -0
  128. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0053-answer-prose-output-hygiene.md +0 -0
  129. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0054-remove-auto-tag-from-generator-evidence.md +0 -0
  130. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0055-confidence-out-of-band.md +0 -0
  131. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0056-bound-structured-retry-wall-clock.md +0 -0
  132. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0057-async-engine-architecture.md +0 -0
  133. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0058-structure-first-chunking.md +0 -0
  134. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0059-recall-decoupled-from-classification-and-visible-partial-loss.md +0 -0
  135. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0060-scope-compliance-check-to-named-policy-sources.md +0 -0
  136. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0061-subject-document-compliance-per-section.md +0 -0
  137. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0062-tiered-ocr-scan-quality-vlm-escalation.md +0 -0
  138. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0063-per-sentence-compliance-subject-facts.md +0 -0
  139. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0064-typed-properties-out-of-band-on-evidence.md +0 -0
  140. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0065-deontic-applicability-gates-query-side.md +0 -0
  141. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0066-ontology-ttl-single-source-of-truth.md +0 -0
  142. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0067-domain-pack-retargeting.md +0 -0
  143. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0068-recall-first-actor-gate-ontology-role-disjointness.md +0 -0
  144. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0069-reading-order-chunking-tables-figures-retrievable.md +0 -0
  145. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0070-text-layer-first-parsing-no-false-vlm-escalation.md +0 -0
  146. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0071-defragmentation-reconstruct-paragraphs-from-line-items.md +0 -0
  147. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0072-extract-guard-furniture-and-deterministic-failure.md +0 -0
  148. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0073-born-digital-threshold-sparse-pages-no-vlm-escalation.md +0 -0
  149. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0074-retry-transient-extraction-failures.md +0 -0
  150. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0075-per-page-vlm-escalation.md +0 -0
  151. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0076-thread-safe-shared-embedder-reranker.md +0 -0
  152. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0077-concurrent-function-classification-across-chunks.md +0 -0
  153. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0078-dedicated-extraction-executor.md +0 -0
  154. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0079-product-default-granite-4.2-openrouter-routing.md +0 -0
  155. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0080-nested-tag-parse-and-degrade.md +0 -0
  156. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0081-function-independent-tagparse-clause-extraction.md +0 -0
  157. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0082-symbolic-gate-function-independent.md +0 -0
  158. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0083-executor-hop-trace-context-capture.md +0 -0
  159. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0084-gleaning-off-on-the-query-leg.md +0 -0
  160. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0085-query-constraint-extraction-tagparse.md +0 -0
  161. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0086-streaming-cost-capture.md +0 -0
  162. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0087-retrieval-relevance-score-on-rankedspan.md +0 -0
  163. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0088-per-span-relevance-verdict.md +0 -0
  164. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0089-structured-output-generation-tracing.md +0 -0
  165. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0090-affiliate-of-extraction.md +0 -0
  166. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0091-retire-partyto-edge.md +0 -0
  167. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0092-idempotent-write-graph.md +0 -0
  168. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0093-entities-by-name-seam.md +0 -0
  169. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0094-workspace-document-scope.md +0 -0
  170. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0095-span-page-provenance.md +0 -0
  171. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0096-carveout-keyword-normalization.md +0 -0
  172. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0097-caller-configurable-ingest-extraction-models.md +0 -0
  173. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0098-invoke-time-document-scope.md +0 -0
  174. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0099-mcp-tools-never-take-a-model-supplied-tenant.md +0 -0
  175. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0100-profile-based-model-routing.md +0 -0
  176. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0101-untagged-spans-reach-extraction-aspect-gate-removed.md +0 -0
  177. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0102-open-descriptive-list-dims-retain-verbatim.md +0 -0
  178. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0103-a-clause-is-a-provision-not-a-span.md +0 -0
  179. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0104-dense-floor-protection-in-leg-b.md +0 -0
  180. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0105-in-band-model-usage-accounting.md +0 -0
  181. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0106-document-signals-off-the-citation.md +0 -0
  182. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0107-requirement-page-provenance.md +0 -0
  183. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0108-qwen3-27b-single-a100-serving-profile.md +0 -0
  184. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0109-vllm-cold-start-reduction.md +0 -0
  185. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0110-fp8-kv-cache-16k-single-a100.md +0 -0
  186. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0111-pin-qwen3-27b-deepinfra-bf16.md +0 -0
  187. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0112-relax-deepagents-pin-to-floor.md +0 -0
  188. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0113-llm-span-instrumentation-for-latency-attribution.md +0 -0
  189. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0114-setfit-default-clause-function-classifier.md +0 -0
  190. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0115-classifier-only-step3a-property-extraction.md +0 -0
  191. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0116-soft-function-scoping-classifier-lane.md +0 -0
  192. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0117-engine-api-layer-and-capability-runtime.md +0 -0
  193. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0118-engine-core-api-vs-ard-adapter-free-impl-ref-client.md +0 -0
  194. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0119-jev-typed-decision-model-for-compliance-closed-set-fields.md +0 -0
  195. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0120-rlm-sub-agent-identity-dynamic-dispatch-trigger.md +0 -0
  196. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0121-spacy-optional-extra-model-runtime-download.md +0 -0
  197. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0122-provision-boundary-deterministic-plus-decision-model-residue.md +0 -0
  198. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0123-batched-releases-release-please-and-consumer-dependabot.md +0 -0
  199. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0124-generic-ingestion-builder-and-hooks.md +0 -0
  200. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0125-qwen-openrouter-unpinned.md +0 -0
  201. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0126-unit-representative-hook-and-the-reference-vote.md +0 -0
  202. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0127-retire-the-okf-code.md +0 -0
  203. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0128-two-public-tiers-api-and-pack-sdk.md +0 -0
  204. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0129-laya-temperatures-and-the-sklearn-floor.md +0 -0
  205. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0130-deploy-the-self-hosted-model-server-from-the-engine.md +0 -0
  206. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0131-model-server-hardening-after-rulewright-review.md +0 -0
  207. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0132-model-server-cold-start-from-a-gpu-snapshot.md +0 -0
  208. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0133-model-call-deadline-follows-the-timeout-and-a-thinking-cap.md +0 -0
  209. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0134-skills-for-product-developers-are-linked-per-project-never-globally.md +0 -0
  210. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0135-the-seam-gives-each-event-loop-its-own-async-http-client.md +0 -0
  211. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0136-spreadsheet-tables-are-glued-back-across-blank-rows.md +0 -0
  212. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0137-generated-answers-state-their-support-and-none-is-an-abstention.md +0 -0
  213. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0138-the-engine-reaches-pdfium-through-one-locked-door.md +0 -0
  214. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0139-the-agent-harness-substrate-is-engine-scope.md +0 -0
  215. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0140-one-model-family-on-metal.md +0 -0
  216. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0141-the-hard-split-cuts-between-lines-and-repeats-a-tables-header.md +0 -0
  217. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0142-the-default-writer-keeps-one-edge-per-type-and-endpoints.md +0 -0
  218. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0143-a-float-is-written-and-compared-as-a-double.md +0 -0
  219. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0144-one-loaded-bge-model-per-process.md +0 -0
  220. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/adr/0145-arcadedb-26-11-1-and-vector-index-upkeep.md +0 -0
  221. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/api/pack_sdk.md +0 -0
  222. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/architecture/foundations-and-adding-a-domain.md +0 -0
  223. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/architecture.md +0 -0
  224. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/README.md +0 -0
  225. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/design/deontic-applicability-routing.md +0 -0
  226. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/design/ingestion-neuro-symbolic-gaps.md +0 -0
  227. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/design/semantic-subject-segmentation.md +0 -0
  228. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/design/unify-subject-preprocessing.md +0 -0
  229. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0037-closed-vocab-drops-verbatim-values-to-other.md +0 -0
  230. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0038-a-clause-node-is-now-created-per-sentence-so-98-percent-of-spans-become-clauses.md +0 -0
  231. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0039-the-provision-detector-reads-text-but-docling-puts-the-section-number-in-marker.md +0 -0
  232. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0040-covered-subject-is-asked-of-every-provision-so-verbatim-retention-fills-it-with-noise.md +0 -0
  233. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0041-VERIFICATION-dense-floor.md +0 -0
  234. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0041-leg-b-discards-the-best-dense-matches-on-some-queries.md +0 -0
  235. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0042-usage-is-captured-per-call-but-never-returned-so-cost-needs-a-langfuse-round-trip.md +0 -0
  236. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0043-a-requirement-carries-no-page-provenance-so-a-finding-cannot-point-into-its-policy.md +0 -0
  237. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0044-document-signals-scaffolding-is-shown-to-the-user-as-a-quote-from-their-document.md +0 -0
  238. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0045-a-fixed-money-cap-records-no-cap-quantum-so-the-amount-is-only-prose.md +0 -0
  239. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0046-appending-a-natural-follow-up-to-a-question-drops-the-clause-type.md +0 -0
  240. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0047-an-exact-deepagents-pin-transitively-pins-every-consumer.md +0 -0
  241. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/engine-issues/0048-the-pinned-endpoints-latency-tail-makes-agent-runs-undebuggable-from-either-side.md +0 -0
  242. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-07-20_graphwright_capability_interface_reply.md +0 -0
  243. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-07-20b_graphwright_interface_confirmation.md +0 -0
  244. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-07-20c_graphwright_ingestion_interfaces.md +0 -0
  245. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-08-30_subject_compliance_final_rulewright.md +0 -0
  246. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-01_issue-0013-recall-first-actor-gate_rulewright.md +0 -0
  247. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-01_ontology-source-of-truth_rulewright.md +0 -0
  248. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-03_issue-0014-table-retrievability_rulewright.md +0 -0
  249. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-04_bulk-ingestion-wall_rulewright.md +0 -0
  250. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-04_issue-0016-thread-safe-embedder_rulewright.md +0 -0
  251. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-05_observability-langfuse_rulewright.md +0 -0
  252. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-05_tagparse-ingestion-and-granite-4.2_rulewright.md +0 -0
  253. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_affiliate-of-extraction_rulewright.md +0 -0
  254. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_issue-0028-partyto-retired_rulewright.md +0 -0
  255. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_issue-0029-idempotent-write-graph_rulewright.md +0 -0
  256. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_issue-0030-entities-by-name_rulewright.md +0 -0
  257. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_observability-and-retrieval-floor_rulewright.md +0 -0
  258. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_relevance-verdict_rulewright.md +0 -0
  259. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_rename-run-ad-compliance-check_rulewright.md +0 -0
  260. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-09_structured-output-cost-tracing_rulewright.md +0 -0
  261. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_ingest-models-caller-configurable_rulewright.md +0 -0
  262. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_issue-0031-followup-failclosed-and-nodrift_rulewright.md +0 -0
  263. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_issue-0031-followup-validate-ingested-set_rulewright.md +0 -0
  264. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_issue-0031-workspace-document-scope_rulewright.md +0 -0
  265. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_issue-0032-span-page-provenance_rulewright.md +0 -0
  266. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_issue-0033-carveout-normalization_rulewright.md +0 -0
  267. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-10_issue-0034-invoke-time-document-scope_rulewright.md +0 -0
  268. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-11_issue-0035-followup-derived-guard_rulewright.md +0 -0
  269. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-11_issue-0035-mcp-no-model-tenant_rulewright.md +0 -0
  270. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-11_profile-based-model-routing_rulewright.md +0 -0
  271. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-11_qwen-default-modal-or_rulewright.md +0 -0
  272. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-11_qwen-everywhere-config_rulewright.md +0 -0
  273. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-12_clause-granularity_0036-0039_rulewright.md +0 -0
  274. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-12_closed-vocab_0037-0040_rulewright.md +0 -0
  275. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-12_dense-floor-protection_0041_rulewright.md +0 -0
  276. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-13_in-band-usage_0042_rulewright.md +0 -0
  277. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-14_document-signals-off-citation_0044_rulewright.md +0 -0
  278. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-14_requirement-page-provenance_0043_rulewright.md +0 -0
  279. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-16_qwen3-27b-single-a100-serving-profile_rulewright.md +0 -0
  280. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-18_fp8-accuracy-eval-configB_rulewright.md +0 -0
  281. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-18_fp8-kv-16k-single-a100_rulewright.md +0 -0
  282. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-20_deepagents-pin-relaxed_0047_rulewright.md +0 -0
  283. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-20_llm-span-instrumentation_0048_rulewright.md +0 -0
  284. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-21_0048-part2-modal-answers_from_rulewright.md +0 -0
  285. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/handoffs/2026-09-21_0048-part2-modal-scoping-questions_rulewright.md +0 -0
  286. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/misc/.gitkeep +0 -0
  287. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/plans/Corpus_Acquisition.md +0 -0
  288. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/plans/async-migration.md +0 -0
  289. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/plans/demo_plan.md +0 -0
  290. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/plans/gp1b_docling_graph_plan.md +0 -0
  291. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/plans/unified_contract_kg_ontology_bridge.md +0 -0
  292. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/plans/unified_contract_kg_plan.md +0 -0
  293. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/results/2026-07-24-t58-property-graph-population.md +0 -0
  294. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/results/2026-07-25-t58b-full-pipeline-rerank.md +0 -0
  295. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/archive/results/2026-07-25-t58b-topk-ordering-levers.md +0 -0
  296. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/concepts.md +0 -0
  297. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/contract_pipeline_explainer.md +0 -0
  298. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/corpus_ingest_recipe.md +0 -0
  299. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/README.md +0 -0
  300. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/_engine-gaps.md +0 -0
  301. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/authoring-capabilities.md +0 -0
  302. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/classification-and-decision-models.md +0 -0
  303. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/entity-resolution.md +0 -0
  304. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/evals-from-expert-files.md +0 -0
  305. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/kg-construction.md +0 -0
  306. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/domain-adaptation/ontology-authoring.md +0 -0
  307. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/classifier_model_ab.md +0 -0
  308. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/compliance_demo.md +0 -0
  309. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/compliance_gate_cc7.md +0 -0
  310. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/compliance_rung2_cc7.md +0 -0
  311. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/cuad_highlighting_cu-d1.md +0 -0
  312. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/dg_model_ab.md +0 -0
  313. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/function_gate_recall.md +0 -0
  314. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/generation_robustness_b_vs_c.md +0 -0
  315. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/nl_to_type_cu-d2.md +0 -0
  316. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/ocr_benchmark.md +0 -0
  317. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/prod1_readiness.md +0 -0
  318. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/prod2_readiness.md +0 -0
  319. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/query_side_model_ab.md +0 -0
  320. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/silver_granite_vs_gemma4.md +0 -0
  321. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/silver_provider_routing.md +0 -0
  322. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/eval/silver_selfhosted_gemma4_26b.md +0 -0
  323. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/evals.md +0 -0
  324. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/installation.md +0 -0
  325. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/playbook.md +0 -0
  326. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/product/capability_profiles.md +0 -0
  327. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/product/contracts_product_roadmap.md +0 -0
  328. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/product/engine-api-migration-handoff.md +0 -0
  329. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/product/engine_async_api.md +0 -0
  330. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/product/new-domain-build-sequence.md +0 -0
  331. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/product/seam-adaptation-guide.md +0 -0
  332. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/proposals/compliance-ingest-classifier-decomposition.md +0 -0
  333. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/proposals/de-domaining-and-capability-runtime.md +0 -0
  334. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/proposals/new-domain-developer-journey.md +0 -0
  335. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/proposals/ontology-induction.md +0 -0
  336. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/quickstart.md +0 -0
  337. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/reference-pack.md +0 -0
  338. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/releasing.md +0 -0
  339. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/engine-platform/SPEC.md +0 -0
  340. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/engine-platform/TASKS.md +0 -0
  341. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/engine-prep/plan.md +0 -0
  342. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/evals/plan.md +0 -0
  343. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/ingestion-hooks/ing5-doc-audit.md +0 -0
  344. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/ingestion-hooks/ing8-breaking-changes.md +0 -0
  345. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/ingestion-hooks/plan.md +0 -0
  346. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/ingestion-hooks/rulewright-migration-0.2.0.md +0 -0
  347. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/langgraph-ingestion/plan.md +0 -0
  348. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/plan.md +0 -0
  349. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-arcadedb-separation.md +0 -0
  350. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.10.0.md +0 -0
  351. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.11.0.md +0 -0
  352. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.12.0.md +0 -0
  353. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.13.0.md +0 -0
  354. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.14.0.md +0 -0
  355. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.3.0.md +0 -0
  356. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.4.0.md +0 -0
  357. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.5.0.md +0 -0
  358. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.6.0.md +0 -0
  359. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.7.0.md +0 -0
  360. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.8.0.md +0 -0
  361. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-migration-0.9.0.md +0 -0
  362. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/specs/public-surface/rulewright-reply-2026-10-10-laya-and-sklearn.md +0 -0
  363. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/templates/product-starter/CLAUDE.md.template +0 -0
  364. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/templates/product-starter/README.md +0 -0
  365. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/templates/product-starter/dependabot.yml +0 -0
  366. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/templates/product-starter/playbook.md.template +0 -0
  367. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/upstream/laya-temperature-range-mismatch.md +0 -0
  368. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/vendor/arcadedb/arcadedb-buckets-schema.md +0 -0
  369. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/vendor/arcadedb/arcadedb-docs-extraction.json +0 -0
  370. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/vendor/arcadedb/arcadedb-sql-rebuild-index.md +0 -0
  371. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/vendor/arcadedb/arcadedb-vector-embeddings.md +0 -0
  372. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/vendor/arcadedb/arcadedb-vector-search-tutorial.md +0 -0
  373. {rag_wright-0.18.0 → rag_wright-0.19.0}/docs/workspaces.md +0 -0
  374. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/__init__.py +0 -0
  375. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/acord.py +0 -0
  376. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/acord_retrieval.py +0 -0
  377. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/boundary_residue_gold.py +0 -0
  378. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/build_golden.py +0 -0
  379. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/compliance_demo/policy/community_conduct_policy.md +0 -0
  380. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/compliance_demo/subjects/post_borderline.txt +0 -0
  381. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/compliance_demo/subjects/post_compliant.txt +0 -0
  382. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/compliance_demo/subjects/post_violation.txt +0 -0
  383. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/condensed_pipeline.py +0 -0
  384. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/contract_parity_live.py +0 -0
  385. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/contractnli_judge.py +0 -0
  386. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/cuad_highlight.py +0 -0
  387. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/embedded_eval.py +0 -0
  388. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/full_pipeline_rerank.py +0 -0
  389. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/function_ceiling.py +0 -0
  390. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/function_property_rerank.py +0 -0
  391. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/function_rerank.py +0 -0
  392. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/gate1_chunker_ab.py +0 -0
  393. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/gate2_hybrid_rerank.py +0 -0
  394. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/golden/relational/set.json +0 -0
  395. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/golden.py +0 -0
  396. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/ground_discriminator_rerank.py +0 -0
  397. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/harness.py +0 -0
  398. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/ingestion_live_smoke.py +0 -0
  399. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/kg_primary.py +0 -0
  400. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/kg_property_rerank.py +0 -0
  401. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/listwise_rerank.py +0 -0
  402. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/multihop.py +0 -0
  403. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/nl_to_type.py +0 -0
  404. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/relational_eval.py +0 -0
  405. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/residual_decision_gold.py +0 -0
  406. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/segmenter_eval.py +0 -0
  407. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/semantic_judge_gold.py +0 -0
  408. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/test_acord.py +0 -0
  409. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/test_acord_retrieval.py +0 -0
  410. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/test_harness.py +0 -0
  411. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/test_multihop_set.py +0 -0
  412. {rag_wright-0.18.0 → rag_wright-0.19.0}/eval/unit_grouper_eval.py +0 -0
  413. {rag_wright-0.18.0 → rag_wright-0.19.0}/examples/model_server.py +0 -0
  414. {rag_wright-0.18.0 → rag_wright-0.19.0}/examples/quickstart.py +0 -0
  415. {rag_wright-0.18.0 → rag_wright-0.19.0}/plan.md +0 -0
  416. {rag_wright-0.18.0 → rag_wright-0.19.0}/release-please-config.json +0 -0
  417. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ab_model_overlap.py +0 -0
  418. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acord_unify.py +0 -0
  419. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acquire_acord.py +0 -0
  420. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acquire_cuad.py +0 -0
  421. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acquire_ecfr.py +0 -0
  422. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acquire_edgar.py +0 -0
  423. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acquire_ftc_255.py +0 -0
  424. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/acquire_prod1_corpus.py +0 -0
  425. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/audit_reclass_flips.py +0 -0
  426. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/author_leg_a_silver_key.py +0 -0
  427. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/backfill_affiliations.py +0 -0
  428. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/backfill_clause_span_id.py +0 -0
  429. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/backfill_edge_source_doc_id.py +0 -0
  430. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/backup_kg_to_gcs.sh +0 -0
  431. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/bootstrap_template_capture.py +0 -0
  432. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/bootstrap_typed_edges.py +0 -0
  433. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/build_api_docs.py +0 -0
  434. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/build_api_docs.sh +0 -0
  435. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/build_cuad_clause_cache.py +0 -0
  436. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/build_function_routing_map.py +0 -0
  437. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_assemble_v2.py +0 -0
  438. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_assemble_v3.py +0 -0
  439. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_generate_hard_negatives.py +0 -0
  440. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_generate_hard_positives.py +0 -0
  441. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_generate_training.py +0 -0
  442. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_hybrid.py +0 -0
  443. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_hybrid2.py +0 -0
  444. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_jev_actor.py +0 -0
  445. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_jev_claimtypes.py +0 -0
  446. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_jev_operative.py +0 -0
  447. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_label_spans.py +0 -0
  448. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_laya_prep.py +0 -0
  449. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_laya_train.py +0 -0
  450. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_prep_operative.py +0 -0
  451. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_relabel_rubric.py +0 -0
  452. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_relabel_rubric2.py +0 -0
  453. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/cic1_train_operative.py +0 -0
  454. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/compare_extraction_models.py +0 -0
  455. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/compliance_actor_gate_smoke.py +0 -0
  456. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/compliance_engine_smoke.py +0 -0
  457. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/compliance_policy_demo.py +0 -0
  458. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/curate_taxonomy_gaps.py +0 -0
  459. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/dg_model_ab.py +0 -0
  460. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_knn_expansion.py +0 -0
  461. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_knn_rerank.py +0 -0
  462. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_leg_pool.py +0 -0
  463. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_legs.py +0 -0
  464. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_pool.py +0 -0
  465. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_relstructure.py +0 -0
  466. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/diagnose_acord_retrieval.py +0 -0
  467. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/eval_all.py +0 -0
  468. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/eval_ce.py +0 -0
  469. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/eval_listwise_b.py +0 -0
  470. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/export_ce_dataset.py +0 -0
  471. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/extract_features.py +0 -0
  472. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/listwise_variants.py +0 -0
  473. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/relational_features.py +0 -0
  474. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/train_ce.py +0 -0
  475. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/distill/train_modal.py +0 -0
  476. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/enrich_edgar_candidates.py +0 -0
  477. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/eval_chunking_ab.py +0 -0
  478. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/eval_classifier_guided_vs_tagparse.py +0 -0
  479. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/eval_compliance_gold.py +0 -0
  480. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/extract_arcadedb_docs.py +0 -0
  481. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/fetch_reference_models.py +0 -0
  482. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/generate_contract_python.py +0 -0
  483. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/git_post_commit_graphify.sh +0 -0
  484. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/granite_chunker_assess.py +0 -0
  485. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/graph_status.sh +0 -0
  486. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_acord.py +0 -0
  487. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_compliance_async_prod2.py +0 -0
  488. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_compliance_document_prod2.py +0 -0
  489. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_compliance_prod2.py +0 -0
  490. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_cuad.py +0 -0
  491. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_cuad_full.py +0 -0
  492. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_ftc_compliance.py +0 -0
  493. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_prod1.py +0 -0
  494. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_prod1_async.py +0 -0
  495. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ingest_smoke.py +0 -0
  496. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/install_git_hooks.sh +0 -0
  497. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/label_new_functions.py +0 -0
  498. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/legb_function_gate_recall.py +0 -0
  499. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/make_compliance_fixtures.py +0 -0
  500. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/make_compliance_gold.py +0 -0
  501. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/mcp_compliance_agent_demo.py +0 -0
  502. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/mcp_intra_document_qa_smoke.py +0 -0
  503. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/mcp_query_legs_agent_demo.py +0 -0
  504. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/measure_generation_robustness.py +0 -0
  505. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/measure_harness_genericity.py +0 -0
  506. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/measure_silver.py +0 -0
  507. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/merge_docs_into_framework.py +0 -0
  508. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/migrate_entity_cik_to_canonical_id.py +0 -0
  509. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/migrate_silver_evidence_autotag.py +0 -0
  510. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/migrate_silver_evidence_remove_autotag.py +0 -0
  511. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/migrate_span_fields.py +0 -0
  512. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/mine_scarce_functions.py +0 -0
  513. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_arcadedb.py +0 -0
  514. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_backfill.py +0 -0
  515. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_exception_linking.py +0 -0
  516. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_gemma4_vllm.py +0 -0
  517. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_gemma4_vllm_snapshot.py +0 -0
  518. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_granite_server.py +0 -0
  519. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_granite_throughput.py +0 -0
  520. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_granite_vllm_server.py +0 -0
  521. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_query_app.py +0 -0
  522. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_qwen3_27b_bench.py +0 -0
  523. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_qwen3_27b_snapshot.py +0 -0
  524. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_qwen3_vllm_server.py +0 -0
  525. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/modal_stack_a100.py +0 -0
  526. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ocr_benchmark.py +0 -0
  527. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ocr_preprocess.py +0 -0
  528. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/ontology_dimension_check.py +0 -0
  529. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/phase_a_leg_validate.py +0 -0
  530. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/populate_clause_kg.py +0 -0
  531. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/populate_entity_graph.py +0 -0
  532. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/populate_entity_graph_extracted.py +0 -0
  533. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/populate_property_store.py +0 -0
  534. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/prep_relational_verification.py +0 -0
  535. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/publish_manifests.py +0 -0
  536. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/reclassify_kg.py +0 -0
  537. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/refresh_framework_graph.sh +0 -0
  538. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/revert_reclass_flips.py +0 -0
  539. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/run_acord_retrieval.py +0 -0
  540. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/run_clause_exception_linking.py +0 -0
  541. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/semantic_judge_live_validate.py +0 -0
  542. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/semantic_judge_probe.py +0 -0
  543. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/snapshot_leg_a_eval.py +0 -0
  544. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/stack_correctness_validate.py +0 -0
  545. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/table_retrieval_smoke.py +0 -0
  546. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/train_function_classifier.py +0 -0
  547. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/train_legalbert_function.py +0 -0
  548. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/train_legalbert_modal.py +0 -0
  549. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/typed_rerank_validate.py +0 -0
  550. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/verify_wheel_install.sh +0 -0
  551. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/vllm_extraction_ab.py +0 -0
  552. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/vllm_kg_query_validate.py +0 -0
  553. {rag_wright-0.18.0 → rag_wright-0.19.0}/scripts/vllm_raw_diagnostic.py +0 -0
  554. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/authoring-a-capability/SKILL.md +0 -0
  555. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-a-product-backend/SKILL.md +0 -0
  556. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-a-product-frontend/SKILL.md +0 -0
  557. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
  558. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
  559. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
  560. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/building-an-ingestion-capability/SKILL.md +0 -0
  561. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/classifier-opportunity-analysis/SKILL.md +0 -0
  562. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/creating-evals/SKILL.md +0 -0
  563. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/laya/SKILL.md +0 -0
  564. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/SKILL.md +0 -0
  565. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
  566. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
  567. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/setfit/SKILL.md +0 -0
  568. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
  569. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/.agents/skills/using-the-rag-wright-engine/SKILL.md +0 -0
  570. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/__init__.py +0 -0
  571. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/agents.py +0 -0
  572. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/answers.py +0 -0
  573. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/config.py +0 -0
  574. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/discover.py +0 -0
  575. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/documents.py +0 -0
  576. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/ids.py +0 -0
  577. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/invoke.py +0 -0
  578. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/kg.py +0 -0
  579. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/mcp.py +0 -0
  580. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/tracing.py +0 -0
  581. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/usage.py +0 -0
  582. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/api/workspace.py +0 -0
  583. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/__init__.py +0 -0
  584. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/answer_generator.py +0 -0
  585. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/ard.py +0 -0
  586. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/chunk_read.py +0 -0
  587. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/chunk_write.py +0 -0
  588. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/disambiguation.py +0 -0
  589. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/document_parse.py +0 -0
  590. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/document_scope.py +0 -0
  591. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/embedding.py +0 -0
  592. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/embedding_profiles.py +0 -0
  593. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/entity_resolution.py +0 -0
  594. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/fusion.py +0 -0
  595. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/graph_query.py +0 -0
  596. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/graph_storage.py +0 -0
  597. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/hybrid_search.py +0 -0
  598. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/invoke.py +0 -0
  599. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/jev_decision.py +0 -0
  600. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/manifests.py +0 -0
  601. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/parse_audit.py +0 -0
  602. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/parsing.py +0 -0
  603. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/registry.py +0 -0
  604. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/remote_encoders.py +0 -0
  605. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/reranking.py +0 -0
  606. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/retrieval_core.py +0 -0
  607. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/rlm_chunking.py +0 -0
  608. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/rlm_synthesis.py +0 -0
  609. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/scan_quality.py +0 -0
  610. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/sheet_tables.py +0 -0
  611. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/span_relevance_judgment.py +0 -0
  612. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/span_search.py +0 -0
  613. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/vision_to_text.py +0 -0
  614. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/capabilities/vlm_ocr.py +0 -0
  615. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/__init__.py +0 -0
  616. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/chunk.py +0 -0
  617. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/evals.py +0 -0
  618. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/extraction.py +0 -0
  619. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/graph.py +0 -0
  620. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/identifiers.py +0 -0
  621. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/ingestion.py +0 -0
  622. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/provenance.py +0 -0
  623. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/contracts/span.py +0 -0
  624. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/corpus/__init__.py +0 -0
  625. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/corpus/canonicalize.py +0 -0
  626. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/corpus/document_parser.py +0 -0
  627. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/corpus/embedded.py +0 -0
  628. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/corpus/http.py +0 -0
  629. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/evals/__init__.py +0 -0
  630. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/evals/gold.py +0 -0
  631. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/evals/langfuse_backend.py +0 -0
  632. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/evals/runner.py +0 -0
  633. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/evals/scorers.py +0 -0
  634. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/accounting.py +0 -0
  635. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/batch.py +0 -0
  636. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/clarify.py +0 -0
  637. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/confirm.py +0 -0
  638. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/dispatch.py +0 -0
  639. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/errors.py +0 -0
  640. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/events.py +0 -0
  641. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/faults.py +0 -0
  642. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/filesystem.py +0 -0
  643. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/grading.py +0 -0
  644. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/interpreter.py +0 -0
  645. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/memory.py +0 -0
  646. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/models.py +0 -0
  647. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/preflight.py +0 -0
  648. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/recording.py +0 -0
  649. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/rules.py +0 -0
  650. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/runs.py +0 -0
  651. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/scope.py +0 -0
  652. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/seen.py +0 -0
  653. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/skills.py +0 -0
  654. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/thinking.py +0 -0
  655. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/tracing.py +0 -0
  656. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/harness/withhold.py +0 -0
  657. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/__init__.py +0 -0
  658. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/builder.py +0 -0
  659. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/evaluate.py +0 -0
  660. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/group.py +0 -0
  661. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/layout.py +0 -0
  662. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/segment.py +0 -0
  663. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ingestion/tables.py +0 -0
  664. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/__init__.py +0 -0
  665. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/model_servers.py +0 -0
  666. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/seam.py +0 -0
  667. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/tag_structured.py +0 -0
  668. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/tracing.py +0 -0
  669. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/usage.py +0 -0
  670. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/models/weights.py +0 -0
  671. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ontology/__init__.py +0 -0
  672. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ontology/pack_schema.py +0 -0
  673. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/ontology/registry.py +0 -0
  674. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/pack_sdk/__init__.py +0 -0
  675. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/__init__.py +0 -0
  676. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/__init__.py +0 -0
  677. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/capabilities/__init__.py +0 -0
  678. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/capabilities/assertion_extraction.py +0 -0
  679. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/capabilities/claim_extraction.py +0 -0
  680. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/capabilities/compliance_judgment.py +0 -0
  681. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/capabilities/compliance_store.py +0 -0
  682. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/capabilities/requirement_extraction.py +0 -0
  683. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/invokers.py +0 -0
  684. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/mcp/__init__.py +0 -0
  685. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/mcp/compliance_server.py +0 -0
  686. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/ontology/__init__.py +0 -0
  687. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/ontology/compliance_bridge.ttl +0 -0
  688. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/ontology/loader.py +0 -0
  689. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/ontology/packs/ftc_16cfr255.ttl +0 -0
  690. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/pack.py +0 -0
  691. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/schemas/__init__.py +0 -0
  692. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/schemas/compliance.py +0 -0
  693. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/__init__.py +0 -0
  694. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/claim_extraction/SKILL.md +0 -0
  695. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/claim_extraction/__init__.py +0 -0
  696. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/claim_extraction/template.py +0 -0
  697. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/compliance_judgment/SKILL.md +0 -0
  698. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/generic_compliance_judgment/SKILL.md +0 -0
  699. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/SKILL.md +0 -0
  700. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/__init__.py +0 -0
  701. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/template.py +0 -0
  702. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/subgraphs/__init__.py +0 -0
  703. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/subgraphs/compliance_check.py +0 -0
  704. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/subgraphs/compliance_ingestion.py +0 -0
  705. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/compliance/subgraphs/requirement_extraction.py +0 -0
  706. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/__init__.py +0 -0
  707. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/__init__.py +0 -0
  708. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/clause_exception_linking.py +0 -0
  709. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/contract_kg_serve.py +0 -0
  710. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/contract_kg_store.py +0 -0
  711. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/dg_extraction.py +0 -0
  712. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/graph_extraction.py +0 -0
  713. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/highlight_serve.py +0 -0
  714. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/property_boosted_retrieval.py +0 -0
  715. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/query_function_classifier.py +0 -0
  716. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/capabilities/query_understanding.py +0 -0
  717. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/corpus/__init__.py +0 -0
  718. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/corpus/cuad.py +0 -0
  719. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/corpus/cuad_ingestion.py +0 -0
  720. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/corpus/edgar.py +0 -0
  721. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/corpus/gcs_ingestion.py +0 -0
  722. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/corpus/selection.py +0 -0
  723. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/mcp/__init__.py +0 -0
  724. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/mcp/intra_document_qa_server.py +0 -0
  725. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/mcp/relational_qa_server.py +0 -0
  726. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/mcp/session_store.py +0 -0
  727. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/mcp/typed_property_retrieval_server.py +0 -0
  728. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/__init__.py +0 -0
  729. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/_generated_template_meta.py +0 -0
  730. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/_generated_vocab.py +0 -0
  731. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/clause_template.py +0 -0
  732. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/codegen.py +0 -0
  733. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/contract_bridge.ttl +0 -0
  734. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/contract_taxonomy.py +0 -0
  735. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/derive.py +0 -0
  736. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/loader.py +0 -0
  737. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/ontology/template_introspect.py +0 -0
  738. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/options.py +0 -0
  739. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/pack.py +0 -0
  740. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/__init__.py +0 -0
  741. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/contract_meta.py +0 -0
  742. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/function.py +0 -0
  743. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/function_routing.py +0 -0
  744. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/highlight.py +0 -0
  745. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/jurisdiction.py +0 -0
  746. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/ontology.py +0 -0
  747. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/property.py +0 -0
  748. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/query_intent.py +0 -0
  749. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/schemas/value_match.py +0 -0
  750. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/__init__.py +0 -0
  751. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/corpus_ingest/SKILL.md +0 -0
  752. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/SKILL.md +0 -0
  753. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/__init__.py +0 -0
  754. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/guidance/__init__.py +0 -0
  755. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/guidance/chunking.md +0 -0
  756. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/guidance/generation.md +0 -0
  757. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/skills/guidance/relevance.md +0 -0
  758. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/__init__.py +0 -0
  759. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/boundary.py +0 -0
  760. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/clause_function_classifier.py +0 -0
  761. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/clause_kg_extractor.py +0 -0
  762. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/cuad_labels.py +0 -0
  763. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/dim_classifier.py +0 -0
  764. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/dim_fleet.json +0 -0
  765. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/function_classifier.py +0 -0
  766. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/function_families.py +0 -0
  767. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/hybrid_classifier.py +0 -0
  768. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/legalbert_classifier.py +0 -0
  769. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/model_capabilities.py +0 -0
  770. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/new_function_labels.py +0 -0
  771. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/property_extractor.py +0 -0
  772. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/property_grounding.py +0 -0
  773. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/reclassify.py +0 -0
  774. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/residual_candidates.py +0 -0
  775. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/scarce_function_labels.py +0 -0
  776. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/segment.py +0 -0
  777. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/semantic_judge.py +0 -0
  778. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/symbolic_validation.py +0 -0
  779. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/spans/tag_clause_extractor.py +0 -0
  780. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/__init__.py +0 -0
  781. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/async_ingestion.py +0 -0
  782. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/contract_ingestion_pipeline.py +0 -0
  783. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/intra_document_qa.py +0 -0
  784. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/query_constraint_extraction.py +0 -0
  785. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/relational_qa.py +0 -0
  786. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/typed_clause_extraction.py +0 -0
  787. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/contracts/subgraphs/typed_property_retrieval.py +0 -0
  788. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/packs/reference_seam.py +0 -0
  789. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/py.typed +0 -0
  790. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/__init__.py +0 -0
  791. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/generation/SKILL.md +0 -0
  792. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/generation/__init__.py +0 -0
  793. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/rlm/SKILL.md +0 -0
  794. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/rlm/__init__.py +0 -0
  795. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/rlm/agent.py +0 -0
  796. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/span_relevance_judgment/SKILL.md +0 -0
  797. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/vision_to_text/SKILL.md +0 -0
  798. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/skills/vision_to_text/__init__.py +0 -0
  799. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/spans/__init__.py +0 -0
  800. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/spans/page_map.py +0 -0
  801. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/store/__init__.py +0 -0
  802. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/store/arcadedb.py +0 -0
  803. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/store/chunk_text.py +0 -0
  804. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/store/seam.py +0 -0
  805. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/subgraphs/__init__.py +0 -0
  806. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/subgraphs/graph_extraction.py +0 -0
  807. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/subgraphs/observability.py +0 -0
  808. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/subgraphs/scaffold.py +0 -0
  809. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/subgraphs/semantic_chunking.py +0 -0
  810. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/util/__init__.py +0 -0
  811. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/util/concurrent.py +0 -0
  812. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/util/devices.py +0 -0
  813. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/util/pdfium.py +0 -0
  814. {rag_wright-0.18.0 → rag_wright-0.19.0}/src/rag_wright/util/spacy_model.py +0 -0
  815. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/__init__.py +0 -0
  816. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/__init__.py +0 -0
  817. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_agent_chat_model.py +0 -0
  818. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_agent_chat_model_live.py +0 -0
  819. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_answers_exports.py +0 -0
  820. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_api_embedder_ps39.py +0 -0
  821. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_bytes_ingest.py +0 -0
  822. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_capability_reexports.py +0 -0
  823. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_decision_swap_doc_example.py +0 -0
  824. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_discover.py +0 -0
  825. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_documents.py +0 -0
  826. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_drop_workspace.py +0 -0
  827. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_drop_workspace_live.py +0 -0
  828. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_e2e.py +0 -0
  829. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_invoke.py +0 -0
  830. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_kg.py +0 -0
  831. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_mcp.py +0 -0
  832. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_metering_tracing_exports.py +0 -0
  833. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_migrate_span_fields.py +0 -0
  834. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_model_role_export.py +0 -0
  835. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_open_workspace_reconfig.py +0 -0
  836. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_options.py +0 -0
  837. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_pack_sdk.py +0 -0
  838. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_pack_sdk_segmenter.py +0 -0
  839. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_pack_store.py +0 -0
  840. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_pdf_page_count.py +0 -0
  841. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_public_gaps_ps38.py +0 -0
  842. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_tracing_helpers_ps32.py +0 -0
  843. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_usage.py +0 -0
  844. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_workspace.py +0 -0
  845. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/api/test_workspace_models.py +0 -0
  846. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/domain_vocabulary_baseline.json +0 -0
  847. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_api_docs_current.py +0 -0
  848. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_doc_references.py +0 -0
  849. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_engine_domain_vocabulary.py +0 -0
  850. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_import_contracts.py +0 -0
  851. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_lock_version.py +0 -0
  852. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_packs_use_store_primitives.py +0 -0
  853. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_pdfium_door.py +0 -0
  854. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/arch/test_shipped_skills.py +0 -0
  855. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/async_helpers.py +0 -0
  856. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/__init__.py +0 -0
  857. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/_fixtures/rlm_probe_skill/SKILL.md +0 -0
  858. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_answer_generator.py +0 -0
  859. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_answer_generator_async.py +0 -0
  860. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_assertion_extraction.py +0 -0
  861. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_authoring_contract.py +0 -0
  862. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_chunk_read.py +0 -0
  863. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_chunk_write.py +0 -0
  864. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_chunking_prompts_neutral.py +0 -0
  865. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_claim_extraction.py +0 -0
  866. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_clause_exception_linking.py +0 -0
  867. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_compliance_judgment.py +0 -0
  868. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_compliance_store.py +0 -0
  869. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_contract_kg_serve.py +0 -0
  870. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_contract_kg_store.py +0 -0
  871. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_contract_kg_store_reads.py +0 -0
  872. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_contract_taxonomy_and_spans.py +0 -0
  873. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_dg_adapter.py +0 -0
  874. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_dg_async.py +0 -0
  875. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_dg_extraction.py +0 -0
  876. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_dg_model_seam.py +0 -0
  877. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_dg_private.py +0 -0
  878. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_disambiguation.py +0 -0
  879. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_document_scope.py +0 -0
  880. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_embedding.py +0 -0
  881. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_embedding_profiles.py +0 -0
  882. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_entity_resolution.py +0 -0
  883. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_entity_rules_plumbing.py +0 -0
  884. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_fusion.py +0 -0
  885. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_graph_extraction.py +0 -0
  886. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_graph_query.py +0 -0
  887. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_graph_storage.py +0 -0
  888. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_highlight_serve.py +0 -0
  889. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_hybrid_search.py +0 -0
  890. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_jev_decision.py +0 -0
  891. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_manifest_validation.py +0 -0
  892. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_manifests.py +0 -0
  893. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_parse_audit.py +0 -0
  894. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_parsing.py +0 -0
  895. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_parties_extraction.py +0 -0
  896. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_property_boosted_retrieval.py +0 -0
  897. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_query_function_classifier.py +0 -0
  898. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_query_understanding.py +0 -0
  899. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_registry.py +0 -0
  900. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_remote_encoders.py +0 -0
  901. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_repair_partition.py +0 -0
  902. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_requirement_extraction.py +0 -0
  903. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_reranking.py +0 -0
  904. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_retrieval_core.py +0 -0
  905. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_rlm_chunking.py +0 -0
  906. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_rlm_chunking_async.py +0 -0
  907. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_rlm_method.py +0 -0
  908. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_rlm_synthesis.py +0 -0
  909. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_runtime_registry.py +0 -0
  910. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_scan_quality.py +0 -0
  911. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_shared_models.py +0 -0
  912. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_span_relevance_judgment.py +0 -0
  913. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_span_search.py +0 -0
  914. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_structural_boundary_discoverer.py +0 -0
  915. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_structural_model_fallback.py +0 -0
  916. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_tag_boundary_discoverer.py +0 -0
  917. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_tiered_ocr.py +0 -0
  918. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/capabilities/test_vlm_ocr.py +0 -0
  919. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/compliance_fakes.py +0 -0
  920. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/conftest.py +0 -0
  921. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/__init__.py +0 -0
  922. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_canonical_source_doc_id.py +0 -0
  923. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_chunk_record.py +0 -0
  924. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_compliance.py +0 -0
  925. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_cuad_highlight_contracts.py +0 -0
  926. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_extraction.py +0 -0
  927. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_function.py +0 -0
  928. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_function_routing.py +0 -0
  929. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_identifiers.py +0 -0
  930. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_ingestion_hooks.py +0 -0
  931. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_jurisdiction.py +0 -0
  932. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_ontology.py +0 -0
  933. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_property.py +0 -0
  934. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_provenance.py +0 -0
  935. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/contracts/test_value_match.py +0 -0
  936. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/__init__.py +0 -0
  937. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/_ooxml_fixtures.py +0 -0
  938. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_canonicalize.py +0 -0
  939. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_cuad.py +0 -0
  940. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_cuad_ingestion.py +0 -0
  941. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_document_parser.py +0 -0
  942. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_edgar.py +0 -0
  943. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_embedded.py +0 -0
  944. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_gcs_ingestion.py +0 -0
  945. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_http.py +0 -0
  946. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_parse_wire2.py +0 -0
  947. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/corpus/test_selection.py +0 -0
  948. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/eval/test_contractnli_judge.py +0 -0
  949. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/eval/test_cuad_highlight_metrics.py +0 -0
  950. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/eval/test_kg_property_rerank.py +0 -0
  951. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/eval/test_nl_to_type_metrics.py +0 -0
  952. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/eval/test_relational_eval.py +0 -0
  953. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/__init__.py +0 -0
  954. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_gold_contracts.py +0 -0
  955. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_gold_import.py +0 -0
  956. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_langfuse_backend.py +0 -0
  957. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_runner.py +0 -0
  958. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_scorer_parity.py +0 -0
  959. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_scorers_a.py +0 -0
  960. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_scorers_b.py +0 -0
  961. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_scorers_c.py +0 -0
  962. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/evals/test_scorers_d.py +0 -0
  963. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/parity.json +0 -0
  964. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/parity_blank.pdf +0 -0
  965. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/parity_cover_with_attachment.pdf +0 -0
  966. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/parity_db_with_a_broken_report.xlsx +0 -0
  967. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/parity_db_with_reports.xlsx +0 -0
  968. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/parity_grid.xlsx +0 -0
  969. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/segmenter_gold.json +0 -0
  970. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/textile_spec_sheet.md +0 -0
  971. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/ingestion/textile_test_report.md +0 -0
  972. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/leg_a_silver/README.md +0 -0
  973. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/leg_a_silver/evidence_snapshot.json +0 -0
  974. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/fixtures/table-bearing-contract.pdf +0 -0
  975. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/foundation/__init__.py +0 -0
  976. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/foundation/test_arcadedb_hybrid.py +0 -0
  977. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/foundation/test_model_seam_structured.py +0 -0
  978. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/__init__.py +0 -0
  979. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/fabric.py +0 -0
  980. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_greenfield_conformance.py +0 -0
  981. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_accounting.py +0 -0
  982. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_agent.py +0 -0
  983. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_batching.py +0 -0
  984. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_clarify.py +0 -0
  985. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_confirm.py +0 -0
  986. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_deadline.py +0 -0
  987. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_decisions.py +0 -0
  988. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_dispatch.py +0 -0
  989. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_engine_wiring.py +0 -0
  990. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_error_model.py +0 -0
  991. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_events.py +0 -0
  992. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_faults.py +0 -0
  993. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_filesystem.py +0 -0
  994. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_grading.py +0 -0
  995. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_interpreter.py +0 -0
  996. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_live.py +0 -0
  997. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_memory.py +0 -0
  998. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_model.py +0 -0
  999. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_preflight.py +0 -0
  1000. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_recorder.py +0 -0
  1001. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_recording.py +0 -0
  1002. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_rules.py +0 -0
  1003. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_runs.py +0 -0
  1004. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_seen.py +0 -0
  1005. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_skills.py +0 -0
  1006. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_thinking.py +0 -0
  1007. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_tiers.py +0 -0
  1008. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/harness/test_harness_withhold.py +0 -0
  1009. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/__init__.py +0 -0
  1010. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_aevaluate.py +0 -0
  1011. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_builder.py +0 -0
  1012. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_chunk_discoverer_hook.py +0 -0
  1013. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_concurrency_ceiling.py +0 -0
  1014. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_default_writer_ensures_edges.py +0 -0
  1015. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_document_metadata.py +0 -0
  1016. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_evaluate.py +0 -0
  1017. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_evaluate_labels.py +0 -0
  1018. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_graph_live.py +0 -0
  1019. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_graph_parity.py +0 -0
  1020. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_layout_segmenter.py +0 -0
  1021. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_sheet_continuations.py +0 -0
  1022. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_split_tables.py +0 -0
  1023. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_spreadsheet_content.py +0 -0
  1024. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_table_rows.py +0 -0
  1025. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_tuning.py +0 -0
  1026. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_unit_grouper.py +0 -0
  1027. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_unit_representative.py +0 -0
  1028. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_unreached_rows.py +0 -0
  1029. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ingestion/test_write_count.py +0 -0
  1030. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/journey/incidents_domain.py +0 -0
  1031. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/journey/incidents_pack.ttl +0 -0
  1032. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/journey/test_incidents_journey.py +0 -0
  1033. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/journey/test_pack_schema.py +0 -0
  1034. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/mcp/__init__.py +0 -0
  1035. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/mcp/test_compliance_server.py +0 -0
  1036. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/mcp/test_intra_document_qa_server.py +0 -0
  1037. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/mcp/test_no_model_supplied_tenant.py +0 -0
  1038. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/mcp/test_relational_qa_server.py +0 -0
  1039. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/mcp/test_typed_property_retrieval_server.py +0 -0
  1040. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/__init__.py +0 -0
  1041. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_async_infra.py +0 -0
  1042. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_classifier_heads_load_clean.py +0 -0
  1043. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_model_servers.py +0 -0
  1044. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_models_dir.py +0 -0
  1045. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_no_gemma_default.py +0 -0
  1046. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_profile_routing.py +0 -0
  1047. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_profile_seam.py +0 -0
  1048. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_seam_async.py +0 -0
  1049. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_seam_deadline_and_cap.py +0 -0
  1050. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_seam_event_loops.py +0 -0
  1051. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_seam_retry.py +0 -0
  1052. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_seam_stream.py +0 -0
  1053. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_serving_seam.py +0 -0
  1054. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_serving_wiring.py +0 -0
  1055. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_tag_structured.py +0 -0
  1056. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_tag_structured_async.py +0 -0
  1057. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_tracing.py +0 -0
  1058. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/models/test_usage.py +0 -0
  1059. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/__init__.py +0 -0
  1060. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_clause_template.py +0 -0
  1061. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_compliance_ontology_authoritative.py +0 -0
  1062. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_derivation.py +0 -0
  1063. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_entity_taxonomy.py +0 -0
  1064. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_generated_template_meta_in_sync.py +0 -0
  1065. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_generated_vocab_in_sync.py +0 -0
  1066. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_template_captured_in_ttl.py +0 -0
  1067. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/ontology/test_ttl_is_source_of_truth.py +0 -0
  1068. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/reference/test_compliance_reference.py +0 -0
  1069. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/reference/test_contract_seam.py +0 -0
  1070. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/scripts/test_eval_chunking_ab.py +0 -0
  1071. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/scripts/test_eval_classifier_ab.py +0 -0
  1072. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/scripts/test_fetch_reference_models.py +0 -0
  1073. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/scripts/test_generation_robustness_errors.py +0 -0
  1074. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/skills/__init__.py +0 -0
  1075. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/skills/test_creating_evals_skill_example.py +0 -0
  1076. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/skills/test_ingestion_skill_example.py +0 -0
  1077. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_boundary.py +0 -0
  1078. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_classifier_property_extractor.py +0 -0
  1079. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_clause_classifier_tags_0005.py +0 -0
  1080. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_clause_function_classifier.py +0 -0
  1081. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_clause_function_classifier_async.py +0 -0
  1082. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_clause_kg_extractor.py +0 -0
  1083. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_clause_kg_extractor_async.py +0 -0
  1084. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_dim_classifier.py +0 -0
  1085. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_dim_fleet_live.py +0 -0
  1086. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_function_classifier.py +0 -0
  1087. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_hybrid_classifier.py +0 -0
  1088. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_hybrid_property_extractor.py +0 -0
  1089. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_legalbert_classifier.py +0 -0
  1090. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_model_capabilities.py +0 -0
  1091. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_new_function_labels.py +0 -0
  1092. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_page_map.py +0 -0
  1093. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_property_extractor.py +0 -0
  1094. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_property_grounding.py +0 -0
  1095. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_reclassify.py +0 -0
  1096. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_residual_decision.py +0 -0
  1097. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_scarce_function_labels.py +0 -0
  1098. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_segment.py +0 -0
  1099. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_segmentation_vocab.py +0 -0
  1100. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_semantic_judge.py +0 -0
  1101. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_setfit_clause_adapter.py +0 -0
  1102. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_setfit_probabilities.py +0 -0
  1103. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_span_offsets.py +0 -0
  1104. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_stage_labels_0005.py +0 -0
  1105. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_symbolic_validation.py +0 -0
  1106. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/spans/test_tag_clause_extractor.py +0 -0
  1107. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/__init__.py +0 -0
  1108. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_affiliation_backfill.py +0 -0
  1109. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_arcadedb_clause_kg.py +0 -0
  1110. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_arcadedb_contract.py +0 -0
  1111. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_arcadedb_property.py +0 -0
  1112. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_arcadedb_requirement_sources.py +0 -0
  1113. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_arcadedb_schema.py +0 -0
  1114. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_arcadedb_span.py +0 -0
  1115. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_chunk_text.py +0 -0
  1116. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_concurrent_writes.py +0 -0
  1117. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_contract_kg_store_live.py +0 -0
  1118. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_document_metadata_live.py +0 -0
  1119. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_document_scope.py +0 -0
  1120. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_engine_domain_neutral.py +0 -0
  1121. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_entities_by_name.py +0 -0
  1122. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_contains.py +0 -0
  1123. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_doubles.py +0 -0
  1124. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_edges.py +0 -0
  1125. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_function_namespace_fields.py +0 -0
  1126. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_identifiers.py +0 -0
  1127. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_mutations.py +0 -0
  1128. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_range.py +0 -0
  1129. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_read.py +0 -0
  1130. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_write.py +0 -0
  1131. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_kg_write_ensure_edges.py +0 -0
  1132. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_neutral_schema.py +0 -0
  1133. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_pack_schema_properties.py +0 -0
  1134. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_pooled_client.py +0 -0
  1135. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_store_create_flag.py +0 -0
  1136. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_vector_index_upkeep.py +0 -0
  1137. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/store/test_write_graph_idempotent.py +0 -0
  1138. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/__init__.py +0 -0
  1139. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_async_ingestion.py +0 -0
  1140. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_chunk7_structure_carry.py +0 -0
  1141. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_clause_results.py +0 -0
  1142. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_compliance_check.py +0 -0
  1143. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_compliance_ingestion.py +0 -0
  1144. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_contract_ingestion_pipeline.py +0 -0
  1145. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_contract_ingestion_pipeline_async.py +0 -0
  1146. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_contract_ingestion_pipeline_graph_async.py +0 -0
  1147. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_contract_write_retry.py +0 -0
  1148. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_graph_extraction.py +0 -0
  1149. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_ingest_knobs.py +0 -0
  1150. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_ingest_segment_classify.py +0 -0
  1151. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_intra_document_qa.py +0 -0
  1152. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_observability.py +0 -0
  1153. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_partial_entry_contract.py +0 -0
  1154. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_query_constraint_extraction.py +0 -0
  1155. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_relational_qa.py +0 -0
  1156. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_requirement_extraction.py +0 -0
  1157. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_scaffold.py +0 -0
  1158. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_semantic_chunking.py +0 -0
  1159. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_typed_clause_extraction.py +0 -0
  1160. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/subgraphs/test_typed_property_retrieval.py +0 -0
  1161. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/test_backfill_clause_span_id.py +0 -0
  1162. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/test_dg_model_ab.py +0 -0
  1163. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/test_populate_clause_kg.py +0 -0
  1164. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/test_populate_entity_graph.py +0 -0
  1165. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/util/__init__.py +0 -0
  1166. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/util/test_concurrent.py +0 -0
  1167. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/util/test_devices.py +0 -0
  1168. {rag_wright-0.18.0 → rag_wright-0.19.0}/tests/util/test_spacy_model.py +0 -0
@@ -495,6 +495,12 @@ proceed - are candidates, and the registry doubles as the labelled corpus for tr
495
495
  decisions are recorded. **A point already decided by a typed allow-list stays deterministic: replacing a
496
496
  deterministic check with a probabilistic one is a regression however fast it is.** Shadow-mode first, always.
497
497
 
498
+ **The engine's harness now routes three of these with a decision model** (ADR-0146): D1 (answer, a direct tool,
499
+ ask, or delegate), B1 (whether a delegated message is handed over verbatim) and D2 (which workers), each below a
500
+ threshold left to the tier's model. Measured on the engine's routing gold sets against the model alone: D1 85.7%
501
+ 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
502
+ tools', orchestrator's and workers' descriptions are what it reads, so write them to tell the options apart. `docs/harness.md` section 9.
503
+
498
504
  **Derive a decision from what the tier DID, never from what the model announces.** A model asked to report
499
505
  its own decision reports an intention.
500
506
 
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.19.0"
3
+ }
@@ -4,6 +4,18 @@ 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.19.0](https://github.com/fzaidi-dai/RAG_Wright/compare/0.18.0...0.19.0) (2026-11-14)
8
+
9
+
10
+ ### Features
11
+
12
+ * **HD-10:** routing=None turns the harness's decision model off (ADR-0146) ([55b05ef](https://github.com/fzaidi-dai/RAG_Wright/commit/55b05ef19fc58e59ac5c62013694c6c18e3b93ce))
13
+ * **HD-4:** the harness's routing decider asks the decision model, cached per run (ADR-0146) ([d06171b](https://github.com/fzaidi-dai/RAG_Wright/commit/d06171b15b01b03d97283a75b95c951b9122ac10))
14
+ * **HD-5:** the chat-manager's turn is routed by the decision model (ADR-0146) ([a1d5e6e](https://github.com/fzaidi-dai/RAG_Wright/commit/a1d5e6ed37deac5c1e2ee10b3886d0179e23192f))
15
+ * **HD-6:** a delegated message that stands on its own is handed over verbatim (ADR-0146) ([84eb87e](https://github.com/fzaidi-dai/RAG_Wright/commit/84eb87ec7d673cd835f88f8c805ded093282ee04))
16
+ * **HD-7:** the orchestrator's workers are chosen by the decision model, with fast paths (ADR-0146) ([650fa11](https://github.com/fzaidi-dai/RAG_Wright/commit/650fa119ec2b3660e28485b992a7e766a012bd2e))
17
+ * **HD-9:** the router's chosen tool is forced where the model is measured to honour it; the decision model is the harness's own (ADR-0146) ([00abda6](https://github.com/fzaidi-dai/RAG_Wright/commit/00abda6c6a52d1e9e8552d5ffd6ef989520715a5))
18
+
7
19
  ## [0.18.0](https://github.com/fzaidi-dai/RAG_Wright/compare/0.17.3...0.18.0) (2026-11-13)
8
20
 
9
21
 
@@ -55,11 +55,11 @@ The failure mode to avoid, which has happened before: a command fails with "modu
55
55
 
56
56
  ## Start of every session
57
57
 
58
- > **CURRENT STATE (2026-11-13): PS-48 is DONE and pushed, `rag-wright` 0.18.0 is PENDING** (release PR open; the
58
+ > **CURRENT STATE (2026-11-13): `rag-wright` 0.18.0 is RELEASED** (PR #25; PS-48: the
59
59
  > harness's substrate tests run in the engine on the fabric product; new `harness.recording`, `harness.faults`,
60
60
  > `harness.preflight`; `__all__` 77 names with a guard; BREAKING `guessed_identifiers`, `worker_names` removed;
61
- > ADR-0139 amended a-i; guide `docs/specs/public-surface/rulewright-migration-0.18.0.md`). Next: release 0.18.0,
62
- > then EV-7, PS-30, PS-33. Before it, **`rag-wright` 0.17.3 is RELEASED** (PR #24; PS-67 and PS-68, TexWright: ArcadeDB
61
+ > ADR-0139 amended a-i; guide `docs/specs/public-surface/rulewright-migration-0.18.0.md`; TexWright needs nothing until it builds on the
62
+ > harness, T-6.2). Next: EV-7, PS-30, PS-33. Before it, **`rag-wright` 0.17.3 is RELEASED** (PR #24; PS-67 and PS-68, TexWright: ArcadeDB
63
63
  > 26.11.1, so a vector index is not rebuilt on every start, with `warm_vector_indexes` / `rebuild_vector_indexes`
64
64
  > (ADR-0145); every KG filter field is quoted, so `text` is not a function module on 26.11.1). Next: PS-48, EV-7,
65
65
  > PS-30, PS-33. Before it, **`rag-wright` 0.17.2 is RELEASED** (PR #23; PS-64 and PS-65, TexWright: a float is written and compared as a
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: rag-wright
3
- Version: 0.18.0
3
+ Version: 0.19.0
4
4
  Summary: A domain-retargetable, open-core engine for hybrid retrieval + knowledge-graph RAG: parsing, chunking, embedding, hybrid search, reranking, graph extraction, entity resolution, ontology-driven knowledge, and a capability runtime.
5
5
  Project-URL: Homepage, https://github.com/fzaidi-dai/RAG_Wright
6
6
  Project-URL: Repository, https://github.com/fzaidi-dai/RAG_Wright
@@ -0,0 +1,89 @@
1
+ # ADR-0146: The harness routes with a decision model, with the LLM below a threshold
2
+
3
+ **Status:** accepted · **Date:** 2026-11-13 · **Related:** HD-1..HD-3 (`docs/specs/harness-decisions/plan.md`),
4
+ ADR-0119 (Jev), ADR-0139 (the harness is engine scope; its routing is a model call), ADR-0040 ING-9 (Jev as the
5
+ ingestion judge)
6
+
7
+ ## Context
8
+
9
+ Every routing decision in the harness is a Qwen turn: D1 (the chat-manager answers, calls a direct tool, asks, or
10
+ delegates), D2 (which workers the orchestrator dispatches) and the brief, which the chat-manager writes in its own
11
+ words. The harness already calls D1 a classification (reasoning off chose the same tool in 4.3 s as reasoning on in
12
+ 34.8 s), and `Decision.confidence` is `None` for every model decision. Jev answers a calibrated yes/no or choice with
13
+ no text, in under a second, for about $0.00002.
14
+
15
+ HD-2 measured both on authored gold sets for Loom, the engine's wider test product (run `20261113-175341`, three
16
+ repeats, pooled):
17
+
18
+ | decision | Qwen (today's tier) | Jev |
19
+ |---|---|---|
20
+ | D1, four direct tools | 86.5%, `delegate` 0.39 | one `choice`: 85.7%, `delegate` 0.17; split: 88.1%, floor 0.67 |
21
+ | D1, twelve direct tools | 90.0%, `delegate` 0.22 | one `choice`: 91.1%, `delegate` 0.33; split: 84.1% |
22
+ | D2, per worker / exact set | 75.6% / not comparable (16 of 90 undecided) | 98.1% (floor 0.94) / 94.4% |
23
+ | B1, is the message self-contained | 95.0% | 95.0% |
24
+ | flips across repeats (D1) | 6-10 items per run | 0-1 |
25
+ | per decision | 1.6-3.5 s a call; D2 3.4 calls | 0.75-0.85 s, one call |
26
+
27
+ The Qwen readers take a tier's first action, while the gold describes the whole turn, so Qwen is understated on
28
+ `delegate` and on multi-worker briefs. Even so, nothing regresses: Jev matches Qwen on D1 and B1, and is better on D2.
29
+
30
+ From Jev's saved probabilities, against Qwen's answers on the same items:
31
+ - **D1**: Jev deciding at a top probability of at least 0.7 and Qwen below it gives 91.3% (four tools) and 91.1%
32
+ (twelve), with Jev deciding 76-84% of messages.
33
+ - **D2**: Jev alone is best; any band handed to Qwen lowers the exact sets.
34
+ - **B1**: all three of Jev's wrong answers were within 0.08 of 0.5.
35
+
36
+ ## Decision
37
+
38
+ - **The harness routes with the decision model** through the capability layer (`ainvoke_model("jev_decision")`),
39
+ and the LLM decides only below a threshold or when the decision model is unavailable (no key, not registered, an
40
+ error), which is today's behaviour.
41
+ - **D1**: one `choice` over the direct tools (by their own descriptions), `delegate`, `ask_the_user` and `answer`.
42
+ Jev decides at a top probability of 0.7 or more; below that, the chat-manager's Qwen turn decides as today. The
43
+ split shape is not adopted: it helped at four options and hurt at twelve.
44
+ - **D2**: one `noul` per worker, its description as what a yes means, in one call; Jev decides at 0.5, and Qwen only
45
+ when Jev is unavailable.
46
+ - **B1**: one `noul`, "can the message be understood without the earlier turns?". At 0.6 or more the brief is the
47
+ user's words verbatim with the `<viewing>` block; otherwise the chat-manager rewrites it, as today (a doubtful case
48
+ costs a rewrite, never a lost reference).
49
+ - Each decision is recorded on the run's ledger with Jev's probability as `Decision.confidence`, and cached per run,
50
+ because Jev flips about 3% of answers on identical calls.
51
+ - What a product supplies stays a declaration: its tools' and workers' descriptions are the criteria. The thresholds
52
+ are harness defaults a product may override.
53
+ - Routing in code supersedes ADR-0139's "the routing decision itself is the chat-manager's model call, and there is no
54
+ structural way to make it" for the decisions above; the LLM remains the fallback and the writer of every text.
55
+
56
+ ## Consequences
57
+
58
+ - A delegated request no longer needs the chat-manager's Qwen turn to route it, nor the orchestrator's reasoning-on
59
+ turn to choose workers; Qwen is left composing replies, rewriting a brief that refers back, and compiling results.
60
+ - `delegate` is the weakest D1 option for both models (confused with a direct read and with asking). Improving it is
61
+ prompting work on the option descriptions, measured on the same gold sets; it does not block adoption.
62
+ - The Qwen baseline is first-action. A whole-turn baseline (the orchestrator stubbed for D1, the workers answered
63
+ for D2) is the measurement to run if the comparison is ever questioned.
64
+ - User questions and tool results reach the decision model's provider through OpenRouter, as the ingestion judge's
65
+ inputs already do (ADR-0119); a self-hosted deployment points the profile at an on-premises decision server (Laya).
66
+ - The build is gated tasks in the plan: the decider hook, D1 in the chat-manager, B1 and the brief, D2 in the
67
+ orchestrator, then a live end-to-end run and the products' guide.
68
+
69
+ ## Addendum (HD-8, 2026-11-13): measured live
70
+
71
+ The routed tiers on the same gold sets (run `20261113-214024`, read at the first action as HD-2 was): D1 85.7% on
72
+ four direct tools (Qwen alone 86.5%, weakest option 0.44 against 0.39) and 92.2% on twelve (90.0%); D2 90.0% per
73
+ worker (75.6%), exact sets 78.9%, the misses all multi-worker briefs the orchestrator plans and is read at its first
74
+ round. No regression. One gap: a route to `ask_the_user` offers the tool without forcing it, and those items were
75
+ answered with a reply 4 of 18 times per D1 run (HD-9, proposed).
76
+
77
+ ## Addendum (HD-9, 2026-11-13): the chosen tool is forced where the model is measured to honour it
78
+
79
+ A routed call that offers one tool now also forces it (`tool_choice`) when the configured model's profile says it
80
+ honours a forced tool choice (`ModelProfile.forced_tool_choice`, False by default, read through `profile_for` on
81
+ `rag_wright.api`). Measured on `qwen3.8-27b-modal-or`, the chat tier with reasoning off: 16 of 16 forced calls
82
+ called the tool, no errors, and the routed `ask_the_user` items were answered with a reply 0 times of 18 (4 of 18
83
+ unforced). A provider behaviour, so it lives in the profile with this date, never in the harness's code.
84
+
85
+ **And the decision model is the harness's own** (HD-9, the same day). Routing first switched on only when a product
86
+ had registered `jev_decision` in its capability catalog, which made an implementation choice of the harness depend on
87
+ a product's action. The decider now registers the engine's capability itself on first use and calls it through the
88
+ capability layer by name; availability is the engine's configuration (the decision model's profile and credentials)
89
+ alone, and without it the tiers route as before with one warning per process. A product does nothing.
@@ -201,4 +201,5 @@ framing that still appears in older ADRs and the root `SPEC.md`/`plan.md`.
201
201
  0142 The default record writer keeps one edge per type and endpoints ·
202
202
  0143 A float is written and compared as a double ·
203
203
  0144 One loaded BGE model per process, with its one lock ·
204
- 0145 ArcadeDB 26.11.1, with a start-up warm and a one-time rebuild of the vector indexes
204
+ 0145 ArcadeDB 26.11.1, with a start-up warm and a one-time rebuild of the vector indexes ·
205
+ 0146 The harness routes with a decision model, with the LLM below a threshold
@@ -54,7 +54,7 @@ How to reach a typed-DECISION model (TypeSafe Jev, or an on-prem Laya decisions
54
54
 
55
55
  Keyed by model id so swapping `jev-1.13` -> `jev-latest`, or Jev -> an on-prem Laya decisions endpoint, is a config change, not a code edit (the Laya fallback, ADR-0119). The capability (`capabilities/jev_decision.py`) reads this; the model id is never hardcoded in capability/node code (the model-neutrality rule).
56
56
 
57
- ### `ModelProfile(*, model_id: str, structured_method: Literal['function_calling', 'json_mode', 'json_schema'] = 'function_calling', client_side_structured: bool = False, structured_extra_body: Optional[dict[str, Any]] = None, text_extra_body: Optional[dict[str, Any]] = None, agent_extra_body: Optional[dict[str, Any]] = None, structured_max_tokens: Optional[int] = None, extra_body: Optional[dict[str, Any]] = None, backend: Optional[Literal['openrouter', 'vllm', 'ollama']] = None, served_model_id: Optional[str] = None, base_url: Optional[str] = None, base_url_env: Optional[str] = None, api_key_env: Optional[str] = None, max_concurrency: Optional[int] = None) -> None`
57
+ ### `ModelProfile(*, model_id: str, structured_method: Literal['function_calling', 'json_mode', 'json_schema'] = 'function_calling', client_side_structured: bool = False, structured_extra_body: Optional[dict[str, Any]] = None, text_extra_body: Optional[dict[str, Any]] = None, agent_extra_body: Optional[dict[str, Any]] = None, forced_tool_choice: bool = False, structured_max_tokens: Optional[int] = None, extra_body: Optional[dict[str, Any]] = None, backend: Optional[Literal['openrouter', 'vllm', 'ollama']] = None, served_model_id: Optional[str] = None, base_url: Optional[str] = None, base_url_env: Optional[str] = None, api_key_env: Optional[str] = None, max_concurrency: Optional[int] = None) -> None`
58
58
 
59
59
  How a given model id must be driven for a forced structured-output call.
60
60
 
@@ -406,6 +406,10 @@ PS-38 (G12): add (or replace) the decision-model profile for `profile.model_id`,
406
406
 
407
407
  Add (or replace) the profile for `profile.model_id`, process-wide, so that model id resolves to it from now on (PS-19: a deployed server registers its own profile).
408
408
 
409
+ ### `profile_for(model_id: 'str') -> 'ModelProfile'`
410
+
411
+ The registered profile for a model id, or a safe default profile for an unregistered one.
412
+
409
413
  ### `agent_chat_model(model: 'Optional[str]' = None, *, temperature: 'float' = 0.0, trace: 'bool' = True, **overrides: 'Any') -> 'BaseChatModel'`
410
414
 
411
415
  The chat model for an agent: `model` is an engine model id (a registered profile's key, or any served id); `None` takes the GENERAL role's model. `overrides` are the chat model's own settings (`timeout`, `max_retries`, `max_tokens`, `callbacks`, ...). Retries are the caller's to place: an agent harness usually keeps them in its middleware and passes `max_retries=0`. `trace=False` keeps the metering and emits no Langfuse generation, for a caller that emits its own (so a call is never traced twice).
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Types
6
6
 
7
- ### `AgentDefinition(surface: 'ToolSurface', planning: 'dict[str, str]', workers: 'tuple[Any, ...]', context_schema: 'Any', retry_on: 'tuple[type[BaseException], ...]', message_for: 'Any', model_id_for: 'Any', prompts: 'AgentPrompts', repeatable: 'frozenset[str]', question_argument: 'dict[str, str]', framings: 'tuple[str, ...]', carry_forward: 'Any', rules: 'tuple[Any, ...]', decision_points: 'tuple[Any, ...]', read_framing: 'Any') -> None`
7
+ ### `AgentDefinition(surface: 'ToolSurface', planning: 'dict[str, str]', workers: 'tuple[Any, ...]', context_schema: 'Any', retry_on: 'tuple[type[BaseException], ...]', message_for: 'Any', model_id_for: 'Any', prompts: 'AgentPrompts', repeatable: 'frozenset[str]', question_argument: 'dict[str, str]', framings: 'tuple[str, ...]', carry_forward: 'Any', rules: 'tuple[Any, ...]', decision_points: 'tuple[Any, ...]', read_framing: 'Any', routing: 'RoutingThresholds | None' = RoutingThresholds(d1=0.7, d2=0.5, b1=0.6)) -> None`
8
8
 
9
9
  One product's agent, as the substrate needs to see it.
10
10
 
@@ -16,6 +16,10 @@ Every word a product says to its model: the tier prompts, the memory line and th
16
16
 
17
17
  **Frozen**: a prompt a middleware could edit mid-run is one where two turns were given different instructions.
18
18
 
19
+ ### `RoutingThresholds(d1: 'float' = 0.7, d2: 'float' = 0.5, b1: 'float' = 0.6) -> None`
20
+
21
+ The probability at or above which the decision model's routing answer is taken (ADR-0146); below it the tier decides as it did before there was a decider. The defaults are the measured ones on the harness's routing gold sets; a product overrides them on its `AgentDefinition` after measuring its own.
22
+
19
23
  ### `RunResult(run_id: 'str', context: 'RunScope', state: 'dict[str, Any]', outcome: 'RunOutcome | None' = None) -> None`
20
24
 
21
25
  One user-initiated agent turn, and the scope it ran under.
@@ -148,7 +148,9 @@ with measure_usage() as usage:
148
148
  ```
149
149
 
150
150
  The profile decides the backend, endpoint, key and served id, and its `agent_extra_body` carries the agent turn's
151
- reasoning flag in the backend's own spelling (OpenRouter's `reasoning`, vLLM's `chat_template_kwargs`). Every call
151
+ reasoning flag in the backend's own spelling (OpenRouter's `reasoning`, vLLM's `chat_template_kwargs`). Its
152
+ `forced_tool_choice` says whether the model is measured to honour a forced tool choice, which lets the agent harness
153
+ force the one tool its router chose (False unless measured; `profile_for(model_id)` reads a profile). Every call
152
154
  the model makes, including a subagent's, a streamed one and a tool-bound one, is recorded into the active
153
155
  `measure_usage()` scopes with the provider's real per-call cost, and traced as one Langfuse generation when tracing
154
156
  is on. Other keyword arguments are the chat model's own settings (`timeout`, `max_retries`, `max_tokens`,
@@ -7,7 +7,7 @@ substrate goes quiet rather than failing. It was drafted by RuleWright, the firs
7
7
  **The tables are generated** from the installed tier by `scripts/build_harness_doc.py`, and the test suite fails
8
8
  if they drift (`tests/arch/test_api_docs_current.py`). Edit the prose; regenerate the tables. Today:
9
9
  <!-- generated:counts -->
10
- 77 public names; `AgentDefinition` has 15 fields and `AgentPrompts` 11, every one required.
10
+ 78 public names; `AgentDefinition` has 16 fields (15 required; optional: `routing`); `AgentPrompts` has 11 fields, every one required.
11
11
  <!-- /generated -->
12
12
 
13
13
  **What it is not**, so the documents do not overlap:
@@ -72,6 +72,7 @@ workers. A derived value crossing the boundary would become a convention the nex
72
72
  | `rules` | `tuple[Any, ...]` | The rules this product holds its own runs to. The grading machinery is the substrate's; the rubric is not. |
73
73
  | `decision_points` | `tuple[Any, ...]` | The decisions a run of this product takes; the ledger reads each point's option space from here. |
74
74
  | `read_framing` | `Any` | `(tool_name, parsed_result) -> {chose, confidence, inputs} \| None`: how this product reads its own framing tool's reply. |
75
+ | `routing` | `RoutingThresholds \| None` | When the decision model's routing answers are taken (ADR-0146). Optional: the measured defaults. `None` turns routing off: no tier asks the decision model, and nothing is sent to its provider (HD-10). |
75
76
  <!-- /generated -->
76
77
 
77
78
  ---
@@ -288,3 +289,58 @@ so attach the recorder to every tier you grade. `every_call`, `spend`, `compare`
288
289
  **The trap:** a conformance test that hands the substrate your own context type while asserting that a different
289
290
  product works proves nothing about a product whose scope has a different depth. When a seam changes, change the
290
291
  fake product first.
292
+
293
+ ---
294
+
295
+ ## 9. Routing with the decision model
296
+
297
+ **The harness routes three decisions with a decision model** (Jev, the engine's `jev_decision` capability), and the
298
+ tier's own model decides only below a threshold or when the decision model is unavailable (ADR-0146). Measured on the
299
+ engine's routing gold sets (HD-2, HD-8), the routed tiers match or beat the model-only tiers: D1 92.2% against 90.0%
300
+ on twelve direct tools, D2 90.0% against 75.6% per worker, each routing call about $0.00002 and under a second.
301
+
302
+ | decision | where | the decision model asks | taken at | otherwise |
303
+ |---|---|---|---|---|
304
+ | **D1** | the chat-manager's opening call of a turn | one choice: each direct tool, `delegate`, `ask_the_user`, `answer` | `routing.d1` (0.7) | the tier's model routes, as before |
305
+ | **B1** | a routed `delegate` with earlier turns | can the message be understood without them? | `routing.b1` (0.6) | the tier's model writes the brief |
306
+ | **D2** | the orchestrator's opening call | one yes/no per worker | `routing.d2` (0.5) | the orchestrator plans, as before |
307
+
308
+ What a route does: a direct tool with no arguments is called in code; a tool with arguments, `ask_the_user` or a
309
+ `delegate` whose brief must be written is offered to the model alone; `answer` goes to the model with no tools. A
310
+ delegated message that stands on its own (no earlier turns, or B1 yes) is handed over in the person's own words,
311
+ `<viewing>` block included. In the orchestrator, no worker means its opening call runs without the hand-off, one
312
+ worker is dispatched in code with the brief, and several are planned by the orchestrator as before.
313
+
314
+ **Nothing to turn on.** The decision model is the harness's own: it registers the engine's `jev_decision` capability
315
+ and calls it itself, and a product registers nothing. It needs the decision model's credentials, which are the
316
+ engine's configuration (`OPENROUTER_API_KEY` by default; a self-hosted deployment registers an on-premises decision
317
+ profile with `register_decision_profile`). Without them every tier routes as it did before, and the process logs one
318
+ warning. **To turn routing off** -- for example where users' messages must not reach the decision model's provider --
319
+ declare `AgentDefinition(..., routing=None)`: no tier asks the decision model and nothing is sent to it.
320
+
321
+ **Your declarations are the criteria.** The decision model reads each direct tool's own description, the
322
+ orchestrator's `orchestrator_description` (what delegating means) and each worker's description. Write them so they
323
+ tell the options apart. The weakest option on the engine's sets is `delegate`, confused with a direct read of the
324
+ same subject, so say in `orchestrator_description` what needs planning (matching, comparing, checking against a
325
+ standard, several steps), not only what the orchestrator is.
326
+
327
+ **Thresholds are yours to change**, after measuring on your own gold sets (`arun_eval`, as for any capability):
328
+
329
+ ```python
330
+ from rag_wright.harness import AgentDefinition, RoutingThresholds
331
+
332
+ definition = AgentDefinition(..., routing=RoutingThresholds(d1=0.8))
333
+ ```
334
+
335
+ **What is recorded.** D1 carries the decision model's probability as its `confidence`, the `route`, and for a
336
+ delegation `brief_by` (`verbatim` or `model`) and B1's `self_contained`, so a rule that the brief is faithful can be
337
+ decided by reading `brief_by` rather than by a judge. Each worker's D2 row carries the decision model's yes: as its
338
+ `confidence` when the decision model dispatched it, as `decision_model_yes` when the orchestrator did; a brief sent
339
+ to no worker is a D2 row `none`.
340
+
341
+ **A tool the router chose is forced when the model is known to honour it** (HD-9): the configured model's profile
342
+ says so (`ModelProfile.forced_tool_choice`, read with `profile_for`), measured per model and never assumed. Offered
343
+ alone but not forced, the chat model answered a routed `ask_the_user` with a reply 4 times of 18; forced, 0 of 18.
344
+ A product on another model measures it and registers its profile with `forced_tool_choice=True`. **Known gap:**
345
+ several workers are still planned by the orchestrator. **Data:** the
346
+ person's message and the brief are sent to the decision model's provider.
@@ -0,0 +1,72 @@
1
+ # Harness decisions: plan and ledger (HD)
2
+
3
+ Status: HD-1 and HD-2 done 2026-11-13; HD-3 decided (ADR-0146); HD-4..HD-8 the build. Scope: the agent harness only (`rag_wright.harness`): the decisions the chat-manager,
4
+ orchestrator and workers take themselves, and their handoffs. Tools and their internals are the product's (RuleWright,
5
+ TexWright), which already use Jev inside their own capabilities; nothing here touches them.
6
+
7
+ ## Why
8
+
9
+ Every harness decision is a Qwen turn today, and several are classifications in all but name. The harness says so
10
+ itself: `chat_thinking` (`harness/agent.py`) records D1 as "a classification" (reasoning off picked the same tool in
11
+ 4.3 s as reasoning on in 34.8 s), and `Decision.confidence` is `None` for every model decision, with the note that a
12
+ classifier returning a probability per option "is what would buy a threshold to escalate below". Jev (ADR-0119)
13
+ answers a yes/no, a choice or a score, calibrated, in about 70-500 ms for about $0.00002 a call, and writes no text.
14
+
15
+ This workstream measures, before building anything, whether Jev can take the routing decisions, starting with the
16
+ two the user chose: **D1** (the chat-manager: answer, call a direct tool, delegate, or ask the user) and **D2** (the
17
+ orchestrator: which workers), plus the gate that decides whether a brief can be assembled verbatim.
18
+
19
+ ## The decisions measured first
20
+
21
+ | Id | Who decides today | Question | Options | Jev shape |
22
+ |---|---|---|---|---|
23
+ | D1 | chat-manager, one Qwen turn | what does this message need? | each direct tool, `delegate`, `ask_the_user`, `answer` | one `choice`, the options described by the tools' own descriptions |
24
+ | D2 | orchestrator, a reasoning-on Qwen turn | which workers does this brief need? | each worker, or none | one `noul` per worker, its `description` as the criterion (multi-label) |
25
+ | B1 | (nobody: the chat-manager writes the brief in its own words) | is this message self-contained, or does it refer back to earlier turns? | `self_contained`, `refers_back` | one `noul` |
26
+
27
+ B1 is what the brief rests on: a self-contained message is passed to the orchestrator verbatim with the `<viewing>`
28
+ block (no model call); one that refers back ("what about the second one?") is rewritten by Qwen, as today.
29
+
30
+ ## Method
31
+
32
+ - **Gold sets on the engine's own product.** Loom (`tests/harness/gold/loom.py`) is the fabric product with a
33
+ roster wide enough to route on: three workers and twelve direct tools with distinct descriptions, so D1 and D2 have
34
+ real option spaces. It sits beside `tests/harness/fabric.py` rather than changing it, because about three hundred
35
+ tests are built on the fabric product's two operations and one worker. Requests are authored, never taken from a client's or RuleWright's data. Each item lists every
36
+ acceptable answer (a request can be served by a direct tool or by delegating), and the set is symmetric per
37
+ option. Multi-turn items carry the earlier turns for B1.
38
+ - **Measured with the engine's evals**: `arun_eval` with repeats (Jev flips about 3% of answers on identical calls;
39
+ `flips` is reported), gated on each option's floor, not overall accuracy. D1 and B1 are scored by the routing
40
+ evals' own `score_choice` (any of an item's accepted labels is correct); D2 per worker, a yes or no each.
41
+ - **The baseline is today's Qwen tier on the same items**: the chat-manager as built by `build_chat_agent`
42
+ (reasoning off) for D1, the orchestrator's first turn for D2, D1 read from the chat-manager's first tool call
43
+ (the ledger records D1 only as `delegate` or `answer_directly`), D2 from the recorded dispatches
44
+ (`WhatTheRunDecided`). Jev is called through `ainvoke_model("jev_decision")`, never directly.
45
+ - **Paid calls get a pre-flight**: the exact count and cost before running, and approval.
46
+
47
+ ## Open questions (decide before HD-1)
48
+
49
+ 1. **Option-space size.** A product's chat-manager can hold a dozen direct tools (RuleWright: about nine). The gold
50
+ set includes a twelve-option variant of D1 to see whether a single `choice` holds up, or whether D1 must split into
51
+ `delegate or not` then `which tool`. **Recommendation: measure both shapes in HD-2.**
52
+ 2. **What Jev sees as `state`.** The message alone, or the message plus the `<viewing>` block plus the last turns.
53
+ **Recommendation: measure message+view against message+view+last two turns.**
54
+
55
+ ## Ledger
56
+
57
+ | Id | Task | Acceptance (verify) | Status |
58
+ |---|---|---|---|
59
+ | HD-1 | Gold sets for D1, D2 and B1 on Loom, a product beside the fabric one (three workers, a four-tool and a twelve-tool chat-manager), the items authored with every acceptable answer, symmetric per option, committed under `tests/harness/gold/` | the sets load and validate (hermetic test); per-option counts printed and balanced; no item names a client or another product | done (2026-11-13: Loom; D1 90 items, 6 per option over 15 options (42 on the small surface); D2 30 briefs, each worker needed in 12 and not in 18, 4 need none; B1 20, 10 per label; D1 and B1 scored by `tests/harness/gold/scoring.py`'s `score_choice` (one choice per item, any accepted label correct; the engine's `score_classification` reads several labels as multi-label), 3 D1 items list alternatives; `tests/harness/test_harness_gold.py` 13 tests, a planted mislabel and a scorer that ignores alternatives each fail them) |
60
+ | HD-2 | The baseline and the comparison, live: today's Qwen tiers and Jev on the same items, three repeats each, `[eval] i/N` progress; pre-flight count and cost approved first | `EvalReport`s for both (under the gitignored `data/eval/harness-decisions/`); a table per decision: per-option floor, flips, latency, cost; the two open questions answered from the numbers | done (2026-11-13: run `20261113-175341`, 10 runs, 3 repeats, $0.62 (+ $0.03 smoke); `tests/harness/gold/deciders.py`, `run.py`, `score_workers`; pooled over repeats: D1 4 tools Qwen 86.5% (floor `delegate` 0.39), Jev single 85.7% (0.17), Jev split 88.1% (0.67); D1 12 tools Qwen 90.0% (0.22), Jev single 91.1% (0.33), Jev split 84.1% (0.33); D2 per worker Qwen 75.6% (16 of 90 not decided in 6 calls), Jev 98.1% (floor 0.94, exact sets 94.4%); B1 Qwen 95.0%, Jev 95.0%; flips per D1 run Qwen 6-10, Jev 0-1; Jev about $0.00002 and 0.75-0.85 s a call. **Caveat:** the Qwen readers take a tier's FIRST action (the chat-manager's first tool, the orchestrator's first dispatch round, at most 6 calls), the gold describes the whole turn, so Qwen is understated on `delegate` and on multi-worker briefs; the user chose to keep these numbers (2026-11-13). Open questions: one `choice` holds up at twelve options (the split helps at four, hurts at twelve); state = message and view (D1 has no turns)) |
61
+ | HD-3 | The decision: for each of D1, D2 and B1, adopt Jev (with a threshold below which Qwen decides as today), or not; an ADR records the numbers and the choice. If any is adopted, the next tasks (the decider hook on `DecisionPoint`, the per-run cache, the probability on `Decision.confidence`) are written here then | the ADR; this ledger extended or closed | done (2026-11-13: ADR-0146, all three adopted: D1 one `choice`, Jev at 0.7 or more, Qwen below; D2 one `noul` per worker, Jev alone, Qwen only when Jev is unavailable; B1 one `noul`, verbatim brief at 0.6 or more, else the rewrite; thresholds from Jev's saved probabilities against Qwen's answers; HD-4..HD-8 below) |
62
+ | HD-4 | The decider: a harness module that asks the decision model one routing question through `ainvoke_model("jev_decision")` (options and their meanings from the product's declarations), returns the choice with its probability, caches it per run, and reports unavailable (no key, not registered, an error) so the caller falls back; the probability lands on `Decision.confidence` | hermetic: a fake decision model; the cache answers a repeat without a call; unavailable falls back; the ledger records the probability; live: one call per question shape | done (2026-11-13: `rag_wright/harness/decider.py`, `Decider.choose` / `yes_no` -> `Routed` / probabilities or None; 9 hermetic tests + 1 live (2 calls); answers validated inside the guarded call; ADR-0146 allowed in the harness vocabulary guard) |
63
+ | HD-5 | D1 in the chat-manager: before its model call, the decider routes the turn; a direct tool, `ask_the_user` or `delegate` at 0.7 or more is taken without a Qwen routing turn (the tool's arguments and every reply stay Qwen's), below it the turn runs as today | hermetic on Loom with scripted models: a confident route skips the routing call, a doubtful one does not; the existing harness suite green | done (2026-11-13: `harness/routing.py` `RouteTheTurn`, innermost on the chat-manager; a no-argument tool is called in code, a tool with arguments / `ask_the_user` / `delegate` is offered alone, `answer` with no tools; D1 records the probability when the routed reply settles it; `tests/harness/conftest.py` keeps hermetic harness tests off the real decision model (the root conftest registers the reference pack); 7 tests + the live harness tests green; thresholds on `AgentDefinition.routing`: `RoutingThresholds(d1=0.7, d2=0.5, b1=0.6)`, optional, exported, validated, the router reads `d1`) |
64
+ | HD-6 | B1 and the brief: on `delegate`, a self-contained message at 0.6 or more goes to the orchestrator as the user's words with the `<viewing>` block, built in code; otherwise the chat-manager writes the brief as today | hermetic: the brief is verbatim for a self-contained item and rewritten for one that refers back; `the-brief-is-faithful` holds by construction on the verbatim path | done (2026-11-13: in `RouteTheTurn` on a routed `delegate`: no earlier turns -> verbatim with no B1 call; else B1 at `routing.b1` -> the `task` call built in code (the opening turn, `<viewing>` included); else, or B1 unavailable, the model writes it offered `task` alone; D1 records `brief_by` and `self_contained`, so a product's faithful-brief rule can read it; 6 new tests, both directions mutation-checked; live harness tests green) |
65
+ | HD-7 | D2 in the orchestrator: the decider picks the workers from their descriptions and the orchestrator dispatches them; Qwen still reads, re-plans on a failure and compiles the result | hermetic on Loom; the existing dispatch, batching and tier tests green | done (2026-11-13: `RouteTheBrief`, innermost on the orchestrator; the user chose the fast paths: no worker -> the opening call without `task`, D2 `none` with its confidence; one worker -> dispatched in code with the brief; several -> the orchestrator plans as before; each worker's D2 row carries the decision model's yes (confidence when it dispatched that worker, an input otherwise); 6 tests, mutation-checked; suites and live harness tests green) |
66
+ | HD-8 | Live end to end on Loom and the products' note: the HD-1 sets through the built tiers with the decider on, against HD-2's numbers; what RuleWright and TexWright change (nothing required; descriptions become criteria, thresholds overridable) | live report; no regression against HD-2; the guide section written | done (2026-11-13: run `20261113-214024`, $0.27, the process ended itself: D1 4 tools 85.7% (HD-2 Qwen 86.5%), 12 tools 92.2% (90.0%), D2 per worker 90.0% (75.6%), exact sets 78.9% (multi-worker briefs planned by the orchestrator, read at its first round); deciders renamed `tier_d1`/`tier_d2` (the tiers route since HD-5/7); `docs/harness.md` section 9 and the `building-an-agent-harness` skill; the runner ends with `os._exit` after its outputs (HD-2's runs hung in interpreter shutdown, cause not isolated in small probes) |
67
+ | HD-9 | PROPOSED (owner: engine), from HD-8: a route to `ask_the_user` offers the model that tool alone but does not force it, and those items were answered with a reply 4 of 18 times per D1 run. Force the narrowed call's tool through the model-profile seam (whether the chat model honours a forced tool choice with reasoning off is measured first), on the same gold items | `ask_the_user` items no longer answered with a reply; no regression on the other options | done (2026-11-13: probe on the 6 `ask_the_user` items x3, forcing on: 15/18 right, 0 replies (HD-8 unforced: 11/18, 4 replies), 16/16 forced calls honoured; `ModelProfile.forced_tool_choice` (False by default, True on `qwen3.8-27b-modal-or`), `profile_for` on `rag_wright.api`, `forces_a_tool` in the chat tier, the router forces only when it holds; and the decision model is the harness's own: the decider registers `jev_decision` itself, availability is the engine's credentials alone, one warning per process; products register nothing; 6 tests, mutation-checked; ADR-0146 addendum; docs/harness.md section 9) |
68
+ | HD-10 | The off switch: `AgentDefinition(routing=None)` builds neither router, so no tier asks the decision model and nothing reaches its provider | hermetic: with routing off the decision model is never asked and both tiers are as before; the guide names it | done (2026-11-14, approved; 2026-11-13: 2 tests, mutation-checked; also fixed: HD-5's doc-generator simplification shadowed the field-table renderer, so `docs/harness.md` lost both field tables; renamed, regenerated, and an outcome guard (every declared field has a row) that fails on the broken doc) |
69
+
70
+ Each task is one approval gate; one commit per approved task. Later candidates, unmeasured and not scheduled: D3
71
+ (accept or re-dispatch, with a per-worker bound), D4 and batching, D7 (a worker's done or blocked), the `seen.py`
72
+ similarity band, the `ConfirmTheView` reply, D8 at the harness's own surfaces, and D10 (the grader).
@@ -142,6 +142,9 @@ Re-read if you link them (ADR-0134; from your installed engine): **`building-an-
142
142
  typed with the product's context (c), and the eval instruments (`InjectFaults`, the recorder, the preflight) as the
143
143
  tier's rather than yours to build (h).
144
144
 
145
+ From 0.18 on, `building-an-agent-harness` and `docs/harness.md` are the reference for building on the harness: read
146
+ them before adding a worker, a tier, a rule or an eval, rather than copying from RuleWright's own code.
147
+
145
148
  ## Verify
146
149
 
147
150
  `uv run python -c "import rulewright.agent.rules"` imports (section 1); your fast and db suites green on
@@ -0,0 +1,122 @@
1
+ # RuleWright and TexWright: moving to rag-wright 0.19
2
+
3
+ What 0.19.0 changes for a product built on the agent harness: the harness routes three decisions with its own
4
+ decision model (the harness-decisions workstream, HD-1..HD-10, ADR-0146; reference: `docs/harness.md` section 9).
5
+ Nothing here is edited from the engine repo.
6
+
7
+ **Nothing is required.** No name was removed or renamed, and every addition has a default. But behaviour changes on
8
+ upgrade, so read sections 1 and 2 before you bump the floor.
9
+
10
+ **TexWright:** nothing until you build on the harness (T-6.2). When you do, routing comes with it: read
11
+ `docs/harness.md` section 9 and section 3 below on writing descriptions, and decide section 2 for your deployment.
12
+
13
+ ## 1. What you will see change
14
+
15
+ With the decision model's credentials present (`OPENROUTER_API_KEY`, which RuleWright already sets for its agent
16
+ model), the harness routes on its own. You register nothing; the harness registers and calls its decision model.
17
+
18
+ - **The chat-manager's turn (D1)** is routed on its opening call: a direct tool, `ask_the_user`, `delegate` or
19
+ `answer`, at a probability of 0.7 or more. A direct tool that takes no arguments is called with no model call; a tool
20
+ that takes arguments, `ask_the_user` or `delegate` is offered to your model alone, and on `qwen3.8-27b-modal-or` it is
21
+ also forced (section 5); `answer` is written with no tools. Below 0.7 your chat-manager routes as before.
22
+ - **A delegated message that stands on its own is handed over verbatim (B1):** with no earlier turns, or when the
23
+ decision model says at 0.6 or more that it can be understood without them, the brief is the person's own words with
24
+ the `<viewing>` block, built in code. Otherwise your chat-manager writes it as before.
25
+ - **The orchestrator's workers (D2)** are chosen on its opening call, one yes/no per worker: no worker means its
26
+ opening call runs without the hand-off; one worker is dispatched in code with the brief; several are planned by your
27
+ orchestrator as before.
28
+ - **Without the credentials**, every tier behaves as in 0.18 and the process logs one warning
29
+ (`decision_model_unavailable`).
30
+
31
+ Measured on the engine's routing gold sets (HD-8): D1 85.7% on four direct tools (your model alone 86.5%) and 92.2%
32
+ on twelve (90.0%); D2 90.0% per worker (75.6%). Each routing call costs about $0.00002 and under a second.
33
+
34
+ ## 2. Decide: keep routing on, or turn it off
35
+
36
+ The person's message and the orchestrator's brief are now also sent to the decision model's provider (TypeSafe's
37
+ Jev, through OpenRouter), as your ingestion judge's inputs already are. If your deployment must not send them, turn
38
+ routing off on your definition, and nothing is sent:
39
+
40
+ ```python
41
+ from rag_wright.harness import AgentDefinition
42
+
43
+ definition = AgentDefinition(..., routing=None)
44
+ ```
45
+
46
+ A self-hosted deployment can keep routing on with an on-premises decision model instead (`register_decision_profile`
47
+ with your Laya server's profile).
48
+
49
+ ## 3. If you keep it: your descriptions are the criteria
50
+
51
+ The decision model reads your direct tools' descriptions, your `prompts.orchestrator_description` (what delegating
52
+ means) and each worker's description. Re-read them as a classifier would: each must say what it is FOR, in words that
53
+ tell it apart from the others.
54
+
55
+ - **`orchestrator_description`** should say what needs planning (several documents, comparing, checking against a
56
+ policy, several steps), not only what the orchestrator is. `delegate` is the weakest option on the engine's sets: a
57
+ request that needs planning is mistaken for a direct read of the same subject.
58
+ - **Workers' descriptions** decide D2: one sentence each on the kind of request it serves.
59
+ - **Thresholds** are yours to change, after measuring on your own gold sets (`arun_eval`; the engine's own sets and
60
+ scorer are in `tests/harness/gold/` as a worked example). Your recorded runs are the place to draw D1 and D2 items
61
+ from:
62
+
63
+ ```python
64
+ from rag_wright.harness import AgentDefinition, RoutingThresholds
65
+
66
+ definition = AgentDefinition(..., routing=RoutingThresholds(d1=0.8))
67
+ ```
68
+
69
+ ## 4. Your run ledger has more in it
70
+
71
+ - `D1` now carries the decision model's probability as `confidence` when its route settled the turn, and `route`; for
72
+ a delegation, `brief_by` (`verbatim` or `model`) and `self_contained` (B1's probability).
73
+ - Each worker's `D2` row carries `decision_model_yes`, and the probability as `confidence` when the decision model
74
+ dispatched that worker. A brief sent to no worker is a `D2` row `none`.
75
+ - **Your `the-brief-is-faithful` rule** can read `brief_by`: a `verbatim` brief is faithful by construction, so only
76
+ `model` briefs need the judge.
77
+ - Your D1-D10 table (`agent/decision_points.py`): D1 and D2 now have a decider that returns a confidence, as only D5
78
+ did before. B1 is the harness's own and not in your table.
79
+
80
+ ## 5. Your agent model's profile
81
+
82
+ The engine's profile for `qwen3.8-27b-modal-or`, your agent model, now says it honours a forced tool choice
83
+ (`ModelProfile.forced_tool_choice=True`, measured: 16 of 16 forced calls, and the routed `ask_the_user` items took 0
84
+ replies of 18 against 4 unforced). Nothing to do. If you move to another model, it is not forced until measured: test
85
+ it and register its profile with `forced_tool_choice=True`. `profile_for(model_id)` (new on `rag_wright.api`) reads a
86
+ profile.
87
+
88
+ ## 6. Your tests
89
+
90
+ **A hermetic test that builds a real tier will now try to call the decision model** if your test session loads
91
+ `OPENROUTER_API_KEY` (as `.env` does). Either declare `routing=None` on the definitions your tests build, or fail the
92
+ decision model's call in a fixture, which is what the engine's harness tests do (`tests/harness/conftest.py`):
93
+
94
+ ```python
95
+ import pytest
96
+ import rag_wright.api
97
+
98
+
99
+ @pytest.fixture(autouse=True)
100
+ def no_decision_model(monkeypatch):
101
+ invoke = rag_wright.api.ainvoke_model
102
+
103
+ async def stub(name, inputs, **kwargs):
104
+ if name == "jev_decision":
105
+ raise RuntimeError("no decision model in hermetic tests")
106
+ return await invoke(name, inputs, **kwargs)
107
+
108
+ monkeypatch.setattr(rag_wright.api, "ainvoke_model", stub)
109
+ ```
110
+
111
+ A test that scripts the chat-manager's first tool call is unaffected either way: with the decision model unavailable,
112
+ the turn is routed by your scripted model as before.
113
+
114
+ ## 7. The skills that changed
115
+
116
+ Re-read if you link them: **`building-an-agent-harness`** -- its decisions section names the three routed decisions
117
+ and that there is nothing to register.
118
+
119
+ ## Verify
120
+
121
+ Your fast suite green on `>=0.19.0` with section 6's fixture or `routing=None`; one live chat run with the credentials
122
+ set, and its ledger's `D1` carrying a `confidence`; then bump the floor.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rag-wright"
3
- version = "0.18.0"
3
+ version = "0.19.0"
4
4
  description = "A domain-retargetable, open-core engine for hybrid retrieval + knowledge-graph RAG: parsing, chunking, embedding, hybrid search, reranking, graph extraction, entity resolution, ontology-driven knowledge, and a capability runtime."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.12,<3.13"
@@ -100,10 +100,19 @@ def _worker_spec_defaults() -> str:
100
100
  return ("| parameter | inert default | with `definition=`, taken from |\n|---|---|---|\n" + "\n".join(rows))
101
101
 
102
102
 
103
+ def _field_count(cls: type) -> str:
104
+ """`N fields, every one required`, or `N fields (M required; optional: ...)`."""
105
+ fields = dataclasses.fields(cls)
106
+ optional = [f"`{f.name}`" for f in fields if f.default is not dataclasses.MISSING
107
+ or f.default_factory is not dataclasses.MISSING]
108
+ if not optional:
109
+ return f"{len(fields)} fields, every one required"
110
+ return f"{len(fields)} fields ({len(fields) - len(optional)} required; optional: {', '.join(optional)})"
111
+
112
+
103
113
  def _counts() -> str:
104
- return (f"{len(h.__all__)} public names; `AgentDefinition` has "
105
- f"{len(dataclasses.fields(h.AgentDefinition))} fields and `AgentPrompts` "
106
- f"{len(dataclasses.fields(h.AgentPrompts))}, every one required.")
114
+ return (f"{len(h.__all__)} public names; `AgentDefinition` has {_field_count(h.AgentDefinition)}; "
115
+ f"`AgentPrompts` has {_field_count(h.AgentPrompts)}.")
107
116
 
108
117
 
109
118
  BLOCKS = {
@@ -495,6 +495,12 @@ proceed - are candidates, and the registry doubles as the labelled corpus for tr
495
495
  decisions are recorded. **A point already decided by a typed allow-list stays deterministic: replacing a
496
496
  deterministic check with a probabilistic one is a regression however fast it is.** Shadow-mode first, always.
497
497
 
498
+ **The engine's harness now routes three of these with a decision model** (ADR-0146): D1 (answer, a direct tool,
499
+ ask, or delegate), B1 (whether a delegated message is handed over verbatim) and D2 (which workers), each below a
500
+ threshold left to the tier's model. Measured on the engine's routing gold sets against the model alone: D1 85.7%
501
+ 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
502
+ tools', orchestrator's and workers' descriptions are what it reads, so write them to tell the options apart. `docs/harness.md` section 9.
503
+
498
504
  **Derive a decision from what the tier DID, never from what the model announces.** A model asked to report
499
505
  its own decision reports an intention.
500
506
 
@@ -79,8 +79,8 @@ from rag_wright.capabilities.span_search import SpanHit
79
79
  from rag_wright.api.tracing import (finish_generation, flush_tracing, start_generation, trace_level, traced_run,
80
80
  traced_step, tracing_on)
81
81
  from rag_wright.api.usage import ModelUsage, UsageTotals, measure_usage, record_usage
82
- from rag_wright.models.profiles import (DecisionModelProfile, ModelProfile, ModelRole, register_decision_profile,
83
- register_model_profile)
82
+ from rag_wright.models.profiles import (DecisionModelProfile, ModelProfile, ModelRole, profile_for,
83
+ register_decision_profile, register_model_profile)
84
84
  from rag_wright.api.workspace import (
85
85
  WorkspaceHandle,
86
86
  drop_workspace,
@@ -112,6 +112,7 @@ __all__ = [
112
112
  "ModelServerNotDeployed", "ModelServerStatus", "amodel_server_status", "astop_model_server",
113
113
  "publish", "publish_all", # PS-38 (G14): write registered capabilities' ARD manifests to a registry root
114
114
  "DecisionModelProfile", "register_decision_profile", "ModelProfile", "register_model_profile", # PS-38 (G12)
115
+ "profile_for", # HD-9: what a model is measured to honour, read by the harness
115
116
  "agent_chat_model", # PS-36: an agent's chat model from a profile, metered and traced
116
117
  "query_embedder", # PS-39: the process-wide query embedder, for a seam that holds no workspace
117
118
  "ModelRole", # PS-1 (G17): WorkspaceHandle.model_id(role) and EngineConfig.models need it
@@ -19,7 +19,7 @@ from rag_wright.harness.clarify import clarification_tool
19
19
  from rag_wright.harness.confirm import ConfirmTheView
20
20
  from rag_wright.harness.decisions import ANY_WORKER, DecisionPoint, RecordTheDecisions, WhatTheRunDecided
21
21
  from rag_wright.harness.dispatch import DISPATCHES_PER_RUN
22
- from rag_wright.harness.definition import AgentDefinition, AgentPrompts, ToolSurface
22
+ from rag_wright.harness.definition import AgentDefinition, AgentPrompts, RoutingThresholds, ToolSurface
23
23
  from rag_wright.harness.errors import ModelAttemptTooSlow, ModelTooSlow, ModelTurnTooSlow, error_middleware
24
24
  from rag_wright.harness.events import RunEvent, translate, what_was_finished
25
25
  from rag_wright.harness.faults import Fault, InjectFaults
@@ -70,7 +70,7 @@ from rag_wright.harness.workers import CANNOT_ASK, DO_WHAT_WAS_ASKED, WorkerRepo
70
70
 
71
71
  __all__ = [
72
72
  # what a product declares
73
- "AgentDefinition", "AgentPrompts", "ToolSurface", "RunScope", "validate_scope",
73
+ "AgentDefinition", "AgentPrompts", "RoutingThresholds", "ToolSurface", "RunScope", "validate_scope",
74
74
  # running an agent: the one door
75
75
  "start_run", "resume_run", "stream_run", "read_run", "RunResult", "RunOutcome", "outcome_of", "thread_for",
76
76
  "build_chat_agent", "build_orchestrator", "agent_chat_model", "accounted_run", "run_key", "harness_tracing_on",