mir-backend-jvm-micronautlisted
Install: claude install-skill anantbhandarkar/make-it-right
# /mir-backend-jvm-micronaut · Make It Right (Micronaut)
Bottom tier of the chain: `mir-backend` (generic gates) → `mir-backend-jvm` (JVM runtime model) → **this** (Micronaut library mechanics). Run the gates first; load the JVM runtime tier for threading, GC, and container-heap concerns; reach for *this* at Gate 5 (design mechanics), Gate 6 (implementation), and Gate 7 review. **Runtime-level concerns (virtual-thread pinning, pool sizing, GC tuning, `-XX:MaxRAMPercentage`, ThreadLocal hygiene, JMM visibility) live in `mir-backend-jvm` — not here.**
**Stack assumed:** Micronaut 5.x (or 4.x — the differences are called out) · Micronaut Data JPA (Hibernate) or Micronaut Data JDBC · Micronaut Security · Micronaut HTTP Server (Netty) · GraalVM for native image.
**Version status, verified 13 Aug 2026:**
| Line | Status | What changes |
|---|---|---|
| **Micronaut 5.x** | GA 20 May 2026 (5.0.0). Latest verified release 5.1.0, 27 Jul 2026 | **Java 25 baseline** — virtual threads, structured concurrency, scoped values and pattern matching are all available unconditionally. Groovy 5 and Kotlin 2.3 baselines, GraalVM 25.0.3. Adds a `ScopedValue`-based context-propagation implementation alongside the thread-local one |
| **Micronaut 4.x** | Still maintained (4.10.x line) | Keeps Java 17 and 21 support and runs on 25. Stay here if you cannot move to a Java 25 baseline |
A Micronaut 5 answer written from Micronaut 4 memory will usually still compile; the risk is the opposite directio