~/talk

Type-Driven AI: High quality Scala code with LLM

Talkat Scala Days 2026 · 2026-10-12..10-13· [ai-assisted-development]
links:none on file
slides:none on file

A production workflow enforces correctness for LLM-generated Scala code through six validation rings: compiler with refined types and Smithy/Iron IDLs, Scalafix and WartRemover linting, ScalaCheck property tests, Stryker4s mutation testing, Stainless proofs (formalish), and otel4s+Daut runtime telemetry. Specs use EARS and a concepts inventory; types are generated first and tests second. Applied to ~70k lines across two projects: 83 changes, 168 specs, ~2 test lines per production line, and three algorithms verified via Stainless.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:38Defining code correctness
  3. 3:18The ring system approach
  4. 6:12OpenSpec workflow
  5. 6:46Applying the development phase
  6. 9:29Requirements and concepts
  7. 11:10Successive refinement
  8. 12:31Type-driven development
  9. 13:19Generating the oracle
  10. 14:18Linters and testing tools
  11. 19:49Formal-ish verification
  12. 20:16Kernel mirrors and bridges
  13. 20:49Verification insights
  14. 21:40Runtime contracts
  15. 22:07Telemetry and ring five
  16. 23:09Measuring workflow success
  17. 25:19Experimental implementations
  18. 26:50Conclusion
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.