b9b2c381f0
- Added an internal accounting-state guard and used it to skip goal usage flushing when accounting was inactive. - Updated goal abort handling to return early unless accounting or pause logic was required, then paused only a cloned active goal state before committing. - Aligned related tests/types by tightening OpenAI helper typing and using Tool typings for the goal tool registry.