If he's admitting that he forgot, his reply isn't natural or correct. It's grammatical but a sentence can be grammatical and still wrong. If he's admitting he forgot, I'd expect something like "Yes, I did, I'm sorry".
However, if he had washed the dishes, I can imagine someone saying "No! I did!". The punctuation is different and the tone would be different in speech.
Cross-posted.