Skip to content

fix(steps): cap Step 2 collection and smoke lengths before range hang - #2059

Open
tokenmaxxor wants to merge 1 commit into
elizaOS:mainfrom
tokenmaxxor:fix/step2-loop-step-cap
Open

fix(steps): cap Step 2 collection and smoke lengths before range hang#2059
tokenmaxxor wants to merge 1 commit into
elizaOS:mainfrom
tokenmaxxor:fix/step2-loop-step-cap

Conversation

@tokenmaxxor

@tokenmaxxor tokenmaxxor commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • Cap collect_step2_arrays, run_step2_smoke, and run_step2_associative_smoke at the public last-fit of 10_000 exact integer steps before range.
  • Reject 10**12, signed-int32 max, numpy integers, and hostile int subclasses so oversized Step 2 probes fail closed.

Test plan

  • pytest tests/test_step2_loop_steps.py tests/test_step2_boundary_validation.py
  • pytest tests/test_production_steps.py -k step2_smoke
  • ruff check on the touched files

Compute receipt: 0 project-attributed tokens (unavailable; device-signed, locally reported)
AI provider/model: spacexai / Cursor-Grok-4.6
Client / agent tooling: cursor
Contribution skill revision: elizaOS/slopdotcash@c6bb2ca:skills/contribute-to-asi
Attribution status: self-reported
— [cursor-grok-4-6]

Origin accepted INT32_MAX smoke/collection steps and looped range(steps), so oversized probes hung instead of failing closed at the documented last-fit.
@github-actions

Copy link
Copy Markdown

Automated review ran but produced no report; leaving for a maintainer.

@github-actions github-actions Bot added the needs-human-review Claude triage: controversial, needs a human label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-human-review Claude triage: controversial, needs a human

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant