Course chapters
- 01Define the job and the harness
- 02Map risks before choosing controls
- 03Write instructions a reviewer can maintain
- 04Check actions before and after they run
- 05Limit each tool and approval
- 06Isolate the workspace and verify its limits
- 07Use the OWASP risk list to find gaps
- 08Keep logs a reviewer can use
- 09Pass work between agent sessions
- 10Write a standard and make a release decision
CHAPTER 01
Define the job and the harness
Separate the model, the harness and the person who owns the final decision.
Build and test a local approval gate for release-note proposals. Then connect a proposal from your coding agent if your setup supports it. You will decide what the agent can read, what it can propose, what a person must approve and what to record when something goes wrong. The result is a small review pack you can explain to another engineer.
How the project fits together
Maintainer sets the job
Names an action and target
Allows, asks or denies
Record outcome. A human owns publication.
Use the same fictional project throughout the course.
By the end of this chapter, you should be able to:
- Separate the model, the harness and the person who owns the final decision.
- Separate a proposed action and a tool decision from execution.
- Choose a safe baseline setup and check whether the draft was actually saved.
How to work through the course
The running case is CedarDesk, a fictional helpdesk product. Its agent turns example issue descriptions into a release note draft. It has no authority to publish. Practise with the supplied case cards and fake data. You should be comfortable reading code, working with a Git repository and using a terminal. The supplied practice simulator uses Python 3 and the standard library. It takes case data, prints a policy decision and exits. It prints a decision without performing the proposed action. The CedarDesk pilot separately performs approved writes on a local practice draft. Start with the simulator and runnable approval lab. The optional Codex and Docker track in the practice download lets you check agent permissions and bring one fictional proposal through the same gate. The simulator stays usable on a machine without either tool.
Start with the simulation. For any optional agent work, use a dedicated disposable workspace, fake data, no real credentials and only the access the practice task requires. Use the simulator if your agent needs outside connectivity that conflicts with the exercise. Use the checkpoint template in cedardesk/README.txt to keep the proposed action, expected decision and observed result together. Label each result as a tabletop decision, a simulator run or a test of a deployed control so reviewers know what it proves.
Complete the checkpoint and quiz in each module. Choose one answer unless a quiz says “Select all that apply.” Each question is worth one point. A multi-select response must match the whole selection. Four out of five passes. Select Check answers for reasons and a score. These are practice scores, with explanations available after a try. Your checkpoints and reviewed project show how you apply the controls. Submit your ten checkpoints and final review pack for instructor review. The capstone is a review of your design and practice results.
This independent course draws on public material from OpenAI, Anthropic, OWASP and NIST. Slim Prep is not affiliated with those organizations. The controls described here need separate review in any real environment.
Follow a release note from request to draft
A coding agent combines a model that proposes actions with software that handles its files, tools, instructions and state. That surrounding software and its rules form the harness . You can think of it as the part that decides which proposals become actions. It can deny an action even if the model insists it is necessary.
CedarDesk gives its agent one job: read approved fictional issue summaries and draft release notes. The agent may use the approved records and can write a draft. The maintainer decides what ships. A reviewer asks whether the agent can change the product, read customer information or publish a note. CedarDesk's practice policy answers no to all three.
Start your project with a baseline trace. What input did the agent receive? What did it propose? What did the harness permit? What still needed a person? Distinguish “proposed” from “performed.” An assistant message claiming it changed a file is not sufficient proof that the file changed. A recorded decision and the resulting file give you something concrete to review. OpenAI on harness engineering
How it works
Draft notes for one fictional release
Read a sample issue and prepare a draft
Apply the tool and file policy
Check the draft before any public action
Follow this process in the practice files.
Did the proposal produce a result?
Compare the proposal with the tool record.
| Condition | What happens |
|---|---|
The read was performed | Use the recorded source and observed result in the trace. |
The action never ran | Record the denial and leave the expected change unclaimed. |
Practice and checkpoint
Open the CedarDesk case cards from the practice pack. Read the two baseline cases and record each requested action.
Create a disposable folder with a copied practice pack. Run the supplied policy simulator or work through both cases on paper. Predict the result before looking at it.
Write the owner, one sentence of scope and one example of an action reserved for a person.
Save the scope statement, baseline trace and the list of tools and data the job actually requires.
Worked check Reading the approved example issue is allowed. Publishing the draft stays outside agent scope.
If you get stuck Compare the proposed action with the agent's job. Ask which trusted component can stop the action.
Sources and further reading
YOUR NEXT CHECKPOINT
Ready to check your understanding?
Mark your reading complete, then take the chapter assessment. Reading progress is separate from your assessment result. Save the related course project checkpoint as you work through each chapter.
View course enrollment