Ответственность: защищает слои библиотеки, единственный root entrypoint, public examples, PDF semantics и визуальную стабильность.
Расположение: .template/development/tests/
| Символ или файл | Тип | Описание |
|---|---|---|
run-tests.py |
CLI | Полный release gate |
manifest.json |
fixture manifest | Compile, semantic, negative и visual expectations |
check_architecture() |
static check | Направление Typst imports |
check_workspace() |
static check | Root surface, docs, VS Code, private settings и public examples |
snapshots/ |
visual baseline | Утверждённые страницы стабильных renderer fixtures |
| Компонент | Что использует |
|---|---|
| Typst 0.15.1+ | Компиляция и PDF generation |
| Poppler | Text extraction, links и PNG rendering |
| Pillow | Pixel diff snapshots |
docs/examples/ |
Public executable documentation |
document.typ, draft.typ и clean-copy.typ.docs/ видим и содержит обязательную public navigation.final, draft и clean-copy без root entrypoint duplication.Public example является production-facing documentation: его compile failure блокирует выпуск так же, как regression renderer. Для layout changes сначала просмотрите rendered pages, затем осознанно обновите snapshots.