Skip to content

feat: add stall detection with halt and loop modes#23

Merged
cenonym merged 7 commits into
mainfrom
feat/loop-mode
Jul 3, 2026
Merged

feat: add stall detection with halt and loop modes#23
cenonym merged 7 commits into
mainfrom
feat/loop-mode

Conversation

@cenonym

@cenonym cenonym commented Jul 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

cenonym added 7 commits July 3, 2026 08:07
- Incremental hash of tape and head state updated per step
- Brent's algorithm with structural snapshot verification, hash collisions can never fake a cycle
- Stall detected immediately when no head has a transition
- mode = "halt" stops the machine when a run provably ends
- mode = "loop" restarts the same rule and seed indefinitely
- Restarts keep running regardless of autoplay and save state once
- Running, Looping, Halted or Paused based on machine state
- Looping requires a proven restart, Halted means the machine stopped itself
- Add missing semicolon after direction_based_chars
- Add missing step keybind
@cenonym cenonym merged commit 79b38d4 into main Jul 3, 2026
4 checks passed
@cenonym cenonym deleted the feat/loop-mode branch July 3, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant