v3.10.10

ruvnet/ruflov3.10.10May 29, 2026by ruvnet

AI Summary

Adopts three high-confidence patterns from Hermes-Agent: prompt caching, reasoning-tag scrub, and tool-loop circuit breaker. All three packages updated to 3.10.10.

Key Highlights

  • Prompt caching: ~90% discount on cached input tokens with 5-min TTL
  • Reasoning-tag scrub: strips thinking blocks before DISTILL to prevent contamination
  • Tool-loop circuit breaker: warns at 3 / blocks at 5 consecutive command failures
  • CI 29/29 green

New Features

  • Prompt caching with ephemeral cache breakpoint
  • Reasoning-tag scrub for trajectory actions/results
  • Tool-loop circuit breaker with recovery hints

Full Release Notes

## Ruflo v3.10.10 — Hermes-Agent Tier-1 adoptions

The 3 small, high-confidence, in-repo patterns worth borrowing from [NousResearch/Hermes-Agent](https://github.com/nousresearch/hermes-agent), from a deep-research capability map (the rest were SKIP or ADR-gated; the map also produced 5 corrections to ADR-113/#1907).

- **Prompt caching** — `agent_execute`'s direct Anthropic call now marks the system prompt as an ephemeral cache breakpoint (~90% discount on cached input tokens, 5-min TTL). Same strategy applied to `@claude-flow/providers` (gated by `config.promptCache`, default on).
- **Reasoning-tag scrub** — trajectory action/result are stripped of `<think>`/`<thinking>`/`<reasoning>`/`<REASONING_SCRATCHPAD>` blocks before DISTILL, so extended-thinking tokens don't contaminate the pattern embeddings the learning loop relies on. Boundary-gated.
- **Tool-loop circuit breaker** — `pre-command` warns at 3 / blocks at 5 consecutive failures of the same command (with a recovery hint), fed by `post-command`. Orthogonal to the injection-focused security guardrail; advisory by default.

Honest note: `@claude-flow/providers` is not consumed by the cli, so the cli-effective prompt-caching fix is in `agent-execute-core.ts`; the providers change ships on its own cadence.

CI 29/29 green; all three packages at 3.10.10 (latest/alpha/v3alpha lockstep).

šŸ¤– Generated with [RuFlo](https://github.com/ruvnet/ruflo)