All courses / AI Developer / Module 1 / Chapter 4
Learning objectives
After the lesson the participant can:
- Explain the five developer functions and assign a piece of work to one of the ten classes of development work
- Set a ceiling for a work class by answering the five questions and taking the lowest level
- Apply the tests Name, Understand and Revert to a recent change and to the owner of a repository
- Draft a delegation profile for one team with an independent oracle and a stop path
Key concepts
- The developer loop
- Five functions that run as a loop: D1 Frame, fixing the problem and the intent; D2 Design, choosing the constraints; D3 Build, producing and directing the making of software; D4 Prove, showing that it is right; and D5 Steward, owning the software over time.
- The lowest of five answers governs
- The ceiling for a work class is the lowest level allowed by reversibility, blast radius, who is affected, evidence, and the strength of the independent checks. The fourth and fifth answers can only lower a ceiling that the first three have allowed.
- The Level 4 prohibitions
- Level 4 Autonomous is never used for a production change without a gate the change cannot alter, for security-critical or safety-critical code without review by a named developer, for the agent's own mandate, oracles or gates, for irreversible actions on production data, or for decisions about a named person.
- The stewardship principle
- AI may draft, generate, refactor and, within a mandate, execute; it may not own. A named developer or team passes three tests for every change in production: Name (identifiable in the ownership record), Understand (can explain it without the tool) and Revert (authority, access and time outside the pipeline).
- The independent test oracle
- The oracle is the means of deciding whether observed behaviour is correct. The corollary of the principle is that it must be independent of the generator: tests written by the same assistant in the same session restate the code's assumptions.
Interactive exercises
Do them here and get feedback at once. Choose a card and then where it belongs, or drag it.
Interactive exercise 1 · Sort
Prohibition or five answers
Sort each piece of work: does one of the five Level 4 prohibitions apply to it, or is its ceiling set by the five answers?
Interactive exercise 2 · Put in order
The rungs of the delegation ladder
Put the five degrees of delegation in order, from the least to the most delegated.
Teaching plan
| 15 min | Lecture on the five functions and the ten work classes; participants sort ten example changes into classes and say how each goes wrong with AI. |
| 20 min | The teacher walks through the ladder, the three rules for setting a level and the table of recommended ceilings; the room sets a ceiling for one class with the five questions. |
| 15 min | The five prohibitions and the three stewardship tests, with the standing of Nordvik Region and Hansa Mutual on each test. |
| 30 min | Exercise: groups write a delegation profile for one team by the eight steps of the practical guide. |
| 10 min | Groups exchange profiles and check each other's oracle and revert path; the teacher closes with the six parts of a claim record. |
Discussion
- The fourth and fifth answers, evidence and independent checks, can only lower a ceiling. Why does the chapter not let strong evidence raise a ceiling that reversibility or blast radius has capped?
- Switch the assistant off and ask the owner what the change does. Which recent change in your team would pass the Understand test, and which would not?
- Hansa Mutual allows one Level 3 Bounded class, patch-level dependency updates. What has to stay true for that class to remain acceptable under the ladder?
Written exercise
Exercise · 30 minutes
Write a delegation profile for one team
Choose one team. List the ten work classes and write one example change per class from the last quarter. Name a steward and a deputy for each class and run Name, Understand and Revert on them. Answer the five questions for each class and take the lowest level as the ceiling. Apply the five prohibitions and list the repositories, paths and actions they catch, with who must review them. Mark any tool that acts above the ceiling, including a Mode 0 feature. Name the independent oracle for each class that reaches production and who writes it, and name who holds the stop, where the revert path runs and when it was last tried.
Deliverable: A delegation profile in the DLG form: ten classes with ceilings, stewards, prohibited paths, oracle, stop and revert path, and a review date.
Self-test
Choose an answer to see whether it is right, or open the answer below each question.
What ceiling does the chapter recommend for the work class review?
Show the answer
D. Level 1 Assisted: AI comments are input to a human reviewer, never an approval
The table of ceilings sets review at Level 1 Assisted: AI comments are input to a human reviewer, and an AI comment never counts as a human approval.Which of these checks does the chapter classify as not independent of the generator?
Show the answer
B. Tests written by the same assistant in the same session as the code
Tests from the same assistant in the same session restate the code's assumptions, so a wrong reading of the requirement is in both. The other three are independent in method, authorship or time.Under the Name test, which ownership entry fails?
Show the answer
C. A department such as Policy Systems recorded as owner of the estate
The chapter says a repository whose owner has left, or whose owner is a department such as Policy Systems, does not pass: the owner must be identifiable by name or as a named team with a reachable lead.