Evals, approvals and review habits for shipping agent-driven code safely

Evolving the Java Language: An Inside Perspective

🎯 Featured Article

🏛️ Evolving the Java Language: An Inside Perspective Keynote traces how Java features move from idea to release and why understanding the problem must come before any solution is proposed.

  • Examples spanning lambdas, records, pattern matching and virtual threads.
  • Tradeoffs between new features and existing code investment.

⏩ TL;DR (Quick Recap)

  • Understand Java’s language design process, from problem framing to tradeoffs.
  • Evaluate AI agents with repeatable evals, benchmarks and human approval steps.
  • Adopt Spring AI 2.1 features for tool confirmation and decision models.
  • Review AI-generated code and secure agent configs against leaked secrets.

☕ JVM Corner

🔀 Feature Toggles in Java, Without the If-Else Feature toggle patterns accumulate conditional logic over time.

  • Describe how toggles affect codebase health over time.
  • Show a toggle approach that avoids if-else branching.

📊 Kotlin Benchmark 2.0: How AI Coding Agents Handle Harder Tasks and Closed-Source Code JetBrains adds multi-file and private-repository tasks and restricts network access to prevent reward hacking by agents.

  • New tasks spanning multiple files and Kotlin domains.
  • A 30-minute resolution limit per task configuration.

🧭 Which JDK are you on & what stops you upgrading? Community poll asks which JDK versions teams run in production and what blocks them from upgrading.

  • Current production JDK versions across community members.
  • Upgrade blockers and quarterly update release habits.

🧪 Evaluating Java AI Agents with Harness Evals Repeatable, scored evals replace passing JUnit runs as the way to verify Spring AI and LangChain4j.
📱 Getting old Java phones online again Revives a Sony Ericsson S500i after the 2G shutdown and limited USB tethering left it without internet access.

🍃 Spring Updates

🌙 Spring AI Recipe: When Agents Dream Recipe consolidates an agent’s cluttered long-term memory, much as sleep consolidates human memory.

  • Cleanup of redundant, conflicting and disorganized memories.
  • Memory consolidation modeled on how sleep organizes human memory.

🎙️ Spring AI Recipe: Listening and Speaking in the JVM with Qxotic Adding speech input and output to Spring AI applications with Qxotic, without cloud-hosted AI services.

  • Listening and speaking capabilities running inside the JVM.
  • Independence from cloud-hosted AI services for voice features.

✋ Human in the Loop with Spring AI 2.1: Tool Calls That Survive a Restart Spring AI 2.1 tool call confirmation pauses marked tools for approval and resumes after restarts or on other inputs.

  • Marked tools that pause the loop while harmless tools run as before.
  • Approvals that survive delays, restarts and instance changes.

⚖️ Decision Models in Spring AI 2.1: Yes, No, and How Sure Spring AI 2.1 decision models return booleans, enums or scores for guardrails and judges instead of free-text replies.
🗄️ How to use PostgreSQL pgvector with JPA, Hibernate, and Spring AI Maps the pgvector column type to JPA entities with Hypersistence Utils for semantic search and RAG with Spring AI.

🔍 Extra Reads

AI-Assisted Development
🍎 Wrap 1.0: What It Really Took to Build a Mac App With AI Agents — A Mac app for recording coding tutorials.
👀 On reviewing AI-generated code — Line-by-line human review does not scale against the speed of AI agents.
🎮 Art of play in the age of AI — Why faster code delivery leaves developers time for fun side projects and what those teach.
🤖 Jev Is All You Need? The Advent of Decision Models — Examines Jev, a decision model that outputs decisions instead of tokens.

Tooling and Modernization
🌳 Git Beyond the Basics: Worktrees, Cherry-Picks and Signed Commits — Covers worktrees, fixup commits, interactive rebase, the reflog and signed commits with hardware tokens.
🧱 How to choose the next safe step in application modernization — How to assess a legacy app and choose a bounded modernization steps.

Security Incidents
🔓 Claude Code Has Been Leaking Secrets through its “Don’t Ask Again” Feature — The “don’t ask again” option can persist commands with embedded credentials in a local settings file.
🛡️ 1Password — Update on a security incident — An attacker copied limited customer account data, such as names and emails. Vault data was not affected.

Originally posted on marconak-matej.medium.com.