A Clerk Stamps Once
Описание и применение
Автоматизированный рецепт, позволяющий единожды вызвать модель для добавления экспорта CSV в панель использования, ограничивая изменения только указанными файлами и избегая повторных запросов.
Задача
A solo founder needed a quick, single‑shot patch to add a CSV export to a usage dashboard without incurring costly agent loops or cloud dependencies.
Результат
The founder achieved a one‑shot, local, model‑driven patch that added CSV export functionality, avoided costly retries, and maintained a clean git history.
Рабочий процесс
- Create a touch.allow file listing files the clerk may modify.
- Write a concise prompt.txt specifying the task and constraints.
- Run clerk.sh to call the model once, apply the diff, and verify tests.
- If the diff touches disallowed files or modifies lockfiles, the script aborts.
- After successful verification, review the diff before pushing.
- Push the changes to the repository.
- Run CI to ensure all tests pass.
- Deploy the updated dashboard.
Доказательства
The founder wrote a touch list before any prompt.
A small shell script owned the ship window.
The script treats that road as a hard error.
- Дата записи: 2026-09-16T15:45:33.244Z