Really nice idea - there is certainly gold in the history of agent actions. But how do you keep the ctx from trusting stale history?
Creating ground truth is an orthogonal problem - I try to work hard to put it into specs and docs and regularly update those.
Searching history is closer to "super git blame" or like looking through logs. We should expect a lot of stuff went wrong in there.