Skip to content

Week 2 readings: context and tool contracts

Read the notes first. Before opening an explanation, predict which constraint each phase will preserve and which acceptance case should fail. After the studio, use the self-check to name the evidence you would rerun.

The only external readings below are primary sources recorded in the course factsheets. Each one is pinned to a fixed revision. Read the named sections at the cited revision. The factsheets record the sources. They do not replace the primary files.

Source 1 — Codex CLI instructions and plan schema (optional, 20 minutes)

Read the pinned base-instructions factsheet. Focus on the primary-source sections it names: “Task execution”, “Validating your work” and update_plan. Follow its pinned source links. Then read the pinned plan-schema source named there. Scope: identify one instruction, one field that the schema enforces, and one rule that the files do not show being enforced. Record the pinned revision in your notes.

Source 2 — Qwen Code prompt builder and edit schema (optional, 20 minutes)

Read the pinned prompt-builder and tool-schema factsheet, then follow its named primary-source links for the prompt builder, edit and todo_write. Scope: compare a request made only in the description with a behavior that code checks. Then write a call that should return a useful error. Do not draw conclusions about behavior outside these files.

Source 3 — this week in the schedule (required, 10 minutes)

Read the Week 2 row of the schedule. Confirm the topic, what the second session holds and that A2 and the project proposal are due. Scope: connect the studio record to what you hand in this week.

Optional local inspection

The saved session recording and dissection are course material, and they give the same result every time. From the course checkout, use python lectures/week-02/session/show_session.py lectures/week-02/session/sample-session.jsonl to inspect request growth. This command reads the record and does not call a model.