[BUG] Prompt suggestions stopped generating after v2.1.29 — subagent never spawns

Status Fixed / completed
Maintainer reply None cached
Activity 13 comments · opened Feb 22, 2026 · closed Mar 29, 2026

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

  1. cd into a git repo with recent commit history
  2. Launch: CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true claude
  3. Startup hint appears (e.g. "try how do I log an error?")
  4. Send any message and wait for a response
  5. After response completes, wait 15+ seconds — no follow-up suggestion appears
  6. Confirm no agent-aprompt_suggestion-* files were created in the session's subagents/ 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)

View original on GitHub ↗

13 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/23859
  2. https://github.com/anthropics/claude-code/issues/18002
  3. https://github.com/anthropics/claude-code/issues/15019

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

civillizard · 6 months ago

This is not a duplicate of the flagged issues. Here's why:

  • #23859 (v2.1.34): The suggestion subagent was spawning and generating suggestions, but a timing race condition in the UI layer discarded them before display. That's a rendering/state management bug.
  • #18002 (v2.1.6): Self-resolved, user closed it.
  • #15019 (v2.0.75): Caused by outputStyle in local settings, user-resolved.

This issue (#27716) is different: The agent-aprompt_suggestion subagent is never spawned at all starting from versions after v2.1.29. There are zero subagent files created in the session's subagents/ 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.

civillizard · 6 months ago

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.

civillizard · 6 months ago

Fixed — prompt suggestions are working again as of recent versions. Closing.

civillizard · 6 months ago

Reopening — prompt suggestions are broken again as of v2.1.63.

Same symptom as before: the agent-aprompt_suggestion subagent 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.

civillizard · 5 months ago

Confirmed on a second machine — same behavior.

  • MacBook Air 15" M2 (macOS 26.3, v2.1.68): no prompt suggestions
  • MacBook Air 13" M1 (macOS 26.2, v2.1.68): no prompt suggestions

Both share the same ~/.claude/ config (synced via iCloud). The agent-aprompt_suggestion subagent 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).

mark-liu · 5 months ago

+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.

civillizard · 5 months ago

Still broken on v2.1.71 (macOS 26.3, both M1 and M2 machines). No change in behavior — agent-aprompt_suggestion subagent 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.

mark-liu · 5 months ago

Update from me, it is now working on v2.1.71 for M4 macOS 15.7.4.

civillizard · 5 months ago

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:

  • Broken: macOS 26.3 on M2 + macOS 26.2 on M1 (both v2.1.71) — no suggestions
  • Working: macOS 15.7.4 on M4 (v2.1.71, per @mark-liu) — suggestions appear

The subagent still isn't spawning on macOS 26.x regardless of terminal emulator.

civillizard · 5 months ago

Still broken on v2.1.75 (macOS 26.3.1, M2). No change — agent-aprompt_suggestion subagent 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.

civillizard · 5 months ago

Fixed as of v2.1.88 (macOS 26.4, M2). Prompt suggestions are generating again — the agent-aprompt_suggestion subagent 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.

github-actions[bot] · 4 months ago

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.