Back to Signal Feed
CodeTracked since May 20, 2026

Route sublinear CG through native MCP when available with local-JS fallback

This change updates SublinearAdapter so solver calls use the native `mcp__ruflo-sublinear__solve` tool when reachable, with automatic fallback to the in-repo JS CG kernel when the native path is unavailable.

SublinearAdaptermcp__ruflo-sublinear__solveRUFLO_SUBLINEAR_NATIVESolveResult

What Happened

  • This change updates SublinearAdapter so solver calls use the native `mcp__ruflo-sublinear__solve` tool when reachable, with automatic fallback to the in-repo JS CG kernel when the native path is unavailable.
  • This change updates SublinearAdapter so solver calls use the native `mcp__ruflo-sublinear__solve` tool when reachable, with automatic fallback to the in-repo JS CG kernel when the native path is unavailable.
  • 1 evidence item attached for review.

What is Different

Before

Scattered source updates, isolated context, and manual follow-up across multiple feeds.

Now

Implemented native dispatch integration for sublinear conjugate-gradient solving in `SublinearAdapter` (with preserved legacy alias compatibility), including backend-discovery fallback logic and explicit result tagging (`cg-sublinear-native` vs `cg-local`, `[email protected]` vs `local-js-cg`) for operator visibility.

Why Track This

Why It Matters

Operators using `trader-portfolio-cg` can keep risk-solving workflows operating during native-tool outages while still gaining the native sublinear path automatically when the MCP tool is mounted, which directly reduces runtime disruption risk and preserves throughput in mixed environments. The PR also makes backend choice auditable per solve result and ships parity-checked local-benchmarks (1.61x–1.9x faster than Neumann locally, parity within tight error bounds), so teams should now watch whether CI with a mounted daemon actually validates the expected native path and whether tool-mount detection or canary override flags ever misroute traffic to the wrong solver.

Impact

Operators using `trader-portfolio-cg` can keep risk-solving workflows operating during native-tool outages while still gaining the native sublinear path automatically when the MCP tool is mounted, which directly reduces runtime disruption risk and preserves throughput in mixed environments. The PR also makes backend choice auditable per solve result and ships parity-checked local-benchmarks (1.61x–1.9x faster than Neumann locally, parity within tight error bounds), so teams should now watch whether CI with a mounted daemon actually validates the expected native path and whether tool-mount detection or canary override flags ever misroute traffic to the wrong solver.

What To Watch Next

  • Watch whether SublinearAdapter becomes a repeated pattern.
  • Track follow-up changes around Evals and Benchmarks.
  • Compare future signals against this evidence trail.
  • Re-check risk flags: native_mcp_tool_mount_instability, canary_override_misuse.
Open Topic TimelineOpen Technical EventOpen Original Sourcenative_mcp_tool_mount_instability / canary_override_misuse / backend_selection_false_positive / native_path_performance_not_yet_validated_in_ci

Supporting Evidence