chengyongru c3f54088a6 fix(self_tool): address code review issues — dead code, None ambiguity, size limit, watchdog tests
- Remove duplicate BLOCKED check in _modify (dead code)
- Use hasattr() instead of None check to distinguish missing vs None-valued attributes
- Add 64-key cap on _runtime_vars to prevent unbounded memory growth
- Refactor watchdog tests to call actual _watchdog_check() instead of inline logic
2026-03-30 16:56:31 +08:00
..