Repository navigation
v1.20.4 — review fixes and hardening
1.20.4 — review fixes and hardening
Review fixes
- MCP tool advice names the tool in Chinese copy (
gh/search). - Edit impact counts failed loads as failures (
degraded, notimproved). - The last step of a turn is flushed even when no skill window opened.
- The dead-load noise gate resamples the same root/evicted base as
abandonRate. loadErrorsis capped at five messages; the failed count is unchanged.- A cleared numeric setting is an error, not a silent zero; a saved
settings.jsonis validated before it is applied.
Telemetry hardening
events.jsonlis bounded at 8 MB. Rotation keeps dropped-prefixeditrecords (up to a quarter of the cap) ahead of the newest suffix, and the trimmed file is at most half the cap.- Appends serialize across processes through
events.jsonl.lock(a 10 s stale lock is a crash leftover), so two hosts sharing one data dir no longer lose records to a replaced inode. - New data directories are
0700, every file inside is0600, and an existing directory keeps the mode the user gave it. Leftover.tmpfiles cannot leak a stale mode. /data, the board and the config page return a fixed message on 500 and log the detail instead of echoing it.view:"dev"reports rejected saved settings (settingsErrors+ thesettings-invalidfinding).
Tests: 279 passing (npm test).