Files
Kazuki YamadaandClaude Fable 5.2 c4a43f6827 refactor(core): Replace Handlebars templates with typed render functions
intent(dependencies): reduce the dependency tree where owning the code costs less than carrying the package
decision(templates): each output style exports a typed render function built with template literals, so a wrong field name is a type error instead of a silently empty value
decision(templates): keep the inputs-we-control rule for dropping dependencies; templates and output structure qualify, glob/ignore handling, tar extraction and git URL parsing do not
learned(handlebars): every interpolation in the templates was the raw triple-stash form and every condition was a boolean, string or undefined, so no escaping or Handlebars truthiness had to be reproduced
learned(handlebars): standalone block tags drop their whole line; reproduced by letting each optional section carry its own trailing newline
constraint(output): generated output must stay byte-identical; verified with a 153-file golden comparison across xml/markdown/plain, git diffs and logs, header, instruction, line numbers, multi-root and skill generation, plus a 10,000-iteration differential fuzz against handlebars 4.7.10
constraint(website-server): website/server/package-lock.json still lists handlebars through the published repomix package until it picks up a release with this change

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-15 13:39:27 +09:00
..