rag-wright 0.20.1__tar.gz → 0.21.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-an-agent-harness/SKILL.md +59 -11
- {rag_wright-0.20.1/src/rag_wright/.agents → rag_wright-0.21.0/.claude}/skills/classifier-opportunity-analysis/SKILL.md +2 -2
- rag_wright-0.21.0/.claude/skills/decision-model/SKILL.md +183 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/laya/SKILL.md +13 -34
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/setfit/SKILL.md +11 -47
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/using-the-rag-wright-engine/SKILL.md +3 -3
- rag_wright-0.21.0/.release-please-manifest.json +3 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/CHANGELOG.md +44 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/CLAUDE.md +10 -2
- {rag_wright-0.20.1 → rag_wright-0.21.0}/PKG-INFO +1 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/ARCHITECTURE_OVERVIEW.md +1 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0139-the-agent-harness-substrate-is-engine-scope.md +14 -0
- rag_wright-0.21.0/docs/adr/0147-the-default-decision-model-while-jev-is-unavailable.md +40 -0
- rag_wright-0.21.0/docs/adr/0148-large-results-passed-by-reference.md +48 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/README.md +3 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/api/README.md +1 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/api/harness.md +88 -38
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/api/pack_sdk.md +1 -5
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/configuration.md +1 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/README.md +2 -2
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/classification-and-decision-models.md +12 -4
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/harness.md +267 -17
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/installation.md +2 -2
- rag_wright-0.21.0/docs/specs/public-surface/migration-0.21.0.md +80 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/plan.md +25 -0
- rag_wright-0.21.0/docs/specs/public-surface/ps-96-results-by-reference.md +158 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/texwright-building-on-the-harness.md +4 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/examples/harness_quickstart.py +16 -8
- {rag_wright-0.20.1 → rag_wright-0.21.0}/pyproject.toml +1 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/build_harness_doc.py +5 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-an-agent-harness/SKILL.md +59 -11
- {rag_wright-0.20.1/.claude → rag_wright-0.21.0/src/rag_wright/.agents}/skills/classifier-opportunity-analysis/SKILL.md +2 -2
- rag_wright-0.21.0/src/rag_wright/.agents/skills/decision-model/SKILL.md +183 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/laya/SKILL.md +13 -34
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/setfit/SKILL.md +11 -47
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/using-the-rag-wright-engine/SKILL.md +3 -3
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/jev_decision.py +22 -5
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/__init__.py +23 -7
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/agent.py +42 -11
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/batch.py +6 -2
- rag_wright-0.21.0/src/rag_wright/harness/budget.py +263 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/clarify.py +11 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/decider.py +34 -10
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/decisions.py +11 -3
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/definition.py +96 -3
- rag_wright-0.21.0/src/rag_wright/harness/dispatch.py +303 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/errors.py +16 -9
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/events.py +9 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/filesystem.py +26 -2
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/grading.py +201 -22
- rag_wright-0.21.0/src/rag_wright/harness/handover.py +486 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/recording.py +41 -6
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/routing.py +48 -15
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/rules.py +13 -4
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/runs.py +53 -6
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/seen.py +211 -18
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/skills.py +1 -1
- rag_wright-0.21.0/src/rag_wright/harness/stalled.py +197 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/tiers.py +61 -69
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/withhold.py +43 -6
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/workers.py +97 -14
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/profiles.py +13 -3
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/pack_sdk/__init__.py +2 -2
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/dg_extraction.py +1 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_shipped_skills.py +1 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_jev_decision.py +77 -4
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/fabric.py +1 -2
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_greenfield_conformance.py +2 -19
- rag_wright-0.21.0/tests/harness/test_harness_answer_inside_a_dispatch.py +67 -0
- rag_wright-0.21.0/tests/harness/test_harness_answered_by_dispatch.py +246 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_brief_routing.py +2 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_chat_repeats.py +7 -3
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_decider.py +63 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_deciders.py +2 -1
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_dispatch.py +8 -6
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_error_model.py +3 -3
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_example.py +26 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_filesystem.py +52 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_grading.py +22 -0
- rag_wright-0.21.0/tests/harness/test_harness_grading_decided.py +261 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_grading_tiers.py +2 -1
- rag_wright-0.21.0/tests/harness/test_harness_handover.py +448 -0
- rag_wright-0.21.0/tests/harness/test_harness_interpreter.py +46 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_live.py +1 -1
- rag_wright-0.21.0/tests/harness/test_harness_markup_replies.py +153 -0
- rag_wright-0.21.0/tests/harness/test_harness_orchestrator_dispatches.py +216 -0
- rag_wright-0.21.0/tests/harness/test_harness_orchestrator_plans.py +103 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_public_surface.py +2 -2
- rag_wright-0.21.0/tests/harness/test_harness_resumed_plan.py +135 -0
- rag_wright-0.21.0/tests/harness/test_harness_resumed_record.py +144 -0
- rag_wright-0.21.0/tests/harness/test_harness_resumed_routing.py +146 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_routing.py +104 -0
- rag_wright-0.21.0/tests/harness/test_harness_run_budget.py +320 -0
- rag_wright-0.21.0/tests/harness/test_harness_same_question.py +213 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_seen.py +89 -0
- rag_wright-0.21.0/tests/harness/test_harness_stalled_replies.py +118 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_tiers.py +5 -44
- rag_wright-0.21.0/tests/harness/test_harness_told_twice.py +156 -0
- rag_wright-0.21.0/tests/harness/test_harness_unoffered_tools.py +170 -0
- rag_wright-0.21.0/tests/harness/test_harness_waiting_on.py +204 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_withhold.py +28 -3
- rag_wright-0.21.0/tests/harness/test_harness_worker_model.py +181 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_workers.py +28 -5
- {rag_wright-0.20.1 → rag_wright-0.21.0}/uv.lock +1 -1
- rag_wright-0.20.1/.release-please-manifest.json +0 -3
- rag_wright-0.20.1/src/rag_wright/harness/dispatch.py +0 -171
- rag_wright-0.20.1/src/rag_wright/harness/interpreter.py +0 -101
- rag_wright-0.20.1/tests/harness/test_harness_interpreter.py +0 -174
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/settings.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/authoring-a-capability/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-a-product-backend/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/building-an-ingestion-capability/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/creating-evals/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/qwen-vllm-modal/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.claude/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.env.example +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.github/workflows/publish.yml +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.github/workflows/release-please.yml +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/.gitignore +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/LICENSE +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/README.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/SPEC.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/conftest.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/ArcadeDB_Local.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/OBSERVABILITY.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0001-stack-and-library-choices.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0002-validation-corpus-cuad-edgar.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0003-ard-registration-and-capability-kinds.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0004-entity-disambiguation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0005-relational-golden-set.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0006-model-profile.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0007-arcadedb-store-schema.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0008-unified-framework-index-docs-grounding.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0009-rlm-chunking-retained-as-configurable-capability.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0010-transformers-pinned-below-5-for-flagembedding-reranker.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0011-cuad-not-a-retrieval-benchmark-acord-for-queries.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0012-entity-mention-confidence-no-proximity-edges.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0013-entity-resolution-matching-strategy.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0014-split-generation-and-vision-to-text.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0015-rlm-dynamic-subagents-and-granted-subagents.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0016-rlm-defined-by-required-capabilities-enforced-as-tests.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0017-dynamic-dispatch-trigger-as-typed-flag.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0018-rlm-method-is-the-orchestrator-system-prompt.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0019-recursion-is-optional-for-chunking-required-for-synthesis.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0020-serialize-interpreter-sessions-per-process-ki1.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0021-capability-interface-governed-typed-io.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0022-fr-k-embedding-free-okf-navigation-experimental.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0023-cheap-model-for-okf-enrichment.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0024-reader-parallelism-lives-in-python-not-the-interpreter.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0025-retrieval-pivot-function-classify-property-graph-rerank.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0026-property-schema-and-extended-function-taxonomy.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0027-openrouter-provider-routing-by-throughput.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0028-deterministic-grounding-judge-and-flash-pro-cascade.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0029-retrieval-pipeline-domain-portability-and-adaptation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0030-model-training-standard-modal-reusable-checkpointed.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0031-single-call-chunking-for-structured-contracts.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0032-nl-to-type-two-step-reason-emit-on-gemma.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0033-unified-contract-kg-three-legs-one-graph.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0034-granite-json-schema-structured-output-profile.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0035-graph-extraction-rebacked-with-gp1b-retire-hybrid.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0036-party-clause-link-party-to-edge.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0037-clause-template-is-authoritative-code-not-generated.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0038-full-cuad-kg-on-gcp-gpu-vm-and-gcs-backup.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0039-self-hosted-open-model-stack-on-modal-a100.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0040-neuro-symbolic-extraction-fidelity-ontology-shacl-validation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0041-capability-kind-rubric-and-agent-skill-runtime-tiers.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0042-clause-level-span-id-provenance-and-content-hash-backfill.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0043-retire-cross-corpus-retrieval-standardize-on-leg-b.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0044-is-exception-to-derived-carveout-relationship.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0045-client-side-tag-parse-structured-output.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0046-acord-unified-into-one-production-kg.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0047-retire-precomputed-clause-function-gate.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0048-ingest-llm-classifier-nondestructive-reclassify.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0049-generic-customer-lens-for-ingestion.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0050-async-langgraph-ingestion.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0051-schema-bootstrap-and-feedback-driven-ontology-evolution.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0052-engine-product-split-graphwright-parked.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0053-answer-prose-output-hygiene.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0054-remove-auto-tag-from-generator-evidence.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0055-confidence-out-of-band.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0056-bound-structured-retry-wall-clock.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0057-async-engine-architecture.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0058-structure-first-chunking.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0059-recall-decoupled-from-classification-and-visible-partial-loss.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0060-scope-compliance-check-to-named-policy-sources.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0061-subject-document-compliance-per-section.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0062-tiered-ocr-scan-quality-vlm-escalation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0063-per-sentence-compliance-subject-facts.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0064-typed-properties-out-of-band-on-evidence.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0065-deontic-applicability-gates-query-side.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0066-ontology-ttl-single-source-of-truth.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0067-domain-pack-retargeting.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0068-recall-first-actor-gate-ontology-role-disjointness.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0069-reading-order-chunking-tables-figures-retrievable.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0070-text-layer-first-parsing-no-false-vlm-escalation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0071-defragmentation-reconstruct-paragraphs-from-line-items.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0072-extract-guard-furniture-and-deterministic-failure.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0073-born-digital-threshold-sparse-pages-no-vlm-escalation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0074-retry-transient-extraction-failures.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0075-per-page-vlm-escalation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0076-thread-safe-shared-embedder-reranker.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0077-concurrent-function-classification-across-chunks.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0078-dedicated-extraction-executor.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0079-product-default-granite-4.2-openrouter-routing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0080-nested-tag-parse-and-degrade.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0081-function-independent-tagparse-clause-extraction.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0082-symbolic-gate-function-independent.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0083-executor-hop-trace-context-capture.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0084-gleaning-off-on-the-query-leg.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0085-query-constraint-extraction-tagparse.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0086-streaming-cost-capture.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0087-retrieval-relevance-score-on-rankedspan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0088-per-span-relevance-verdict.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0089-structured-output-generation-tracing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0090-affiliate-of-extraction.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0091-retire-partyto-edge.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0092-idempotent-write-graph.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0093-entities-by-name-seam.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0094-workspace-document-scope.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0095-span-page-provenance.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0096-carveout-keyword-normalization.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0097-caller-configurable-ingest-extraction-models.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0098-invoke-time-document-scope.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0099-mcp-tools-never-take-a-model-supplied-tenant.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0100-profile-based-model-routing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0101-untagged-spans-reach-extraction-aspect-gate-removed.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0102-open-descriptive-list-dims-retain-verbatim.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0103-a-clause-is-a-provision-not-a-span.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0104-dense-floor-protection-in-leg-b.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0105-in-band-model-usage-accounting.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0106-document-signals-off-the-citation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0107-requirement-page-provenance.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0108-qwen3-27b-single-a100-serving-profile.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0109-vllm-cold-start-reduction.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0110-fp8-kv-cache-16k-single-a100.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0111-pin-qwen3-27b-deepinfra-bf16.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0112-relax-deepagents-pin-to-floor.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0113-llm-span-instrumentation-for-latency-attribution.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0114-setfit-default-clause-function-classifier.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0115-classifier-only-step3a-property-extraction.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0116-soft-function-scoping-classifier-lane.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0117-engine-api-layer-and-capability-runtime.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0118-engine-core-api-vs-ard-adapter-free-impl-ref-client.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0119-jev-typed-decision-model-for-compliance-closed-set-fields.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0120-rlm-sub-agent-identity-dynamic-dispatch-trigger.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0121-spacy-optional-extra-model-runtime-download.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0122-provision-boundary-deterministic-plus-decision-model-residue.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0123-batched-releases-release-please-and-consumer-dependabot.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0124-generic-ingestion-builder-and-hooks.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0125-qwen-openrouter-unpinned.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0126-unit-representative-hook-and-the-reference-vote.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0127-retire-the-okf-code.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0128-two-public-tiers-api-and-pack-sdk.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0129-laya-temperatures-and-the-sklearn-floor.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0130-deploy-the-self-hosted-model-server-from-the-engine.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0131-model-server-hardening-after-rulewright-review.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0132-model-server-cold-start-from-a-gpu-snapshot.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0133-model-call-deadline-follows-the-timeout-and-a-thinking-cap.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0134-skills-for-product-developers-are-linked-per-project-never-globally.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0135-the-seam-gives-each-event-loop-its-own-async-http-client.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0136-spreadsheet-tables-are-glued-back-across-blank-rows.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0137-generated-answers-state-their-support-and-none-is-an-abstention.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0138-the-engine-reaches-pdfium-through-one-locked-door.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0140-one-model-family-on-metal.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0141-the-hard-split-cuts-between-lines-and-repeats-a-tables-header.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0142-the-default-writer-keeps-one-edge-per-type-and-endpoints.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0143-a-float-is-written-and-compared-as-a-double.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0144-one-loaded-bge-model-per-process.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0145-arcadedb-26-11-1-and-vector-index-upkeep.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/adr/0146-the-harness-routes-with-a-decision-model.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/architecture/foundations-and-adding-a-domain.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/architecture.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/README.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/design/deontic-applicability-routing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/design/ingestion-neuro-symbolic-gaps.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/design/semantic-subject-segmentation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/design/unify-subject-preprocessing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0037-closed-vocab-drops-verbatim-values-to-other.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0038-a-clause-node-is-now-created-per-sentence-so-98-percent-of-spans-become-clauses.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0039-the-provision-detector-reads-text-but-docling-puts-the-section-number-in-marker.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0040-covered-subject-is-asked-of-every-provision-so-verbatim-retention-fills-it-with-noise.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0041-VERIFICATION-dense-floor.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0041-leg-b-discards-the-best-dense-matches-on-some-queries.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0042-usage-is-captured-per-call-but-never-returned-so-cost-needs-a-langfuse-round-trip.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0043-a-requirement-carries-no-page-provenance-so-a-finding-cannot-point-into-its-policy.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0044-document-signals-scaffolding-is-shown-to-the-user-as-a-quote-from-their-document.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0045-a-fixed-money-cap-records-no-cap-quantum-so-the-amount-is-only-prose.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0046-appending-a-natural-follow-up-to-a-question-drops-the-clause-type.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0047-an-exact-deepagents-pin-transitively-pins-every-consumer.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/engine-issues/0048-the-pinned-endpoints-latency-tail-makes-agent-runs-undebuggable-from-either-side.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-07-20_graphwright_capability_interface_reply.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-07-20b_graphwright_interface_confirmation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-07-20c_graphwright_ingestion_interfaces.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-08-30_subject_compliance_final_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-01_issue-0013-recall-first-actor-gate_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-01_ontology-source-of-truth_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-03_issue-0014-table-retrievability_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-04_bulk-ingestion-wall_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-04_issue-0016-thread-safe-embedder_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-05_observability-langfuse_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-05_tagparse-ingestion-and-granite-4.2_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_affiliate-of-extraction_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_issue-0028-partyto-retired_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_issue-0029-idempotent-write-graph_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_issue-0030-entities-by-name_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_observability-and-retrieval-floor_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_relevance-verdict_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_rename-run-ad-compliance-check_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-09_structured-output-cost-tracing_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_ingest-models-caller-configurable_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0031-followup-failclosed-and-nodrift_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0031-followup-validate-ingested-set_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0031-workspace-document-scope_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0032-span-page-provenance_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0033-carveout-normalization_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-10_issue-0034-invoke-time-document-scope_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_issue-0035-followup-derived-guard_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_issue-0035-mcp-no-model-tenant_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_profile-based-model-routing_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_qwen-default-modal-or_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-11_qwen-everywhere-config_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-12_clause-granularity_0036-0039_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-12_closed-vocab_0037-0040_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-12_dense-floor-protection_0041_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-13_in-band-usage_0042_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-14_document-signals-off-citation_0044_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-14_requirement-page-provenance_0043_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-16_qwen3-27b-single-a100-serving-profile_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-18_fp8-accuracy-eval-configB_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-18_fp8-kv-16k-single-a100_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-20_deepagents-pin-relaxed_0047_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-20_llm-span-instrumentation_0048_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-21_0048-part2-modal-answers_from_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/handoffs/2026-09-21_0048-part2-modal-scoping-questions_rulewright.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/misc/.gitkeep +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/plans/Corpus_Acquisition.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/plans/async-migration.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/plans/demo_plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/plans/gp1b_docling_graph_plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/plans/unified_contract_kg_ontology_bridge.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/plans/unified_contract_kg_plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/results/2026-07-24-t58-property-graph-population.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/results/2026-07-25-t58b-full-pipeline-rerank.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/archive/results/2026-07-25-t58b-topk-ordering-levers.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/concepts.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/contract_pipeline_explainer.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/corpus_ingest_recipe.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/_engine-gaps.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/authoring-capabilities.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/entity-resolution.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/evals-from-expert-files.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/kg-construction.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/domain-adaptation/ontology-authoring.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/classifier_model_ab.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/compliance_demo.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/compliance_gate_cc7.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/compliance_rung2_cc7.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/cuad_highlighting_cu-d1.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/dg_model_ab.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/function_gate_recall.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/generation_robustness_b_vs_c.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/nl_to_type_cu-d2.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/ocr_benchmark.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/prod1_readiness.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/prod2_readiness.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/query_side_model_ab.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/silver_granite_vs_gemma4.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/silver_provider_routing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/eval/silver_selfhosted_gemma4_26b.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/evals.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/playbook.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/product/capability_profiles.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/product/contracts_product_roadmap.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/product/engine-api-migration-handoff.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/product/engine_async_api.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/product/new-domain-build-sequence.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/product/seam-adaptation-guide.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/proposals/compliance-ingest-classifier-decomposition.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/proposals/de-domaining-and-capability-runtime.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/proposals/new-domain-developer-journey.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/proposals/ontology-induction.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/quickstart.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/reference-pack.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/releasing.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/engine-platform/SPEC.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/engine-platform/TASKS.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/engine-prep/plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/evals/plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/harness-decisions/plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/ing5-doc-audit.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/ing8-breaking-changes.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/ingestion-hooks/rulewright-migration-0.2.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/langgraph-ingestion/plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-arcadedb-separation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.10.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.11.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.12.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.13.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.14.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.18.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.19.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.3.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.4.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.5.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.6.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.7.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.8.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-migration-0.9.0.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/specs/public-surface/rulewright-reply-2026-10-10-laya-and-sklearn.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/templates/product-starter/CLAUDE.md.template +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/templates/product-starter/README.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/templates/product-starter/dependabot.yml +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/templates/product-starter/playbook.md.template +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/upstream/laya-temperature-range-mismatch.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-buckets-schema.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-docs-extraction.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-sql-rebuild-index.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-vector-embeddings.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/vendor/arcadedb/arcadedb-vector-search-tutorial.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/docs/workspaces.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/acord.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/acord_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/boundary_residue_gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/build_golden.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/compliance_demo/policy/community_conduct_policy.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/compliance_demo/subjects/post_borderline.txt +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/compliance_demo/subjects/post_compliant.txt +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/compliance_demo/subjects/post_violation.txt +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/condensed_pipeline.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/contract_parity_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/contractnli_judge.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/cuad_highlight.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/embedded_eval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/full_pipeline_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/function_ceiling.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/function_property_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/function_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/gate1_chunker_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/gate2_hybrid_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/golden/relational/set.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/golden.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/ground_discriminator_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/harness.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/ingestion_live_smoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/kg_primary.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/kg_property_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/listwise_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/multihop.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/nl_to_type.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/relational_eval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/residual_decision_gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/segmenter_eval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/semantic_judge_gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/test_acord.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/test_acord_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/test_harness.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/test_multihop_set.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/eval/unit_grouper_eval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/examples/model_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/examples/quickstart.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/plan.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/release-please-config.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ab_model_overlap.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acord_unify.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acquire_acord.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acquire_cuad.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acquire_ecfr.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acquire_edgar.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acquire_ftc_255.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/acquire_prod1_corpus.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/audit_reclass_flips.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/author_leg_a_silver_key.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/backfill_affiliations.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/backfill_clause_span_id.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/backfill_edge_source_doc_id.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/backup_kg_to_gcs.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/bootstrap_template_capture.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/bootstrap_typed_edges.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/build_api_docs.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/build_api_docs.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/build_cuad_clause_cache.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/build_function_routing_map.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_assemble_v2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_assemble_v3.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_generate_hard_negatives.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_generate_hard_positives.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_generate_training.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_hybrid.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_hybrid2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_jev_actor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_jev_claimtypes.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_jev_operative.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_label_spans.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_laya_prep.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_laya_train.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_prep_operative.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_relabel_rubric.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_relabel_rubric2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/cic1_train_operative.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/compare_extraction_models.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/compliance_actor_gate_smoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/compliance_engine_smoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/compliance_policy_demo.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/curate_taxonomy_gaps.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/dg_model_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_knn_expansion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_knn_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_leg_pool.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_legs.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_pool.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_relstructure.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/diagnose_acord_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/eval_all.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/eval_ce.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/eval_listwise_b.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/export_ce_dataset.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/extract_features.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/listwise_variants.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/relational_features.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/train_ce.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/distill/train_modal.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/enrich_edgar_candidates.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/eval_chunking_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/eval_classifier_guided_vs_tagparse.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/eval_compliance_gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/extract_arcadedb_docs.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/fetch_reference_models.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/generate_contract_python.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/git_post_commit_graphify.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/granite_chunker_assess.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/graph_status.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_acord.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_compliance_async_prod2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_compliance_document_prod2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_compliance_prod2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_cuad.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_cuad_full.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_ftc_compliance.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_prod1.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_prod1_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ingest_smoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/install_git_hooks.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/label_new_functions.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/legb_function_gate_recall.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/make_compliance_fixtures.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/make_compliance_gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/mcp_compliance_agent_demo.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/mcp_intra_document_qa_smoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/mcp_query_legs_agent_demo.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/measure_generation_robustness.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/measure_harness_genericity.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/measure_silver.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/merge_docs_into_framework.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/migrate_entity_cik_to_canonical_id.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/migrate_silver_evidence_autotag.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/migrate_silver_evidence_remove_autotag.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/migrate_span_fields.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/mine_scarce_functions.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_arcadedb.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_backfill.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_exception_linking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_gemma4_vllm.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_gemma4_vllm_snapshot.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_granite_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_granite_throughput.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_granite_vllm_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_query_app.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_qwen3_27b_bench.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_qwen3_27b_snapshot.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_qwen3_vllm_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/modal_stack_a100.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ocr_benchmark.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ocr_preprocess.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/ontology_dimension_check.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/phase_a_leg_validate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/populate_clause_kg.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/populate_entity_graph.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/populate_entity_graph_extracted.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/populate_property_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/prep_relational_verification.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/publish_manifests.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/reclassify_kg.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/refresh_framework_graph.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/revert_reclass_flips.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/run_acord_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/run_clause_exception_linking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/semantic_judge_live_validate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/semantic_judge_probe.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/snapshot_leg_a_eval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/stack_correctness_validate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/table_retrieval_smoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/train_function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/train_legalbert_function.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/train_legalbert_modal.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/typed_rerank_validate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/verify_wheel_install.sh +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/vllm_extraction_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/vllm_kg_query_validate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/scripts/vllm_raw_diagnostic.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/authoring-a-capability/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-backend/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.test.tsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/ShellLayout.tsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-a-product-frontend/scaffold/surfaces.tsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/building-an-ingestion-capability/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/creating-evals/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/modal_qwen3_vllm_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/qwen-vllm-modal/scripts/rw_gate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/.agents/skills/specifying-a-product-on-the-engine/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/agents.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/answers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/config.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/discover.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/documents.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/ids.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/invoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/kg.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/mcp.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/tracing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/usage.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/api/workspace.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/answer_generator.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/ard.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/chunk_read.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/chunk_write.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/disambiguation.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/document_parse.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/document_scope.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/embedding.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/embedding_profiles.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/entity_resolution.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/fusion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/graph_query.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/graph_storage.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/hybrid_search.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/invoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/manifests.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/parse_audit.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/parsing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/registry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/remote_encoders.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/reranking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/retrieval_core.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/rlm_chunking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/rlm_synthesis.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/scan_quality.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/sheet_tables.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/span_relevance_judgment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/span_search.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/vision_to_text.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/capabilities/vlm_ocr.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/chunk.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/evals.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/graph.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/identifiers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/provenance.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/contracts/span.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/corpus/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/corpus/canonicalize.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/corpus/document_parser.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/corpus/embedded.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/corpus/http.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/evals/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/evals/gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/evals/langfuse_backend.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/evals/runner.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/evals/scorers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/accounting.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/confirm.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/faults.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/memory.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/models.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/preflight.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/scope.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/thinking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/harness/tracing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/builder.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/evaluate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/group.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/layout.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/segment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ingestion/tables.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/model_servers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/tag_structured.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/tracing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/usage.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/models/weights.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ontology/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ontology/pack_schema.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/ontology/registry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/assertion_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/claim_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/compliance_judgment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/compliance_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/capabilities/requirement_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/invokers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/mcp/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/mcp/compliance_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/compliance_bridge.ttl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/loader.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/ontology/packs/ftc_16cfr255.ttl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/pack.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/schemas/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/schemas/compliance.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/claim_extraction/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/claim_extraction/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/claim_extraction/template.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/compliance_judgment/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/generic_compliance_judgment/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/skills/requirement_extraction/template.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/compliance_check.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/compliance_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/compliance/subgraphs/requirement_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/clause_exception_linking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/contract_kg_serve.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/contract_kg_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/graph_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/highlight_serve.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/property_boosted_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/query_function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/capabilities/query_understanding.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/cuad.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/cuad_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/edgar.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/gcs_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/corpus/selection.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/intra_document_qa_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/relational_qa_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/session_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/mcp/typed_property_retrieval_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/_generated_template_meta.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/_generated_vocab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/clause_template.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/codegen.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/contract_bridge.ttl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/contract_taxonomy.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/derive.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/loader.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/ontology/template_introspect.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/options.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/pack.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/contract_meta.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/function.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/function_routing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/highlight.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/jurisdiction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/ontology.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/property.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/query_intent.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/schemas/value_match.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/corpus_ingest/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/extraction_semantic_judge/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/chunking.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/generation.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/skills/guidance/relevance.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/boundary.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/clause_function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/clause_kg_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/cuad_labels.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/dim_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/dim_fleet.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/function_families.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/hybrid_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/legalbert_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/model_capabilities.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/new_function_labels.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/property_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/property_grounding.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/reclassify.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/residual_candidates.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/scarce_function_labels.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/segment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/semantic_judge.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/symbolic_validation.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/spans/tag_clause_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/async_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/contract_ingestion_pipeline.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/intra_document_qa.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/query_constraint_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/relational_qa.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/typed_clause_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/contracts/subgraphs/typed_property_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/packs/reference_seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/py.typed +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/generation/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/generation/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/rlm/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/rlm/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/rlm/agent.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/span_relevance_judgment/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/vision_to_text/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/skills/vision_to_text/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/spans/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/spans/page_map.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/store/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/store/arcadedb.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/store/chunk_text.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/store/seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/subgraphs/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/subgraphs/graph_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/subgraphs/observability.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/subgraphs/scaffold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/subgraphs/semantic_chunking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/util/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/util/concurrent.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/util/devices.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/util/pdfium.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/src/rag_wright/util/spacy_model.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tasks.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_agent_chat_model.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_agent_chat_model_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_answers_exports.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_api_embedder_ps39.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_bytes_ingest.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_capability_reexports.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_decision_swap_doc_example.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_discover.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_documents.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_drop_workspace.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_drop_workspace_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_e2e.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_invoke.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_kg.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_mcp.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_metering_tracing_exports.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_migrate_span_fields.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_model_role_export.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_open_workspace_reconfig.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_options.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_pack_sdk.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_pack_sdk_segmenter.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_pack_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_pdf_page_count.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_public_gaps_ps38.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_tracing_helpers_ps32.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_usage.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_workspace.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/api/test_workspace_models.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/domain_vocabulary_baseline.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_api_docs_current.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_doc_references.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_engine_domain_vocabulary.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_import_contracts.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_lock_version.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_packs_use_store_primitives.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/arch/test_pdfium_door.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/async_helpers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/_fixtures/rlm_probe_skill/SKILL.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_answer_generator.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_answer_generator_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_assertion_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_authoring_contract.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_chunk_read.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_chunk_write.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_chunking_prompts_neutral.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_claim_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_clause_exception_linking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_compliance_judgment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_compliance_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_contract_kg_serve.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_contract_kg_store.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_contract_kg_store_reads.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_contract_taxonomy_and_spans.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_dg_adapter.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_dg_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_dg_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_dg_model_seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_dg_private.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_disambiguation.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_document_scope.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_embedding.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_embedding_profiles.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_entity_resolution.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_entity_rules_plumbing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_fusion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_graph_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_graph_query.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_graph_storage.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_highlight_serve.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_hybrid_search.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_manifest_validation.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_manifests.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_parse_audit.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_parsing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_parties_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_property_boosted_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_query_function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_query_understanding.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_registry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_remote_encoders.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_repair_partition.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_requirement_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_reranking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_retrieval_core.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_rlm_chunking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_rlm_chunking_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_rlm_method.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_rlm_synthesis.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_runtime_registry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_scan_quality.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_shared_models.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_span_relevance_judgment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_span_search.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_structural_boundary_discoverer.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_structural_model_fallback.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_tag_boundary_discoverer.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_tiered_ocr.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/capabilities/test_vlm_ocr.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/compliance_fakes.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/conftest.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_canonical_source_doc_id.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_chunk_record.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_compliance.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_cuad_highlight_contracts.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_function.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_function_routing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_identifiers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_ingestion_hooks.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_jurisdiction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_ontology.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_property.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_provenance.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/contracts/test_value_match.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/_ooxml_fixtures.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_canonicalize.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_cuad.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_cuad_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_document_parser.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_edgar.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_embedded.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_gcs_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_http.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_parse_wire2.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/corpus/test_selection.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/eval/test_contractnli_judge.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/eval/test_cuad_highlight_metrics.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/eval/test_kg_property_rerank.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/eval/test_nl_to_type_metrics.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/eval/test_relational_eval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_gold_contracts.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_gold_import.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_langfuse_backend.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_runner.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_scorer_parity.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_scorers_a.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_scorers_b.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_scorers_c.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/evals/test_scorers_d.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_blank.pdf +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_cover_with_attachment.pdf +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_db_with_a_broken_report.xlsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_db_with_reports.xlsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/parity_grid.xlsx +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/segmenter_gold.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/textile_spec_sheet.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/ingestion/textile_test_report.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/leg_a_silver/README.md +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/leg_a_silver/evidence_snapshot.json +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/fixtures/table-bearing-contract.pdf +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/foundation/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/foundation/test_arcadedb_hybrid.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/foundation/test_model_seam_structured.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/conftest.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/b1.jsonl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/d1.jsonl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/d2.jsonl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/deciders.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/loom.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/run.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/gold/scoring.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_accounting.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_agent.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_batching.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_clarify.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_confirm.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_deadline.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_decisions.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_engine_wiring.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_events.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_faults.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_genericity.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_gold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_memory.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_model.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_preflight.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_recorder.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_recording.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_rules.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_runs.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_skills.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/harness/test_harness_thinking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_aevaluate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_builder.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_chunk_discoverer_hook.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_concurrency_ceiling.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_default_writer_ensures_edges.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_document_metadata.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_evaluate.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_evaluate_labels.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_graph_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_graph_parity.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_layout_segmenter.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_sheet_continuations.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_split_tables.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_spreadsheet_content.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_table_rows.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_tuning.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_unit_grouper.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_unit_representative.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_unreached_rows.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ingestion/test_write_count.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/journey/incidents_domain.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/journey/incidents_pack.ttl +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/journey/test_incidents_journey.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/journey/test_pack_schema.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/mcp/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/mcp/test_compliance_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/mcp/test_intra_document_qa_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/mcp/test_no_model_supplied_tenant.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/mcp/test_relational_qa_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/mcp/test_typed_property_retrieval_server.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_async_infra.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_classifier_heads_load_clean.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_model_servers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_models_dir.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_no_gemma_default.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_profile_routing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_profile_seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_seam_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_seam_deadline_and_cap.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_seam_event_loops.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_seam_retry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_seam_stream.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_serving_seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_serving_wiring.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_tag_structured.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_tag_structured_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_tracing.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/models/test_usage.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_clause_template.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_compliance_ontology_authoritative.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_derivation.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_entity_taxonomy.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_generated_template_meta_in_sync.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_generated_vocab_in_sync.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_template_captured_in_ttl.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/ontology/test_ttl_is_source_of_truth.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/reference/test_compliance_reference.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/reference/test_contract_seam.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/scripts/test_eval_chunking_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/scripts/test_eval_classifier_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/scripts/test_fetch_reference_models.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/scripts/test_generation_robustness_errors.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/skills/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/skills/test_creating_evals_skill_example.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/skills/test_ingestion_skill_example.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_boundary.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_classifier_property_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_clause_classifier_tags_0005.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_clause_function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_clause_function_classifier_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_clause_kg_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_clause_kg_extractor_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_dim_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_dim_fleet_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_function_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_hybrid_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_hybrid_property_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_legalbert_classifier.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_model_capabilities.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_new_function_labels.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_page_map.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_property_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_property_grounding.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_reclassify.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_residual_decision.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_scarce_function_labels.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_segment.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_segmentation_vocab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_semantic_judge.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_setfit_clause_adapter.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_setfit_probabilities.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_span_offsets.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_stage_labels_0005.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_symbolic_validation.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/spans/test_tag_clause_extractor.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_affiliation_backfill.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_arcadedb_clause_kg.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_arcadedb_contract.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_arcadedb_property.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_arcadedb_requirement_sources.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_arcadedb_schema.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_arcadedb_span.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_chunk_text.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_concurrent_writes.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_contract_kg_store_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_document_metadata_live.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_document_scope.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_engine_domain_neutral.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_entities_by_name.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_contains.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_doubles.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_edges.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_function_namespace_fields.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_identifiers.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_mutations.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_range.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_read.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_write.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_kg_write_ensure_edges.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_neutral_schema.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_pack_schema_properties.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_pooled_client.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_store_create_flag.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_vector_index_upkeep.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/store/test_write_graph_idempotent.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_async_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_chunk7_structure_carry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_clause_results.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_compliance_check.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_compliance_ingestion.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_contract_ingestion_pipeline.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_contract_ingestion_pipeline_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_contract_ingestion_pipeline_graph_async.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_contract_write_retry.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_graph_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_ingest_knobs.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_ingest_segment_classify.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_intra_document_qa.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_observability.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_partial_entry_contract.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_query_constraint_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_relational_qa.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_requirement_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_scaffold.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_semantic_chunking.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_typed_clause_extraction.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/subgraphs/test_typed_property_retrieval.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/test_backfill_clause_span_id.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/test_dg_model_ab.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/test_populate_clause_kg.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/test_populate_entity_graph.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/util/__init__.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/util/test_concurrent.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/util/test_devices.py +0 -0
- {rag_wright-0.20.1 → rag_wright-0.21.0}/tests/util/test_spacy_model.py +0 -0
|
@@ -85,13 +85,18 @@ and to verify it, not to build it again; a product that cards them as its own wo
|
|
|
85
85
|
| the context type, tenancy the model cannot reach | **yours**: a context type with `scope` / `shared_scope` and tools reading it from the run; the tier validates the scope and keys memory and threads by it |
|
|
86
86
|
| one entry point | **yours**: one function that builds the context from the authenticated principal and calls `start_run` / `resume_run` / `stream_run`; the tier refuses an agent that cannot carry a context |
|
|
87
87
|
| take the tool away, the dispatch bound, per-tier reasoning, error levels and their order, signposts | **the tier's**, inside `build_chat_agent` / `build_orchestrator` (`withhold`, `error_middleware`, `DISPATCHES_PER_RUN`) |
|
|
88
|
-
| the ask-only tool, workers that cannot ask | **the tier's** (`clarification_tool`, `CANNOT_ASK`): a worker reports `status: "blocked"` with its `need` |
|
|
88
|
+
| the ask-only tool, workers that cannot ask | **the tier's** (`clarification_tool`, `CANNOT_ASK`): a worker reports `status: "blocked"` with its `need`; what a paused run asked, of every kind, is `RunResult.waiting_on` (a `Pending`), and a `waiting` event on the stream (PS-83) |
|
|
89
89
|
| a changed subject confirmed deterministically | **the tier's** (`ConfirmTheView`); your continuation type and its resolution are yours |
|
|
90
90
|
| memory that refuses without a context | **the tier's** (`MemoryWithoutTenancy`); you pass the `store` |
|
|
91
|
+
| large results passed by reference between tiers | **the tier's** (PS-96, ADR-0148): a result over `AgentDefinition.hold_over` is held in the store and the model shown a reference with the result's own `result`/`detail`/`answer`/`note`, so fill one; your tool receives real values, your report's fields take references, the person's answer carries values, and `read_result` on every tier reads part of a held result. **Yours**: a durable `store` beside a durable checkpointer (the build refuses without one), `forget_held` (`aforget_held` on an async store) where you remove a thread, `shown_in_full` for a tool a worker must read whole, `hold_over=None` to turn it off |
|
|
92
|
+
| two calls written differently that ask the same question | **yours to declare** (PS-97): `AgentDefinition.same_question`, per `repeatable` tool, a `SameQuestion` naming the arguments whose order does not matter (`unordered`) and a page size with your test of whether a page held every match (`page_size`, `complete`); **the tier's** to serve the second from the record, in one turn or across turns, saying what differed |
|
|
91
93
|
| routing D1, B1, D2 with a decision model | **the tier's** (ADR-0146); your descriptions are what it reads, `routing=None` turns it off |
|
|
92
94
|
| the durable checkpointer, in its own schema | **yours**, passed as `checkpointer=`; the default is in-memory and loses a suspended run on restart |
|
|
93
95
|
| tracing, metering, the run's duration | **the tier's** (`accounted_run`, `harness_tracing_on`, `spend`), on the engine's configuration; the `accounting` object is yours |
|
|
94
96
|
| the event contract | **the tier's** `translate`: `stream_run`'s items become `RunEvent`s; your client routes on their names |
|
|
97
|
+
| what one question may spend | **yours**: `AgentDefinition.budget` (`RunBudget`, per question, counted from the person's latest message, PS-88: model calls, tool calls, a reserve each tier keeps for the tiers above it, and `dispatches`, the workers the orchestrator may dispatch per thing asked, PS-86), and `worker_spec(..., model_calls=, tool_calls=)` for one worker's cap per dispatch; what each tier spent, and what it dispatched or had refused, is `WhatTheRunSpent`, passed as `build_chat_agent(spent=)` (PS-80) |
|
|
98
|
+
| what a worker hands back | **yours**: its report, a `WorkerReport` subclass, is the whole of what the orchestrator reads of it (DeepAgents returns the structured report as the `task` reply, not the worker's messages or tool results); key it the way the plan asks, or the orchestrator re-dispatches to recover what the report dropped (PS-86) |
|
|
99
|
+
| which model each worker reasons with | **yours**: `definition.model_id_for` for every tier, or `worker_spec(..., model_id=)` for one worker; the tier builds it through the profile seam, meters it under its own id and names it on that worker's verdicts (PS-78) |
|
|
95
100
|
| the agent's skills | **yours**: `AgentPrompts.skills` is `{path: text}`, so keep the files anywhere version-controlled and load them |
|
|
96
101
|
| your rules, decision points, gold sets, the replay test against YOUR asking tools | **yours**; the grading, the ledger and the instruments are the tier's: declare `rules` and pass `grading=Grading(on_evaluation)` to `build_chat_agent`, and every tier with a rule (the chat-manager included) is recorded and graded |
|
|
97
102
|
|
|
@@ -198,8 +203,11 @@ planning classification (`planning`), the worker roster (`workers`) and the cont
|
|
|
198
203
|
The other eleven are the customization surface, and an agent without them runs but is quietly less capable:
|
|
199
204
|
`retry_on`, `message_for`, `model_id_for`, `prompts` (an `AgentPrompts`, eleven fields of its own: every word
|
|
200
205
|
the model reads), `repeatable`, `question_argument`, `framings`, `carry_forward`, `rules`, `decision_points` and
|
|
201
|
-
`read_framing
|
|
202
|
-
`
|
|
206
|
+
`read_framing`. The rest are optional, with defaults: `routing`, `budget`, `hold_over` and `shown_in_full` (results
|
|
207
|
+
passed by reference, PS-96), and `same_question` (PS-97: per `repeatable` tool, a `SameQuestion` saying which
|
|
208
|
+
differences in how a call is written leave it the same question -- an argument whose order does not matter, and a
|
|
209
|
+
page size with your test of whether a page held every match -- so the second is served from the record). The
|
|
210
|
+
field-by-field reference, generated from the tier, is `docs/harness.md` in the engine repository.
|
|
203
211
|
|
|
204
212
|
**Build every worker with `worker_spec(..., definition=...)`.** `worker_spec`'s policy parameters default to
|
|
205
213
|
inert values, and all but the ledger are fields of the definition you already declared; a worker built
|
|
@@ -308,8 +316,12 @@ user <-> CHAT-MANAGER conversation, threads, UI context, direct tools for
|
|
|
308
316
|
calls before any tool runs, and routing *"list my documents"* through all three is latency and cost on the
|
|
309
317
|
commonest path. A model must never sit in the path of an unambiguous request.
|
|
310
318
|
|
|
311
|
-
**The
|
|
312
|
-
|
|
319
|
+
**The orchestrator plans and dispatches; it runs nothing.** A tool bound to a model is a tool the model can
|
|
320
|
+
call, and there is no way to show it one it may read but not run. So the orchestrator holds no operation: the
|
|
321
|
+
chat-manager holds the half that needs no planning, workers hold the rest, and the orchestrator plans from each
|
|
322
|
+
worker's description, which the engine ends with what that worker can call. An operation that needs planning and
|
|
323
|
+
that no worker holds is refused when the agent is built (PS-84). Give a worker any direct operation a delegated
|
|
324
|
+
message may also need: once the message is handed down, the chat-manager's direct tools are out of reach.
|
|
313
325
|
|
|
314
326
|
**And the split is a judgement, so write it down rather than dressing it up as a derivation.** The tempting
|
|
315
327
|
rule - "an operation that names a model or a retrieval graph is a planning operation" - separates the set
|
|
@@ -321,6 +333,8 @@ down, ratchet that every exposed operation lands in exactly one half, and keep t
|
|
|
321
333
|
model routes the chat-manager's turn (D1, ADR-0146): above its threshold it decides and a direct tool with no
|
|
322
334
|
arguments is called with no model call at all; below it, or without the decision model, the tier's model routes.
|
|
323
335
|
Either way, whether a request takes the direct path is measured on your gold sets, not asserted.
|
|
336
|
+
A chat-manager with no direct tools is not offered `answer` (PS-87): it has nothing to answer from, so its
|
|
337
|
+
routed choices are `delegate` and `ask_the_user`.
|
|
324
338
|
|
|
325
339
|
## Take the tool away. Do not ask the model not to use it.
|
|
326
340
|
|
|
@@ -336,6 +350,11 @@ Either way, whether a request takes the direct path is measured on your gold set
|
|
|
336
350
|
reasoning settings only picks which failure you prefer. A dispatch past the bound never runs - no model
|
|
337
351
|
call, no subagent, no second copy of a reply the tier already has. Twenty-three of those twenty-four were
|
|
338
352
|
pure waste.
|
|
353
|
+
**And bound what the tier does with the report** (PS-76): with the dispatch bound in place, a chat-manager
|
|
354
|
+
handed a complete report re-derived it with its own direct tools, 6 metered calls becoming 35 for the same
|
|
355
|
+
answer. Once a report is back in a turn, the chat-manager's next call has no direct tools (it keeps
|
|
356
|
+
`ask_the_user`); the person's next message, or their answer to that question, restores them. Measure it as the parent's tool calls after the
|
|
357
|
+
dispatch's reply, never only by whether the route and the answer were right.
|
|
339
358
|
- **Withholding is a MIDDLEWARE concern, not a model-profile one.** A provider profile keys on the *model*,
|
|
340
359
|
and every tier runs the same model - so excluding a tool there strips it from the tier that needs it. A
|
|
341
360
|
middleware is attached to a tier, which is the only seam that can say "this agent cannot do X".
|
|
@@ -373,8 +392,10 @@ reportable as exactly that.
|
|
|
373
392
|
|
|
374
393
|
**Error levels, by who fixes it.** Transient failures retry; tool failures reach the model as a message it
|
|
375
394
|
can act on; missing information interrupts for a human; anything unexpected reaches a developer. Runaway
|
|
376
|
-
loops are capped -
|
|
377
|
-
so a partial answer still reaches the user.
|
|
395
|
+
loops are capped - cap model calls and tool calls per invocation of each tier, ending with what you have rather
|
|
396
|
+
than raising, so a partial answer still reaches the user. **And bound the run as a whole, with a reserve per tier
|
|
397
|
+
above**: per-invocation caps restart on every dispatch, so they never bound the bill, and a run-wide budget with no
|
|
398
|
+
reserve lets a worker spend what the tiers above need to compose (PS-80).
|
|
378
399
|
|
|
379
400
|
**Composition order is load-bearing.** Retry middleware goes INNER, configured so exceptions reach the
|
|
380
401
|
error middleware. The other way round, a tool failure is converted to a message before the retry ever sees
|
|
@@ -407,8 +428,9 @@ that would ask instead reports "blocked, I need X" through its structured result
|
|
|
407
428
|
once. The less obvious benefit is bigger: a need that reaches the orchestrator can often be answered *by* the
|
|
408
429
|
orchestrator, which already knows what the conversation settled on, and never troubles the user at all.
|
|
409
430
|
|
|
410
|
-
**Never bridge the asking tool into a code interpreter
|
|
411
|
-
whole program on resume - every tool call it had already made,
|
|
431
|
+
**Never bridge the asking tool into a code interpreter**, if you give a tier one (the engine gives none, PS-84).
|
|
432
|
+
A question raised from inside a loop re-runs the whole program on resume - every tool call it had already made,
|
|
433
|
+
again, with nothing on screen to say so.
|
|
412
434
|
|
|
413
435
|
**And a changed subject is confirmed deterministically, never adopted silently.** The user runs one query,
|
|
414
436
|
navigates to another, types "what about this one?", and every word of the answer is fluent, cited, and about
|
|
@@ -433,6 +455,21 @@ not an error, and raising would put a foreign identifier on the model's path ins
|
|
|
433
455
|
and remember that what prevents a wrong answer is the **subject** check, not which brief did the asking.
|
|
434
456
|
**Every tier carries it, the chat-manager included** (PS-73): a chat-manager with direct tools and no
|
|
435
457
|
orchestrator cycled five identical calls until the run's call limit stopped it.
|
|
458
|
+
**And the record stops the tool, not the model** (PS-74): with every repeat served, one model still asked
|
|
459
|
+
seventeen times. So once one call is served a second time to the same context, the next model call has no
|
|
460
|
+
tools and the model must answer. A re-dispatched worker is a fresh context and counts afresh (PS-92): counted
|
|
461
|
+
run-wide, a third dispatch lost its tools on its first repeat and asked the person to give its tool back. Taking tools away is only half of it (PS-93): langchain runs any call in the reply whose tool the tier holds, shown or not. So a reply that does nothing -- a call to a tool that model call was not offered, the same call back with the same result twice running, or no text and no call, a tool call written as text, or a call whose arguments did not parse (PS-94) -- is asked for once, told that what came back stands, and then ends the tier with what came back; a run that ended so, or on the run's budget, does not read back as `COMPLETE`. Count what ran by the served marker (`ToolMessage.artifact["served_from_record"]`), never by
|
|
462
|
+
the calls a model emitted.
|
|
463
|
+
**And a quote says what it is** (PS-90): a served reply quoted the first 400 of 1,875 characters as "this
|
|
464
|
+
is what it returned", and two runs reported a truncated tool result and asked the person, unable to tell a
|
|
465
|
+
cut tool from a cut quote. A cut quote says it is the start, gives both lengths and says the tool did not
|
|
466
|
+
cut it. A tool that returns a dict with a `result`, `detail`, `answer` or `note` sentence is quoted by that
|
|
467
|
+
sentence instead of the start of its payload. **And a quote only saves what the context already holds**: the
|
|
468
|
+
record is the run's but a context is the dispatch's, so a re-dispatched worker never saw the first result; it is
|
|
469
|
+
served the whole of it (the tool still does not run), where 400 characters of it read as a broken tool 4/4.
|
|
470
|
+
**And a resumed run keeps it only if you pass it** (PS-91): the record lived in the agent object, so a resume on a
|
|
471
|
+
rebuilt agent re-ran a call its paused half had made. Build both halves with the same
|
|
472
|
+
`build_chat_agent(seen=WhatTheRunCalled())`, as you pass the same `ledger=` and `spent=`.
|
|
436
473
|
2. **Progressive disclosure for the rare procedure.** What a tier needs on every turn belongs in its prompt
|
|
437
474
|
and must stay decisive at the margin. What it needs occasionally - how to batch a clarification, which
|
|
438
475
|
arises only when a worker comes back blocked - belongs in a skill it sees as a name and one line until it
|
|
@@ -530,7 +567,8 @@ deterministic check with a probabilistic one is a regression however fast it is.
|
|
|
530
567
|
ask, or delegate), B1 (whether a delegated message is handed over verbatim) and D2 (which workers), each below a
|
|
531
568
|
threshold left to the tier's model. Measured on the engine's routing gold sets against the model alone: D1 85.7%
|
|
532
569
|
against 86.5% on four direct tools and 92.2% against 90.0% on twelve; D2 90.0% against 75.6% per worker. There is nothing to register: the harness calls its own decision model. Your
|
|
533
|
-
tools', orchestrator's and workers' descriptions are what it reads, so write them to tell the options apart. `docs/harness.md` section 9
|
|
570
|
+
tools', orchestrator's and workers' descriptions are what it reads, so write them to tell the options apart. `docs/harness.md` section 9;
|
|
571
|
+
asking any decision model well is the `decision-model` skill.
|
|
534
572
|
|
|
535
573
|
**Derive a decision from what the tier DID, never from what the model announces.** A model asked to report
|
|
536
574
|
its own decision reports an intention.
|
|
@@ -541,7 +579,17 @@ its own decision reports an intention.
|
|
|
541
579
|
`grading=Grading(on_evaluation=...)` to `build_chat_agent`: each tier with a rule of its own (`chat-manager`,
|
|
542
580
|
`orchestrator`, `worker`) is recorded and graded when it finishes, and its verdict arrives tagged with the tier.
|
|
543
581
|
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`).
|
|
582
|
+
there (`instructions_for`). A rule with a detector is settled in code; a judgement rule is asked of the decision model,
|
|
583
|
+
one yes/no per `;`-separated part of its criterion, with each sentence of the answer asked whether it breaks it, over the
|
|
584
|
+
tier's run as named fields with every call in order (PS-95; a rule breaks once one part surely breaks), and
|
|
585
|
+
the LLM grader judges a tier only below `Grading(threshold=)` or without the decision model (PS-79: the LLM grader had
|
|
586
|
+
only ever copied the detectors' answers, and a judgement rule is a yes/no). Each verdict says which did, `graded_by`:
|
|
587
|
+
`code`, `decision_model` or `llm`. **Write a judgement rule's criterion as short, literal `;`-separated parts**: the
|
|
588
|
+
decision model reads literally, and a negated clause ("rather than", "not about which tools") or a conditional one
|
|
589
|
+
("a question that did name a subject ... was not declined") is where it stays unsure and the LLM grader is paid for.
|
|
590
|
+
A rule code can count ("called no further tool after the dispatch") wants a detector instead. How a decision model is
|
|
591
|
+
asked, and what was measured, is the `decision-model` skill. The rest of this section is why the
|
|
592
|
+
grader is built the way it is.
|
|
545
593
|
|
|
546
594
|
**Grading checks how a run behaved, not whether its answer was the right kind.** A rule holds or breaks the same way
|
|
547
595
|
for every question. Whether a question should have been answered, refused or declined differs per question, so it
|
|
@@ -159,8 +159,8 @@ Produce a decomposition plan, not prose:
|
|
|
159
159
|
model — **Jev** (managed, OpenRouter Decisions API, zero/few-shot, calibrated) or **Laya** (open, fine-tuned) —
|
|
160
160
|
BEFORE committing to a trained classifier. It often wins when data is scarce or label-ambiguous, or when you need
|
|
161
161
|
calibrated uncertainty to route/gate (measured: RAG_Wright CIC-1c — Jev zero-shot 0.92 vs a trained SetFit 0.82;
|
|
162
|
-
ADR-0119).
|
|
163
|
-
|
|
162
|
+
ADR-0119). The `decision-model` skill covers choosing one, wiring it (a `jev_decision`-style model capability with a
|
|
163
|
+
`DecisionModelProfile`) and asking it well; `laya` is only for fine-tuning the open one. **Evaluate this first; it may remove the need to train at all.**
|
|
164
164
|
The decision path runs only when `jev_decision` is registered (from `engine_capabilities()`) AND
|
|
165
165
|
`OPENROUTER_API_KEY` is set; otherwise the reference pack's decision paths degrade silently (to the deterministic
|
|
166
166
|
rule or the LLM), so check both before reading a number.
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: decision-model
|
|
3
|
+
description: How to use a System-1 typed decision model -- Jev, or any model that speaks its Decisions API (Perplexity's decider, a served Laya, a later one) -- in the engine and its agent harness. When a decision model beats an LLM call or a trained classifier, which one to pick, wiring it (the `jev_decision` capability, `DecisionModelProfile`, fallback, unavailability), and above all how to ASK it well - state as named fields, every fact the decision needs, one literal question per judgement, criteria, few-shot, combining answers in code, thresholds, repeatability, caching, evaluating, its known blind spots and the decompositions measured to make it worse. Load before adding a decision point, writing questions or criteria for a decision model, or A/B-ing one against an LLM or a classifier. Fine-tuning Laya itself is the `laya` skill.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Using a decision model
|
|
7
|
+
|
|
8
|
+
A **System-1 decision model** answers typed questions about a `state` with calibrated probabilities and no generated
|
|
9
|
+
text, in roughly 70-1,000 ms: a `noul` (the probability of yes), a `choice` (one option, a probability for each) or a
|
|
10
|
+
`score` (a position on ordered levels). Your code asks narrow questions and decides what the answers mean.
|
|
11
|
+
|
|
12
|
+
**Every number below is a direction from one project, never a target -- re-measure on your own data.** Repository
|
|
13
|
+
paths in this skill (`docs/`, `tests/`, `src/`) are in the engine repository: read them there or on GitHub.
|
|
14
|
+
|
|
15
|
+
## 1. When a decision model is the right tool
|
|
16
|
+
|
|
17
|
+
A closed-set decision (yes/no, one of N, a level) that an LLM makes today is a candidate. A/B one **before** you train
|
|
18
|
+
a classifier; it often removes the need to:
|
|
19
|
+
|
|
20
|
+
- **Data is scarce or label-ambiguous.** On the reference pack's operative-rule gate, zero-shot Jev reached 0.92
|
|
21
|
+
(the label ceiling) where a trained SetFit capped at about 0.82 and a fine-tuned Laya at 0.70-0.74 (ADR-0119).
|
|
22
|
+
- **You need honest uncertainty to route or gate.** Its probabilities are calibrated; a SetFit logistic head is
|
|
23
|
+
overconfident, so a confidence-routed hybrid could not be rescued (ADR-0119).
|
|
24
|
+
- **It replaces LLM calls outright.** Ingestion, one contract's 131 provisions: 215 decision-model calls and no LLM
|
|
25
|
+
call for $0.013, against 277 calls ($0.277) on the LLM path; the extraction judge 95.3% against the LLM judge's
|
|
26
|
+
90.1% on 192 hand-labelled cases; boundary residue 460/461. Harness grading: a judgement rule settled in under a
|
|
27
|
+
second at about $0.00003, against 3-12 s and $0.001-0.009 for the LLM grader (PS-79, PS-95).
|
|
28
|
+
|
|
29
|
+
**Prefer a trained classifier** (the `setfit` skill) at high volume with a large labelled corpus, or when the
|
|
30
|
+
decision needs features a question cannot express. **Keep the LLM** for generation, multi-hop reasoning, arithmetic
|
|
31
|
+
and anything open-ended. **Keep code** for anything code can decide exactly: replacing a deterministic check with a
|
|
32
|
+
probabilistic one is a regression however fast it is.
|
|
33
|
+
|
|
34
|
+
## 2. Which decision model
|
|
35
|
+
|
|
36
|
+
| Model | What it is | When |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| **Jev** (TypeSafe; `jev-1.14` the default profile, `jev-1.13`, `jev-latest`) | managed, strong zero- and few-shot, no training | first, almost always |
|
|
39
|
+
| **Perplexity's decider** (`pplx-decider-v1.2`) | managed, the same API | Jev's fallback (ADR-0147) |
|
|
40
|
+
| **Laya** (open weights, ModernBERT-large) | near-random zero-shot; must be fine-tuned | a managed API is unacceptable (on-prem, data residency): the `laya` skill |
|
|
41
|
+
| any later model | anything that speaks the Decisions API | register a profile; re-run your evals |
|
|
42
|
+
|
|
43
|
+
**The contract a model must speak**: `POST {model, state, questions}` returning `{answers: {<id>: {type, noul |
|
|
44
|
+
choice | score}}}`. Anything that speaks it is a configuration change, not a code change. It is not free: re-measure
|
|
45
|
+
accuracy, calibration and flips on your gold set before switching.
|
|
46
|
+
|
|
47
|
+
## 3. Wiring it into the engine
|
|
48
|
+
|
|
49
|
+
- **Through the capability layer, never hand-called.** `jev_decision` is an engine capability (`kind="model"`,
|
|
50
|
+
async): register it from `engine_capabilities()` and call it by name.
|
|
51
|
+
|
|
52
|
+
```python
|
|
53
|
+
from rag_wright.api import ainvoke_model
|
|
54
|
+
|
|
55
|
+
out = await ainvoke_model("jev_decision", {"state": state, "questions": questions}, resources=ws)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- **The model is a profile, not a constant.** `DecisionModelProfile` (`model_id`, `served_model_id`, `endpoint`,
|
|
59
|
+
`api_key_env`, `timeout_s`, `fallback`, ...) registered with `register_decision_profile`, both on
|
|
60
|
+
`rag_wright.api`; select it with `RAG_DECISION_MODEL=<profile id>` or the capability's `model` input.
|
|
61
|
+
`RAG_JEV_TIMEOUT_S` overrides the request timeout.
|
|
62
|
+
|
|
63
|
+
```python
|
|
64
|
+
from rag_wright.api import DecisionModelProfile, register_decision_profile
|
|
65
|
+
|
|
66
|
+
register_decision_profile(DecisionModelProfile(model_id="laya-onprem", served_model_id="laya",
|
|
67
|
+
endpoint="https://decider.internal/v1/decisions",
|
|
68
|
+
api_key_env="LAYA_API_KEY", fallback="jev-1.14"))
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
- **A down model is asked once.** A profile's `fallback` is asked once when it fails and says which answered (PS-89).
|
|
72
|
+
- **Unavailable is an answer, not an error.** Without credentials (`OPENROUTER_API_KEY` by default), or after a
|
|
73
|
+
failed call, a caller decides as it did before there was a decision model (the deterministic rule, the LLM) and
|
|
74
|
+
the process warns once. Check registration and credentials before reading any number: a silently degraded path
|
|
75
|
+
measures the fallback.
|
|
76
|
+
- **Every call is metered** in `measure_usage`, with its cost.
|
|
77
|
+
- **The questions and criteria are domain knowledge**, so a pack keeps them in its ontology, not in code (ADR-0066):
|
|
78
|
+
`docs/domain-adaptation/ontology-authoring.md` section 5 is the pattern.
|
|
79
|
+
- **Keep a switch back to the LLM** per decision (the reference pack's `RAG_SEMANTIC_JUDGE=llm`), so a regression
|
|
80
|
+
found live is one setting away.
|
|
81
|
+
|
|
82
|
+
## 4. In the agent harness
|
|
83
|
+
|
|
84
|
+
The harness carries its own decision model; a product registers nothing.
|
|
85
|
+
|
|
86
|
+
- **Routing** (ADR-0146): the chat-manager's turn (D1), a verbatim brief (B1) and the orchestrator's workers (D2),
|
|
87
|
+
each left to the tier's model below `RoutingThresholds`; `routing=None` turns it off. Your tools', orchestrator's
|
|
88
|
+
and workers' descriptions are what it reads: write them to tell the options apart.
|
|
89
|
+
- **Grading** (PS-79, PS-95): a judgement rule is asked of the decision model and the LLM grader is paid only below
|
|
90
|
+
`Grading(threshold=)`. Write a rule's criterion as short, literal `;`-separated parts (section 5).
|
|
91
|
+
- **One record per run.** Answers are cached per run, so a question asked twice in one run gets the first answer;
|
|
92
|
+
the run's ledger (`WhatTheRunDecided`) records which model answered, or that none could.
|
|
93
|
+
- **A new decision point**: the `building-an-agent-harness` skill, "Where a decision model pays": shadow it first,
|
|
94
|
+
and never replace a point a typed allow-list already decides.
|
|
95
|
+
|
|
96
|
+
## 5. Asking it well
|
|
97
|
+
|
|
98
|
+
The single biggest lever, and free. Moving harness grading to these rules took judgement rules settled at 0.8 from 30
|
|
99
|
+
to 46 of 54 held-out cases, none wrong, with no training (PS-95, 480 calls). TypeSafe's guidance says the same:
|
|
100
|
+
"keep code in control", "break broad judgments into narrow, typed questions", "give each question only the context
|
|
101
|
+
it needs".
|
|
102
|
+
|
|
103
|
+
**The state**
|
|
104
|
+
- **An object whose fields name each part, not one string.** A run, for example: `{request, turns: [{speaker, text}],
|
|
105
|
+
tools: {name: description}, trace: [{n, name, kind, arguments, result, error}], answer}`. A string hides structure,
|
|
106
|
+
and a tool call has no text at all: a rule about what was called after what was undecidable from a transcript.
|
|
107
|
+
The object alone moved 30 to 34 of 54.
|
|
108
|
+
- **Every fact the decision depends on.** Which tier or record is judged, what each tool does, which call was a
|
|
109
|
+
dispatch. Without the tools' descriptions the sequence-rule fails weakened (a fail's yes-probability rose from 0.04
|
|
110
|
+
to 0.15). TypeSafe's tool-call gate flipped from refuse (0.87) to review (1.00) when the customer's account was
|
|
111
|
+
left out.
|
|
112
|
+
- **Nothing it does not need.** Unrelated text costs accuracy ("context rot"): cut long results, send the fields the
|
|
113
|
+
questions read, filter in code first.
|
|
114
|
+
- **Precompute in code** what code can know: order, kind, whether a call failed, counts, dates, sums, lookups. It
|
|
115
|
+
does not count, compare dates or do arithmetic reliably.
|
|
116
|
+
|
|
117
|
+
**The questions**
|
|
118
|
+
- **One literal judgement per question, pointing at the state by name**: `{"question": "Did the run keep to
|
|
119
|
+
`rule`?", "rule": <part>}`, not "Did this run keep to this rule? <text>". It reads literally: indirection (a
|
|
120
|
+
property of a property), negations and "rather than" clauses are where it is least sure. Direct questions moved
|
|
121
|
+
34 to 37 of 54.
|
|
122
|
+
- **Pick the type by what your code does next**: `noul` for a yes/no gate (0.5 means split, not "medium"; never
|
|
123
|
+
read a magnitude from it), `choice` for one of known options (always add a `none` / other option, or pair it
|
|
124
|
+
with a companion `noul` "does any option fit?"), `score` for a level.
|
|
125
|
+
- **High means yes.** Phrase so a high value is the yes your code acts on, and keep the `true` / `false` criteria
|
|
126
|
+
saying the same thing as the question; contradicting them costs accuracy.
|
|
127
|
+
- **Criteria are where the boundary lives.** One line per option or side, saying what it covers and what it does
|
|
128
|
+
not; structured criteria (`{what, not_for, examples}`) sharpen confusable options. Author them as domain knowledge
|
|
129
|
+
and confirm them with a person.
|
|
130
|
+
- **Batch.** One call carries one state and many keyed questions, evaluated independently: ask everything about a
|
|
131
|
+
unit in one call. Seven questions in one request took a few hundred milliseconds against two seconds for seven
|
|
132
|
+
calls.
|
|
133
|
+
- **Few-shot is a lever, per decision.** Labelled exemplars in the state lifted subjective and relational choices a
|
|
134
|
+
lot (Laya: favorability 0.17 to 0.50, party_asymmetry 0.18 to 0.55) and collapsed a numeric one (0.40 to 0.00),
|
|
135
|
+
and can bias a binary gate. A/B it per decision; never assume.
|
|
136
|
+
- **Choice option order can matter**: it leans to the first option. Reorder and check the answer holds.
|
|
137
|
+
|
|
138
|
+
**Combining answers in code**
|
|
139
|
+
- **By the decision's own logic.** A rule with several parts breaks when ONE part surely breaks; requiring every
|
|
140
|
+
part to be sure deferred 9 of 54 rules another part had already broken (37 to 46 of 54). Keep "surely broken"
|
|
141
|
+
and "surely held" as two thresholds, and anything between as unsettled.
|
|
142
|
+
- **Measured dead ends -- do not repeat:**
|
|
143
|
+
- splitting "does the rule apply?" from "was it kept?": 15 of 54 confidently wrong. Asked whether "the situation
|
|
144
|
+
the rule describes" arose, it read the situation as the compliant behaviour and answered it absent exactly when
|
|
145
|
+
the run broke the rule;
|
|
146
|
+
- one question per tool call on top of the rule's own questions: more unsure answers, fewer settled (27 against
|
|
147
|
+
37). More questions are not free when each is less literal;
|
|
148
|
+
- decompose only where each piece is itself a literal question.
|
|
149
|
+
|
|
150
|
+
## 6. Thresholds and what to do with the middle
|
|
151
|
+
|
|
152
|
+
- **Three paths, not two.** Above the yes threshold act, below the no threshold act the other way, and send the
|
|
153
|
+
middle to a person or a larger model (the LLM). TypeSafe starts a `noul` at 0.7 / 0.3; the harness's grading uses
|
|
154
|
+
0.8 (`Grading(threshold=)`), its routing `RoutingThresholds`.
|
|
155
|
+
- **Per action, by the cost of being wrong**: higher for an irreversible or expensive action, lower where missing a
|
|
156
|
+
yes is the costly error.
|
|
157
|
+
- **Choose it from a table**: settled, right and confidently wrong at several thresholds on a held-out set, never by
|
|
158
|
+
fitting a handful of cases. A threshold is a precision knob; it does not fix a confidently wrong question.
|
|
159
|
+
|
|
160
|
+
## 7. Repeatability and caching
|
|
161
|
+
|
|
162
|
+
- **It is not repeatable call to call**: Jev flipped 5 of 181 answers across identical calls, all at 0.47-0.56; about
|
|
163
|
+
3% of a residue flip. `temperature` and `seed` did not help; majority voting barely did. An answer that flips is an
|
|
164
|
+
ambiguous question: state the rubric once, phrase the criterion structurally, send the items without their
|
|
165
|
+
surrounding text.
|
|
166
|
+
- **Cache with the question in the key**: model, questions and exact state, so a re-run is repeatable and free and a
|
|
167
|
+
changed question never reuses an old answer. The harness caches per run.
|
|
168
|
+
|
|
169
|
+
## 8. Evaluate it
|
|
170
|
+
|
|
171
|
+
- **A gold set with a held-out half.** Tune questions on one set and report on another: cases used to choose the
|
|
172
|
+
questions are not a fair test of them (the `creating-evals` skill).
|
|
173
|
+
- **Report**: settled share, accuracy among settled, confidently wrong (the number that must be zero), stability over
|
|
174
|
+
three repeats, cost and latency, against the LLM or classifier it replaces.
|
|
175
|
+
- **Probe before a bulk run**: a few calls to read the probabilities on planted passes and fails tell you whether a
|
|
176
|
+
question is literal enough; a pre-flight count and cost before anything over about 50 paid calls.
|
|
177
|
+
|
|
178
|
+
## 9. Known blind spots
|
|
179
|
+
|
|
180
|
+
Literal reading; counting; dates and numeric comparison; indirection; long state full of unrelated detail; state
|
|
181
|
+
written to steer it (a third party's document can argue for its own label -- be explicit in the criteria); choice
|
|
182
|
+
option order; generation. Each has the same fix: move the part it is bad at into code or the state, and ask only the
|
|
183
|
+
judgement.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: laya
|
|
3
|
-
description: Recipe for fine-tuning and serving
|
|
3
|
+
description: Recipe for fine-tuning and serving Laya (ModernBERT-large with an RL-trained typed-decision head), the OPEN-weight System-1 decision model, when a managed decision model is unacceptable (on-prem, data residency) or a SetFit/encoder classifier PLATEAUS on a confusable/relational closed-vocab value. Covers uv install and env-isolation gotchas, checkpoints, the JSONL training schema, single-T4 fine-tuning (RLCD), calibration temperatures against the serving range, balance and data starvation, OOM knobs, the Modal harness, and CPU/MPS/GPU serving. Choosing a decision model, wiring one into the engine and asking it well is the `decision-model` skill; read it first.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Laya typed-decision classifier recipe
|
|
@@ -12,33 +12,12 @@ past SetFit**: use it when the decision — not the representation — is the bo
|
|
|
12
12
|
|
|
13
13
|
**Every number below is a DIRECTION from one project, never a target — re-measure on your own data.**
|
|
14
14
|
|
|
15
|
-
##
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
(zero-shot, instant) first**; reach for Laya when a **managed API is unacceptable** (on-prem / data-residency) and
|
|
22
|
-
you can fine-tune. In RAG_Wright a decision model is wired as a `kind="model"` capability (`jev_decision`) behind a
|
|
23
|
-
`DecisionModelProfile` (model id / endpoint / thresholds in config) — see `setfit` Phase 0.5 +
|
|
24
|
-
`authoring-a-capability`. The decision questions/criteria live in the `.ttl` (ADR-0066), not the capability.
|
|
25
|
-
|
|
26
|
-
**Swapping Jev for Laya is config, but not free.** `DECISION_PROFILES` has only Jev entries (`jev-1.13`, the
|
|
27
|
-
default, and `jev-latest`). A Laya swap needs (1) a server that speaks the Decisions API (POST
|
|
28
|
-
`{model, state, questions}`, return `{answers: {<id>: {type, noul|choice|score}}}`), and (2) its profile, registered
|
|
29
|
-
at startup from your product: `register_decision_profile(DecisionModelProfile(model_id="laya-onprem",
|
|
30
|
-
served_model_id=..., endpoint=..., api_key_env=...))`, both on `rag_wright.api` (an unregistered id falls back to the
|
|
31
|
-
OpenRouter endpoint). Then select it with `RAG_DECISION_MODEL=<profile id>` (or the `jev_decision` input `model`);
|
|
32
|
-
`RAG_JEV_TIMEOUT_S` overrides the request timeout.
|
|
33
|
-
|
|
34
|
-
**Batch the questions.** One call carries one `state` and many keyed questions, so ask everything about a unit in
|
|
35
|
-
ONE call (the reference pack judges all of a provision's values, and labels all of its residual candidates, in one
|
|
36
|
-
call each). That is the cost shape: one call per unit, not per value.
|
|
37
|
-
|
|
38
|
-
**Repeatability.** Answers near the threshold can flip across identical calls (Jev: 5/181 flips, all at scores
|
|
39
|
-
0.47-0.56; temperature/seed did not help, majority voting barely helped). Fix the ambiguous question instead: state
|
|
40
|
-
the rubric once, use structural criteria, pass the items without surrounding text. Re-measure flips on any Laya
|
|
41
|
-
server you swap in.
|
|
15
|
+
## Read the `decision-model` skill first
|
|
16
|
+
Choosing a decision model (a managed one such as Jev zero-shot usually wins, and needs no training), wiring it into
|
|
17
|
+
the engine, and asking it well (state, questions, criteria, few-shot, thresholds, repeatability) are the
|
|
18
|
+
`decision-model` skill, and hold for a fine-tuned Laya as for any other. This skill is the fine-tuning recipe: reach
|
|
19
|
+
for it when a managed API is unacceptable, or a closed-vocab value plateaus on every encoder. A served Laya plugs in
|
|
20
|
+
behind the engine's decision-model profile like any model that speaks the Decisions API.
|
|
42
21
|
|
|
43
22
|
## When to use Laya (vs SetFit)
|
|
44
23
|
- A closed-vocab value **plateaus below the bar with EVERY encoder backbone you try** (we ruled it out with
|
|
@@ -73,9 +52,10 @@ One JSONL line per case (`research/scripts/finetune_single_device.py` reads this
|
|
|
73
52
|
"questions": {"<dim>": {"type":"choice","instructions":"<the question>","criteria":{"<value>":"<description>", ...}}},
|
|
74
53
|
"gold": {"<dim>": {"probabilities": {"<value>": <p>, ...}, "label": "<value>"}}}
|
|
75
54
|
```
|
|
76
|
-
- **`criteria` = per-value written descriptions = the semantic-guidance lever SetFit never had.** Author them
|
|
77
|
-
|
|
78
|
-
semantics and CONFIRM with a human before training. Wording
|
|
55
|
+
- **`criteria` = per-value written descriptions = the semantic-guidance lever SetFit never had.** Author them as the
|
|
56
|
+
`decision-model` skill says (one line per value, what it covers and what it does not), from the ontology (`.ttl`);
|
|
57
|
+
if the ontology is thin, author from the value semantics and CONFIRM with a human before training. Wording
|
|
58
|
+
directly shapes what the model learns.
|
|
79
59
|
- **`gold` is a DISTRIBUTION (soft targets), not a hard label** — RLCD trains on the teacher's probability per option.
|
|
80
60
|
One-hot (`{gold:1.0, other:0.0}`) works and is the pragmatic start; true soft targets (teacher per-option probs)
|
|
81
61
|
are the design-intended enhancement.
|
|
@@ -129,9 +109,8 @@ One JSONL line per case (`research/scripts/finetune_single_device.py` reads this
|
|
|
129
109
|
qwen-vllm-modal skill — do not conflate. (Ignored the stated cap once, spawned 29 → 3 waves.)
|
|
130
110
|
|
|
131
111
|
## Levers that matter (measured, dim-dependent)
|
|
132
|
-
- **Few-shot
|
|
133
|
-
|
|
134
|
-
**HURT a numeric dim** (cap_basis 0.40→0.00, collapsed). **A/B few-shot per dim; never assume it helps.**
|
|
112
|
+
- **Few-shot in the state** is an inference-time lever for any decision model (the `decision-model` skill); on Laya
|
|
113
|
+
it was dim-dependent. Take its exemplars from TRAIN only.
|
|
135
114
|
- **Balance: don't down-sample to tiny data.** Balancing favorability DOWN to 18/18 (36 rows) + soft targets
|
|
136
115
|
COLLAPSED it (0.00) — the larger imbalanced set did better (0.50). A starved minority value needs balance-**UP**
|
|
137
116
|
(mine more minority data), not down-sampling the majority.
|
|
@@ -5,9 +5,8 @@ description: >-
|
|
|
5
5
|
short text (spans, clauses, sentences, snippets). Use it when framing a decision as classification, or when
|
|
6
6
|
building/improving a few-shot-to-full-data text classifier: problem framing, data & evaluation design,
|
|
7
7
|
backbone selection, soft-tagging/top-k, ensembling, rare-class data curation (including sourcing examples
|
|
8
|
-
online), calibration, and checkpointing.
|
|
9
|
-
|
|
10
|
-
CIC-1c lesson). It exists so the NEXT classifier converges faster and re-uses hard-won lessons instead of
|
|
8
|
+
online), calibration, and checkpointing. Phase 0.5 says when NOT to train: A/B a zero/few-shot decision model
|
|
9
|
+
first (the `decision-model` skill), which often wins on scarce or label-ambiguous data. It exists so the NEXT classifier converges faster and re-uses hard-won lessons instead of
|
|
11
10
|
re-discovering them.
|
|
12
11
|
---
|
|
13
12
|
|
|
@@ -42,52 +41,17 @@ your label set, data volume, and confusable structure differ, so re-measure ever
|
|
|
42
41
|
label end to end. (ADR-0114's SetFit clause classifier passed >0.65 top-3 recall on gold snippets; in the pipeline
|
|
43
42
|
its top-1 confused Cap / Uncapped Liability, which silently broke exception linking.)
|
|
44
43
|
|
|
45
|
-
## Phase 0.5 — Before you train: A/B a System-1 decision model
|
|
44
|
+
## Phase 0.5 — Before you train: A/B a System-1 decision model
|
|
46
45
|
|
|
47
|
-
Once the task is framed as a closed-set decision (Phase 0), a trained classifier is NOT the only option
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
(RAG_Wright CIC-1c, ADR-0119): a trained SetFit operative-rule classifier capped at ~0.82 on a 0.905-agreement
|
|
52
|
-
gold (confident, unroutable errors; Laya no better; no public labeled negatives), while **Jev zero-shot hit 0.92**
|
|
53
|
-
(the label ceiling), with claim_types micro-F1 0.85 / actor 0.90 few-shot;
|
|
54
|
-
- **you need honest uncertainty to route/gate** — a decision model's probabilities are calibrated; a SetFit
|
|
55
|
-
logistic head is overconfident, so a confidence-routed hybrid couldn't be rescued (ADR-0119);
|
|
56
|
-
- **low-to-moderate volume** where there's no reason to host a local model (~$0.00002/call for a managed one).
|
|
46
|
+
Once the task is framed as a closed-set decision (Phase 0), a trained classifier is NOT the only option, and often not
|
|
47
|
+
the best: a decision model (Jev zero- or few-shot) answers with calibrated probabilities and no training. On the
|
|
48
|
+
reference pack's operative-rule gate it reached 0.92 where a trained SetFit capped near 0.82 (ADR-0119). When to
|
|
49
|
+
prefer it, how to wire it and how to ask it are the **`decision-model`** skill.
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
for $0.013 (the LLM path: 277 calls, 276 of them LLM, $0.277).
|
|
63
|
-
|
|
64
|
-
**Unstable answers mean an ambiguous question.** Jev flipped 5/181 answers across identical calls, all at scores
|
|
65
|
-
0.47-0.56; temperature/seed did not help and majority voting barely helped. Rewriting the question did: state the
|
|
66
|
-
rubric ONCE in the `state`, phrase each criterion structurally (what the line IS, not what it might mean), and
|
|
67
|
-
pass the lines to decide without their surrounding text. Measure repeatability (the `creating-evals` skill).
|
|
68
|
-
|
|
69
|
-
**Prefer a trained classifier** when: high volume where per-call API cost compounds AND you have a large labeled
|
|
70
|
-
corpus (the contract Step-3a fleet, ADR-0115/0116); on-prem-only with no managed API (then fine-tune **Laya**, the
|
|
71
|
-
open decision model — the `laya` skill); or the decision needs features a prompt can't express.
|
|
72
|
-
|
|
73
|
-
Two decision models:
|
|
74
|
-
- **Jev** (TypeSafe, managed) — the **OpenRouter Decisions API** (`typesafe/jev-1.13`, POST `/api/alpha/decisions`,
|
|
75
|
-
NOT chat completions). `questions` keyed by id: `noul` (yes/no → P(yes)), `choice` (options + probabilities),
|
|
76
|
-
`score`. **Multi-label = several `noul` in one call.** **Few-shot = labeled exemplars in the `state`** (helps
|
|
77
|
-
choice/multi-label; can BIAS a binary gate — zero-shot the gate). Tune the `noul` threshold for precision/recall
|
|
78
|
-
(and note the threshold is a config knob, not a precision fix for confident errors).
|
|
79
|
-
- **Laya** (Convai, open, Apache-2.0, ModernBERT-large + RL head) — on-prem; near-random zero-shot so **fine-tune
|
|
80
|
-
it** (the `laya` skill). The open fallback when a managed API is unacceptable.
|
|
81
|
-
|
|
82
|
-
**Wire it as a capability, don't hand-call it** (route-production-through-the-capability-layer): register a
|
|
83
|
-
`kind="model"` capability with an `impl_ref` client (RAG_Wright ships `jev_decision`, an ASYNC model cap invoked via
|
|
84
|
-
`ainvoke_model`) and keep the model id / endpoint / thresholds in a decision-model **profile**
|
|
85
|
-
(`DecisionModelProfile`), never hardcoded — so swapping Jev ↔ Laya ↔ a future open-weight alternative is config.
|
|
86
|
-
See `authoring-a-capability` + ADR-0119. The decision knowledge (the questions / criteria) belongs in the ontology
|
|
87
|
-
(`.ttl`), not the capability (ADR-0066).
|
|
88
|
-
|
|
89
|
-
**Rule of thumb: for a closed-set decision, A/B a decision model (Jev zero/few-shot) against a trained classifier
|
|
90
|
-
on your REAL gold, and select on accuracy + calibration + cost — do not assume training is the answer.**
|
|
51
|
+
**Rule of thumb: for a closed-set decision, A/B a decision model against a trained classifier on your REAL gold, and
|
|
52
|
+
select on accuracy + calibration + cost — do not assume training is the answer.** Train (this skill) at high volume
|
|
53
|
+
with a large labelled corpus, or when the decision needs features a question cannot express; on-prem with no managed
|
|
54
|
+
API, fine-tune Laya (the `laya` skill).
|
|
91
55
|
|
|
92
56
|
## Phase 1 — Data & evaluation design (do this FIRST; it is the foundation)
|
|
93
57
|
- **Judge by the per-class FLOOR, not overall accuracy.** A high average hides dead classes. Set an explicit
|
|
@@ -164,7 +164,7 @@ Work the domain-adaptation guide, grounding each engine call (step 2) and writin
|
|
|
164
164
|
3. **Build + register capabilities** — compose the engine's generic primitives by import; register YOUR domain
|
|
165
165
|
graphs/models/skills via `register_capability(manifest)` with an `impl_ref`. → `authoring-capabilities.md`.
|
|
166
166
|
4. **Write each capability's eval first (TDD)** → the `creating-evals` skill; A/B rule vs classifier vs decision
|
|
167
|
-
model vs LLM on it → `classifier-opportunity-analysis`, `setfit`, `laya`.
|
|
167
|
+
model vs LLM on it → `classifier-opportunity-analysis`, `decision-model`, `setfit`, `laya`.
|
|
168
168
|
5. **Ingest the corpus** → the populated KG. `pipeline = build_ingestion(your_extractor, ...your hooks,
|
|
169
169
|
tuning=IngestionTuning(...))`, then `await pipeline.aingest(ws, sources, cache_dir=...)`. Tune the hooks with
|
|
170
170
|
`evaluate_ingestion` on your own sample documents before a full run. Embedded files and PDF attachments are
|
|
@@ -214,7 +214,7 @@ stay below `max_num_seqs` (`aingest` warns when its own peak exceeds it).
|
|
|
214
214
|
Full walk-through: `docs/configuration.md`, "A self-hosted model server".
|
|
215
215
|
|
|
216
216
|
**Using the decision model (Jev).** Register `jev_decision` (from `engine_capabilities()`) and set
|
|
217
|
-
`OPENROUTER_API_KEY` (`RAG_DECISION_MODEL` overrides the default profile `jev-1.
|
|
217
|
+
`OPENROUTER_API_KEY` (`RAG_DECISION_MODEL` overrides the default profile `jev-1.14`, ADR-0147). Without both, the reference
|
|
218
218
|
pack's decision paths silently fall back (to deterministic rules or the LLM); your own
|
|
219
219
|
`ainvoke_model("jev_decision", ...)` raises `KeyError` when it is not registered and `RuntimeError` when the key is
|
|
220
220
|
unset. Check both before trusting a run's numbers.
|
|
@@ -264,7 +264,7 @@ engine PR:
|
|
|
264
264
|
|
|
265
265
|
`specifying-a-product-on-the-engine` (your high-level spec into a SPEC mapped to the engine, first),
|
|
266
266
|
`creating-evals` (eval-first), `building-an-ingestion-capability` (your ingestion hooks),
|
|
267
|
-
`classifier-opportunity-analysis` → `
|
|
267
|
+
`classifier-opportunity-analysis` → `decision-model` (ask a decision model) or `setfit`/`laya` (train one),
|
|
268
268
|
`authoring-a-capability` (register a cap), `building-an-agent-harness` (your agent on `rag_wright.harness`),
|
|
269
269
|
`building-a-product-backend` and `building-a-product-frontend` (the backend's operation layer and the front end's
|
|
270
270
|
architecture), `qwen-vllm-modal` (bulk teacher-labeling substrate, with its Modal deploy script). They ship inside the installed engine, at `rag_wright/.agents/skills/<name>/` (the convention
|
|
@@ -4,6 +4,50 @@ All notable changes to RAG_Wright are documented here. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project aims to follow
|
|
5
5
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.21.0](https://github.com/fzaidi-dai/RAG_Wright/compare/0.20.1...0.21.0) (2026-12-04)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ⚠ BREAKING CHANGES
|
|
11
|
+
|
|
12
|
+
* **PS-85:** rag_wright.pack_sdk no longer exports profile_for; import it from rag_wright.api.
|
|
13
|
+
* **PS-84:** orchestrator_direct, orchestrator_reachable, bridged_tools and js_name are removed, with harness.interpreter; the orchestrator no longer runs operations no worker holds.
|
|
14
|
+
* **PS-96:** large tool results are held in the LangGraph store; `build_chat_agent` with a durable checkpointer and no `store=` refuses to build. Pass a durable store beside it, or set `AgentDefinition.hold_over=None`.
|
|
15
|
+
* **PS-96:** held results are not removed with a thread; call `forget_held(store, thread_id)` (`aforget_held` on an async store) wherever you remove one.
|
|
16
|
+
* **PS-80:** `MODEL_CALLS_PER_RUN` / `TOOL_CALLS_PER_RUN` are renamed `MODEL_CALLS_PER_INVOCATION` / `TOOL_CALLS_PER_INVOCATION` (`rag_wright.harness.errors`); a run's own bound is `AgentDefinition.budget`.
|
|
17
|
+
* **PS-91:** a paused run resumed on a fresh agent needs the same `seen=WhatTheRunCalled()` it started with, beside `ledger=` and `spent=`, or calls the paused half made run again.
|
|
18
|
+
* What to change, and the behaviour you will see with no change: `docs/specs/public-surface/migration-0.21.0.md`.
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **PS-78:** a worker reasons with its own model ([50e4770](https://github.com/fzaidi-dai/RAG_Wright/commit/50e4770b86398652465bf033142ed5fcf5d39a95))
|
|
23
|
+
* **PS-79:** grading by the decision model ([f13ddf8](https://github.com/fzaidi-dai/RAG_Wright/commit/f13ddf8ae59722ebf4407c16937c7129f4432b90))
|
|
24
|
+
* **PS-80:** the run's protections see tiers and resumed turns ([18a3e13](https://github.com/fzaidi-dai/RAG_Wright/commit/18a3e134d867f154b82ed7df4356c175fce2621c))
|
|
25
|
+
* **PS-83:** a paused run says what it is waiting on ([76e9666](https://github.com/fzaidi-dai/RAG_Wright/commit/76e966636217035aed4b849a6b928029c51705ed))
|
|
26
|
+
* **PS-84:** the orchestrator plans and dispatches, never executes ([691ade6](https://github.com/fzaidi-dai/RAG_Wright/commit/691ade6cb7241ee80677138408dec810e980cd2e))
|
|
27
|
+
* **PS-86:** the orchestrator's dispatches are bounded per run ([c515571](https://github.com/fzaidi-dai/RAG_Wright/commit/c515571405b649cbe50d6707cd60613f4628e321))
|
|
28
|
+
* **PS-87:** a chat-manager with no direct operations is not offered answer ([00ec134](https://github.com/fzaidi-dai/RAG_Wright/commit/00ec13429af4f28d624c1ba717b242b65c02edf9))
|
|
29
|
+
* **PS-88:** the run's call budget is per question, and a stop carries what came back ([95316cd](https://github.com/fzaidi-dai/RAG_Wright/commit/95316cdcaca3ceb12af278c3e3c817dc27e321fe))
|
|
30
|
+
* **PS-89:** a decision model that is down falls back, and the outage is visible ([e05e375](https://github.com/fzaidi-dai/RAG_Wright/commit/e05e375218b1b74ef13707bcf1b1f433eb2a6f02))
|
|
31
|
+
* **PS-90:** a quoted repeat says what it quotes, and a context that never saw the result gets all of it ([2860f14](https://github.com/fzaidi-dai/RAG_Wright/commit/2860f14db752e544056edb354b3050cece60c099))
|
|
32
|
+
* **PS-91:** a resumed run knows what it already asked for ([a3f9c59](https://github.com/fzaidi-dai/RAG_Wright/commit/a3f9c596339e9171d19edd57722fe8712c9459c5))
|
|
33
|
+
* **PS-95:** the decision model grades from the run as named fields; a decision-model skill ([0fb7052](https://github.com/fzaidi-dai/RAG_Wright/commit/0fb70520ef2c21efc62b7368b015d2c56444dd45))
|
|
34
|
+
* **PS-96:** large results passed by reference, held in the LangGraph store ([383f506](https://github.com/fzaidi-dai/RAG_Wright/commit/383f5066d02333e2b2b9e5b56e9ab29fd96f5a27))
|
|
35
|
+
* **PS-97:** two calls written differently that ask the same question ([b609444](https://github.com/fzaidi-dai/RAG_Wright/commit/b609444cd84798350023aaa1bebb591bbd3c451d))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* **PS-74:** a model told it is repeating is made to answer ([a77d6dd](https://github.com/fzaidi-dai/RAG_Wright/commit/a77d6dd599a5ed8c1af1facb6a9d8d8fb376fd17))
|
|
41
|
+
* **PS-76:** a chat-manager handed a report answers from it ([d69762d](https://github.com/fzaidi-dai/RAG_Wright/commit/d69762db79d66323fcf5e77088cfb734ae81de6a))
|
|
42
|
+
* **PS-77:** D1 offers the product's direct tools ([3e44c3b](https://github.com/fzaidi-dai/RAG_Wright/commit/3e44c3b3d5b0d6a388c3ca541d2edcf2ee2b220c))
|
|
43
|
+
* **PS-81:** a resumed dispatch carries the answer; a worker stops searching its filesystem ([bfa5e02](https://github.com/fzaidi-dai/RAG_Wright/commit/bfa5e02930a39c7ff0f691aff67e550d846b448d))
|
|
44
|
+
* **PS-85:** profile_for on one public tier ([f0bc144](https://github.com/fzaidi-dai/RAG_Wright/commit/f0bc144acc42d841f026a7b94aab7847bc371f47))
|
|
45
|
+
* **PS-92:** a plan paused by a worker's question continues where it stopped ([82801ff](https://github.com/fzaidi-dai/RAG_Wright/commit/82801fffb120029306b1510c3e27a7493d8dff42))
|
|
46
|
+
* **PS-93:** a reply that does nothing never runs a tool and cannot loop a tier ([60778bf](https://github.com/fzaidi-dai/RAG_Wright/commit/60778bf48d9a979dd16276b00ba1af1e681e28ac))
|
|
47
|
+
* **PS-94:** a tool call written as text is not an answer ([73fb9e6](https://github.com/fzaidi-dai/RAG_Wright/commit/73fb9e6258c412f667a2517a46089e345e91872a))
|
|
48
|
+
* the default decision model is jev-1.14, Jev having returned (ADR-0147 addendum) ([116e489](https://github.com/fzaidi-dai/RAG_Wright/commit/116e489a52165a3c348670b380eb586830256f4a))
|
|
49
|
+
* the default decision model is pplx-decider-v1.2 while Jev is unavailable (ADR-0147) ([9d4cae5](https://github.com/fzaidi-dai/RAG_Wright/commit/9d4cae57f970246711dd785af2844e5bfde64d19))
|
|
50
|
+
|
|
7
51
|
## [0.20.1](https://github.com/fzaidi-dai/RAG_Wright/compare/0.20.0...0.20.1) (2026-11-21)
|
|
8
52
|
|
|
9
53
|
|