JVM Advent

The JVM Programming Advent Calendar

THE DEVELOPER’S GUIDE TO STAYING ON SANTA’S NICE LIST IN THE AGE OF AI

Santa has updated his criteria this year. Writing code no longer gets you on the Nice List. He wants to know what you shipped, where it came from, whether it works and who’s going to look after it.

1: Don’t ship what you don’t understand. AI may have written it. Your name is still on the commit. Even if it’s a cheery co-authored message, it’s still all you.

2: Check your dependencies twice. Santa isn’t the only one interested in what comes down your chimney. Every library you add brings its own dependencies along for the ride, and most of them never got an invitation. Know who’s on the sleigh before it parks on your roof. For Maven projects, you can take a closer look at the passenger list here

3: Passing the scan is only the start. Anyone can make the red light go green. Santa wants to know what you did about the problem behind it. Don’t let your AI “fix” the test without your involvement.

4: Know what you’ve actually shipped. An SBOM is a start, but not always a good one. It’s only as complete as the tool that generated it, so check what’s missing as well as what’s listed. Check your assumptions here

5: Don’t let AI mark its own homework. When the same model writes the code and the tests, of course they agree. Verification needs something independent. Using the same model with different settings doesn’t cut it.

6: Fix the vulnerability, then close the report. Suppressing a CVE cheers up the dashboard. Your software stays exactly as exposed as it was. Coal at the bottom of the stocking is still coal. If you want to know what really happens between a CVE being filed and a fix reaching you, why not lean a little here

7: A dependency is for life, not just for Christmas. Every one you add is a commitment to keep it patched, upgraded and understood. Think just a bit more before adding a new one to the list. Check a project’s health before you invite it in.

8: Check that the packages AI recommends actually exist. If they don’t, some nasty goblins may be very happy to create them for you later. Extra points if you make sure the real package comes from a toystore you trust.

9: Be wary of confident answers. AI can be remarkably sure about things that aren’t true.  “I don’t know” is worth far more than an invented assurance. Tell your AI to turn off its niceness and tell it to you straight.

10: Look after the elves. If your business depends on open-source maintainers, send something back to the workshop to keep people fed and cheery. It’s a hard job and often thankless. Here’s one way to start

11: Mind what goes in the sack. Source code, credentials and customer data all travel with your prompts. Know where they’re going and where they came from.  Finding a mouldy herring on your plate may not be exactly what you wanted!

 

12: Don’t give your AI agent the keys to the sleigh. Least privilege applies to artificial intelligence too. An agent that only needs to read the repo has no business pushing to main or poking at production. Even Rudolph only gets to light the way.

13: Treat AI-generated patches as gifts from strangers. Finding a vulnerability, generating a fix and proving the fix works are three different jobs. Unwrap carefully and be wary of goblin gifts that look too good to be true.

 

14: Have a plan for when your dependencies grow old. End-of-life dates are occasionally published years in advance. Most times, not so much. Don’t let your season’s cheer suffer with mouldy food when you least expect it. Check your goodies for that glowing green tint before you roast the turkey.

15: Don’t manufacture compliance evidence. Compliance exists to show you did the right thing. Being good at paperwork is a separate skill and not the AI kind. Santa can tell the difference. So can the Elven Auditors, and they are scary.

16: Your model is a dependency too.  It has a supplier,a version and a provenance story. Models get updated, retired, and occasionally tampered with, just like any other package. If you can’t say which model wrote last month’s code, you have an unlabelled present under the tree. Put it on the list. CycloneDX can describe models as well as libraries

17: Make your builds reproducible. Christmas miracles are not an acceptable build strategy, and trudging through the snow to find out why the reindeer stopped flying at your house is not something Santa plans to do. The elves who’ve cracked this keep their notes here

18: More code means more to look after. AI has made code cheap to produce. Understanding, securing and maintaining it costs what it always did. More toys need more space in Santa’s sack. Magical bags of holding do have limits!

19: Leave the codebase tidier than you found it. AI could help pay down technical debt. Used carelessly, it industrialises it instead. Point it at the dusty corners of the workshop as well as the shiny new toys.

20: Keep learning your craft. The more capable AI becomes, the more it matters that you can spot when it’s wrong. The elves who know how a toy works are the ones who notice the wheels are on backwards. Ask how as well as what.

21: Be careful who writes your agent’s to-do list. Anything your agent reads, from a README to an issue comment, can carry instructions. Assume someone has slipped a note into the stocking, and make sure what Santa delivers is what you asked for. Goblin goo can take ages to get out of the fabric. OWASP keeps a list of the usual goblin tricks.

22: Attackers got AI for Christmas too. They’re using it to find vulnerabilities faster than ever, and they don’t take the holidays off. Machine-speed vulnerabilities, human-speed fixes is a gap Santa can’t close for you. Your security practices need to move at least as fast as your development practices.

23. Count what matters. Lines of code, closed tickets and cleared scanner findings measure activity. Santa is interested in outcomes. He counts the presents that still work on Christmas morning.

 

24. Think about the developer who inherits your code next Christmas. It may well be you. Leave them a test, a decent commit message and a note explaining why. Future you, mince pie in hand, will be grateful.

 

 

25. Take responsibility for what you ship. An AI agent can’t own an engineering decision. You can. Santa doesn’t accept “the AI did it” as an excuse.

Santa’s golden rule for 2026

AI has made software easier to write. Good Software engineering is more of a responsibility than ever.

Next Post

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2026 JVM Advent | Powered by steinhauer.software Logosteinhauer.software

Theme by Anders Norén