VIRIDIANMINT LEARNING · FREE AND ACCOUNT-FREE

The Human Is in Charge

By the end of this lesson, you should be able to separate the decisions you own from work you can delegate, describe a small change in observable terms, and decide how much verification it needs.

Start with the outcome

An assistant can help write code, explain an unfamiliar function, draft tests, and prepare documentation. Those abilities do not tell it which tradeoffs you accept or whether the project is worth building. You remain responsible for its purpose and for decisions made under your authority.

Write the intended outcome before requesting an implementation. Avoid beginning with a list of components. "Add a database and a dashboard" describes a proposed solution. "Let me find yesterday's orders without reading every row" describes a problem you can evaluate. A solution may follow, but first establish what the person using it needs to accomplish.

For the reading-list tool, the purpose is to remove repeated entries without undoing the reader's choices. The order may represent a study plan. The capitalization may be how the reader recognizes a title. Alphabetical order would be a plausible feature in another tool, but it would damage this use.

Our first-use statement is simple: a reader passes a list of titles to a function and receives a clean list in the same chosen order. The source list is preserved. No file is overwritten, and no network or account is involved. That gives us a concrete experience before we choose an algorithm.

Keep an authority boundary

You can delegate implementation without delegating the right to change the project. For a small assignment, state who may edit files, introduce dependencies, commit changes, publish, or spend money. These permissions are different. Access to a terminal does not itself establish permission to release software.

In this course, the owner chooses the behavior and acceptance criteria. The worker may propose and implement a bounded change in an isolated candidate. The reviewer inspects the change and reruns checks. The owner evaluates the result and decides whether to accept it. A real project may involve one person doing several roles, but the decisions still need to be distinguishable.

An independent reviewer has not authored the change being judged. A second assistant can provide another inspection, but it can share assumptions with the first. Its report is additional evidence, not a guarantee. For consequential work, use checks that can contradict both assistants: actual data, separately chosen cases, or a person with relevant expertise.

You do not need a large team to practice this. As an individual, you can ask for a candidate, close the worker's summary, and inspect the source against your own written criteria. Describe that honestly as an owner review, not an independent third-party review.

Turn the intent into a small contract

Here is the behavior we will use throughout the course. The function accepts a list of strings and returns a new list of strings. It trims surrounding whitespace, omits entries that become empty, and treats titles as duplicates using Python's Unicode casefold() comparison. It keeps the first retained spelling after trimming and preserves the order of first occurrence. It does not change the input list.

Using casefold() is a precise choice for this example. We are not claiming that it solves every language or cataloging problem. We do not combine internal spaces, remove accents, compare punctuation, or normalize Unicode forms. "Part One" and "Part One" remain distinct: Part[space]One has one space; Part[space][space]One has two. The brackets label spaces, not literal text. If a future user needs different matching rules, that is a new product decision.

The accepted input type is also bounded. We are not designing behavior for numbers, nested lists, or a damaged text file. A function for trusted strings needs less infrastructure than a public upload service. Naming this boundary keeps an assistant from adding speculative error handling or quietly inventing semantics.

Write one example before any code:

titles = ["  Dune  ", "", "Earthsea", "dune", "  ", "EARTHSEA", "Solaris"]
expected = ["Dune", "Earthsea", "Solaris"]

The example communicates several rules together. It does not replace the written contract: a candidate could happen to pass this list while mishandling another order, Unicode text, or the empty list. We will use additional cases later.

Give the assistant work you can evaluate

Tasks become difficult to supervise when they combine unrelated decisions. "Finish my app" may include product design, file layout, deployment, security, and pricing. You cannot easily tell whether the assistant made an acceptable change or chose a new direction.

A bounded task has a coherent purpose and an end you can recognize. "Implement the agreed reading-list behavior in this function, with tests and a short handoff" is small enough to inspect. It still requires judgment. Bounded does not mean reducing every action to a separate prompt or micromanaging every variable name.

Let the worker choose routine details within the contract. A set for seen comparison keys is a normal implementation choice. Changing the duplicate rule, adding a package, or writing back to a user's file changes the agreement and should come back to the owner. The distinction lets you preserve agency without supervising every keystroke.

Match verification to consequences

Consider what failure would affect, how quickly you would notice, and how you would recover. A local function in a disposable example needs focused checks. A change to a shared file format needs inspection of old data and compatibility. A payment or access-control change requires broader evidence and appropriate expertise before release.

The reading-list example is deliberately low impact. We can inspect its complete source, run representative tests, and compare a hand-worked case. We do not need a cloud testing service, a large benchmark, or a simulated production rollout. Adding those would consume attention without resolving the actual uncertainty.

Risk can change during work. If the worker discovers that the function is also used by an importer that deletes records, stop and reassess. A task that looked local may touch persistent data. Do not keep using the original verification plan after learning that its assumptions were wrong.

When you cannot judge the code yet

You can still ask useful questions. Ask what the function receives and returns. Ask which exact rule each test covers. Ask the worker to show a small trace: what happens to one title, what key it computes, and when it appends an entry. Compare the explanation to the actual lines rather than accepting a paraphrase alone.

For unfamiliar or high-impact changes, make learning and review part of the task. An assistant's ability to explain itself does not make its answer correct. A useful explanation helps you identify a check you can perform or a question for a qualified reviewer. If the important decision remains beyond your ability to assess, keep the candidate out of production until that gap is addressed.

Practice: write your owner's note

Choose a change small enough to describe in four sentences. State who uses it, what they do first, what result they should observe, and what must remain unchanged. Add one realistic failure and its consequence. Keep implementation details out unless they are a genuine constraint.

For our example, a sound note might say: "I choose the reading order. The tool cleans repeated titles while keeping that order and my first spelling. It returns a new list, leaving my input untouched. A sorted result is unacceptable because it destroys my study sequence."

Compare your note with that structure. Can another person tell when the experience succeeds? If the only criterion is "works well," make it more observable. Carry the note into the next lesson; it will become the reason behind the worker's assignment.