Done — pushed straight to main (d2f9c46..744f9be), no PR.
Remaining issues from my original list, now fixed:
| # | Issue | Fix |
|---|
| 1 | escapeXml only handled &<> | Now escapes all five XML entities (quotes too), with a comment explaining the body-content safety context |
| 2 | bullets slug capped at 3 while render drew all bullets | Slug now uses every rendered bullet (still bounded by SLUG_MAX) |
| 9 | No logo/watermark | Added --logo <path> — composited into the bottom-right, scaled to the canvas, validated for existence |
| 10 | Bare 'centre'/'left' literals | Extracted ALIGN_CENTER/ALIGN_LEFT constants |
Testing (ran the full suite, all e2e included):
npm run test:all → unit ok: naming + 5 templates + options and e2e passed: 18 checks
- New e2e coverage added for
--logo, --version, --theme dark --size square, and stdin - (the earlier round only had these at the unit level)
- Logo render verified by raw-pixel diff: bottom-right corner changes, top-left stays identical
Docs updated: README options table + example, CHANGELOG (Added/Fixed), and the agent SKILL.
As before, I left .claude/, .codex/, and .entire/ out of the commit — local tooling/config and session logs, not project files. Offer still stands to add them to .gitignore if you'd like them to stop showing as untracked.