1
00:00:00,000 --> 00:00:01,770
How do you tell a coding

2
00:00:01,770 --> 00:00:03,820
agent when the job is done?

3
00:00:03,820 --> 00:00:06,220
I said improve validation.

4
00:00:06,220 --> 00:00:08,600
It improved the folder names.

5
00:00:08,780 --> 00:00:12,200
Give it an observable result, constraints, and a check.

6
00:00:12,200 --> 00:00:14,320
Here, the rule is simple: a required

7
00:00:14,320 --> 00:00:17,780
name must reject empty or whitespace-only text.

8
00:00:17,960 --> 00:00:20,500
Say: fix required-name validation.

9
00:00:20,500 --> 00:00:24,240
Empty text and spaces must fail; Ada must pass.

10
00:00:24,240 --> 00:00:25,540
Keep the function signature.

11
00:00:25,540 --> 00:00:27,800
Add the failing case, then run the tests.

12
00:00:27,980 --> 00:00:30,380
These assertions encode the requirement.

13
00:00:30,380 --> 00:00:33,180
Trimming before checking length fixes this case.

14
00:00:33,180 --> 00:00:35,400
A green test proves these examples,

15
00:00:35,400 --> 00:00:37,860
not that every requirement was understood.

16
00:00:38,040 --> 00:00:39,610
For a visual change, give a

17
00:00:39,610 --> 00:00:41,540
reference and a browser check instead.

18
00:00:41,540 --> 00:00:43,700
Ask for evidence and remaining limits.

19
00:00:43,700 --> 00:00:46,440
Review that the check actually matches your goal.

20
00:00:46,620 --> 00:00:49,540
The folders are immaculate.

21
00:00:49,540 --> 00:00:52,420
The bug has a nicer office.
