You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardening pass before Phase 4 (Economics):
- Validate hostcall bounds: cap rand_bytes at 64MB and log_emit at 1MB
to prevent OOM panics (EI-6), check malloc null pointer return
- Reject negative budget/price in checkpoint parsing (RE-3), guard
int64 overflow in cost calculation
- Fix migration: return error on stale checkpoint deletion failure
(EI-1), hold lock during instance Close to prevent use-after-close
- Plug memory leaks: copy-to-new-slice on eventlog and replay window
eviction instead of slice truncation
- Clean stale .tmp files on FSProvider startup (RE-1 crash recovery)
- Add config validation (PricePerSecond, ReplayWindowSize, ReplayMode)
- Remove unused protocol types, consolidate logging in cmd/igord
- Add 13 new tests covering all hardening fixes
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments