Architecture Decision Records¶
Why jig is the way it is. ADRs record decisions — including rejected ones — so the reasoning survives and settled questions stay settled. Numbers are never reused; a reversed decision gets a new ADR that supersedes the old one, never an edit.
Accepted¶
- 1. One module: library for smith, CLI for the world
- 2.
text/templateonly, hand-rolled func map - 3. No hooks, no arbitrary code execution
- 4. Local rendering only
- 6. Empty directories are mirrored, not special-cased
- 7. Rendered paths must stay inside the output directory
- 8. Symlinks rejected by default;
--trustopts in - 9. Derived defaults
- 10.
choicesfor enum variables - 11.
jig checkdry-render command - 12.
jig bumpversion-copy command - 13. Prompting requires a TTY
- 14. Overwrite refusal is per file, not per directory
- 16. Prepare everything before writing anything
- 17. Escaping foreign template syntax with
ldelim/rdelim - 19. Conditional files and directories: empty-rendered names are excluded
- 20. Render provenance: the
.jig.jsonrecord
Rejected features (adopted as constraints)¶
These ADRs reject a proposed capability — the ADR itself is an accepted decision, and the limitation is the point, not a discarded idea.