Files
ruflo/v3/docs
rUvandReuven 545426f605 docs(adr-117): neural-trader heavy jobs on the Managed Agent cloud runtime (#1935)
ADR-117 (Accepted): dispatch heavy neural-trader jobs — multi-year
walk-forward backtests, big Monte-Carlo, parameter sweeps, LSTM/
Transformer/N-BEATS training — to an Anthropic Managed Agent cloud
container via the managed_agent_* tools (ADR-115, shipped in
3.7.0-alpha.27). No new MCP tools, no new deps — pure orchestration.

- skills/trader-cloud-backtest/SKILL.md — the recipe (provision-once,
  pre-flight-cheap, run, ingest-locally, terminate-eagerly); allowed-tools
  scoped to managed_agent_* + memory_* + agentdb_pattern-store + Bash/Read
  (no wildcard grant).
- commands/trader.md — /trader cloud <backtest|train|sweep> subcommand.
- scripts/smoke.sh — step 2 now asserts the 7th skill exists, references
  managed_agent_create, and names the local trader-backtest fallback;
  step 10 ADR-status check corrected to Accepted.
- README.md — overview + skills table + Architecture-Decisions +
  Related-Plugins cross-refs to ADR-117 / ADR-115 / ruflo-agent.
- ADR-115 Links — cross-refs ADR-117 as the first consumer.

Cost-optimization rules baked into the recipe (the "optimize" requirement):
install-once in initScript, reuse the environment, pre-flight cheap
(1-path/3-month smoke before a 1000-path/multi-year run), batch sweeps into
one prompt, terminate eagerly + GC orphans (#1931), cheap agent model
(Haiku/Sonnet — the compute is the Rust engine, not the LM; ADR-026),
estimate before kicking off.

Validation: ruflo-neural-trader smoke 11/0, ruflo-agent smoke 12/0,
audit-cli-mcp-tools / audit-tool-descriptions / audit-plugin-packages /
audit-hook-commands all green. No new MCP tools → cli build unaffected.

Co-authored-by: Reuven <cohen@ruv-mac-mini.local>
2026-05-12 12:31:42 -04:00
..