# Lessons from Spec-Driven Development

- Institution: CERN
- Speaker: Simon Martinelli
- Year: 2026
- Language: English
- Source: [CERN](https://videos.cern.ch/record/3025661)
- Licence: [CERN](https://copyright.web.cern)
- Who can watch: Teens profiles and older (sources give no ratings; placed by Invisible Network from the source's own words)

In many projects, specifications and code drift apart over time. Requirements change, documentation becomes outdated, and developers rely mainly on the code. This increases risk and makes changes harder, especially in long-lived business applications.

This talk presents a spec-driven approach where system use cases are the central artifact. A system use case describes observable system behavior and acts as a stable contract for the application. Code is derived from these use cases instead of treating the code itself as the source of truth.

AI is used as a supporting tool to generate and update code and tests from system use cases in small, controlled steps. The focus is not on full regeneration, but on keeping existing code and specifications aligned over time. Using concrete examples, the talk shows how backend logic, database access, and UI behavior can evolve together. It also explains when code is generated, when it is updated, and how version control and reviews help keep changes small and understandable.

The session shares concrete workflows and lessons learned from daily Java development, including limitations and trade-offs of using AI in this way.

00:00:00 Slide 1

00:00:50 Slide 2

00:02:54 Slide 3

00:03:34 Slide 4

00:04:57 Slide 5

00:06:32 Slide 6

00:09:35 Slide 7

00:12:23 Slide 8

00:13:34 Slide 9

00:13:45 Slide 10

00:14:06 Slide 11

00:19:15 Slide 12

00:20:39 Slide 13

00:21:29 Slide 14

00:22:54 Slide 15

00:25:19 Slide 16

00:26:28 Slide 17

00:27:02 Slide 18

00:28:04 Slide 19

00:28:46 Slide 20

00:28:57 Slide 21

00:29:10 Slide 22

00:29:42 Slide 23

00:30:37 Slide 24

00:31:10 Slide 25

00:31:23 Slide 26

00:31:42 Slide 27

00:32:05 Slide 28

00:32:29 Slide 29

00:33:36 Slide 30

00:34:11 Slide 31

00:34:35 Slide 32

00:36:30 Slide 33

00:36:46 Slide 34

00:37:00 Slide 35

00:37:16 Slide 36

00:37:52 Slide 37

00:38:19 Slide 38

00:42:45 Slide 39

00:46:07 Slide 40

00:47:57 Slide 41

01:00:29 Slide 42

## Lectures

1. [Lessons from Spec-Driven Development](https://invisiblenetwork.ai/learn/cern/3025661/38cda89183d4), 1 h 4 min (CERN's player)
