mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-10-23 15:10:19 +00:00
* refactor(agent-core-v2): remove the staleGuard feature Drop the read-before-edit runtime guard: Edit/Write executions are no longer vetoed when the target file was never read or its mtime changed since the last read, and successful Read/Edit/Write no longer refresh a recorded mtime. Removes the staleGuard replayable state key and the staleGuard.recorded / staleGuard.cleared durable wire events; old wires keep replaying through the unknown-type skip path. apps/vis keeps projecting and rendering those historical records via locally declared legacy record types. * fix(agent-core-v2): skip retired wire record types silently during restore Restore reports every journal record whose type has no registered event class through onUnexpectedError. Sessions written before the staleGuard removal can hold a staleGuard.recorded entry per successful Read/Edit/Write, so loading one floods the log with WireError stacks. Keep a retired-type list of record types that were once durable vocabulary; restore skips them without reporting, while genuinely unknown records stay on the error path. |
||
|---|---|---|
| .. | ||
| scripts | ||
| server | ||
| web | ||
| package.json | ||