A different kind of work
Earlier modules were about requirements, scaffolded code, tests and features. Module 4 is about the delivery layer around the app: continuous integration, containerization, documentation, code review and technical decisions. You are not adding product features. You are wrapping the existing Task Tracker in the engineering artifacts it needs to be shared, maintained, reviewed and eventually shipped.
Key ideaWe are not adding new product features. We are wrapping the existing Task Tracker in the engineering artifacts it needs.
Why this layer is deceptive
Delivery artifacts fail quietly. Each one can pass a casual glance while doing the wrong thing, which is why the module keeps returning to verification.
- CI Shows a green check while skipping failures.
- Dockerfile Builds, but runs the app as root.
- Documentation Sounds confident while describing behavior the code does not have.
Read with careThe notes say they are a student-facing guide to read alongside the Module 4 videos, not a transcript. The videos were not supplied, so nothing here is attributed to them.
Three strict rules
The notes set three rules for the whole module. They matter more here because a terminal agent can change several files in one turn.
| Rule | What it means in Module 4 |
|---|---|
| Read the diff before approving. | Claude Code may edit multiple files in one turn. The broader the scope, the higher the cost of careless approval. |
| Verify before moving on. | Generated artifacts are not done just because they exist. |
| AI never approves. | Claude can propose commands, diffs, reviews, and documentation, but it does not own the result. |
One repo, six connected parts
Everything happens in the same Task Tracker repository, in a deliberate order: project memory first, then CI, then Docker, then documentation, then review, then a technical note. Each step leaves an artifact that later steps can inspect or explain.
| Part | Focus | Main evidence |
|---|---|---|
| 4.1 | Set up Claude Code and create reliable project memory. | CLAUDE.md and two verified interactions. |
| 4.2 | Create CI and prove it catches broken tests. | green -> red -> green CI evidence. |
| 4.3 | Containerize the app safely. | Docker build/run, /health, non-root whoami. |
| 4.4 | Generate and verify documentation. | docstrings, README, claim-vs-reality log. |
| 4.5 | Use AI-assisted review as triage. | Useful / Noise / Wrong review log. |
| 4.6 | Write a technical decision note. | Decision note linked from README and rewritten in your voice. |
What you hand in
The module’s outputs table lists seven deliverables. Each one is about evidence, not just the file existing.
| Output | What it should contain | Why it matters |
|---|---|---|
| Claude Code setup | Claude Code installed/authenticated, correct repo opened, CLAUDE.md committed, and two Claude answers verified against actual files. | Gives the terminal agent real project memory before it edits or runs anything important. |
| CI workflow evidence | .github/workflows/ci.yml plus evidence of green -> intentional red -> restored green runs. | A green check only matters if a broken test turns it red. |
| Docker artifacts | Multi-stage Dockerfile, .dockerignore, local build/run evidence, /health check, and non-root whoami check. | Shows the app can run consistently and more safely outside your local environment. |
| Docker security log | A short log confirming non-root user, slim runtime base, and no baked secrets. | Turns “it builds” into “it is closer to shippable.” |
| Verified documentation | Docstrings and README updates plus a claim-vs-reality log with inaccuracies caught and fixed. | Prevents fluent false documentation from becoming official. |
| Annotated review log | Every Claude review comment categorized as Useful, Noise, or Wrong, with a short justification. | Builds judgment about where AI review helps and where it distracts. |
| Technical note and reflection | docs/decisions/<short-name>.md linked from README, rewritten in your own voice, plus a tool-fit reflection comparing Copilot, Cursor, and Claude Code. | Preserves the “why” behind decisions and turns tool use into engineering judgment. |
Choosing the right AI surface
The module compares tools by scope rather than ranking them. Autocomplete works at the line, IDE chat at the file or visible project, and a terminal agent at the whole repository. The broader the scope, the stricter your verification habit has to be.
Copilot
- Scope: a line or small function
- Check: the exact inserted code
Cursor
- Scope: a file or visible project
- Check: returned diffs, then run it
Claude Code
- Scope: the whole repo and the shell
- Check: CLAUDE.md, plan mode, permissions, diffs, evidence
Ask → inspect → run → test → refine, whichever tool you use.
| AI surface | Best fit | Not ideal for | What to verify |
|---|---|---|---|
| Copilot / autocomplete | Line-level help, small functions, familiar patterns, filling in repetitive code. | Work that crosses files or requires running commands. | Inspect the exact code it inserted. |
| Cursor / IDE chat | File-level or project edits inside the editor, sidebar chat, explanations, diffs over visible code. | Terminal-heavy work such as CI, Docker, git, and test loops. | Review returned diffs and run the project. |
| Claude Code / terminal agent | Repo-level tasks: reading files, planning, editing multiple files, running pytest, Docker, git, or gh. | Tiny one-line edits where a full terminal agent adds unnecessary risk. | Use CLAUDE.md, plan mode, permissions, diffs, commands, and evidence. |
Read with careTools are described as the notes describe them at their date.
Which artifact is most dangerous?
The notes end Part 1 with a review question worth answering before you start: if one artifact looked correct but was wrong, which would hurt most — CI, Docker, documentation, review, or the technical note? A false-green CI run lets broken code merge while everyone believes it is tested. Confident documentation turns a missing behavior into an official claim. There is no single right answer; the point is to notice that each one fails silently.
Key ideaThe loop stays the same across tools: ask, inspect, run, test, refine. The scope changes, so the cost of skipping a step increases.
Key takeaways
- Module 4 adds no features; it wraps the Task Tracker in delivery artifacts.
- CI, Docker and docs can all look right while being wrong.
- Read the diff before approving, verify before moving on, and never let AI approve.
- Pick the AI surface by scope; the wider the scope, the stricter the evidence.