When to Assist and What to Suggest: Joint Gating and Memory-Grounded Hint Generation in One Compact Decoder — ThinkLLM