TRIM: Reducing AI-Generated CodeSlop via Agent Trajectory Minimization | Digital Library | PAMCET | PAMCET