Files
NeuroSploit/neurosploit-rs
Joas A SantosandClaude Opus 5 5cea33740e fix(skills): stop the opening selection from spending the exploration budget
Two limits kept the exploration loop from running even once frontmatter made
its skills routable.

skills_ran is seeded with the agents the opening selection already ran, so it
serves two purposes at once: dedup, and the meter for max_total_skills. That
default is 20. Measured across 17 recorded engagements, 7 opened with 20 or
more agents — two with 232 — so next_round returned empty on its first call
and the loop broke before launching anything. Count the skills this loop
launched separately and budget against that; skills_ran keeps doing dedup.

The round guard was off by one. round starts at 1 and the guard read
`round >= max_rounds`, so max_rounds: 3 gave two rounds. Now `round >
max_rounds`, and 3 means 3.

Updates max_rounds_respected, which asserted at round 1 and so encoded the
off-by-one; it now asserts at round 2, keeping its intent.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-12-04 11:21:35 -03:00
..