Repository navigation
feat: integrate RuForecast predictive advisory - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Integrates RuForecast into Ruv Drone as an optional, baseline-first predictive advisory with a hard flight-authority boundary.
The feature observes only bounded local battery, link-quality, and mission-progress history. It emits receipt-bound, expiring forecasts and payload-free metrics. Shadow is the default. An explicit canary can only reduce eligibility for new cooperative work.
Architecture
ruvnet/RuForecast@59173b55ef51a122db222c9902aeae521713d0a5ruforecast-coreonly; no Burn/model/training runtimeADR-174, operator guide, STRIDE threat model, benchmark protocol, README, and CI matrix are included.
Honest model boundary
RuForecast reports that no learned configuration has reliably beaten last-value and seasonal-naive out of sample. This PR therefore integrates the deterministic baseline and promotion plumbing without claiming learned predictive lift. Learned activation and a future signed LatentMesh forecast summary are tracked in #6.
Validation
cargo test --locked --all-targets: 136 passedcargo test --locked --features ruforecast --all-targets: 143 passedcargo test --locked --features latentmesh,ruforecast --all-targets: 198 passedcargo test --locked --no-default-features --all-targets: 136 passedcargo clippy --locked --features latentmesh,ruforecast --all-targets -- -D warnings: passedcargo audit: 0 vulnerabilities; one allowed, pre-existing unmaintainedpaste 1.0.15warning vianalgebra → simbaBenchmarks
Xeon Platinum 8573C, rustc 1.98.0, optimized Criterion profile:
The sub-nanosecond query is a microbenchmark lower bound, not end-to-end latency. Cadence limiting made the common observation path roughly 50× cheaper than a refresh on this runner.
Rollback
Set rollout to Disabled or build without
ruforecast. Existing default behavior and onboard safety remain unchanged.