Answers are grounded in this paper and cite their sources.
Generative artificial intelligence (GenAI) can make introductory programming tasks easier to complete, but a working program is not evidence of durable learning. This conceptual-theoretical paper integrates research on cognitive load, metacognition, self-explanation, productive failure, appropriate reliance on automation, and recent studies of AI-assisted programming to propose a five-phase cognitive-scaffolding framework. Learners first make an unaided attempt, request bounded assistance, verify the response against requirements and independently designed tests, explain the mechanism and calibrate confidence, and then complete a related transfer task as support fades. AI literacy, ethical disclosure, privacy, and instructor orchestration operate across all phases. The framework identifies process evidence that remains inspectable when generated code is available, including problem representations, hypotheses, verification records, explanations, confidence judgments, and unaided transfer. It also states six testable propositions and an evaluation blueprint for introductory programming courses. The contribution is a bounded design logic, not a claim that the sequence has already been validated: GenAI should reduce avoidable burden while leaving consequential decisions, checks, and explanations with the learner.
No takes yet. Share an insight, caveat, or question.
Napat Sukthong (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: