A blanket rule about AI assistance is easy to state and hard to connect to learning. The same tool can explain a compiler message, generate a complete solution, challenge a proof, or invent tests. Those uses do not have the same educational effect.

I draw the boundary from the learning objective.

Protect the target decision

If the assignment teaches students to choose a dynamic-programming state, asking a system to propose the state replaces the target. If the assignment teaches implementation after the recurrence is established, asking about a language error may not.

The instructor should state which decisions students must perform independently: modeling, algorithm selection, proof, complexity analysis, implementation, or test design.

Permit assistance that creates feedback

Useful roles include explaining an error message, asking the student questions, generating counterexamples to a stated claim, comparing the student’s complexity analysis with the code, and suggesting edge-case categories after the student supplies a solution.

Even these uses require verification. A plausible counterexample may violate the constraints. A confident explanation may be wrong.

Require an evidence trail

For permitted use, students can record the prompt or question, the relevant output, what they accepted or rejected, and how they verified it. The record should be short enough to sustain and specific enough to reveal outsourced reasoning.

Disclosure is not a substitute for authorship. A fully generated solution does not become evidence of learning because it was cited.

Assess without the support

If independent reasoning matters, the course needs some settings where it is observed directly: oral explanation, in-class reconstruction, a new mixed problem, or a brief defense of the invariant and tests.

I also teach students to audit assistance. They should look for unstated assumptions, test small cases, compare complexity with constraints, and refuse an answer they cannot justify.

My boundary is behavioral: assistance may accelerate feedback, but it should not perform the decision whose independent execution is the evidence of learning. The exact line can change across assignments because the learning target changes.