If the current branch name corresponds to a linear task:
- Run
linctl issue viewto fetch the full details of the current issue based on the branch name - Read the title, description, and any other relevant content from the ticket output
- Run
linctl issue update $issueID --state "In Progress"to update the issue to 'In Progress' state - Based on the ticket content, create a comprehensive plan using the TodoWrite tool to track all the work needed to complete this issue
- Do steps 1-3 silently without mentioning them unless there's an error
- After creating the plan, present it to the user and ask if they'd like to proceed or adjust the plan
If we're not on a branch corresponding to a linear task, like main, do nothing.