rag-wright 0.19.1__tar.gz → 0.20.1__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 (1173) hide show
  1. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-an-agent-harness/SKILL.md +13 -1
  2. rag_wright-0.20.1/.release-please-manifest.json +3 -0
  3. {rag_wright-0.19.1 → rag_wright-0.20.1}/CHANGELOG.md +14 -0
  4. {rag_wright-0.19.1 → rag_wright-0.20.1}/CLAUDE.md +7 -1
  5. {rag_wright-0.19.1 → rag_wright-0.20.1}/PKG-INFO +1 -1
  6. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/api/harness.md +18 -2
  7. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/harness.md +33 -11
  8. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/plan.md +2 -0
  9. {rag_wright-0.19.1 → rag_wright-0.20.1}/pyproject.toml +1 -1
  10. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-an-agent-harness/SKILL.md +13 -1
  11. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/__init__.py +5 -3
  12. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/agent.py +8 -4
  13. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/definition.py +4 -2
  14. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/grading.py +35 -0
  15. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/rules.py +5 -2
  16. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/tiers.py +21 -5
  17. rag_wright-0.20.1/tests/harness/test_harness_chat_repeats.py +101 -0
  18. rag_wright-0.20.1/tests/harness/test_harness_grading_tiers.py +229 -0
  19. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_workers.py +15 -3
  20. {rag_wright-0.19.1 → rag_wright-0.20.1}/uv.lock +1 -1
  21. rag_wright-0.19.1/.release-please-manifest.json +0 -3
  22. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/settings.json +0 -0
  23. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/authoring-a-capability/SKILL.md +0 -0
  24. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-a-product-backend/SKILL.md +0 -0
  25. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-a-product-frontend/SKILL.md +0 -0
  26. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
  27. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
  28. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
  29. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/building-an-ingestion-capability/SKILL.md +0 -0
  30. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/classifier-opportunity-analysis/SKILL.md +0 -0
  31. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/creating-evals/SKILL.md +0 -0
  32. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/laya/SKILL.md +0 -0
  33. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/qwen-vllm-modal/SKILL.md +0 -0
  34. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
  35. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
  36. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/setfit/SKILL.md +0 -0
  37. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
  38. {rag_wright-0.19.1 → rag_wright-0.20.1}/.claude/skills/using-the-rag-wright-engine/SKILL.md +0 -0
  39. {rag_wright-0.19.1 → rag_wright-0.20.1}/.env.example +0 -0
  40. {rag_wright-0.19.1 → rag_wright-0.20.1}/.github/workflows/publish.yml +0 -0
  41. {rag_wright-0.19.1 → rag_wright-0.20.1}/.github/workflows/release-please.yml +0 -0
  42. {rag_wright-0.19.1 → rag_wright-0.20.1}/.gitignore +0 -0
  43. {rag_wright-0.19.1 → rag_wright-0.20.1}/LICENSE +0 -0
  44. {rag_wright-0.19.1 → rag_wright-0.20.1}/README.md +0 -0
  45. {rag_wright-0.19.1 → rag_wright-0.20.1}/SPEC.md +0 -0
  46. {rag_wright-0.19.1 → rag_wright-0.20.1}/conftest.py +0 -0
  47. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/ARCHITECTURE_OVERVIEW.md +0 -0
  48. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/ArcadeDB_Local.md +0 -0
  49. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/OBSERVABILITY.md +0 -0
  50. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0001-stack-and-library-choices.md +0 -0
  51. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0002-validation-corpus-cuad-edgar.md +0 -0
  52. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0003-ard-registration-and-capability-kinds.md +0 -0
  53. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0004-entity-disambiguation.md +0 -0
  54. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0005-relational-golden-set.md +0 -0
  55. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0006-model-profile.md +0 -0
  56. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0007-arcadedb-store-schema.md +0 -0
  57. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0008-unified-framework-index-docs-grounding.md +0 -0
  58. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0009-rlm-chunking-retained-as-configurable-capability.md +0 -0
  59. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0010-transformers-pinned-below-5-for-flagembedding-reranker.md +0 -0
  60. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0011-cuad-not-a-retrieval-benchmark-acord-for-queries.md +0 -0
  61. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0012-entity-mention-confidence-no-proximity-edges.md +0 -0
  62. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0013-entity-resolution-matching-strategy.md +0 -0
  63. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0014-split-generation-and-vision-to-text.md +0 -0
  64. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0015-rlm-dynamic-subagents-and-granted-subagents.md +0 -0
  65. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0016-rlm-defined-by-required-capabilities-enforced-as-tests.md +0 -0
  66. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0017-dynamic-dispatch-trigger-as-typed-flag.md +0 -0
  67. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0018-rlm-method-is-the-orchestrator-system-prompt.md +0 -0
  68. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0019-recursion-is-optional-for-chunking-required-for-synthesis.md +0 -0
  69. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0020-serialize-interpreter-sessions-per-process-ki1.md +0 -0
  70. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0021-capability-interface-governed-typed-io.md +0 -0
  71. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0022-fr-k-embedding-free-okf-navigation-experimental.md +0 -0
  72. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0023-cheap-model-for-okf-enrichment.md +0 -0
  73. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0024-reader-parallelism-lives-in-python-not-the-interpreter.md +0 -0
  74. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0025-retrieval-pivot-function-classify-property-graph-rerank.md +0 -0
  75. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0026-property-schema-and-extended-function-taxonomy.md +0 -0
  76. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0027-openrouter-provider-routing-by-throughput.md +0 -0
  77. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0028-deterministic-grounding-judge-and-flash-pro-cascade.md +0 -0
  78. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0029-retrieval-pipeline-domain-portability-and-adaptation.md +0 -0
  79. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0030-model-training-standard-modal-reusable-checkpointed.md +0 -0
  80. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0031-single-call-chunking-for-structured-contracts.md +0 -0
  81. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0032-nl-to-type-two-step-reason-emit-on-gemma.md +0 -0
  82. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0033-unified-contract-kg-three-legs-one-graph.md +0 -0
  83. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0034-granite-json-schema-structured-output-profile.md +0 -0
  84. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0035-graph-extraction-rebacked-with-gp1b-retire-hybrid.md +0 -0
  85. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0036-party-clause-link-party-to-edge.md +0 -0
  86. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0037-clause-template-is-authoritative-code-not-generated.md +0 -0
  87. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0038-full-cuad-kg-on-gcp-gpu-vm-and-gcs-backup.md +0 -0
  88. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0039-self-hosted-open-model-stack-on-modal-a100.md +0 -0
  89. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0040-neuro-symbolic-extraction-fidelity-ontology-shacl-validation.md +0 -0
  90. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0041-capability-kind-rubric-and-agent-skill-runtime-tiers.md +0 -0
  91. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0042-clause-level-span-id-provenance-and-content-hash-backfill.md +0 -0
  92. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0043-retire-cross-corpus-retrieval-standardize-on-leg-b.md +0 -0
  93. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0044-is-exception-to-derived-carveout-relationship.md +0 -0
  94. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0045-client-side-tag-parse-structured-output.md +0 -0
  95. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0046-acord-unified-into-one-production-kg.md +0 -0
  96. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0047-retire-precomputed-clause-function-gate.md +0 -0
  97. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0048-ingest-llm-classifier-nondestructive-reclassify.md +0 -0
  98. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0049-generic-customer-lens-for-ingestion.md +0 -0
  99. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0050-async-langgraph-ingestion.md +0 -0
  100. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0051-schema-bootstrap-and-feedback-driven-ontology-evolution.md +0 -0
  101. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0052-engine-product-split-graphwright-parked.md +0 -0
  102. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0053-answer-prose-output-hygiene.md +0 -0
  103. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0054-remove-auto-tag-from-generator-evidence.md +0 -0
  104. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0055-confidence-out-of-band.md +0 -0
  105. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0056-bound-structured-retry-wall-clock.md +0 -0
  106. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0057-async-engine-architecture.md +0 -0
  107. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0058-structure-first-chunking.md +0 -0
  108. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0059-recall-decoupled-from-classification-and-visible-partial-loss.md +0 -0
  109. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0060-scope-compliance-check-to-named-policy-sources.md +0 -0
  110. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0061-subject-document-compliance-per-section.md +0 -0
  111. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0062-tiered-ocr-scan-quality-vlm-escalation.md +0 -0
  112. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0063-per-sentence-compliance-subject-facts.md +0 -0
  113. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0064-typed-properties-out-of-band-on-evidence.md +0 -0
  114. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0065-deontic-applicability-gates-query-side.md +0 -0
  115. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0066-ontology-ttl-single-source-of-truth.md +0 -0
  116. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0067-domain-pack-retargeting.md +0 -0
  117. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0068-recall-first-actor-gate-ontology-role-disjointness.md +0 -0
  118. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0069-reading-order-chunking-tables-figures-retrievable.md +0 -0
  119. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0070-text-layer-first-parsing-no-false-vlm-escalation.md +0 -0
  120. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0071-defragmentation-reconstruct-paragraphs-from-line-items.md +0 -0
  121. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0072-extract-guard-furniture-and-deterministic-failure.md +0 -0
  122. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0073-born-digital-threshold-sparse-pages-no-vlm-escalation.md +0 -0
  123. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0074-retry-transient-extraction-failures.md +0 -0
  124. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0075-per-page-vlm-escalation.md +0 -0
  125. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0076-thread-safe-shared-embedder-reranker.md +0 -0
  126. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0077-concurrent-function-classification-across-chunks.md +0 -0
  127. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0078-dedicated-extraction-executor.md +0 -0
  128. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0079-product-default-granite-4.2-openrouter-routing.md +0 -0
  129. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0080-nested-tag-parse-and-degrade.md +0 -0
  130. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0081-function-independent-tagparse-clause-extraction.md +0 -0
  131. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0082-symbolic-gate-function-independent.md +0 -0
  132. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0083-executor-hop-trace-context-capture.md +0 -0
  133. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0084-gleaning-off-on-the-query-leg.md +0 -0
  134. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0085-query-constraint-extraction-tagparse.md +0 -0
  135. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0086-streaming-cost-capture.md +0 -0
  136. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0087-retrieval-relevance-score-on-rankedspan.md +0 -0
  137. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0088-per-span-relevance-verdict.md +0 -0
  138. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0089-structured-output-generation-tracing.md +0 -0
  139. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0090-affiliate-of-extraction.md +0 -0
  140. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0091-retire-partyto-edge.md +0 -0
  141. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0092-idempotent-write-graph.md +0 -0
  142. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0093-entities-by-name-seam.md +0 -0
  143. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0094-workspace-document-scope.md +0 -0
  144. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0095-span-page-provenance.md +0 -0
  145. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0096-carveout-keyword-normalization.md +0 -0
  146. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0097-caller-configurable-ingest-extraction-models.md +0 -0
  147. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0098-invoke-time-document-scope.md +0 -0
  148. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0099-mcp-tools-never-take-a-model-supplied-tenant.md +0 -0
  149. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0100-profile-based-model-routing.md +0 -0
  150. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0101-untagged-spans-reach-extraction-aspect-gate-removed.md +0 -0
  151. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0102-open-descriptive-list-dims-retain-verbatim.md +0 -0
  152. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0103-a-clause-is-a-provision-not-a-span.md +0 -0
  153. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0104-dense-floor-protection-in-leg-b.md +0 -0
  154. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0105-in-band-model-usage-accounting.md +0 -0
  155. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0106-document-signals-off-the-citation.md +0 -0
  156. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0107-requirement-page-provenance.md +0 -0
  157. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0108-qwen3-27b-single-a100-serving-profile.md +0 -0
  158. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0109-vllm-cold-start-reduction.md +0 -0
  159. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0110-fp8-kv-cache-16k-single-a100.md +0 -0
  160. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0111-pin-qwen3-27b-deepinfra-bf16.md +0 -0
  161. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0112-relax-deepagents-pin-to-floor.md +0 -0
  162. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0113-llm-span-instrumentation-for-latency-attribution.md +0 -0
  163. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0114-setfit-default-clause-function-classifier.md +0 -0
  164. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0115-classifier-only-step3a-property-extraction.md +0 -0
  165. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0116-soft-function-scoping-classifier-lane.md +0 -0
  166. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0117-engine-api-layer-and-capability-runtime.md +0 -0
  167. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0118-engine-core-api-vs-ard-adapter-free-impl-ref-client.md +0 -0
  168. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0119-jev-typed-decision-model-for-compliance-closed-set-fields.md +0 -0
  169. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0120-rlm-sub-agent-identity-dynamic-dispatch-trigger.md +0 -0
  170. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0121-spacy-optional-extra-model-runtime-download.md +0 -0
  171. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0122-provision-boundary-deterministic-plus-decision-model-residue.md +0 -0
  172. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0123-batched-releases-release-please-and-consumer-dependabot.md +0 -0
  173. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0124-generic-ingestion-builder-and-hooks.md +0 -0
  174. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0125-qwen-openrouter-unpinned.md +0 -0
  175. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0126-unit-representative-hook-and-the-reference-vote.md +0 -0
  176. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0127-retire-the-okf-code.md +0 -0
  177. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0128-two-public-tiers-api-and-pack-sdk.md +0 -0
  178. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0129-laya-temperatures-and-the-sklearn-floor.md +0 -0
  179. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0130-deploy-the-self-hosted-model-server-from-the-engine.md +0 -0
  180. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0131-model-server-hardening-after-rulewright-review.md +0 -0
  181. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0132-model-server-cold-start-from-a-gpu-snapshot.md +0 -0
  182. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0133-model-call-deadline-follows-the-timeout-and-a-thinking-cap.md +0 -0
  183. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0134-skills-for-product-developers-are-linked-per-project-never-globally.md +0 -0
  184. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0135-the-seam-gives-each-event-loop-its-own-async-http-client.md +0 -0
  185. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0136-spreadsheet-tables-are-glued-back-across-blank-rows.md +0 -0
  186. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0137-generated-answers-state-their-support-and-none-is-an-abstention.md +0 -0
  187. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0138-the-engine-reaches-pdfium-through-one-locked-door.md +0 -0
  188. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0139-the-agent-harness-substrate-is-engine-scope.md +0 -0
  189. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0140-one-model-family-on-metal.md +0 -0
  190. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0141-the-hard-split-cuts-between-lines-and-repeats-a-tables-header.md +0 -0
  191. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0142-the-default-writer-keeps-one-edge-per-type-and-endpoints.md +0 -0
  192. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0143-a-float-is-written-and-compared-as-a-double.md +0 -0
  193. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0144-one-loaded-bge-model-per-process.md +0 -0
  194. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0145-arcadedb-26-11-1-and-vector-index-upkeep.md +0 -0
  195. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/0146-the-harness-routes-with-a-decision-model.md +0 -0
  196. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/adr/README.md +0 -0
  197. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/api/README.md +0 -0
  198. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/api/pack_sdk.md +0 -0
  199. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/architecture/foundations-and-adding-a-domain.md +0 -0
  200. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/architecture.md +0 -0
  201. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/README.md +0 -0
  202. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/design/deontic-applicability-routing.md +0 -0
  203. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/design/ingestion-neuro-symbolic-gaps.md +0 -0
  204. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/design/semantic-subject-segmentation.md +0 -0
  205. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/design/unify-subject-preprocessing.md +0 -0
  206. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0037-closed-vocab-drops-verbatim-values-to-other.md +0 -0
  207. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0038-a-clause-node-is-now-created-per-sentence-so-98-percent-of-spans-become-clauses.md +0 -0
  208. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0039-the-provision-detector-reads-text-but-docling-puts-the-section-number-in-marker.md +0 -0
  209. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0040-covered-subject-is-asked-of-every-provision-so-verbatim-retention-fills-it-with-noise.md +0 -0
  210. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0041-VERIFICATION-dense-floor.md +0 -0
  211. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0041-leg-b-discards-the-best-dense-matches-on-some-queries.md +0 -0
  212. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0042-usage-is-captured-per-call-but-never-returned-so-cost-needs-a-langfuse-round-trip.md +0 -0
  213. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0043-a-requirement-carries-no-page-provenance-so-a-finding-cannot-point-into-its-policy.md +0 -0
  214. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0044-document-signals-scaffolding-is-shown-to-the-user-as-a-quote-from-their-document.md +0 -0
  215. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0045-a-fixed-money-cap-records-no-cap-quantum-so-the-amount-is-only-prose.md +0 -0
  216. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0046-appending-a-natural-follow-up-to-a-question-drops-the-clause-type.md +0 -0
  217. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0047-an-exact-deepagents-pin-transitively-pins-every-consumer.md +0 -0
  218. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/engine-issues/0048-the-pinned-endpoints-latency-tail-makes-agent-runs-undebuggable-from-either-side.md +0 -0
  219. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-07-20_graphwright_capability_interface_reply.md +0 -0
  220. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-07-20b_graphwright_interface_confirmation.md +0 -0
  221. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-07-20c_graphwright_ingestion_interfaces.md +0 -0
  222. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-08-30_subject_compliance_final_rulewright.md +0 -0
  223. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-01_issue-0013-recall-first-actor-gate_rulewright.md +0 -0
  224. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-01_ontology-source-of-truth_rulewright.md +0 -0
  225. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-03_issue-0014-table-retrievability_rulewright.md +0 -0
  226. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-04_bulk-ingestion-wall_rulewright.md +0 -0
  227. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-04_issue-0016-thread-safe-embedder_rulewright.md +0 -0
  228. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-05_observability-langfuse_rulewright.md +0 -0
  229. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-05_tagparse-ingestion-and-granite-4.2_rulewright.md +0 -0
  230. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_affiliate-of-extraction_rulewright.md +0 -0
  231. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_issue-0028-partyto-retired_rulewright.md +0 -0
  232. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_issue-0029-idempotent-write-graph_rulewright.md +0 -0
  233. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_issue-0030-entities-by-name_rulewright.md +0 -0
  234. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_observability-and-retrieval-floor_rulewright.md +0 -0
  235. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_relevance-verdict_rulewright.md +0 -0
  236. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_rename-run-ad-compliance-check_rulewright.md +0 -0
  237. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-09_structured-output-cost-tracing_rulewright.md +0 -0
  238. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_ingest-models-caller-configurable_rulewright.md +0 -0
  239. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_issue-0031-followup-failclosed-and-nodrift_rulewright.md +0 -0
  240. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_issue-0031-followup-validate-ingested-set_rulewright.md +0 -0
  241. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_issue-0031-workspace-document-scope_rulewright.md +0 -0
  242. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_issue-0032-span-page-provenance_rulewright.md +0 -0
  243. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_issue-0033-carveout-normalization_rulewright.md +0 -0
  244. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-10_issue-0034-invoke-time-document-scope_rulewright.md +0 -0
  245. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-11_issue-0035-followup-derived-guard_rulewright.md +0 -0
  246. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-11_issue-0035-mcp-no-model-tenant_rulewright.md +0 -0
  247. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-11_profile-based-model-routing_rulewright.md +0 -0
  248. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-11_qwen-default-modal-or_rulewright.md +0 -0
  249. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-11_qwen-everywhere-config_rulewright.md +0 -0
  250. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-12_clause-granularity_0036-0039_rulewright.md +0 -0
  251. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-12_closed-vocab_0037-0040_rulewright.md +0 -0
  252. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-12_dense-floor-protection_0041_rulewright.md +0 -0
  253. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-13_in-band-usage_0042_rulewright.md +0 -0
  254. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-14_document-signals-off-citation_0044_rulewright.md +0 -0
  255. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-14_requirement-page-provenance_0043_rulewright.md +0 -0
  256. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-16_qwen3-27b-single-a100-serving-profile_rulewright.md +0 -0
  257. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-18_fp8-accuracy-eval-configB_rulewright.md +0 -0
  258. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-18_fp8-kv-16k-single-a100_rulewright.md +0 -0
  259. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-20_deepagents-pin-relaxed_0047_rulewright.md +0 -0
  260. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-20_llm-span-instrumentation_0048_rulewright.md +0 -0
  261. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-21_0048-part2-modal-answers_from_rulewright.md +0 -0
  262. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/handoffs/2026-09-21_0048-part2-modal-scoping-questions_rulewright.md +0 -0
  263. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/misc/.gitkeep +0 -0
  264. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/plans/Corpus_Acquisition.md +0 -0
  265. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/plans/async-migration.md +0 -0
  266. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/plans/demo_plan.md +0 -0
  267. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/plans/gp1b_docling_graph_plan.md +0 -0
  268. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/plans/unified_contract_kg_ontology_bridge.md +0 -0
  269. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/plans/unified_contract_kg_plan.md +0 -0
  270. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/results/2026-07-24-t58-property-graph-population.md +0 -0
  271. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/results/2026-07-25-t58b-full-pipeline-rerank.md +0 -0
  272. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/archive/results/2026-07-25-t58b-topk-ordering-levers.md +0 -0
  273. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/concepts.md +0 -0
  274. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/configuration.md +0 -0
  275. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/contract_pipeline_explainer.md +0 -0
  276. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/corpus_ingest_recipe.md +0 -0
  277. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/README.md +0 -0
  278. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/_engine-gaps.md +0 -0
  279. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/authoring-capabilities.md +0 -0
  280. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/classification-and-decision-models.md +0 -0
  281. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/entity-resolution.md +0 -0
  282. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/evals-from-expert-files.md +0 -0
  283. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/kg-construction.md +0 -0
  284. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/domain-adaptation/ontology-authoring.md +0 -0
  285. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/classifier_model_ab.md +0 -0
  286. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/compliance_demo.md +0 -0
  287. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/compliance_gate_cc7.md +0 -0
  288. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/compliance_rung2_cc7.md +0 -0
  289. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/cuad_highlighting_cu-d1.md +0 -0
  290. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/dg_model_ab.md +0 -0
  291. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/function_gate_recall.md +0 -0
  292. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/generation_robustness_b_vs_c.md +0 -0
  293. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/nl_to_type_cu-d2.md +0 -0
  294. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/ocr_benchmark.md +0 -0
  295. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/prod1_readiness.md +0 -0
  296. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/prod2_readiness.md +0 -0
  297. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/query_side_model_ab.md +0 -0
  298. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/silver_granite_vs_gemma4.md +0 -0
  299. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/silver_provider_routing.md +0 -0
  300. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/eval/silver_selfhosted_gemma4_26b.md +0 -0
  301. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/evals.md +0 -0
  302. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/installation.md +0 -0
  303. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/playbook.md +0 -0
  304. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/product/capability_profiles.md +0 -0
  305. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/product/contracts_product_roadmap.md +0 -0
  306. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/product/engine-api-migration-handoff.md +0 -0
  307. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/product/engine_async_api.md +0 -0
  308. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/product/new-domain-build-sequence.md +0 -0
  309. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/product/seam-adaptation-guide.md +0 -0
  310. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/proposals/compliance-ingest-classifier-decomposition.md +0 -0
  311. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/proposals/de-domaining-and-capability-runtime.md +0 -0
  312. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/proposals/new-domain-developer-journey.md +0 -0
  313. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/proposals/ontology-induction.md +0 -0
  314. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/quickstart.md +0 -0
  315. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/reference-pack.md +0 -0
  316. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/releasing.md +0 -0
  317. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/engine-platform/SPEC.md +0 -0
  318. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/engine-platform/TASKS.md +0 -0
  319. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/engine-prep/plan.md +0 -0
  320. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/evals/plan.md +0 -0
  321. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/harness-decisions/plan.md +0 -0
  322. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/ingestion-hooks/ing5-doc-audit.md +0 -0
  323. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/ingestion-hooks/ing8-breaking-changes.md +0 -0
  324. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/ingestion-hooks/plan.md +0 -0
  325. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/ingestion-hooks/rulewright-migration-0.2.0.md +0 -0
  326. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/langgraph-ingestion/plan.md +0 -0
  327. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-arcadedb-separation.md +0 -0
  328. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.10.0.md +0 -0
  329. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.11.0.md +0 -0
  330. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.12.0.md +0 -0
  331. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.13.0.md +0 -0
  332. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.14.0.md +0 -0
  333. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.18.0.md +0 -0
  334. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.19.0.md +0 -0
  335. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.3.0.md +0 -0
  336. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.4.0.md +0 -0
  337. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.5.0.md +0 -0
  338. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.6.0.md +0 -0
  339. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.7.0.md +0 -0
  340. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.8.0.md +0 -0
  341. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-migration-0.9.0.md +0 -0
  342. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/rulewright-reply-2026-10-10-laya-and-sklearn.md +0 -0
  343. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/specs/public-surface/texwright-building-on-the-harness.md +0 -0
  344. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/templates/product-starter/CLAUDE.md.template +0 -0
  345. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/templates/product-starter/README.md +0 -0
  346. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/templates/product-starter/dependabot.yml +0 -0
  347. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/templates/product-starter/playbook.md.template +0 -0
  348. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/upstream/laya-temperature-range-mismatch.md +0 -0
  349. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/vendor/arcadedb/arcadedb-buckets-schema.md +0 -0
  350. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/vendor/arcadedb/arcadedb-docs-extraction.json +0 -0
  351. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/vendor/arcadedb/arcadedb-sql-rebuild-index.md +0 -0
  352. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/vendor/arcadedb/arcadedb-vector-embeddings.md +0 -0
  353. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/vendor/arcadedb/arcadedb-vector-search-tutorial.md +0 -0
  354. {rag_wright-0.19.1 → rag_wright-0.20.1}/docs/workspaces.md +0 -0
  355. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/__init__.py +0 -0
  356. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/acord.py +0 -0
  357. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/acord_retrieval.py +0 -0
  358. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/boundary_residue_gold.py +0 -0
  359. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/build_golden.py +0 -0
  360. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/compliance_demo/policy/community_conduct_policy.md +0 -0
  361. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/compliance_demo/subjects/post_borderline.txt +0 -0
  362. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/compliance_demo/subjects/post_compliant.txt +0 -0
  363. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/compliance_demo/subjects/post_violation.txt +0 -0
  364. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/condensed_pipeline.py +0 -0
  365. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/contract_parity_live.py +0 -0
  366. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/contractnli_judge.py +0 -0
  367. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/cuad_highlight.py +0 -0
  368. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/embedded_eval.py +0 -0
  369. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/full_pipeline_rerank.py +0 -0
  370. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/function_ceiling.py +0 -0
  371. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/function_property_rerank.py +0 -0
  372. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/function_rerank.py +0 -0
  373. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/gate1_chunker_ab.py +0 -0
  374. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/gate2_hybrid_rerank.py +0 -0
  375. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/golden/relational/set.json +0 -0
  376. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/golden.py +0 -0
  377. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/ground_discriminator_rerank.py +0 -0
  378. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/harness.py +0 -0
  379. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/ingestion_live_smoke.py +0 -0
  380. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/kg_primary.py +0 -0
  381. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/kg_property_rerank.py +0 -0
  382. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/listwise_rerank.py +0 -0
  383. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/multihop.py +0 -0
  384. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/nl_to_type.py +0 -0
  385. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/relational_eval.py +0 -0
  386. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/residual_decision_gold.py +0 -0
  387. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/segmenter_eval.py +0 -0
  388. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/semantic_judge_gold.py +0 -0
  389. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/test_acord.py +0 -0
  390. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/test_acord_retrieval.py +0 -0
  391. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/test_harness.py +0 -0
  392. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/test_multihop_set.py +0 -0
  393. {rag_wright-0.19.1 → rag_wright-0.20.1}/eval/unit_grouper_eval.py +0 -0
  394. {rag_wright-0.19.1 → rag_wright-0.20.1}/examples/harness_quickstart.py +0 -0
  395. {rag_wright-0.19.1 → rag_wright-0.20.1}/examples/model_server.py +0 -0
  396. {rag_wright-0.19.1 → rag_wright-0.20.1}/examples/quickstart.py +0 -0
  397. {rag_wright-0.19.1 → rag_wright-0.20.1}/plan.md +0 -0
  398. {rag_wright-0.19.1 → rag_wright-0.20.1}/release-please-config.json +0 -0
  399. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ab_model_overlap.py +0 -0
  400. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acord_unify.py +0 -0
  401. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acquire_acord.py +0 -0
  402. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acquire_cuad.py +0 -0
  403. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acquire_ecfr.py +0 -0
  404. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acquire_edgar.py +0 -0
  405. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acquire_ftc_255.py +0 -0
  406. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/acquire_prod1_corpus.py +0 -0
  407. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/audit_reclass_flips.py +0 -0
  408. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/author_leg_a_silver_key.py +0 -0
  409. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/backfill_affiliations.py +0 -0
  410. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/backfill_clause_span_id.py +0 -0
  411. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/backfill_edge_source_doc_id.py +0 -0
  412. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/backup_kg_to_gcs.sh +0 -0
  413. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/bootstrap_template_capture.py +0 -0
  414. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/bootstrap_typed_edges.py +0 -0
  415. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/build_api_docs.py +0 -0
  416. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/build_api_docs.sh +0 -0
  417. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/build_cuad_clause_cache.py +0 -0
  418. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/build_function_routing_map.py +0 -0
  419. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/build_harness_doc.py +0 -0
  420. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_assemble_v2.py +0 -0
  421. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_assemble_v3.py +0 -0
  422. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_generate_hard_negatives.py +0 -0
  423. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_generate_hard_positives.py +0 -0
  424. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_generate_training.py +0 -0
  425. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_hybrid.py +0 -0
  426. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_hybrid2.py +0 -0
  427. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_jev_actor.py +0 -0
  428. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_jev_claimtypes.py +0 -0
  429. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_jev_operative.py +0 -0
  430. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_label_spans.py +0 -0
  431. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_laya_prep.py +0 -0
  432. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_laya_train.py +0 -0
  433. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_prep_operative.py +0 -0
  434. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_relabel_rubric.py +0 -0
  435. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_relabel_rubric2.py +0 -0
  436. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/cic1_train_operative.py +0 -0
  437. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/compare_extraction_models.py +0 -0
  438. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/compliance_actor_gate_smoke.py +0 -0
  439. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/compliance_engine_smoke.py +0 -0
  440. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/compliance_policy_demo.py +0 -0
  441. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/curate_taxonomy_gaps.py +0 -0
  442. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/dg_model_ab.py +0 -0
  443. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_knn_expansion.py +0 -0
  444. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_knn_rerank.py +0 -0
  445. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_leg_pool.py +0 -0
  446. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_legs.py +0 -0
  447. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_pool.py +0 -0
  448. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_relstructure.py +0 -0
  449. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/diagnose_acord_retrieval.py +0 -0
  450. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/eval_all.py +0 -0
  451. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/eval_ce.py +0 -0
  452. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/eval_listwise_b.py +0 -0
  453. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/export_ce_dataset.py +0 -0
  454. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/extract_features.py +0 -0
  455. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/listwise_variants.py +0 -0
  456. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/relational_features.py +0 -0
  457. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/train_ce.py +0 -0
  458. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/distill/train_modal.py +0 -0
  459. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/enrich_edgar_candidates.py +0 -0
  460. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/eval_chunking_ab.py +0 -0
  461. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/eval_classifier_guided_vs_tagparse.py +0 -0
  462. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/eval_compliance_gold.py +0 -0
  463. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/extract_arcadedb_docs.py +0 -0
  464. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/fetch_reference_models.py +0 -0
  465. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/generate_contract_python.py +0 -0
  466. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/git_post_commit_graphify.sh +0 -0
  467. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/granite_chunker_assess.py +0 -0
  468. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/graph_status.sh +0 -0
  469. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_acord.py +0 -0
  470. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_compliance_async_prod2.py +0 -0
  471. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_compliance_document_prod2.py +0 -0
  472. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_compliance_prod2.py +0 -0
  473. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_cuad.py +0 -0
  474. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_cuad_full.py +0 -0
  475. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_ftc_compliance.py +0 -0
  476. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_prod1.py +0 -0
  477. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_prod1_async.py +0 -0
  478. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ingest_smoke.py +0 -0
  479. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/install_git_hooks.sh +0 -0
  480. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/label_new_functions.py +0 -0
  481. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/legb_function_gate_recall.py +0 -0
  482. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/make_compliance_fixtures.py +0 -0
  483. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/make_compliance_gold.py +0 -0
  484. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/mcp_compliance_agent_demo.py +0 -0
  485. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/mcp_intra_document_qa_smoke.py +0 -0
  486. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/mcp_query_legs_agent_demo.py +0 -0
  487. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/measure_generation_robustness.py +0 -0
  488. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/measure_harness_genericity.py +0 -0
  489. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/measure_silver.py +0 -0
  490. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/merge_docs_into_framework.py +0 -0
  491. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/migrate_entity_cik_to_canonical_id.py +0 -0
  492. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/migrate_silver_evidence_autotag.py +0 -0
  493. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/migrate_silver_evidence_remove_autotag.py +0 -0
  494. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/migrate_span_fields.py +0 -0
  495. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/mine_scarce_functions.py +0 -0
  496. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_arcadedb.py +0 -0
  497. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_backfill.py +0 -0
  498. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_exception_linking.py +0 -0
  499. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_gemma4_vllm.py +0 -0
  500. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_gemma4_vllm_snapshot.py +0 -0
  501. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_granite_server.py +0 -0
  502. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_granite_throughput.py +0 -0
  503. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_granite_vllm_server.py +0 -0
  504. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_query_app.py +0 -0
  505. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_qwen3_27b_bench.py +0 -0
  506. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_qwen3_27b_snapshot.py +0 -0
  507. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_qwen3_vllm_server.py +0 -0
  508. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/modal_stack_a100.py +0 -0
  509. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ocr_benchmark.py +0 -0
  510. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ocr_preprocess.py +0 -0
  511. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/ontology_dimension_check.py +0 -0
  512. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/phase_a_leg_validate.py +0 -0
  513. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/populate_clause_kg.py +0 -0
  514. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/populate_entity_graph.py +0 -0
  515. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/populate_entity_graph_extracted.py +0 -0
  516. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/populate_property_store.py +0 -0
  517. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/prep_relational_verification.py +0 -0
  518. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/publish_manifests.py +0 -0
  519. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/reclassify_kg.py +0 -0
  520. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/refresh_framework_graph.sh +0 -0
  521. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/revert_reclass_flips.py +0 -0
  522. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/run_acord_retrieval.py +0 -0
  523. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/run_clause_exception_linking.py +0 -0
  524. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/semantic_judge_live_validate.py +0 -0
  525. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/semantic_judge_probe.py +0 -0
  526. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/snapshot_leg_a_eval.py +0 -0
  527. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/stack_correctness_validate.py +0 -0
  528. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/table_retrieval_smoke.py +0 -0
  529. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/train_function_classifier.py +0 -0
  530. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/train_legalbert_function.py +0 -0
  531. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/train_legalbert_modal.py +0 -0
  532. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/typed_rerank_validate.py +0 -0
  533. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/verify_wheel_install.sh +0 -0
  534. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/vllm_extraction_ab.py +0 -0
  535. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/vllm_kg_query_validate.py +0 -0
  536. {rag_wright-0.19.1 → rag_wright-0.20.1}/scripts/vllm_raw_diagnostic.py +0 -0
  537. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/authoring-a-capability/SKILL.md +0 -0
  538. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-a-product-backend/SKILL.md +0 -0
  539. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-a-product-frontend/SKILL.md +0 -0
  540. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
  541. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
  542. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
  543. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/building-an-ingestion-capability/SKILL.md +0 -0
  544. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/classifier-opportunity-analysis/SKILL.md +0 -0
  545. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/creating-evals/SKILL.md +0 -0
  546. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/laya/SKILL.md +0 -0
  547. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/qwen-vllm-modal/SKILL.md +0 -0
  548. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
  549. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
  550. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/setfit/SKILL.md +0 -0
  551. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
  552. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/.agents/skills/using-the-rag-wright-engine/SKILL.md +0 -0
  553. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/__init__.py +0 -0
  554. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/__init__.py +0 -0
  555. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/agents.py +0 -0
  556. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/answers.py +0 -0
  557. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/config.py +0 -0
  558. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/discover.py +0 -0
  559. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/documents.py +0 -0
  560. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/ids.py +0 -0
  561. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/invoke.py +0 -0
  562. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/kg.py +0 -0
  563. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/mcp.py +0 -0
  564. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/tracing.py +0 -0
  565. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/usage.py +0 -0
  566. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/api/workspace.py +0 -0
  567. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/__init__.py +0 -0
  568. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/answer_generator.py +0 -0
  569. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/ard.py +0 -0
  570. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/chunk_read.py +0 -0
  571. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/chunk_write.py +0 -0
  572. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/disambiguation.py +0 -0
  573. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/document_parse.py +0 -0
  574. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/document_scope.py +0 -0
  575. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/embedding.py +0 -0
  576. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/embedding_profiles.py +0 -0
  577. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/entity_resolution.py +0 -0
  578. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/fusion.py +0 -0
  579. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/graph_query.py +0 -0
  580. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/graph_storage.py +0 -0
  581. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/hybrid_search.py +0 -0
  582. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/invoke.py +0 -0
  583. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/jev_decision.py +0 -0
  584. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/manifests.py +0 -0
  585. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/parse_audit.py +0 -0
  586. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/parsing.py +0 -0
  587. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/registry.py +0 -0
  588. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/remote_encoders.py +0 -0
  589. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/reranking.py +0 -0
  590. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/retrieval_core.py +0 -0
  591. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/rlm_chunking.py +0 -0
  592. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/rlm_synthesis.py +0 -0
  593. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/scan_quality.py +0 -0
  594. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/sheet_tables.py +0 -0
  595. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/span_relevance_judgment.py +0 -0
  596. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/span_search.py +0 -0
  597. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/vision_to_text.py +0 -0
  598. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/capabilities/vlm_ocr.py +0 -0
  599. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/__init__.py +0 -0
  600. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/chunk.py +0 -0
  601. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/evals.py +0 -0
  602. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/extraction.py +0 -0
  603. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/graph.py +0 -0
  604. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/identifiers.py +0 -0
  605. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/ingestion.py +0 -0
  606. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/provenance.py +0 -0
  607. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/contracts/span.py +0 -0
  608. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/corpus/__init__.py +0 -0
  609. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/corpus/canonicalize.py +0 -0
  610. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/corpus/document_parser.py +0 -0
  611. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/corpus/embedded.py +0 -0
  612. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/corpus/http.py +0 -0
  613. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/evals/__init__.py +0 -0
  614. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/evals/gold.py +0 -0
  615. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/evals/langfuse_backend.py +0 -0
  616. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/evals/runner.py +0 -0
  617. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/evals/scorers.py +0 -0
  618. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/accounting.py +0 -0
  619. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/batch.py +0 -0
  620. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/clarify.py +0 -0
  621. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/confirm.py +0 -0
  622. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/decider.py +0 -0
  623. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/decisions.py +0 -0
  624. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/dispatch.py +0 -0
  625. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/errors.py +0 -0
  626. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/events.py +0 -0
  627. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/faults.py +0 -0
  628. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/filesystem.py +0 -0
  629. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/interpreter.py +0 -0
  630. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/memory.py +0 -0
  631. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/models.py +0 -0
  632. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/preflight.py +0 -0
  633. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/recording.py +0 -0
  634. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/routing.py +0 -0
  635. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/runs.py +0 -0
  636. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/scope.py +0 -0
  637. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/seen.py +0 -0
  638. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/skills.py +0 -0
  639. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/thinking.py +0 -0
  640. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/tracing.py +0 -0
  641. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/withhold.py +0 -0
  642. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/harness/workers.py +0 -0
  643. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/__init__.py +0 -0
  644. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/builder.py +0 -0
  645. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/evaluate.py +0 -0
  646. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/group.py +0 -0
  647. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/layout.py +0 -0
  648. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/segment.py +0 -0
  649. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ingestion/tables.py +0 -0
  650. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/__init__.py +0 -0
  651. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/model_servers.py +0 -0
  652. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/profiles.py +0 -0
  653. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/seam.py +0 -0
  654. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/tag_structured.py +0 -0
  655. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/tracing.py +0 -0
  656. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/usage.py +0 -0
  657. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/models/weights.py +0 -0
  658. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ontology/__init__.py +0 -0
  659. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ontology/pack_schema.py +0 -0
  660. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/ontology/registry.py +0 -0
  661. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/pack_sdk/__init__.py +0 -0
  662. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/__init__.py +0 -0
  663. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/__init__.py +0 -0
  664. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/capabilities/__init__.py +0 -0
  665. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/capabilities/assertion_extraction.py +0 -0
  666. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/capabilities/claim_extraction.py +0 -0
  667. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/capabilities/compliance_judgment.py +0 -0
  668. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/capabilities/compliance_store.py +0 -0
  669. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/capabilities/requirement_extraction.py +0 -0
  670. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/invokers.py +0 -0
  671. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/mcp/__init__.py +0 -0
  672. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/mcp/compliance_server.py +0 -0
  673. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/ontology/__init__.py +0 -0
  674. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/ontology/compliance_bridge.ttl +0 -0
  675. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/ontology/loader.py +0 -0
  676. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/ontology/packs/ftc_16cfr255.ttl +0 -0
  677. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/pack.py +0 -0
  678. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/schemas/__init__.py +0 -0
  679. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/schemas/compliance.py +0 -0
  680. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/__init__.py +0 -0
  681. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/claim_extraction/SKILL.md +0 -0
  682. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/claim_extraction/__init__.py +0 -0
  683. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/claim_extraction/template.py +0 -0
  684. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/compliance_judgment/SKILL.md +0 -0
  685. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/generic_compliance_judgment/SKILL.md +0 -0
  686. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/requirement_extraction/SKILL.md +0 -0
  687. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/requirement_extraction/__init__.py +0 -0
  688. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/skills/requirement_extraction/template.py +0 -0
  689. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/subgraphs/__init__.py +0 -0
  690. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/subgraphs/compliance_check.py +0 -0
  691. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/subgraphs/compliance_ingestion.py +0 -0
  692. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/compliance/subgraphs/requirement_extraction.py +0 -0
  693. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/__init__.py +0 -0
  694. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/__init__.py +0 -0
  695. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/clause_exception_linking.py +0 -0
  696. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/contract_kg_serve.py +0 -0
  697. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/contract_kg_store.py +0 -0
  698. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/dg_extraction.py +0 -0
  699. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/graph_extraction.py +0 -0
  700. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/highlight_serve.py +0 -0
  701. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/property_boosted_retrieval.py +0 -0
  702. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/query_function_classifier.py +0 -0
  703. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/capabilities/query_understanding.py +0 -0
  704. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/corpus/__init__.py +0 -0
  705. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/corpus/cuad.py +0 -0
  706. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/corpus/cuad_ingestion.py +0 -0
  707. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/corpus/edgar.py +0 -0
  708. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/corpus/gcs_ingestion.py +0 -0
  709. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/corpus/selection.py +0 -0
  710. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/mcp/__init__.py +0 -0
  711. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/mcp/intra_document_qa_server.py +0 -0
  712. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/mcp/relational_qa_server.py +0 -0
  713. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/mcp/session_store.py +0 -0
  714. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/mcp/typed_property_retrieval_server.py +0 -0
  715. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/__init__.py +0 -0
  716. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/_generated_template_meta.py +0 -0
  717. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/_generated_vocab.py +0 -0
  718. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/clause_template.py +0 -0
  719. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/codegen.py +0 -0
  720. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/contract_bridge.ttl +0 -0
  721. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/contract_taxonomy.py +0 -0
  722. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/derive.py +0 -0
  723. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/loader.py +0 -0
  724. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/ontology/template_introspect.py +0 -0
  725. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/options.py +0 -0
  726. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/pack.py +0 -0
  727. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/__init__.py +0 -0
  728. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/contract_meta.py +0 -0
  729. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/function.py +0 -0
  730. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/function_routing.py +0 -0
  731. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/highlight.py +0 -0
  732. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/jurisdiction.py +0 -0
  733. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/ontology.py +0 -0
  734. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/property.py +0 -0
  735. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/query_intent.py +0 -0
  736. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/schemas/value_match.py +0 -0
  737. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/__init__.py +0 -0
  738. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/corpus_ingest/SKILL.md +0 -0
  739. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/SKILL.md +0 -0
  740. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/__init__.py +0 -0
  741. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/guidance/__init__.py +0 -0
  742. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/guidance/chunking.md +0 -0
  743. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/guidance/generation.md +0 -0
  744. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/skills/guidance/relevance.md +0 -0
  745. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/__init__.py +0 -0
  746. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/boundary.py +0 -0
  747. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/clause_function_classifier.py +0 -0
  748. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/clause_kg_extractor.py +0 -0
  749. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/cuad_labels.py +0 -0
  750. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/dim_classifier.py +0 -0
  751. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/dim_fleet.json +0 -0
  752. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/function_classifier.py +0 -0
  753. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/function_families.py +0 -0
  754. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/hybrid_classifier.py +0 -0
  755. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/legalbert_classifier.py +0 -0
  756. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/model_capabilities.py +0 -0
  757. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/new_function_labels.py +0 -0
  758. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/property_extractor.py +0 -0
  759. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/property_grounding.py +0 -0
  760. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/reclassify.py +0 -0
  761. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/residual_candidates.py +0 -0
  762. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/scarce_function_labels.py +0 -0
  763. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/segment.py +0 -0
  764. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/semantic_judge.py +0 -0
  765. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/symbolic_validation.py +0 -0
  766. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/spans/tag_clause_extractor.py +0 -0
  767. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/__init__.py +0 -0
  768. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/async_ingestion.py +0 -0
  769. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/contract_ingestion_pipeline.py +0 -0
  770. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/intra_document_qa.py +0 -0
  771. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/query_constraint_extraction.py +0 -0
  772. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/relational_qa.py +0 -0
  773. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/typed_clause_extraction.py +0 -0
  774. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/contracts/subgraphs/typed_property_retrieval.py +0 -0
  775. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/packs/reference_seam.py +0 -0
  776. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/py.typed +0 -0
  777. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/__init__.py +0 -0
  778. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/generation/SKILL.md +0 -0
  779. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/generation/__init__.py +0 -0
  780. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/rlm/SKILL.md +0 -0
  781. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/rlm/__init__.py +0 -0
  782. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/rlm/agent.py +0 -0
  783. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/span_relevance_judgment/SKILL.md +0 -0
  784. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/vision_to_text/SKILL.md +0 -0
  785. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/skills/vision_to_text/__init__.py +0 -0
  786. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/spans/__init__.py +0 -0
  787. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/spans/page_map.py +0 -0
  788. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/store/__init__.py +0 -0
  789. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/store/arcadedb.py +0 -0
  790. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/store/chunk_text.py +0 -0
  791. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/store/seam.py +0 -0
  792. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/subgraphs/__init__.py +0 -0
  793. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/subgraphs/graph_extraction.py +0 -0
  794. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/subgraphs/observability.py +0 -0
  795. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/subgraphs/scaffold.py +0 -0
  796. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/subgraphs/semantic_chunking.py +0 -0
  797. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/util/__init__.py +0 -0
  798. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/util/concurrent.py +0 -0
  799. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/util/devices.py +0 -0
  800. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/util/pdfium.py +0 -0
  801. {rag_wright-0.19.1 → rag_wright-0.20.1}/src/rag_wright/util/spacy_model.py +0 -0
  802. {rag_wright-0.19.1 → rag_wright-0.20.1}/tasks.md +0 -0
  803. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/__init__.py +0 -0
  804. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/__init__.py +0 -0
  805. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_agent_chat_model.py +0 -0
  806. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_agent_chat_model_live.py +0 -0
  807. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_answers_exports.py +0 -0
  808. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_api_embedder_ps39.py +0 -0
  809. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_bytes_ingest.py +0 -0
  810. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_capability_reexports.py +0 -0
  811. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_decision_swap_doc_example.py +0 -0
  812. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_discover.py +0 -0
  813. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_documents.py +0 -0
  814. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_drop_workspace.py +0 -0
  815. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_drop_workspace_live.py +0 -0
  816. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_e2e.py +0 -0
  817. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_invoke.py +0 -0
  818. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_kg.py +0 -0
  819. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_mcp.py +0 -0
  820. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_metering_tracing_exports.py +0 -0
  821. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_migrate_span_fields.py +0 -0
  822. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_model_role_export.py +0 -0
  823. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_open_workspace_reconfig.py +0 -0
  824. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_options.py +0 -0
  825. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_pack_sdk.py +0 -0
  826. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_pack_sdk_segmenter.py +0 -0
  827. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_pack_store.py +0 -0
  828. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_pdf_page_count.py +0 -0
  829. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_public_gaps_ps38.py +0 -0
  830. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_tracing_helpers_ps32.py +0 -0
  831. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_usage.py +0 -0
  832. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_workspace.py +0 -0
  833. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/api/test_workspace_models.py +0 -0
  834. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/domain_vocabulary_baseline.json +0 -0
  835. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_api_docs_current.py +0 -0
  836. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_doc_references.py +0 -0
  837. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_engine_domain_vocabulary.py +0 -0
  838. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_import_contracts.py +0 -0
  839. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_lock_version.py +0 -0
  840. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_packs_use_store_primitives.py +0 -0
  841. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_pdfium_door.py +0 -0
  842. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/arch/test_shipped_skills.py +0 -0
  843. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/async_helpers.py +0 -0
  844. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/__init__.py +0 -0
  845. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/_fixtures/rlm_probe_skill/SKILL.md +0 -0
  846. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_answer_generator.py +0 -0
  847. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_answer_generator_async.py +0 -0
  848. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_assertion_extraction.py +0 -0
  849. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_authoring_contract.py +0 -0
  850. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_chunk_read.py +0 -0
  851. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_chunk_write.py +0 -0
  852. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_chunking_prompts_neutral.py +0 -0
  853. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_claim_extraction.py +0 -0
  854. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_clause_exception_linking.py +0 -0
  855. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_compliance_judgment.py +0 -0
  856. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_compliance_store.py +0 -0
  857. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_contract_kg_serve.py +0 -0
  858. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_contract_kg_store.py +0 -0
  859. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_contract_kg_store_reads.py +0 -0
  860. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_contract_taxonomy_and_spans.py +0 -0
  861. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_dg_adapter.py +0 -0
  862. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_dg_async.py +0 -0
  863. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_dg_extraction.py +0 -0
  864. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_dg_model_seam.py +0 -0
  865. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_dg_private.py +0 -0
  866. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_disambiguation.py +0 -0
  867. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_document_scope.py +0 -0
  868. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_embedding.py +0 -0
  869. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_embedding_profiles.py +0 -0
  870. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_entity_resolution.py +0 -0
  871. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_entity_rules_plumbing.py +0 -0
  872. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_fusion.py +0 -0
  873. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_graph_extraction.py +0 -0
  874. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_graph_query.py +0 -0
  875. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_graph_storage.py +0 -0
  876. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_highlight_serve.py +0 -0
  877. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_hybrid_search.py +0 -0
  878. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_jev_decision.py +0 -0
  879. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_manifest_validation.py +0 -0
  880. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_manifests.py +0 -0
  881. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_parse_audit.py +0 -0
  882. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_parsing.py +0 -0
  883. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_parties_extraction.py +0 -0
  884. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_property_boosted_retrieval.py +0 -0
  885. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_query_function_classifier.py +0 -0
  886. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_query_understanding.py +0 -0
  887. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_registry.py +0 -0
  888. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_remote_encoders.py +0 -0
  889. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_repair_partition.py +0 -0
  890. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_requirement_extraction.py +0 -0
  891. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_reranking.py +0 -0
  892. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_retrieval_core.py +0 -0
  893. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_rlm_chunking.py +0 -0
  894. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_rlm_chunking_async.py +0 -0
  895. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_rlm_method.py +0 -0
  896. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_rlm_synthesis.py +0 -0
  897. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_runtime_registry.py +0 -0
  898. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_scan_quality.py +0 -0
  899. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_shared_models.py +0 -0
  900. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_span_relevance_judgment.py +0 -0
  901. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_span_search.py +0 -0
  902. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_structural_boundary_discoverer.py +0 -0
  903. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_structural_model_fallback.py +0 -0
  904. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_tag_boundary_discoverer.py +0 -0
  905. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_tiered_ocr.py +0 -0
  906. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/capabilities/test_vlm_ocr.py +0 -0
  907. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/compliance_fakes.py +0 -0
  908. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/conftest.py +0 -0
  909. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/__init__.py +0 -0
  910. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_canonical_source_doc_id.py +0 -0
  911. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_chunk_record.py +0 -0
  912. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_compliance.py +0 -0
  913. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_cuad_highlight_contracts.py +0 -0
  914. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_extraction.py +0 -0
  915. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_function.py +0 -0
  916. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_function_routing.py +0 -0
  917. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_identifiers.py +0 -0
  918. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_ingestion_hooks.py +0 -0
  919. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_jurisdiction.py +0 -0
  920. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_ontology.py +0 -0
  921. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_property.py +0 -0
  922. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_provenance.py +0 -0
  923. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/contracts/test_value_match.py +0 -0
  924. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/__init__.py +0 -0
  925. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/_ooxml_fixtures.py +0 -0
  926. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_canonicalize.py +0 -0
  927. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_cuad.py +0 -0
  928. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_cuad_ingestion.py +0 -0
  929. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_document_parser.py +0 -0
  930. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_edgar.py +0 -0
  931. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_embedded.py +0 -0
  932. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_gcs_ingestion.py +0 -0
  933. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_http.py +0 -0
  934. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_parse_wire2.py +0 -0
  935. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/corpus/test_selection.py +0 -0
  936. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/eval/test_contractnli_judge.py +0 -0
  937. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/eval/test_cuad_highlight_metrics.py +0 -0
  938. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/eval/test_kg_property_rerank.py +0 -0
  939. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/eval/test_nl_to_type_metrics.py +0 -0
  940. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/eval/test_relational_eval.py +0 -0
  941. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/__init__.py +0 -0
  942. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_gold_contracts.py +0 -0
  943. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_gold_import.py +0 -0
  944. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_langfuse_backend.py +0 -0
  945. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_runner.py +0 -0
  946. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_scorer_parity.py +0 -0
  947. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_scorers_a.py +0 -0
  948. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_scorers_b.py +0 -0
  949. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_scorers_c.py +0 -0
  950. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/evals/test_scorers_d.py +0 -0
  951. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/parity.json +0 -0
  952. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/parity_blank.pdf +0 -0
  953. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/parity_cover_with_attachment.pdf +0 -0
  954. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/parity_db_with_a_broken_report.xlsx +0 -0
  955. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/parity_db_with_reports.xlsx +0 -0
  956. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/parity_grid.xlsx +0 -0
  957. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/segmenter_gold.json +0 -0
  958. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/textile_spec_sheet.md +0 -0
  959. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/ingestion/textile_test_report.md +0 -0
  960. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/leg_a_silver/README.md +0 -0
  961. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/leg_a_silver/evidence_snapshot.json +0 -0
  962. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/fixtures/table-bearing-contract.pdf +0 -0
  963. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/foundation/__init__.py +0 -0
  964. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/foundation/test_arcadedb_hybrid.py +0 -0
  965. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/foundation/test_model_seam_structured.py +0 -0
  966. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/__init__.py +0 -0
  967. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/conftest.py +0 -0
  968. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/fabric.py +0 -0
  969. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/__init__.py +0 -0
  970. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/b1.jsonl +0 -0
  971. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/d1.jsonl +0 -0
  972. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/d2.jsonl +0 -0
  973. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/deciders.py +0 -0
  974. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/loom.py +0 -0
  975. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/run.py +0 -0
  976. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/gold/scoring.py +0 -0
  977. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_greenfield_conformance.py +0 -0
  978. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_accounting.py +0 -0
  979. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_agent.py +0 -0
  980. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_batching.py +0 -0
  981. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_brief_routing.py +0 -0
  982. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_clarify.py +0 -0
  983. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_confirm.py +0 -0
  984. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_deadline.py +0 -0
  985. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_decider.py +0 -0
  986. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_deciders.py +0 -0
  987. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_decisions.py +0 -0
  988. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_dispatch.py +0 -0
  989. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_engine_wiring.py +0 -0
  990. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_error_model.py +0 -0
  991. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_events.py +0 -0
  992. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_example.py +0 -0
  993. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_faults.py +0 -0
  994. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_filesystem.py +0 -0
  995. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_genericity.py +0 -0
  996. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_gold.py +0 -0
  997. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_grading.py +0 -0
  998. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_interpreter.py +0 -0
  999. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_live.py +0 -0
  1000. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_memory.py +0 -0
  1001. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_model.py +0 -0
  1002. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_preflight.py +0 -0
  1003. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_public_surface.py +0 -0
  1004. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_recorder.py +0 -0
  1005. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_recording.py +0 -0
  1006. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_routing.py +0 -0
  1007. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_rules.py +0 -0
  1008. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_runs.py +0 -0
  1009. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_seen.py +0 -0
  1010. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_skills.py +0 -0
  1011. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_thinking.py +0 -0
  1012. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_tiers.py +0 -0
  1013. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/harness/test_harness_withhold.py +0 -0
  1014. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/__init__.py +0 -0
  1015. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_aevaluate.py +0 -0
  1016. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_builder.py +0 -0
  1017. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_chunk_discoverer_hook.py +0 -0
  1018. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_concurrency_ceiling.py +0 -0
  1019. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_default_writer_ensures_edges.py +0 -0
  1020. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_document_metadata.py +0 -0
  1021. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_evaluate.py +0 -0
  1022. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_evaluate_labels.py +0 -0
  1023. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_graph_live.py +0 -0
  1024. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_graph_parity.py +0 -0
  1025. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_layout_segmenter.py +0 -0
  1026. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_sheet_continuations.py +0 -0
  1027. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_split_tables.py +0 -0
  1028. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_spreadsheet_content.py +0 -0
  1029. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_table_rows.py +0 -0
  1030. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_tuning.py +0 -0
  1031. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_unit_grouper.py +0 -0
  1032. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_unit_representative.py +0 -0
  1033. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_unreached_rows.py +0 -0
  1034. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ingestion/test_write_count.py +0 -0
  1035. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/journey/incidents_domain.py +0 -0
  1036. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/journey/incidents_pack.ttl +0 -0
  1037. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/journey/test_incidents_journey.py +0 -0
  1038. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/journey/test_pack_schema.py +0 -0
  1039. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/mcp/__init__.py +0 -0
  1040. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/mcp/test_compliance_server.py +0 -0
  1041. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/mcp/test_intra_document_qa_server.py +0 -0
  1042. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/mcp/test_no_model_supplied_tenant.py +0 -0
  1043. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/mcp/test_relational_qa_server.py +0 -0
  1044. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/mcp/test_typed_property_retrieval_server.py +0 -0
  1045. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/__init__.py +0 -0
  1046. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_async_infra.py +0 -0
  1047. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_classifier_heads_load_clean.py +0 -0
  1048. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_model_servers.py +0 -0
  1049. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_models_dir.py +0 -0
  1050. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_no_gemma_default.py +0 -0
  1051. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_profile_routing.py +0 -0
  1052. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_profile_seam.py +0 -0
  1053. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_seam_async.py +0 -0
  1054. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_seam_deadline_and_cap.py +0 -0
  1055. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_seam_event_loops.py +0 -0
  1056. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_seam_retry.py +0 -0
  1057. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_seam_stream.py +0 -0
  1058. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_serving_seam.py +0 -0
  1059. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_serving_wiring.py +0 -0
  1060. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_tag_structured.py +0 -0
  1061. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_tag_structured_async.py +0 -0
  1062. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_tracing.py +0 -0
  1063. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/models/test_usage.py +0 -0
  1064. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/__init__.py +0 -0
  1065. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_clause_template.py +0 -0
  1066. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_compliance_ontology_authoritative.py +0 -0
  1067. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_derivation.py +0 -0
  1068. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_entity_taxonomy.py +0 -0
  1069. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_generated_template_meta_in_sync.py +0 -0
  1070. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_generated_vocab_in_sync.py +0 -0
  1071. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_template_captured_in_ttl.py +0 -0
  1072. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/ontology/test_ttl_is_source_of_truth.py +0 -0
  1073. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/reference/test_compliance_reference.py +0 -0
  1074. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/reference/test_contract_seam.py +0 -0
  1075. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/scripts/test_eval_chunking_ab.py +0 -0
  1076. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/scripts/test_eval_classifier_ab.py +0 -0
  1077. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/scripts/test_fetch_reference_models.py +0 -0
  1078. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/scripts/test_generation_robustness_errors.py +0 -0
  1079. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/skills/__init__.py +0 -0
  1080. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/skills/test_creating_evals_skill_example.py +0 -0
  1081. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/skills/test_ingestion_skill_example.py +0 -0
  1082. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_boundary.py +0 -0
  1083. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_classifier_property_extractor.py +0 -0
  1084. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_clause_classifier_tags_0005.py +0 -0
  1085. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_clause_function_classifier.py +0 -0
  1086. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_clause_function_classifier_async.py +0 -0
  1087. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_clause_kg_extractor.py +0 -0
  1088. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_clause_kg_extractor_async.py +0 -0
  1089. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_dim_classifier.py +0 -0
  1090. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_dim_fleet_live.py +0 -0
  1091. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_function_classifier.py +0 -0
  1092. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_hybrid_classifier.py +0 -0
  1093. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_hybrid_property_extractor.py +0 -0
  1094. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_legalbert_classifier.py +0 -0
  1095. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_model_capabilities.py +0 -0
  1096. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_new_function_labels.py +0 -0
  1097. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_page_map.py +0 -0
  1098. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_property_extractor.py +0 -0
  1099. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_property_grounding.py +0 -0
  1100. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_reclassify.py +0 -0
  1101. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_residual_decision.py +0 -0
  1102. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_scarce_function_labels.py +0 -0
  1103. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_segment.py +0 -0
  1104. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_segmentation_vocab.py +0 -0
  1105. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_semantic_judge.py +0 -0
  1106. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_setfit_clause_adapter.py +0 -0
  1107. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_setfit_probabilities.py +0 -0
  1108. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_span_offsets.py +0 -0
  1109. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_stage_labels_0005.py +0 -0
  1110. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_symbolic_validation.py +0 -0
  1111. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/spans/test_tag_clause_extractor.py +0 -0
  1112. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/__init__.py +0 -0
  1113. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_affiliation_backfill.py +0 -0
  1114. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_arcadedb_clause_kg.py +0 -0
  1115. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_arcadedb_contract.py +0 -0
  1116. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_arcadedb_property.py +0 -0
  1117. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_arcadedb_requirement_sources.py +0 -0
  1118. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_arcadedb_schema.py +0 -0
  1119. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_arcadedb_span.py +0 -0
  1120. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_chunk_text.py +0 -0
  1121. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_concurrent_writes.py +0 -0
  1122. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_contract_kg_store_live.py +0 -0
  1123. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_document_metadata_live.py +0 -0
  1124. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_document_scope.py +0 -0
  1125. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_engine_domain_neutral.py +0 -0
  1126. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_entities_by_name.py +0 -0
  1127. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_contains.py +0 -0
  1128. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_doubles.py +0 -0
  1129. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_edges.py +0 -0
  1130. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_function_namespace_fields.py +0 -0
  1131. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_identifiers.py +0 -0
  1132. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_mutations.py +0 -0
  1133. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_range.py +0 -0
  1134. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_read.py +0 -0
  1135. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_write.py +0 -0
  1136. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_kg_write_ensure_edges.py +0 -0
  1137. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_neutral_schema.py +0 -0
  1138. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_pack_schema_properties.py +0 -0
  1139. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_pooled_client.py +0 -0
  1140. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_store_create_flag.py +0 -0
  1141. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_vector_index_upkeep.py +0 -0
  1142. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/store/test_write_graph_idempotent.py +0 -0
  1143. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/__init__.py +0 -0
  1144. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_async_ingestion.py +0 -0
  1145. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_chunk7_structure_carry.py +0 -0
  1146. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_clause_results.py +0 -0
  1147. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_compliance_check.py +0 -0
  1148. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_compliance_ingestion.py +0 -0
  1149. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_contract_ingestion_pipeline.py +0 -0
  1150. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_contract_ingestion_pipeline_async.py +0 -0
  1151. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_contract_ingestion_pipeline_graph_async.py +0 -0
  1152. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_contract_write_retry.py +0 -0
  1153. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_graph_extraction.py +0 -0
  1154. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_ingest_knobs.py +0 -0
  1155. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_ingest_segment_classify.py +0 -0
  1156. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_intra_document_qa.py +0 -0
  1157. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_observability.py +0 -0
  1158. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_partial_entry_contract.py +0 -0
  1159. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_query_constraint_extraction.py +0 -0
  1160. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_relational_qa.py +0 -0
  1161. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_requirement_extraction.py +0 -0
  1162. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_scaffold.py +0 -0
  1163. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_semantic_chunking.py +0 -0
  1164. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_typed_clause_extraction.py +0 -0
  1165. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/subgraphs/test_typed_property_retrieval.py +0 -0
  1166. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/test_backfill_clause_span_id.py +0 -0
  1167. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/test_dg_model_ab.py +0 -0
  1168. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/test_populate_clause_kg.py +0 -0
  1169. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/test_populate_entity_graph.py +0 -0
  1170. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/util/__init__.py +0 -0
  1171. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/util/test_concurrent.py +0 -0
  1172. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/util/test_devices.py +0 -0
  1173. {rag_wright-0.19.1 → rag_wright-0.20.1}/tests/util/test_spacy_model.py +0 -0
@@ -93,7 +93,7 @@ and to verify it, not to build it again; a product that cards them as its own wo
93
93
  | tracing, metering, the run's duration | **the tier's** (`accounted_run`, `harness_tracing_on`, `spend`), on the engine's configuration; the `accounting` object is yours |
94
94
  | the event contract | **the tier's** `translate`: `stream_run`'s items become `RunEvent`s; your client routes on their names |
95
95
  | the agent's skills | **yours**: `AgentPrompts.skills` is `{path: text}`, so keep the files anywhere version-controlled and load them |
96
- | your rules, decision points, gold sets, the replay test against YOUR asking tools | **yours**; the grading, the ledger and the instruments are the tier's |
96
+ | your rules, decision points, gold sets, the replay test against YOUR asking tools | **yours**; the grading, the ledger and the instruments are the tier's: declare `rules` and pass `grading=Grading(on_evaluation)` to `build_chat_agent`, and every tier with a rule (the chat-manager included) is recorded and graded |
97
97
 
98
98
  **The order, consuming:** pin the tier's surface; the context and the entry point; the tool surface; one tier
99
99
  end to end, live; your checkpointer; your rules, decision points and gold sets; then measure, and tune your
@@ -431,6 +431,8 @@ not an error, and raising would put a foreign identifier on the model's path ins
431
431
  an asking tool must reach a person every time); key it on the **run**, not the dispatch (a worker
432
432
  re-dispatched asks the same question in different words, and a dispatch-scoped record matches nothing);
433
433
  and remember that what prevents a wrong answer is the **subject** check, not which brief did the asking.
434
+ **Every tier carries it, the chat-manager included** (PS-73): a chat-manager with direct tools and no
435
+ orchestrator cycled five identical calls until the run's call limit stopped it.
434
436
  2. **Progressive disclosure for the rare procedure.** What a tier needs on every turn belongs in its prompt
435
437
  and must stay decisive at the margin. What it needs occasionally - how to batch a clarification, which
436
438
  arises only when a worker comes back blocked - belongs in a skill it sees as a name and one line until it
@@ -535,6 +537,16 @@ its own decision reports an intention.
535
537
 
536
538
  ## Grading your own runs
537
539
 
540
+ **If you consume the tier, the grader is built for you.** Declare your rules on `AgentDefinition.rules` and pass
541
+ `grading=Grading(on_evaluation=...)` to `build_chat_agent`: each tier with a rule of its own (`chat-manager`,
542
+ `orchestrator`, `worker`) is recorded and graded when it finishes, and its verdict arrives tagged with the tier.
543
+ What stays yours is the rules themselves, delivering each `instruction` into its tier's prompt, and a test that it is
544
+ there (`instructions_for`). The rest of this section is why the grader is built the way it is.
545
+
546
+ **Grading checks how a run behaved, not whether its answer was the right kind.** A rule holds or breaks the same way
547
+ for every question. Whether a question should have been answered, refused or declined differs per question, so it
548
+ is a gold set scored with `arun_eval` and `score_classification`, not a rule.
549
+
538
550
  **Keep each rule as ONE object holding both the sentence the model reads and the question the grader is
539
551
  asked.** They are deliberately different sentences for different readers - the model is told what to do, the
540
552
  grader is asked what happened - and keeping them on one object is what stops them drifting into two copies of
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.20.1"
3
+ }
@@ -4,6 +4,20 @@ 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.20.1](https://github.com/fzaidi-dai/RAG_Wright/compare/0.20.0...0.20.1) (2026-11-21)
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * **PS-73:** the chat-manager answers an identical repeat from the run's record ([f4e5544](https://github.com/fzaidi-dai/RAG_Wright/commit/f4e554470936b7eafa8b0b27d954fc7f4e86426a))
13
+
14
+ ## [0.20.0](https://github.com/fzaidi-dai/RAG_Wright/compare/0.19.1...0.20.0) (2026-11-20)
15
+
16
+
17
+ ### Features
18
+
19
+ * **PS-72:** rules and grading on every tier, the chat-manager included ([6e02375](https://github.com/fzaidi-dai/RAG_Wright/commit/6e02375838d4c15a01b6f36c8718fd2032757912))
20
+
7
21
  ## [0.19.1](https://github.com/fzaidi-dai/RAG_Wright/compare/0.19.0...0.19.1) (2026-11-20)
8
22
 
9
23
 
@@ -55,7 +55,13 @@ 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-14): `rag-wright` 0.19.0 is RELEASED** (PR #26; the harness-decisions workstream HD-1..10,
58
+ > **CURRENT STATE (2026-11-20): `rag-wright` 0.20.0 is RELEASED** (PR #28; PS-72, TexWright's query: rules and
59
+ > grading on every tier, the chat-manager included: `build_chat_agent(..., grading=Grading(on_evaluation=...))`
60
+ > records and grades each tier with a rule; `Tier` gains `chat-manager`; `Grading`, `broken`, `instructions_for`
61
+ > public). Next: EV-7, PS-30, PS-33. Before it, **`rag-wright` 0.19.1 is RELEASED** (PR #27; docs only: PS-69 the harness guide for a
62
+ > product consuming the tier, with `examples/harness_quickstart.py` run by the tests; PS-70 the consumer playbook's
63
+ > agent paragraph; PS-71 TexWright's note before T-6, `docs/specs/public-surface/texwright-building-on-the-harness.md`).
64
+ > Next: EV-7, PS-30, PS-33. Before it, **`rag-wright` 0.19.0 is RELEASED** (PR #26; the harness-decisions workstream HD-1..10,
59
65
  > `docs/specs/harness-decisions/plan.md`, ADR-0146: the harness routes D1 (the chat-manager's turn), B1 (a verbatim
60
66
  > brief) and D2 (the orchestrator's workers) with its own decision model, Jev, at configurable `RoutingThresholds`;
61
67
  > `routing=None` turns it off; `ModelProfile.forced_tool_choice`; guide
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: rag-wright
3
- Version: 0.19.1
3
+ Version: 0.20.1
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
@@ -298,6 +298,12 @@ Examples: !!! example "Retry on error"
298
298
 
299
299
  ```python async def awrap_model_call(self, request, handler): for attempt in range(3): try: return await handler(request) except Exception: if attempt == 2: raise ```
300
300
 
301
+ ### `Grading(on_evaluation: 'Callable[[dict[str, Any]], Any]', model: 'Any' = None) -> None`
302
+
303
+ A product's request that a run be graded against its definition's rules (PS-72). Opt-in, per run.
304
+
305
+ Passed to `build_chat_agent` (or `build_orchestrator`), it records and grades every tier the definition has a rule for -- the chat-manager, the orchestrator and each worker -- and hands each verdict to `on_evaluation`, tagged with `tier` (`chat-manager`, `orchestrator`, or the worker's name). A tier with no rule of its own is not graded, so no grader call judges nothing. `model`, when given, is the grader's model; otherwise the grader uses the product's configured one (`definition.model_id_for`).
306
+
301
307
  ### `GradeThisTier(tier: 'Tier', recording: 'dict[str, Any]', settings: 'Any', *, model: 'Any' = None, on_evaluation: 'Any' = None, consulted: 'list[dict[str, Any]] | None' = None, deadline: 'float' = 120.0, attempt: 'float' = 25.0, retry_on: 'tuple[type[BaseException], ...]' = (), model_id: 'str | None' = None, rules: 'tuple[Any, ...]' = ()) -> 'None'`
302
308
 
303
309
  Grade one tier against ITS OWN rules, holding the rubric rather than storing it.
@@ -600,7 +606,7 @@ So the scope is part of the key rather than a comparison somebody must remember
600
606
 
601
607
  The run id stays the PUBLIC identity: it is what `usage_run.correlation_id` joins on and what a client keeps to reconnect. The thread id is ours and never leaves the process.
602
608
 
603
- ### `build_chat_agent(context: 'RunScope', resources: 'Any', settings: 'Any', *, model: 'Any' = None, definition: 'Any', checkpointer: 'Any' = None, store: 'Any' = None, ledger: 'Any' = None) -> 'Any'`
609
+ ### `build_chat_agent(context: 'RunScope', resources: 'Any', settings: 'Any', *, model: 'Any' = None, definition: 'Any', checkpointer: 'Any' = None, store: 'Any' = None, ledger: 'Any' = None, grading: 'Grading | None' = None) -> 'Any'`
604
610
 
605
611
  The chat-manager for one run, holding the manifest bound to that run's scope.
606
612
 
@@ -610,7 +616,7 @@ The chat-manager for one run, holding the manifest bound to that run's scope.
610
616
 
611
617
  **The checkpointer defaults to in-memory, which is a real limitation.** A run outlives the view that started it, and an in-memory saver does not outlive the process. A durable checkpointer is the caller's to pass, and re-attaching to a run by id is the requirement that forces it.
612
618
 
613
- ### `build_orchestrator(context: 'Any', resources: 'Any', settings: 'Any', *, model: 'Any' = None, tools: 'Any' = None, system_prompt: 'str | None' = None, extra_middleware: 'list | None' = None, definition: 'Any', checkpointer: 'Any' = None, store: 'Any' = None, ledger: 'Any' = None) -> 'Any'`
619
+ ### `build_orchestrator(context: 'Any', resources: 'Any', settings: 'Any', *, model: 'Any' = None, tools: 'Any' = None, system_prompt: 'str | None' = None, extra_middleware: 'list | None' = None, definition: 'Any', checkpointer: 'Any' = None, store: 'Any' = None, ledger: 'Any' = None, grading: 'Any' = None) -> 'Any'`
614
620
 
615
621
  The planning tier, compiled as an agent in its own right.
616
622
 
@@ -816,6 +822,16 @@ The rule a grader's criterion name refers to, or `None` if it matches nothing we
816
822
 
817
823
  **`None` is a real answer and must not be discarded.** A grader that returns a criterion we never wrote is either hallucinating one or renaming ours past recognition; either way the verdict cannot be scored, and silently dropping it would leave a rule looking permanently clean.
818
824
 
825
+ ### `broken(recording: 'dict[str, Any]', *, tier: 'Tier', rules: 'tuple[Rule, ...]' = ()) -> 'dict[str, str]'`
826
+
827
+ Which rules this recording breaks, and the gap for each. `{}` means it held to all of them.
828
+
829
+ **Reports rather than enforces.** This is the base-rate measurement that has to exist before any revision loop is turned on -- otherwise "the rubric helped" is unfalsifiable.
830
+
831
+ ### `instructions_for(tier: 'Tier', rules: 'tuple[Rule, ...]' = ()) -> 'Sequence[str]'`
832
+
833
+ The sentences a tier is actually told, in the words the model reads them in.
834
+
819
835
  ### `every_call(sink: 'dict[str, Any]') -> 'list[dict[str, Any]]'`
820
836
 
821
837
  Every tool call the agent made, in order, **with its arguments** and the turn it was made on.
@@ -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
- 78 public names; `AgentDefinition` has 16 fields (15 required; optional: `routing`); `AgentPrompts` has 11 fields, every one required.
10
+ 81 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:
@@ -66,11 +66,11 @@ workers. A derived value crossing the boundary would become a convention the nex
66
66
  | `message_for` | `Any` | `(error) -> str \| None`: what the model is told about a failure, or `None` to let it surface. Never asked about a failure in `retry_on`: that one is retried, and surfaces once the retries are spent. |
67
67
  | `model_id_for` | `Any` | `(settings) -> str`: the ENGINE model id this product's agent reasons with (a registered profile's key). A model id is configuration: adopting a better model is a new profile and a changed setting. |
68
68
  | `prompts` | `AgentPrompts` | Every word this product says to its model (`AgentPrompts`). |
69
- | `repeatable` | `frozenset[str]` | Tools whose answer is the same twice in one run, so a repeat can be served from the record. |
69
+ | `repeatable` | `frozenset[str]` | Tools whose answer is the same twice in one run, so a repeat is served from the record, on every tier: the chat-manager, the orchestrator and each worker (PS-73). A tool not listed runs every time it is called. |
70
70
  | `question_argument` | `dict[str, str]` | `{tool: argument}` -- which argument carries a QUESTION, so two phrasings of one ask are one ask. |
71
71
  | `framings` | `tuple[str, ...]` | Tools that FRAME a request rather than answer it, for the framing decision point. |
72
72
  | `carry_forward` | `Any` | `(record, tool, content) -> content \| None`, or `None`: the product's chance to amend a result in the light of what this run already found. `None` amends nothing. |
73
- | `rules` | `tuple[Any, ...]` | The rules this product holds its own runs to. The grading machinery is the substrate's; the rubric is not. |
73
+ | `rules` | `tuple[Any, ...]` | The rules this product holds its own runs to (`Rule`). The grading machinery is the substrate's; the rubric is not. Read by the builders when a run is given `grading=` (PS-72): each tier with a rule is recorded and graded. |
74
74
  | `decision_points` | `tuple[Any, ...]` | The decisions a run of this product takes; the ledger reads each point's option space from here. |
75
75
  | `read_framing` | `Any` | `(tool_name, parsed_result) -> {chose, confidence, inputs} \| None`: how this product reads its own framing tool's reply. |
76
76
  | `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). |
@@ -277,14 +277,36 @@ The order matters:
277
277
  measure decoupling, which is a different property. The engine's is the fabric product in
278
278
  `tests/harness/fabric.py`, whose scope is three parts deep; the harness's own behaviour tests run against it.
279
279
  2. **Guards on the consequence** of each permissive default (section 6), each proved by planting.
280
- 3. **Your own rules and decision points**, graded by the substrate against the registries you declared.
281
-
282
- **Recording a run, and grading it.** `RecordTheContext(sink, label)` is a middleware that writes what a tier was
283
- given and what it did, turn by turn, into `sink`: the system prompt, every message, every tool call with its
284
- arguments, the briefs it was dispatched with, and tokens per turn. That recording is what the rule detectors read
285
- (`rules.broken`) and what the grader's evidence tool reads (`grading_middleware(tier, sink, settings, rules=...)`),
286
- so attach the recorder to every tier you grade. `every_call`, `spend`, `compare` and `transcript` read it back:
287
- `compare(alone, orchestrated)` is the one table that says whether a worker costs the same under a parent as alone.
280
+ 3. **Your own rules and decision points**, graded by the substrate against the registries you declared (below).
281
+
282
+ **Grading a run against your rules.** Declare each rule on `AgentDefinition.rules` as a `Rule` (`id`,
283
+ `applies_to`, the `instruction` the model reads, the `criterion` the grader checks, and a `detect` function when it
284
+ can be counted), and pass `grading=Grading(on_evaluation=...)` to `build_chat_agent`. Every tier with a rule of its
285
+ own -- the chat-manager, the orchestrator, each worker -- is then recorded and graded when it finishes, and each
286
+ verdict reaches `on_evaluation` carrying its `tier` (`chat-manager`, `orchestrator`, or the worker's name). A tier
287
+ with no rule is not graded, and without `grading` nothing is built. Each graded tier costs a grader call (two when
288
+ it reads its evidence first) every time it finishes, a worker each time it is dispatched, so grade evals and
289
+ sampled runs rather than every served one. `applies_to` names `chat-manager`,
290
+ `orchestrator` or `worker`; the orchestrator holds an interpreter, so a rule about its programs names `orchestrator`
291
+ (with `coded`, for an eval that grades a coded arm it drives itself). Grading observes and never changes the run: a
292
+ grader that fails or overruns reports `GRADER_ERROR` and the run is untouched. `Grading(model=...)` sets the grader's
293
+ model; otherwise it is your `model_id_for`.
294
+
295
+ **A rule's instruction is yours to deliver.** Put it in the prompt of the tier it applies to (`carried_by` records
296
+ where), and test that it is there: `instructions_for(tier, rules)` lists what each tier must be told, and
297
+ `broken(recording, tier=, rules=)` runs the detectors over a recording offline, with no grader.
298
+
299
+ **Grading is not answer scoring.** A rule is a property of how a run behaved (an answer came from a tool, a worker was
300
+ dispatched once), and its verdict says whether the run kept it. Whether an answer was the right kind for a question
301
+ (answered, refused, declined) is an eval: a gold set holding each question's expected class, run with `arun_eval`
302
+ and scored with `score_classification` (`docs/evals.md`).
303
+
304
+ **Recording a run.** `RecordTheContext(sink, label)` is the middleware grading attaches: it writes what a tier was
305
+ given and what it did, turn by turn, into `sink` -- the system prompt, every message, every tool call with its
306
+ arguments, the briefs it was dispatched with, and tokens per turn -- and that recording is what the detectors and the
307
+ grader's evidence tool read. An eval that builds its own agent attaches it with `grading_middleware(tier, sink,
308
+ settings, rules=...)`. `every_call`, `spend`, `compare` and `transcript` read a recording back: `compare(alone,
309
+ orchestrated)` is the one table that says whether a worker costs the same under a parent as alone.
288
310
 
289
311
  **Causing a failure on demand.** A failure seen once, live, cannot be regression-tested. `InjectFaults(*faults, seed=)` is a middleware that causes one deterministically: `Fault(nth_model_call=2, delay_s=...)` slows the second model call of a run, `Fault(tool="my_tool", raises=MyError)` fails a tool, and `empty=` / `truncate_to=` spoil a response; `probability=` draws from the seeded generator, and `fired` lists the calls it landed on. It causes the condition, never the model's decision, which the run's decision ledger records. Put it after `error_middleware(...)` in an eval's own agent (or `build_orchestrator(..., extra_middleware=)`), never in an agent you serve: nothing in the engine installs it.
290
312
 
@@ -142,4 +142,6 @@ in two at the PS-6 gate so the store rewrite is its own visible task. One task,
142
142
  | PS-69 | The harness guide read as a new product would (TexWright, before T-6): the `building-an-agent-harness` skill and `docs/harness.md` end to end, checked against TexWright's carded T-6.0..T-6.7; fix what is missing, out of order, stale since 0.19 or in RuleWright's terms; a worked example a test executes, as the ingestion skill has | the example runs in the suite; doc guards green; a findings list with each fixed or given an owner | done (2026-11-20, approved; 2026-11-19: `examples/harness_quickstart.py` + 2 tests, scope violation planted and caught; live on qwen3.8-27b-modal-or, a direct and a delegated question both correct; skill gains "If you consume the tier", stale routing claims fixed; `docs/harness.md` routing optional, `resources`/`settings` explained) |
143
143
  | PS-70 | The consumer playbook's "Agents" paragraph (`using-the-rag-wright-engine`) brought to 0.19: routing named as the tier's, pointers to `examples/harness_quickstart.py`, `docs/harness.md` and the harness skill's "If you consume the tier" | doc guards green | done (2026-11-20, approved with "go ahead with PS-70, then push") |
144
144
  | PS-71 | A note for TexWright before T-6 (`texwright-building-on-the-harness.md`), in the migration-guide style: what to read in which order, and which T-6 cards the tier already ships (T-6.6, T-6.2b, T-6.2e, part of T-6.2f, T-6.0) and what stays theirs | every symbol named is on `rag_wright.harness` 0.19.0; doc guards green | done (2026-11-20, approved) |
145
+ | PS-72 | Rules and grading reach every tier (TexWright's query `2026-11-20-rules-and-grading-on-a-chat-only-tier.md`): `Tier` gains a chat-manager value; the builders (`build_chat_agent`, `build_orchestrator`, workers via `worker_spec(definition=)`) read `definition.rules` and attach `GradeThisTier` themselves when the product passes a verdict sink (opt-in; nothing graded otherwise); `instructions_for` and `broken` join `rag_wright.harness.__all__`. With it, the docs fix: the harness skill's "If you consume the tier" row claiming grading is the tier's (wrong today: the product splices it, and cannot on the chat-manager), the `AgentDefinition.rules` comment, and `docs/harness.md`; the skill's grading section says a behaviour-class gold is an `arun_eval` + `score_classification` eval, not grading. Additive (feat) | a chat-manager-only definition with a rule graded through the built tier (scripted grader), and a violation planted and caught; no sink, no grader built; the public-surface guard updated; doc guards green; live: one graded chat run | done (2026-11-20, approved; `Grading` on `build_chat_agent` / `build_orchestrator` records and grades each tier with a rule; `Tier` gains `chat-manager`; `broken`, `instructions_for`, `Grading` public; 8 tests, two violations planted and caught; harness+arch+skills 562 passed; live on qwen3.8-27b-modal-or: a tool-answered question `satisfied`, a memory-answered one `needs_revision` on `answers-from-a-tool`) |
146
+ | PS-73 | Repeat suppression on the chat-manager (TexWright's request `2026-11-21-the-chat-manager-has-no-repeat-suppression.md`): `build_chat_agent` carries the run record and its readers, as the orchestrator does since PS-32 (`OneAnswerPerTurn`, `RememberWhatWasCalled`, the filesystem signpost given the record), its own record, as the orchestrator and each worker keep theirs (sharing one across tiers would change the product's worker factory; not needed for the defect). Opt-in per tool, as today (`AgentDefinition.repeatable`). Docs: `docs/harness.md`, the harness skill. Fix | hermetic: a scripted chat-manager cycling five identical calls runs each tool once and every repeat is answered from the record; a tool not in `repeatable` runs every time; one response repeating a call runs it once; the middleware audit updated; a planted removal fails; live: a question whose answer is not recorded, call count and input tokens before and after, and a loop that still cycles to the limit is fixed in this task | done (2026-11-21, approved; `build_chat_agent` carries `remembering(definition)` (renamed from `_remembering`, shared by both builders); 3 tests red before the fix; harness+arch+skills 565 passed; live on qwen3.8-27b-modal-or: unscripted the model never repeated (no regression, 4 model / 11 tool calls before and after); TexWright's cycle scripted then the real model: 15 tool runs before, 10 after with 5 repeats answered from the record, and the model answered in 5 model calls without cycling) |
145
147
  | PS-48 | Port the agent harness's substrate behaviour tests from RuleWright onto the engine's fabric fixture (ADR-0139 handover): of RuleWright's 553 harness-touching tests, 314 test the substrate (port), 213 RuleWright's composition (stay), 25 live (1 substrate: OpenRouter cost accounting). Seven gated sub-tasks: **a** shared `tests/harness/fabric.py` + scripting/slow/hanging/failing fake models + `InMemorySaver` helpers, then events, skills, clarify (~23); **b** models and errors (~42); **c** runs, confirm, continuation (~32); **d** decisions and rules (~51); **e** grading (~32); **f** seen and memory (~41); **g** workers, batch, dispatch, tiers, agent wiring, filesystem, interpreter, withhold + the live accounting test (~93, may split). Ambiguous tests split, not moved whole; a ported test failing on engine code is a substrate defect fixed in that sub-task; deadline globals via monkeypatch; no new dependencies. Follow-up (owner RuleWright): retire its substrate duplicates once ported | each sub-task's ported tests green on the fabric fixture | done: **a done** (2026-11-12: `tests/harness/fabric.py` + `scripted()`; 26 ported: events 16, skills 3, clarify 7; 5 stay in RuleWright; found and fixed: `AgentPrompts` refuses a skill deepagents would skip, ADR-0139 amendment; the slow/hanging/failing fakes move with b's tests); **b done** (2026-11-12: 36 ported: model 16, deadline 13, error wiring 7; 11 stay in RuleWright, its prompt-gating source check covered by `tests/models/test_tracing.py`; found and fixed: a failure in both `retry_on` and `message_for` was never retried, ADR-0139 amendment; fabric now retries `MillIsOffline` and explains `UnknownComposition`); **c done** (2026-11-12: 26 ported: runs 12, confirm the view 11, the view through the door 3; 18 stay in RuleWright (its context, route, `view_subject`, renderer and prompt); fabric gained `FabricView` and `slow_from()`; found and fixed: a model passed to `build_chat_agent` now reaches the orchestrator tier too, ADR-0139 amendment; a bare `ToolRuntime` warns, the shipped skill teaches `ToolRuntime[MyContext]`. For RuleWright's guide: its scripted `build_chat_agent(model=)` callers become fully scripted; type its tools' runtime); **d done** (2026-11-12: 51 ported: decisions 42, rules 9, +1 new; 16 stay in RuleWright (its D1-D10 table, its registry and prompts, its committed run recordings); fabric gained two framings and a confidence-bearing framing reader; found and fixed: the id detector hardcoded `read_compliance_check(check_id)`, now `guessed_identifiers({tool: argument})`, ADR-0139 amendment, BREAKING for RuleWright's `agent/rules.py` (one line, needed now: it runs the editable checkout); open: move `RecordTheContext` into the harness, proposed for e); **e done** (2026-11-12: new engine module `rag_wright.harness.recording` (the recorder + `every_call`/`spend`/`compare`/`transcript`/`describe`), exported with the grading names; 49 ported: recorder 13, grading 31, and d's 4 evidence/shape rules tests on recordings the engine's recorder made from fabric runs; fabric holds the rule registry and three recorded runs). Added (user, 2026-11-12: the harness is core, migrate fully): **h** harness eval tooling -- RuleWright's `evals/faults.py` (18 tests) and `evals/preflight.py` (9, taking the product's definition) into the engine; **i** the public surface -- the ~10 names products reach through submodules (`WhatTheRunDecided`, `RecordTheDecisions`, `build_worker`, `withhold`, `ConfirmTheView`, `run_key`, `harness_tracing_on`, `bridged_tools`, `DISPATCHES_PER_RUN`, ...) exported and documented, with a guard. For RuleWright's guide: import the recorder from the engine and delete `evals/recording.py`; **f done** (2026-11-13: 57 ported: seen 41, memory 16; the memory guard now reads the whole engine source and asserts it read something (RuleWright's scanned a folder that no longer existed); found and fixed: `answered_nothing` named one product's count keys, now every integer `*_count` field decides, ADR-0139 amendment); **g split into g1/g2**; **g1 done** (2026-11-13: 62 ported + 11 new: workers 23, tiers 13, batching 14, dispatch 18, agent 5; fabric's worker holds one operation and is built with `definition=`; found and fixed: a passed model kept the catch-all `general-purpose` subagent, `worker_filesystem_note` was read by nothing, `SkillsMiddleware` was unclassified in the worker audit, ADR-0139 amendment. For RuleWright's guide: its scripted tiers lose `general-purpose`; its hand-pasted worker note can go); **g2 done** (2026-11-13: 35 ported + 5 new: filesystem 13, interpreter 12, withhold 9, live cost read-back 1 (live: 3 OpenRouter calls, $0.0027); found and fixed: the orchestrator could not read its own skills (the signpost redirected `/skills/`), `filesystem.OWN_ROOTS` is the one list and `rules.OWN_FILESYSTEM` derives from it, ADR-0139 amendment. For RuleWright's guide: retire the ported tests; its orchestrator now reads its seeded skills). g done; **h done** (2026-11-13: new engine modules `harness.faults` (`Fault`, `InjectFaults`) and `harness.preflight` (`what_will_run(definition, context)`, `report`, `stub_orchestrator`, `only_the_chat_manager(definition)`), exported; 26 ported + 7 new: faults 20, preflight 12; a guard that nothing in the engine constructs an injector; ADR-0139 amendment. Found: `RecordTheDecisions(worker_names=)` is never read, removal in i. For RuleWright's guide: import these from `rag_wright.harness`, delete `evals/faults.py`, `evals/preflight.py` and the stub half of `evals/routing.py`); **i done** (2026-11-13: 17 names RuleWright's code reached through submodules exported (`__all__` 60 -> 77); guard `tests/harness/test_harness_public_surface.py` (fabric imports no submodule, no doc shows one, the product's names stay exported); `RecordTheDecisions(worker_names=)` removed, BREAKING, never read; ADR-0139 amendment). **PS-48 DONE.** Next: push, then RuleWright's migration guide |
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "rag-wright"
3
- version = "0.19.1"
3
+ version = "0.20.1"
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"
@@ -93,7 +93,7 @@ and to verify it, not to build it again; a product that cards them as its own wo
93
93
  | tracing, metering, the run's duration | **the tier's** (`accounted_run`, `harness_tracing_on`, `spend`), on the engine's configuration; the `accounting` object is yours |
94
94
  | the event contract | **the tier's** `translate`: `stream_run`'s items become `RunEvent`s; your client routes on their names |
95
95
  | the agent's skills | **yours**: `AgentPrompts.skills` is `{path: text}`, so keep the files anywhere version-controlled and load them |
96
- | your rules, decision points, gold sets, the replay test against YOUR asking tools | **yours**; the grading, the ledger and the instruments are the tier's |
96
+ | your rules, decision points, gold sets, the replay test against YOUR asking tools | **yours**; the grading, the ledger and the instruments are the tier's: declare `rules` and pass `grading=Grading(on_evaluation)` to `build_chat_agent`, and every tier with a rule (the chat-manager included) is recorded and graded |
97
97
 
98
98
  **The order, consuming:** pin the tier's surface; the context and the entry point; the tool surface; one tier
99
99
  end to end, live; your checkpointer; your rules, decision points and gold sets; then measure, and tune your
@@ -431,6 +431,8 @@ not an error, and raising would put a foreign identifier on the model's path ins
431
431
  an asking tool must reach a person every time); key it on the **run**, not the dispatch (a worker
432
432
  re-dispatched asks the same question in different words, and a dispatch-scoped record matches nothing);
433
433
  and remember that what prevents a wrong answer is the **subject** check, not which brief did the asking.
434
+ **Every tier carries it, the chat-manager included** (PS-73): a chat-manager with direct tools and no
435
+ orchestrator cycled five identical calls until the run's call limit stopped it.
434
436
  2. **Progressive disclosure for the rare procedure.** What a tier needs on every turn belongs in its prompt
435
437
  and must stay decisive at the margin. What it needs occasionally - how to batch a clarification, which
436
438
  arises only when a worker comes back blocked - belongs in a skill it sees as a name and one line until it
@@ -535,6 +537,16 @@ its own decision reports an intention.
535
537
 
536
538
  ## Grading your own runs
537
539
 
540
+ **If you consume the tier, the grader is built for you.** Declare your rules on `AgentDefinition.rules` and pass
541
+ `grading=Grading(on_evaluation=...)` to `build_chat_agent`: each tier with a rule of its own (`chat-manager`,
542
+ `orchestrator`, `worker`) is recorded and graded when it finishes, and its verdict arrives tagged with the tier.
543
+ What stays yours is the rules themselves, delivering each `instruction` into its tier's prompt, and a test that it is
544
+ there (`instructions_for`). The rest of this section is why the grader is built the way it is.
545
+
546
+ **Grading checks how a run behaved, not whether its answer was the right kind.** A rule holds or breaks the same way
547
+ for every question. Whether a question should have been answered, refused or declined differs per question, so it
548
+ is a gold set scored with `arun_eval` and `score_classification`, not a rule.
549
+
538
550
  **Keep each rule as ONE object holding both the sentence the model reads and the question the grader is
539
551
  asked.** They are deliberately different sentences for different readers - the model is told what to do, the
540
552
  grader is asked what happened - and keeping them on one object is what stops them drifting into two copies of
@@ -23,7 +23,7 @@ from rag_wright.harness.definition import AgentDefinition, AgentPrompts, Routing
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
26
- from rag_wright.harness.grading import GRADER_ERROR, GradeThisTier, Verdict, grading_middleware, rule_tools
26
+ from rag_wright.harness.grading import GRADER_ERROR, GradeThisTier, Grading, Verdict, grading_middleware, rule_tools
27
27
  from rag_wright.harness.interpreter import bridged_tools, js_name
28
28
  from rag_wright.harness.memory import MemoryWithoutTenancy, scope_namespace_of, shared_namespace_of
29
29
  from rag_wright.harness.models import agent_chat_model
@@ -38,8 +38,10 @@ from rag_wright.harness.recording import RecordTheContext, compare, describe, ev
38
38
  from rag_wright.harness.rules import (
39
39
  Rule,
40
40
  blocked_without_saying_what_it_needs,
41
+ broken,
41
42
  dispatched_more_than_once,
42
43
  guessed_identifiers,
44
+ instructions_for,
43
45
  reached_for_the_filesystem,
44
46
  rule_named,
45
47
  wrote_a_program_for_a_single_call,
@@ -88,12 +90,12 @@ __all__ = [
88
90
  "ModelTooSlow", "ModelAttemptTooSlow", "ModelTurnTooSlow", "error_middleware",
89
91
  # the rules a run is graded against, and the decisions it records
90
92
  "Rule", "dispatched_more_than_once", "reached_for_the_filesystem", "wrote_a_program_for_a_single_call",
91
- "guessed_identifiers", "blocked_without_saying_what_it_needs", "rule_named", "DecisionPoint", "ANY_WORKER",
93
+ "guessed_identifiers", "blocked_without_saying_what_it_needs", "rule_named", "broken", "instructions_for", "DecisionPoint", "ANY_WORKER",
92
94
  "WhatTheRunDecided", "RecordTheDecisions",
93
95
  "ORCHESTRATING_PATH",
94
96
  # what a run did, recorded; and grading it against the rules
95
97
  "RecordTheContext", "every_call", "spend", "compare", "transcript", "describe",
96
- "GradeThisTier", "grading_middleware", "rule_tools", "Verdict", "GRADER_ERROR",
98
+ "Grading", "GradeThisTier", "grading_middleware", "rule_tools", "Verdict", "GRADER_ERROR",
97
99
  # an eval's instruments: faults on demand, and what a run will build
98
100
  "Fault", "InjectFaults", "WhatWillRun", "what_will_run", "only_the_chat_manager", "stub_orchestrator",
99
101
  "STUB_ORCHESTRATOR_REPLY",
@@ -27,7 +27,7 @@ from rag_wright.harness.decider import Decider
27
27
  from rag_wright.harness.decisions import RecordTheDecisions, WhatTheRunDecided
28
28
  from rag_wright.harness.dispatch import dispatch_bound
29
29
  from rag_wright.harness.errors import error_middleware
30
- from rag_wright.harness.filesystem import TheSubjectIsNotAFilesystem
30
+ from rag_wright.harness.grading import Grading, graded
31
31
  from rag_wright.harness.memory import (
32
32
  MEMORY_SOURCES,
33
33
  build_memory_backend,
@@ -36,7 +36,7 @@ from rag_wright.harness.memory import (
36
36
  from rag_wright.harness.models import agent_chat_model, catch_all_disabled
37
37
  from rag_wright.harness.routing import RouteTheTurn
38
38
  from rag_wright.harness.scope import RunScope
39
- from rag_wright.harness.tiers import chat_manager_tools, direct_names, orchestrator_subagent
39
+ from rag_wright.harness.tiers import chat_manager_tools, direct_names, orchestrator_subagent, remembering
40
40
  from rag_wright.harness.withhold import WITHHELD_FROM_CHAT, withhold
41
41
 
42
42
  #: **What a chat-manager turn may produce, and why there is a number here at all**. With
@@ -84,6 +84,8 @@ def build_chat_agent(
84
84
  checkpointer: Any = None,
85
85
  store: Any = None,
86
86
  ledger: Any = None,
87
+ #: Opt-in: record and grade every tier the definition has a rule for (`Grading`). `None` builds no grader.
88
+ grading: Grading | None = None,
87
89
  ) -> Any:
88
90
  """The chat-manager for one run, holding the manifest bound to that run's scope.
89
91
 
@@ -110,7 +112,7 @@ def build_chat_agent(
110
112
  else WhatTheRunDecided(points=definition.decision_points))
111
113
 
112
114
  orchestrator = orchestrator_subagent(context, resources, settings, ledger=decisions, definition=definition,
113
- model=model)
115
+ model=model, grading=grading)
114
116
 
115
117
  memory: dict[str, Any] = {}
116
118
  if store is not None:
@@ -150,8 +152,10 @@ def build_chat_agent(
150
152
  dispatch_bound(),
151
153
  RecordTheDecisions(decisions, tier="chat-manager",
152
154
  read_framing=definition.read_framing), # the top tier: nobody dispatches it
153
- TheSubjectIsNotAFilesystem(signposts=definition.prompts), ConfirmTheView(), *error_middleware(retry_on=definition.retry_on,
155
+ *remembering(definition), ConfirmTheView(), *error_middleware(retry_on=definition.retry_on,
154
156
  message_for=definition.message_for),
157
+ # Outer of the router, so a turn it settles without a model call is still recorded.
158
+ *graded("chat-manager", "chat-manager", definition, settings, grading),
155
159
  # **Innermost**, so everything above still shapes and observes the routed call (ADR-0146); absent when the
156
160
  # product turned routing off.
157
161
  *([RouteTheTurn(Decider(), direct=frozenset(direct_names(definition)),
@@ -153,7 +153,8 @@ class AgentDefinition:
153
153
  model_id_for: Any
154
154
  #: Every word this product says to its model (`AgentPrompts`).
155
155
  prompts: AgentPrompts
156
- #: Tools whose answer is the same twice in one run, so a repeat can be served from the record.
156
+ #: Tools whose answer is the same twice in one run, so a repeat is served from the record, on every tier: the
157
+ #: chat-manager, the orchestrator and each worker (PS-73). A tool not listed runs every time it is called.
157
158
  repeatable: frozenset[str]
158
159
  #: `{tool: argument}` -- which argument carries a QUESTION, so two phrasings of one ask are one ask.
159
160
  question_argument: dict[str, str]
@@ -162,7 +163,8 @@ class AgentDefinition:
162
163
  #: `(record, tool, content) -> content | None`, or `None`: the product's chance to amend a result in the light
163
164
  #: of what this run already found. `None` amends nothing.
164
165
  carry_forward: Any
165
- #: The rules this product holds its own runs to. The grading machinery is the substrate's; the rubric is not.
166
+ #: The rules this product holds its own runs to (`Rule`). The grading machinery is the substrate's; the rubric is
167
+ #: not. Read by the builders when a run is given `grading=` (PS-72): each tier with a rule is recorded and graded.
166
168
  rules: tuple[Any, ...]
167
169
  #: The decisions a run of this product takes; the ledger reads each point's option space from here.
168
170
  decision_points: tuple[Any, ...]
@@ -40,6 +40,8 @@ import asyncio
40
40
  import logging
41
41
  import re
42
42
  import secrets
43
+ from collections.abc import Callable
44
+ from dataclasses import dataclass
43
45
  from typing import Any, Literal
44
46
 
45
47
  from langchain.agents.middleware.types import AgentMiddleware
@@ -543,6 +545,39 @@ class GradeThisTier(AgentMiddleware):
543
545
  return
544
546
 
545
547
 
548
+ @dataclass(frozen=True)
549
+ class Grading:
550
+ """A product's request that a run be graded against its definition's rules (PS-72). Opt-in, per run.
551
+
552
+ Passed to `build_chat_agent` (or `build_orchestrator`), it records and grades every tier the definition has a rule
553
+ for -- the chat-manager, the orchestrator and each worker -- and hands each verdict to `on_evaluation`, tagged with
554
+ `tier` (`chat-manager`, `orchestrator`, or the worker's name). A tier with no rule of its own is not graded, so no
555
+ grader call judges nothing. `model`, when given, is the grader's model; otherwise the grader uses the product's
556
+ configured one (`definition.model_id_for`).
557
+ """
558
+
559
+ on_evaluation: Callable[[dict[str, Any]], Any]
560
+ model: Any = None
561
+
562
+
563
+ def graded(tier: Tier, label: str, definition: Any, settings: Any, grading: Grading | None) -> list[AgentMiddleware]:
564
+ """What one built tier carries to be graded: a recorder and the grader reading its recording, or nothing.
565
+
566
+ **The recording is the grader's evidence**, so the two are built together on one dict: `check_this_run` runs the
567
+ detectors over exactly what this tier did.
568
+ """
569
+ if grading is None or not rules_for(tier, definition.rules):
570
+ return []
571
+ from rag_wright.harness.recording import RecordTheContext
572
+
573
+ recording: dict[str, Any] = {}
574
+ return [RecordTheContext(recording, label),
575
+ GradeThisTier(tier, recording, settings, model=grading.model,
576
+ on_evaluation=lambda verdict: grading.on_evaluation({**verdict, "tier": label}),
577
+ retry_on=definition.retry_on, model_id=definition.model_id_for(settings),
578
+ rules=definition.rules)]
579
+
580
+
546
581
  def grading_middleware(
547
582
  tier: Tier,
548
583
  recording: dict[str, Any],
@@ -37,8 +37,11 @@ from typing import Any, Literal
37
37
 
38
38
  from rag_wright.harness.filesystem import OWN_ROOTS
39
39
 
40
- #: Which tier a rule binds. A rule is checked only against a recording from a tier it applies to.
41
- Tier = Literal["orchestrator", "worker", "coded"]
40
+ #: Which tier a rule binds. A rule is checked only against a recording from a tier it applies to. `chat-manager` is
41
+ #: the tier a person talks to (PS-72: a product with only that tier had nothing to grade). The engine's orchestrator
42
+ #: holds an interpreter, so it is graded as `orchestrator`: a rule about its programs applies to both
43
+ #: `orchestrator` and `coded`, and `coded` alone is for an eval grading a coded arm it drives itself.
44
+ Tier = Literal["chat-manager", "orchestrator", "worker", "coded"]
42
45
 
43
46
 
44
47
  @dataclass(frozen=True)
@@ -193,6 +193,8 @@ def build_orchestrator(
193
193
  checkpointer: Any = None,
194
194
  store: Any = None,
195
195
  ledger: Any = None,
196
+ #: Opt-in: record and grade this tier and each worker against the definition's rules (`Grading`).
197
+ grading: Any = None,
196
198
  ) -> Any:
197
199
  """The planning tier, compiled as an agent in its own right.
198
200
 
@@ -214,6 +216,7 @@ def build_orchestrator(
214
216
  from rag_wright.harness.decisions import WhatTheRunDecided
215
217
  from rag_wright.harness.decider import Decider
216
218
  from rag_wright.harness.errors import error_middleware
219
+ from rag_wright.harness.grading import graded
217
220
  from rag_wright.harness.interpreter import code_interpreter
218
221
  from rag_wright.harness.routing import RouteTheBrief
219
222
  from rag_wright.harness.skills import orchestrator_skill
@@ -225,7 +228,8 @@ def build_orchestrator(
225
228
  # decisions while recording none would be the exact shape of instrument this phase was reset over.
226
229
  decisions = (ledger if ledger is not None
227
230
  else WhatTheRunDecided(points=definition.decision_points))
228
- workers = [worker(context, resources, decisions) for worker in definition.workers]
231
+ workers = [_graded_worker(worker(context, resources, decisions), definition, settings, grading)
232
+ for worker in definition.workers]
229
233
 
230
234
  return create_deep_agent(
231
235
  # **A passed model is given the same roster as a built one** (PS-48g): without this the catch-all
@@ -272,8 +276,10 @@ def build_orchestrator(
272
276
  # **The surface is passed, not imported**: the interpreter bridges the product's own
273
277
  # surface, never one the substrate chose.
274
278
  code_interpreter(context, resources, surface=definition.surface),
275
- *_remembering(definition), *_recording(decisions, definition), BatchTheQuestions(), *error_middleware(retry_on=definition.retry_on,
279
+ *remembering(definition), *_recording(decisions, definition), BatchTheQuestions(), *error_middleware(retry_on=definition.retry_on,
276
280
  message_for=definition.message_for),
281
+ # Outer of the router, so a brief it dispatches in code, with no model call, is still recorded.
282
+ *graded("orchestrator", "orchestrator", definition, settings, grading),
277
283
  # **Innermost of the tier's own**, so everything above still shapes and observes the routed call; absent
278
284
  # when the product turned routing off.
279
285
  *([RouteTheBrief(Decider(), workers={spec["name"]: spec["description"] for spec in workers},
@@ -290,6 +296,14 @@ def build_orchestrator(
290
296
  )
291
297
 
292
298
 
299
+ def _graded_worker(spec: dict[str, Any], definition: Any, settings: Any, grading: Any) -> dict[str, Any]:
300
+ """A worker's spec with its grader added, under the worker's own name; unchanged when nothing grades it."""
301
+ from rag_wright.harness.grading import graded
302
+
303
+ extra = graded("worker", spec["name"], definition, settings, grading)
304
+ return {**spec, "middleware": [*spec.get("middleware", []), *extra]} if extra else spec
305
+
306
+
293
307
  def _recording(ledger: Any, definition: Any) -> list:
294
308
  """The decision ledger, on the tier the dispatch decisions are ATTRIBUTED to.
295
309
 
@@ -308,10 +322,12 @@ def _recording(ledger: Any, definition: Any) -> list:
308
322
  if ledger is not None else [])
309
323
 
310
324
 
311
- def _remembering(definition: Any) -> list:
312
- """The run record and the two middlewares that read it.
325
+ def remembering(definition: Any) -> list:
326
+ """The run record and the two middlewares that read it, on each tier (each worker builds its own).
313
327
 
314
- **The orchestrator repeats itself too**: it re-dispatched a worker with a byte-identical brief, and
328
+ **The chat-manager repeats itself too** (PS-73): with direct tools and no orchestrator, it cycled five
329
+ byte-identical calls until the run's model-call limit stopped it, every repeat a second payload in the context.
330
+ **So does the orchestrator**: it re-dispatched a worker with a byte-identical brief, and
315
331
  called `grep('3f1c9d2a', '/')` hunting a check id. 25 of 194 recorded tool calls were exact repeats.
316
332
  """
317
333
  from rag_wright.harness.filesystem import TheSubjectIsNotAFilesystem