agent-joule/rust-toolchain.toml
David Charlot 4b69bc197b
Some checks failed
deploy_docs.yml / Update to Rust 1.97 and latest dependencies, and wire cross-encoder reranking (push) Failing after 0s
extension_bump.yml / Update to Rust 1.97 and latest dependencies, and wire cross-encoder reranking (push) Failing after 0s
deploy_docs.yml / Update to Rust 1.97 and latest dependencies, and wire cross-encoder reranking (pull_request) Failing after 0s
extension_bump.yml / Update to Rust 1.97 and latest dependencies, and wire cross-encoder reranking (pull_request) Failing after 0s
danger / danger (pull_request) Has been cancelled
nix_build / build_nix_linux_x86_64 (pull_request) Has been cancelled
nix_build / build_nix_mac_aarch64 (pull_request) Has been cancelled
run_bundling / bundle_linux_aarch64 (pull_request) Has been cancelled
run_bundling / bundle_linux_x86_64 (pull_request) Has been cancelled
run_bundling / bundle_mac_aarch64 (pull_request) Has been cancelled
run_bundling / bundle_mac_x86_64 (pull_request) Has been cancelled
run_bundling / bundle_windows_aarch64 (pull_request) Has been cancelled
run_bundling / bundle_windows_x86_64 (pull_request) Has been cancelled
run_tests / orchestrate (pull_request) Has been cancelled
run_tests / check_style (pull_request) Has been cancelled
run_tests / clippy_windows (pull_request) Has been cancelled
run_tests / clippy_linux (pull_request) Has been cancelled
run_tests / clippy_mac (pull_request) Has been cancelled
run_tests / clippy_mac_x86_64 (pull_request) Has been cancelled
run_tests / run_tests_windows (pull_request) Has been cancelled
run_tests / run_tests_linux (pull_request) Has been cancelled
run_tests / run_tests_mac (pull_request) Has been cancelled
run_tests / miri_scheduler (pull_request) Has been cancelled
run_tests / doctests (pull_request) Has been cancelled
run_tests / check_workspace_binaries (pull_request) Has been cancelled
run_tests / build_visual_tests_binary (pull_request) Has been cancelled
run_tests / check_wasm (pull_request) Has been cancelled
run_tests / check_dependencies (pull_request) Has been cancelled
run_tests / check_docs (pull_request) Has been cancelled
run_tests / check_licenses (pull_request) Has been cancelled
run_tests / check_scripts (pull_request) Has been cancelled
run_tests / check_postgres_and_protobuf_migrations (pull_request) Has been cancelled
run_tests / tests_pass (pull_request) Has been cancelled
Update to Rust 1.97 and latest dependencies, and wire cross-encoder reranking
Toolchain and dependencies:
- rust-toolchain.toml 1.96.0 -> 1.97.0 (current stable).
- cargo update across the workspace: latest semver-compatible versions.
- All open-standards git deps (jouleclaw-*, joule-code-*, sandbox-*, joule-moq)
  move together 320fa1e -> c4b536cf, and off github.com onto the sovereign forge
  (git.transaction.science) — the flagged org is 404 to anonymous clients, which
  breaks clean-container CI even though a warm dev cache hides it.

  c4b536cf is 320fa1e plus the additive score_binary commit, deliberately NOT the
  newer fix/omni-build branch: that line has dropped crates this workspace still
  depends on (jcp-a2a), so bumping onto it would mean reconciling against a
  restructured open-standards rather than taking a runtime addition.

Cross-encoder reranking (the last stage of qmd's pipeline):
- l3::l3_rerank_score — relevance of a document to a query in [0,1], read as
  P(yes) after ONE forward pass over a yes/no reranker prompt. Resolves the
  yes/no ids by exact token lookup and encodes the chat markers atomically; the
  prompt omits the reasoning <think> block, which derails the 0.6B reranker.
- retrieval::rerank — reorders fused hits by an injected scorer (model-free
  here); an unscored hit keeps its fused rank rather than mis-ordering.
- `search` control method: fuse BM25 + structural, then rerank the top with the
  loaded model ({"rerank": false} to skip).

Fusion alone ranks cascade.rs first for "invalidate the embedding cache"; with
Qwen3-Reranker-0.6B the model re-reads each candidate against the query and
demotes fabric.rs (compute fabric, not caches) from 3rd to last. 182 joule_core
tests green on 1.97; joule_coded builds release.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-07-14 14:57:53 -04:00

9 lines
262 B
TOML

[toolchain]
channel = "1.97.0"
profile = "minimal"
components = [ "rustfmt", "clippy", "rust-analyzer", "rust-src" ]
targets = [
"wasm32-wasip2", # extensions
"wasm32-unknown-unknown", # gpui on the web
"x86_64-unknown-linux-musl", # remote server
]