v3/docs/releases/v3.32.35.md
Ruflo v3.32.35 gives long-running agent teams a controlled way to learn which
workers should receive future tasks. The new pheromone-adaptive topology
combines outcome, latency, and consensus signals while preserving protected
roles, a minimum active quorum, and existing permissions. It begins in dry-run
mode so teams can inspect its decisions before enabling scheduling changes.
This release also makes the surrounding learning loop more trustworthy: project flywheels must evaluate against a project-local, hash-pinned benchmark; learned routing updates inside a live MCP process; AgentDB deletes and upserts remove stale vectors; and daemon auto-start is limited to actual Ruflo projects.
npm install --global [email protected]
ruflo doctor
Existing installations remain compatible. The default topology is still
hierarchical, old swarm state remains readable, historical flywheel receipts
remain verifiable, and the new adaptive scheduler is opt-in.
Start in the default calibration mode:
ruflo swarm init \
--topology pheromone-adaptive \
--max-agents 8
ruflo swarm pheromone
ruflo agent metrics --format json
When the observations look right, explicitly enable scheduling enforcement:
ruflo swarm init \
--topology pheromone-adaptive \
--max-agents 8 \
--apsc-live
Live mode changes Ruflo dispatch eligibility only. It does not terminate agents, revoke access, discard context, or widen permissions.
Create .claude/eval/flywheel-anchor.manifest.json:
{
"schemaVersion": "ruflo.flywheel-anchor-manifest/v1",
"path": "my-project-anchor.json",
"sha256": "sha256:<canonical-task-hash>"
}
The referenced anchor contains at least four labelled tasks. Ruflo binds its canonical hash into new evaluation receipts. A non-Ruflo repository without a project anchor now fails closed instead of silently optimizing against Ruflo's built-in development benchmark.
pheromone-adaptive swarm topology with role-aware EMA
scoring, dry-run calibration, protected roles, quorum floors, bounded
exploration, atomic cross-process updates, CLI inspection, and MCP tools.hooks post-task outcomes to adaptive scheduling and exposes each
agent's score, sample count, role, and eligibility through agent metrics..claude-flow/, reports the
first start, and applies a 30-minute abandoned-daemon idle timeout.On the declared synthetic benchmark (12 agents, 20,000 updates), adaptive scheduling produced:
These are Ruflo benchmark results for that workload, not a universal production performance claim.
@claude-flow/shared, @claude-flow/swarm, and
@claude-flow/cli.This release ships #2848 and resolves #2815, #2819, #2832, #2834, #2839, and #2840.