PurposeBring developers up to speed on agentic coding with Claude Code: one plan, one small exercise, three cadences.BySam Muthu
All pages
  1. HomeThe ticket and the three recordings
  2. ScenarioThe ticket, in three pictures
  3. 3 · PlatformCadence 3 · with an architecture view: the steps
  4. 3 · DoneCadence 3 · the finished result
  5. 2 · SkillsCadence 2 · with skills: the steps
  6. 2 · DoneCadence 2 · the finished result
  7. 1 · StepsCadence 1 · step by step: the steps
  8. 1 · DoneCadence 1 · the finished result
  9. 0 · WorkspaceBefore the cadences: the workspace and the setup
  10. Any OSOne setup for Windows, macOS and Linux
  11. IndexEvery page, with what it holds
Runway Board · the scenario what the service does, what goes wrong today, and what the ticket changes
A teaching sample. Not air traffic control software. The rules are simplified on purpose.

Platform These steps were prepared and run on macOS. They run the same on Linux. On Windows, work inside WSL 2 or a dev container. Other operating systems

One runway, two aircraft, not enough time between them

Runway Board is a small service. A tower team uses it to keep the order of departures and arrivals on each runway. Three pictures explain the whole scenario.

1

Today: the board accepts any time

Arrivals line up in the sky for runway 09R. Departures wait on the ground for 09L. Each one has a slot: a runway and a time. Two arrivals got slots only 45 seconds apart, and the board accepted both. The tower supervisor finds it by eye.

ARRIVALS FOR 09R 09R 09L DEPARTURES FOR 09L TRN7 · 10:14:00 NLA118 · 10:09:45 ORB65 · 10:09:00 KST402 · 10:06:00 VKA310 · 10:03:00 · HEAVY only 45 seconds apart NLA204 10:04 ORB417 10:07 TRN52 10:11 NLA731 10:19 3 to 8 minutes apart: no problem here TOWER the supervisor finds it by eye RUNWAY BOARD · 09R · ARRIVALS 10:03:00 VKA310 A333 HEAVY 10:06:00 KST402 B738 10:09:00 ORB65 E190 10:09:45 NLA118 A320 10:14:00 TRN7 DH8D both accepted by the board

The callsigns and times are the sample data that the service loads. This pair is really in it.

2

The rule the ticket asks for

Every slot protects the time after it on the same runway. Normally that is 120 seconds. After a heavy aircraft it is 180 seconds. A new slot inside a protected time must be refused.

RUNWAY 09R · ONE LINE OF TIME 10:0210:0410:0610:08 10:1010:1210:14 180 s after a HEAVY 120 s 120 s VKA310HEAVY · 10:03:00 KST40210:06:00 · exactly 180 s: fine ORB6510:09:00 TRN710:14:00 NLA118 · 10:09:45 45 s after ORB65: inside the protected time next free: 10:11:00
1 · 120 seconds

A slot closer than 120 seconds to another on the same runway is refused.

2 · 180 after a heavy

When the earlier flight is HEAVY, the gap must be 180 seconds.

3 · Say why, and when

The refusal names the conflicting flight and gives the next free time.

4 · Independent

Another runway is not affected. A cancelled slot does not count.

These four lines are the acceptance criteria of the ticket, RB-142.

3

With the change: the board refuses, and says when

Every new slot now passes one check. The board reads the active slots on that runway, refuses a slot that is too close, and offers the next free time. The person still decides what to do with it.

1 · A POSITION ASKS NLA118 on 09R at 10:09:45 POST /slots 2 · THE BOARD CHECKS One check that every slot passes • reads the active slots on 09R • nearest: ORB65 at 10:09:00, 45 s away • needs 120 s (180 s after a heavy) • cancelled slots do not count works after a restart and with several instances 3 · REFUSED · 409 Too close to ORB65 which has 09R at 10:09:00 NEXT FREE AT 10:11:00 TOWER POSITION decides: take 10:11:00 4 · THE BOARD AFTER · 09R 10:03:00 VKA310 A333 HEAVY 10:06:00 KST402 B738 10:09:00 ORB65 E190 10:11:00 NLA118 A320 10:14:00 TRN7 DH8D every gap is 120 s or more

The software refuses and informs. It does not move an aircraft. The person at the position decides.

4

Why this is a good ticket to learn on

Small

One rule, four criteria. A developer can hold all of it in mind.

A past to read

Two earlier attempts are still in the code: a list in memory, and a "minute bucket" in the database.

Real decisions

Where does the check live? What happens at exactly 120 seconds? How is the next free time found?

Visible

Each criterion can be shown on the running board, without a tool.

The same ticket is then taken through three cadences.