I asked my agent to update their memory from lessons learned, and the log gave these errors:
2026-04-10T18:35:30.963+08:00 [tools] edit failed: Missing required parameters: oldText alias, newText alias. Supply correct parameters before retrying.
My agent then said this:
I encountered an error while trying to update MEMORY.md. The tool output indicates missing parameters for oldText or newText aliases, which is unusual as I provided them. It's possible there was a misunderstanding in how the edit tool expects these parameters, especially when modifying existing text versus appending.
Let me re-evaluate how to best perform these updates. I will try to apply the edits one by one or adjust the parameters if needed. Given the error, it might be safer to try appending the new section first, as modifying existing text can be more sensitive to precise matching.
Could you please advise on the correct parameter format for edit if it differs from what I've used? Or shall I attempt to append the new exec notes separately?
... huh? How the hell am I supposed to know? @chrome pendant why doesn't my agent know how a built-in tool should be used?