Workshop index · Download all examples and lessons
Environment: macOS, Python 3.15.0, Node 24.20.0, Emacs 31.1 (development build a360712c9d27). The source targets Python 3.11+ and Node 24.20.0. Other Python versions and operating systems have not been tested here. TypeScript executes using Node’s native type stripping; runtime checks do not establish static type correctness.
Exercised checks
- Public fixtures against the baseline, capacity candidate, and validation candidate in both languages.
- Request adapter smoke tests and author checks for omission, invalid supplied values, exact capacity, and sold out.
- Cancellation smoke tests; author checks verify repeated cancellation exposes the candidate defect and the reference fix restores capacity only once.
- Retry checks reproduce response loss after acceptance, demonstrate duplicate reservations, and verify stable responses by request key.
- TypeScript checks demonstrate deterministic interleaving across an await and verify single-event-loop capacity preservation and same-key handling.
- Follow-up consumer checks demonstrate the response-field compatibility regression and verify the stable response.
- Capstone smoke tests and author checks for exact fits, FIFO, preserved waitlist entries, event order, repeated cancellation, and input isolation.
- Three Emacs ERT checks cover the isolated setup’s root resolution, diff view, and Org notebook.
- Real Emacs GUI: Python and TypeScript diffs, contract view, Catppuccin Mocha overlay, and completed TypeScript compilation buffer. Three window-only screenshots were captured and visually inspected.
Commands
Run from the repository root. Author checks reveal solutions.
python3 -m unittest discover -s python/tests -v
BOOKING_VARIANT=capacity python3 -m unittest discover -s python/tests -v
BOOKING_VARIANT=validation python3 -m unittest discover -s python/tests -v
node --test typescript/tests/booking.test.ts
BOOKING_VARIANT=capacity node --test typescript/tests/booking.test.ts
BOOKING_VARIANT=validation node --test typescript/tests/booking.test.ts
python3 -m unittest discover -s solutions/tests -v
node --test solutions/tests/*.test.ts
emacs -Q --batch -l emacs/workshop.el -l emacs/workshop-test.el The intentionally defective implementations remain defective: author checks explicitly confirm their teaching failures. The TypeScript misleading test is deliberately invalid and is labelled as such; a green result from it is not a regression check.
Limits
No independent reader pilot has been performed. The existing Doom/Claude integration is documented from the dotfiles, not tested as a new account installation. No hosted AI transcript is claimed: recorded responses are constructed teaching examples. The stores are in-memory simulations, not production database implementations. The blog’s workshops section is enabled in the checkout; deployment remains separate.
Blog integration
The series lives exclusively at /workshops/code-review-with-ai, with lessons below its lessons/ path. Workshops navigation and the existing terminal workshop are restored. The DevOps notes data remains unchanged.
The blog’s pnpm run check reports zero errors and one pre-existing empty-CSS-rule warning in JakartaStationsMap.svelte. Its production build succeeds with the workshop landing page, lessons, and supporting materials prerendered. Desktop and mobile rendering checks cover the landing page and Emacs lesson; screenshot assets load without page overflow. All three Emacs captures were visually inspected.
Run python3 scripts/verify.py for the complete local exercise check. To regenerate the website content, use python3 scripts/export_blog.py --target ../caleb-tutty.com --publish; this writes the blog checkout but does not deploy it.