claude-code - 💡(How to fix) Fix awaySummary recap is one-way: assistant cannot see or access it [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#60508Fetched 2026-05-20 03:56:47
View on GitHub
Comments
2
Participants
2
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
commented ×2labeled ×2

The away summary ("※ recap:") shown to users when they return after 5+ minutes is generated from a separate prompt and displayed in the terminal UI, but is never injected back into the assistant's conversation context and is not accessible via any tool.

Root Cause

The away summary ("※ recap:") shown to users when they return after 5+ minutes is generated from a separate prompt and displayed in the terminal UI, but is never injected back into the assistant's conversation context and is not accessible via any tool.

RAW_BUFFERClick to expand / collapse

Summary

The away summary ("※ recap:") shown to users when they return after 5+ minutes is generated from a separate prompt and displayed in the terminal UI, but is never injected back into the assistant's conversation context and is not accessible via any tool.

The problem

This creates an asymmetry: the recap shapes the user's mental model of where the session is, but the assistant has no visibility into what was shown. If a user reads the recap and then asks a follow-up question based on it, the assistant is flying blind to the framing the user just received.

What would make it useful

One of:

  • Inject the generated recap text back as a system message at the start of the next turn, so the assistant sees the same summary the user does
  • Expose it via a tool (e.g. a read-only getSessionRecap tool) so the assistant can retrieve it on demand
  • At minimum, make the recap visible in the conversation transcript so both sides share the same state

Current behavior

  • Recap is generated with a separate internal prompt ("Recap in under 40 words...")
  • Displayed to user with "※ recap:" prefix
  • Not visible to assistant in any form
  • Not accessible via any tool
  • Controlled by awaySummaryEnabled / CLAUDE_CODE_ENABLE_AWAY_SUMMARY (currently @internal)

Why it matters

The recap is meant to help coordination when returning to a session. Coordination requires shared state. Right now it only updates one side of the conversation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING