All workAndrew Cates.

Project 70 of 84

SCW AI

Node.js/Puppeteer CLI that scrapes Secure Code Warrior training challenges (question, answer options, code tabs) into prompt-ready markdown plus a JSON block for AI-assisted code analysis.

Status
Shipped
Area
Developer Tooling & CLIs
Last activity
2026
Stack
  • Node.js
  • Puppeteer
  • Bun
  • pnpm
  • Docusaurus
  • GitHub Actions
  • GitHub Pages
  • beads

Highlights

  1. Authored an evidence-based backlog for a single-file 1,708-line Puppeteer CLI. Mined the repo for concrete gaps (no tests, no CI gate, macOS-only clipboard, hardcoded 20s iframe timeout) and turned them into an approved, stress-tested 3-epic design spec with explicit acceptance criteria and a session-ID-never-leaks security requirement.
  2. Produced three per-epic implementation plans (~1,760 lines) grounded in line-level verification of the source, plus an architect consensus ruling that serialized the epics. The ruling showed that the refactor's byte-identity gates would silently become vacuous under concurrent edits, and defined a clipboard-hotfix escape hatch instead.
  3. Resolved the plans' highest-risk unknowns empirically rather than by argument: confirmed the require.main guard and multi-file bundling under bun build --compile, and validated the saved HTML captures as Puppeteer fixtures. Then seeded the work as 3 epics and 23 dependency-linked beads tasks.