how did i fix the oauth token refresh failing on 401 last time?
// claude calls the recall MCP tool
recall(query="oauth token refresh 401", mode="semantic", top_n=3)
[recall · semantic] 2 match(es):
· seq=4127 score=0.84 agent=claude-code#a3b · the 401 happens because the access_token expires during the request lifecycle…
· seq=4131 score=0.79 agent=claude-code#a3b · added a 5-second refresh window + retry-once-on-401 wrapper…
You solved this on May 7 — the 401 was from racing the token refresh. You added a 5-second refresh window and a retry-once-on-401 wrapper around fetch. Want me to apply the same pattern here?
THAT'S IT. No prompt engineering. No doc dive. No
re-searching Stack Overflow. The model recalled the exact session
where you solved it — across days, projects, machines if you sync.