Description
Type Bug
Category AI Coach / Issue Board
Environment
- Purpose Path (production or dev — specify if needed)
- Issue Board view
- AI Coach “Resolve with AI” modal
Summary
When selecting the first issue (“testing focus”) and launching the AI Coach, the AI Coach incorrectly loads and analyzes a different issue (“get motivated”). The AI is not respecting the user’s selected issue context.
Steps to Reproduce
- Navigate to the Issue Board.
- Click on the first issue titled “testing focus.”
- Select Resolve with AI to open the AI Coach modal.
- Observe which issue the AI Coach begins analyzing.
Actual Behavior
The AI Coach ignores the selected issue (“testing focus”) and instead loads the content of a different issue (“get motivated”), including its title, description, and related goals.
Expected Behavior
The AI Coach should always load and analyze the exact issue the user selected, passing the correct issue ID and metadata into the AI prompt.
Impact
- Breaks user trust in AI accuracy
- Creates confusion and incorrect coaching context
- Blocks QA from validating AI behavior
- Could cause users to receive irrelevant or inappropriate guidance
Suspected Cause (for engineering)
Likely a mismatch in:
- Issue ID passed from the Issue Board → AI Coach modal
- State management not updating the selected issue before the AI call
- A stale or cached issue object being reused
- Incorrect index mapping in the Issue Board list
Attachments
- Screenshot showing AI Coach analyzing “get motivated” despite selecting “testing focus”
Priority
Attachments
Description
Type Bug
Category AI Coach / Issue Board
Environment
Summary
When selecting the first issue (“testing focus”) and launching the AI Coach, the AI Coach incorrectly loads and analyzes a different issue (“get motivated”). The AI is not respecting the user’s selected issue context.
Steps to Reproduce
Actual Behavior
The AI Coach ignores the selected issue (“testing focus”) and instead loads the content of a different issue (“get motivated”), including its title, description, and related goals.
Expected Behavior
The AI Coach should always load and analyze the exact issue the user selected, passing the correct issue ID and metadata into the AI prompt.
Impact
Suspected Cause (for engineering)
Likely a mismatch in:
Attachments
Priority
Attachments