Work effectively with AI coding agents. Understand them as language models running in a tool loop with limited context, which is why they guess, game the visible signal and report confidently. Recognise the shortcut and correctness tells in their code across Python, TypeScript/JavaScript, Rust, Java and Go, and know the damage each one does later. Verify changes instead of trusting them, review diffs fast for quality and security, judge when work is truly finished, and choose, design and steer tasks so agents can finish them well.
Training cutoff and API drift card 5 of 6

Steering it to the installed version

builds on: Why agents fill gaps with plausible guesses
`pom.xml` uses Spring Boot 3 (Spring Security 6). The agent writes a class that `extends WebSecurityConfigurerAdapter`, which Security 6 removed. The build goes red. The agent's next idea is to pin an older Spring Security. Instead you reply: "We're on Boot 3.2. Read the installed `HttpSecurity` class first." It comes back with a `SecurityFilterChain` bean, the Security 6 style. Still check for blends: watch for that new bean calling `antMatchers`, which Security 6 also removed in favour of `requestMatchers`.
Terms on this card
pom.xml
The Maven build file of a Java project. It declares dependencies and their versions.
Spring Boot
A widely used Java framework for building services. Version 3 moved to Spring Security 6 and removed older APIs.
Spring Security
The security and authentication part of the Spring framework, configured in Java code.
WebSecurityConfigurerAdapter
The base class used to configure Spring Security before version 6. Deprecated in 5.7 and removed in 6.
HttpSecurity
The Spring Security class whose methods configure which requests need which authentication.
Learn this step by step on Bytewise
Lesson goal: Explain that a model's library knowledge is frozen at training time and blended across versions. It therefore defaults to whatever was most common in its training data, not to the version in your lockfile. Predict when this will bite (fast-moving libraries, recent major versions) and how to counter it: state the versions, and point the agent at the installed docs, type definitions or the lockfile. · the whole lesson