The Task Scheduler
Hypr now tracks goals using a structured tree queue. The model schedules, splits, and updates goals on-the-fly:- Actor: formulating planning lists.
- Critic: validating changes against compiler outputs.
Atomic Rollback Transactions
When refactoring multiple files, if a compiler error occurs mid-way, the codebase is left in a broken state. We builtapply_multi_diff to address this. It backs up target files, writes edits, and compiles the code via bun run build. If compilation checks fail, it reverts all files to their original states within 200ms, returning the build diagnostic logs to the model for self-healing.