Where each lesson comes from, what was not supplied, and the places where the material needs a careful reading.
The sources
Built from three supplied PDFs: the Module 5 lecture notes (20 pages: a module snapshot, twelve learning outcomes, Part 0 and Parts 5.1 to 5.6, and a closing note on the course tool arc), the Module 5 prompt library (21 pages: 21 prompts, 5.1A to 5.6C, each with a weak and an improved version, the reasoning, a follow-up and the mistake it avoids), and the Module 5 additional readings (5 pages: five core readings, six practical references and five optional deep dives, 18 links). Not supplied: the Module 5 videos the notes say to read alongside, the recording the prompt library refers to, the earlier versions of two prompts the library says it replaced, any slides, and the quiz the readings mention.
Listening
Every page in this course is read aloud by your device’s own voice. No recorded narration was generated for it. Back to the lessons →
Where each lesson comes from · Lecture notes, prompt library and readings
Lesson
Lecture notes
Prompt library
Readings
1 · Grade, do not accept
pp. 1-3
p. 1 (how to use, key mindset)
p. 1 (how to use)
2 · Codex App and AGENTS.md
pp. 3-5
pp. 1-4 (5.1A-5.1D)
pp. 1-3 (Core 1-2, Practical 1-3)
3 · AI security review
pp. 5-8
pp. 4-8 (5.2A-5.2X)
pp. 2-3, 5 (Core 3-4, Practical 4-5, Optional 5)
4 · Governance retrospective
pp. 9-11
pp. 8-11 (5.3A-5.3C)
pp. 2, 4-5 (Core 3, Optional 3-4)
5 · Feature planning
pp. 12-14
pp. 11-14 (5.4A-5.4C)
—
6 · Context engineering
pp. 15-17
pp. 14-18 (5.5A-5.5D)
pp. 2-4 (Core 5, Practical 6, Optional 1-2)
7 · Personal AI playbook
pp. 18-20
pp. 18-21 (5.6A-5.6C)
p. 3 (Practical 5)
Lesson 01
Grade, do not accept
Module 5 changes the question from “Can AI help me build this?” to “What does AI notice, miss and invent, and what rules do I need?” Two rules carry every part: grade every output, and keep every deliverable in docs/.
Grading instead of building; Codex App as the recording interface; deliverables in docs/.
Lecture notes p. 1
Learning outcomes
The twelve outcomes, from the Codex App surface to choosing tools by task shape.
Lecture notes pp. 1-2
Part 0 — Grade, do not accept
The two rules, the closing playbook and the changed working question.
Lecture notes p. 2
Building vs grading posture; before you start
The four paired questions and the five preparation items.
Lecture notes p. 3
Library mindset
“AI proposes; you grade.” The library’s six how-to-use rules repeat the read-first, docs-first posture.
Prompt library p. 1
Lesson 02
Set up Codex App and AGENTS.md
Setup is a verification exercise. Select the real repo root, write a short repo-grounded AGENTS.md with Module 5 guardrails, prove with two smoke tests that Codex reads your actual files, and treat every permission click as a judgment call.
Five areas and their recommended habits; no IDE extension or CLI in this module.
Lecture notes pp. 3-4
What AGENTS.md should do
Four sections, short and repo-specific.
Lecture notes p. 4
Activity flow and pitfalls
Six steps with checks; smooth is not the same as safe; four pitfalls.
Lecture notes pp. 4-5
Setup prompts 5.1A–5.1D
Thread guardrails, AGENTS.md draft, project evidence and recent-files smoke tests.
Prompt library pp. 1-4
Codex app, AGENTS.md and review pane readings
Official app and AGENTS.md references and the open-format guide.
Readings pp. 1-3 (Core 1, Core 2, Practical 1-3)
Lesson 03
AI security review with Codex App
A security review is a grading exercise. Codex runs a read-only audit that must cite files; you grade every finding Valid, False Positive or Noise, run your own manual scan, reconcile the two, and rank a top-3 backlog in docs/security-review.md.
Read-only, file-cited, honest about empty categories.
Lecture notes pp. 5-6
Finding grades and manual scan
Valid, False Positive, Noise; six manual-scan lenses.
Lecture notes pp. 6-7
Lecture examples and artifact structure
Four examples; the four-section docs/security-review.md; You-only emphasis.
Lecture notes p. 7
Verification checklist
Six checks before the review is done.
Lecture notes p. 8
Security review prompts 5.2A–5.2X
Audit, grading, reconciliation and the optional minimal fix.
Prompt library pp. 4-8
Security readings
OpenSSF guide, OWASP cheat sheet and Top Ten, Copilot review limits, research on AI code security.
Readings pp. 2-3 (Core 3, Core 4, Practical 4, Practical 5), p. 5 (Optional 5)
Lesson 04
Governance retrospective
Every prompt was a governance decision. Look back through three lenses, what you shared, what you received and what changes, classify the risk of each item, trace one generated block line by line, and write rules a teammate could check.
Risk classification, line-by-line trace, rules from your own notes.
Prompt library pp. 8-11
Governance readings
OpenSSF guide; NIST AI RMF Playbook and Generative AI Profile.
Readings p. 2 (Core 3), pp. 4-5 (Optional 3, Optional 4)
Lesson 05
Agent-driven feature planning
Generic advice can sound right and still be wrong for your project. Plan a comments feature twice, once generically and once grounded in the repo, then critique the grounded plan section by section as a tech lead. Plan it; do not build it.
The comments feature fields and the generic vs grounded comparison.
Lecture notes p. 12
What Codex should read; critique labels
Six kinds of file to read; Right, Missing, Needs-Resequencing.
Lecture notes pp. 12-13
Activity flow
Five steps ending in docs/decisions/comments-feature-plan.md.
Lecture notes p. 13
Plan it, do not build it; pitfalls
Four planning pitfalls.
Lecture notes p. 14
Feature planning prompts 5.4A–5.4C
Generic baseline, grounded plan, critique and three-line comparison.
Prompt library pp. 11-14
Lesson 06
Cross-cutting context engineering
More context is not always better. Run the same architecture-document task three times in fresh threads, with minimal, structured and targeted context, compare the outputs, and leave with a rule: for task shape X, use strategy Y because Z.
Minimal, structured and targeted context, and what each teaches.
Lecture notes p. 15
Activity flow and document content
Five steps with A/B/C files and the final architecture.md; six document sections.
Lecture notes pp. 15-16
Comparison log and instructor emphasis
Five log questions; honest boundaries over confident guesses.
Lecture notes p. 16
Pitfalls
Prettiest output, stale threads, no rule, assuming more context wins.
Lecture notes pp. 16-17
Context engineering prompts 5.5A–5.5D
One prompt per strategy and the comparison prompt.
Prompt library pp. 14-18
Context engineering readings
Thoughtworks on coding agents, Copilot context habits, Anthropic and LangChain vocabularies.
Readings p. 2 (Core 5), pp. 3-4 (Practical 6, Optional 1, Optional 2)
Lesson 07
Your personal AI playbook
The closing artifact of the course: one page, in your voice, backed by specific evidence from your own work. Let AI draft only the empty template, fill it from course evidence, complete a Decision Card no one else would write the same way, and set a 30-day re-read.
Copilot code review limits as a cross-tool reminder for your review rules.
Readings p. 3 (Practical 5)
Source appendix
Where the material needs a careful reading
Read with care
The videos were not supplied
The notes are written to accompany the Module 5 videos and say they are not a transcript. The videos, any slides and the quiz the readings mention were not supplied, so nothing here is attributed to them.
Codex App at the documents’ date
The project sidebar, threads, review pane, worktrees, in-app browser and “Allow once” are described as the notes describe them. The course makes no claim about what the app does today; check the official pages in the readings.
Two definitions of Valid
The notes define Valid as an issue real for this codebase. The library’s grading prompt (5.2B) also counts a course-scope limitation that would matter outside the learning context. State which one you used.
The risk rubric differs slightly
Prompt 5.3A’s High level adds production config, regulated data and code you are not authorized to share to the notes’ examples, and its Medium covers non-public repo context. The levels agree in spirit; the wording is not identical.
Strategy C and the “Key files” section
All three architecture prompts ask for 5-10 key files, but Strategy C reads exactly three. Expect “not visible from the files I read”; that is the intended behavior, not a broken prompt.
Small wording differences in the playbook
The notes’ section is “When I do not reach for AI first”; the library’s template (5.6A) says “When I do not reach for AI”. Prompt 5.6C also adds a fifth tool shape, general chat, that the notes’ tool-arc table does not list.
References to material not supplied
The library says two prompts replace an older version (“the old project-instructions idea”, “the old minimal-fix prompt”) and refers to “the recording”. Neither the old prompts nor the recording were supplied.
The only allowed code change
Everything in Module 5 lives in docs/. The single exception is an optional, explicitly approved one-line security fix (notes p. 2, prompt 5.2X); anything larger belongs in the backlog.
Comment field limits are examples
The 1-100 and 1-2000 character limits for author and body are the notes’ examples (“such as”). The feature is planned, never built, in this module.
Readings links not checked
Every reading URL is copied from the PDF’s link annotations without verifying it. The PDF is marked “(Refactored)”, and one arXiv link’s title is split across two annotations.
Checked against the supplied documents cited in each note.
What not to take away
The lessons actively work against these misreadings:
If Codex’s security report is well formatted and cites OWASP, its findings are correct.
Module 5 is about building more features faster with Codex App.
A longer AGENTS.md always gives better results.
If the smoke test answer sounds right, Codex is reading the right repo.
Every AI security finding should go straight into the backlog.
A no-auth course project means authentication is never worth mentioning.
Governance only matters for big companies, not a toy Task Tracker.
“Be careful with AI” is a usable rule.
A coherent, professional-sounding plan fits your codebase.
More context always produces a better answer.
An agent saying “not visible from the files I read” has failed.
AI can write your playbook as long as you edit the wording.
Study-guide synthesis; each item is addressed in the lessons.