[BUG] Prompt suggestions stopped generating after v2.1.29 — subagent never spawns
Description
Contextual prompt suggestions (the grayed-out follow-up predictions after Claude responds) stopped working somewhere between v2.1.29 and v2.1.50. The startup hint ("try how do I log an error?") still appears, but no contextual suggestions are generated after responses.
Evidence from local subagent logs
The agent-aprompt_suggestion subagent files in ~/.claude/projects/ confirm the feature worked on v2.1.29 (Feb 3-4) — generating contextual suggestions like "what's next for mvp1" after responses.
Zero suggestion subagent files exist after Feb 4. The subagent simply isn't being spawned anymore.
# Last working suggestion files (v2.1.29, Feb 4):
~/.claude/projects/-Users-mao/<session>/subagents/agent-aprompt_suggestion-ceb078.jsonl
# Current sessions on v2.1.50: no suggestion files at all
Steps to reproduce
cdinto a git repo with recent commit history- Launch:
CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true claude - Startup hint appears (e.g. "try how do I log an error?")
- Send any message and wait for a response
- After response completes, wait 15+ seconds — no follow-up suggestion appears
- Confirm no
agent-aprompt_suggestion-*files were created in the session'ssubagents/directory
Tested configurations
| Method | Startup hint | Follow-up suggestions |
|--------|-------------|----------------------|
| Env var in settings.json env block | Yes | No |
| Shell CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true (no settings.json env) | Yes | No |
| /config toggle off → on | Yes | No |
Expected behavior
After each Claude response, a grayed-out contextual suggestion should appear in the input field (as it did on v2.1.29).
Environment
- Claude Code v2.1.50 (latest as of Feb 22, 2026)
- macOS 26.2 (Apple Silicon M2)
- Subscription plan (Claude Max)
13 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
This is not a duplicate of the flagged issues. Here's why:
outputStylein local settings, user-resolved.This issue (#27716) is different: The
agent-aprompt_suggestionsubagent is never spawned at all starting from versions after v2.1.29. There are zero subagent files created in the session'ssubagents/directory — the suggestion pipeline isn't even being invoked. This is upstream of the race condition described in #23859.Evidence: subagent files exist for v2.1.29 sessions (Feb 3-4), then completely disappear in all subsequent versions through v2.1.50. The startup hint still works, confirming the feature flag is active — only the post-response subagent spawn is broken.
All three flagged issues are also closed and locked, so there's no active tracking of prompt suggestion bugs.
The native prompt suggestions appear to be working again as of v2.2.x (currently on 2.1.52 (Claude Code)). The subagent seems to spawn correctly now. This can likely be closed.
Fixed — prompt suggestions are working again as of recent versions. Closing.
Reopening — prompt suggestions are broken again as of v2.1.63.
Same symptom as before: the
agent-aprompt_suggestionsubagent is not spawning after substantive responses. The startup hint still works, but post-response suggestions never appear.Tested today (March 3, 2026) across multiple responses including code reads, multi-file audits, and edit operations — zero suggestions generated.
Was working briefly around late February (which is why I closed this), but regressed.
Confirmed on a second machine — same behavior.
Both share the same
~/.claude/config (synced via iCloud). Theagent-aprompt_suggestionsubagent is not spawning on either machine. This rules out any machine-specific cause — it's a version-wide regression.Still broken since v2.1.63. Would appreciate team triage on this — the feature has been unreliable for over a month now (working briefly in late Feb, then regressed).
+1 — same regression on macOS 24.6, v2.1.68 (Claude Code). Prompt suggestions stopped appearing, subagent not spawning. Was working briefly in late Feb, broken again since early March.
Still broken on v2.1.71 (macOS 26.3, both M1 and M2 machines). No change in behavior —
agent-aprompt_suggestionsubagent still not spawning after responses. This has been broken for over a month now with a brief working window in late Feb.Would appreciate any team triage on this. Happy to provide debug logs or test a fix branch if needed.
Update from me, it is now working on v2.1.71 for M4 macOS 15.7.4.
Terminal app ruled out as a cause. Tested on both Apple Terminal (v466) and Ghostty (v1.2.3) — same behavior, no prompt suggestions in either.
This narrows it down to macOS 26.x as the likely differentiator:
The subagent still isn't spawning on macOS 26.x regardless of terminal emulator.
Still broken on v2.1.75 (macOS 26.3.1, M2). No change —
agent-aprompt_suggestionsubagent still not spawning after responses. Been broken on macOS 26.x for over 5 weeks now.Is there any team visibility on this? Happy to jump on a call, share screen recordings, or test a debug build.
Fixed as of v2.1.88 (macOS 26.4, M2). Prompt suggestions are generating again — the
agent-aprompt_suggestionsubagent is spawning after responses as expected.The fix landed somewhere between v2.1.84 → v2.1.88. Changelog for 2.1.85–2.1.87 doesn't explicitly mention prompt suggestions, so this may have been an unlisted fix or a side effect of other changes in that range.
After 5+ weeks broken on macOS 26.x (since v2.1.63), this appears fully resolved. Closing.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.