Tool, tutor, or crutch?: A grounded theory of cognitive scaffolding and offloading in AI-assisted programming education | Synapse