Keep OSS Reviews Inside a Four-File Packet
Описание и применение
Пакет из четырёх файлов фиксирует SHA, пути, diff и тест, позволяя модели читать только ограниченный контекст и предотвращая расхождения в обзорах.
Задача
Free‑model reviews drift when they read an entire repository tree, causing maintainers to chase defects that git never recorded.
Результат
The packet ensures that every review comment is tied to a specific SHA, path, diff hunk, and failing command, preventing drift and enabling reproducible, bounded model reviews.
Рабочий процесс
- Freeze the SHA on a clean tree and write BOUND.txt
- Capture the failing command in FAIL.txt
- Write the smallest failing test and run it at the frozen SHA
- Fill BOUND.txt with allowed and forbidden paths
- Stage only allowed paths and emit PATCH.diff
- Run a local test matrix and append results to FAIL.txt
- Create PROMPT.txt to instruct a free model to read only the packet
- Run packet_check.py to validate completeness
Доказательства
Free-model reviews drift when they read an entire tree. Maintainers then chase defects that git never recorded.
The patch does not start as a chat thread. The contributor freezes SHA, paths, diff, and test output together.
The contributor writes a single PROMPT.txt file.
- Дата записи: 2026-09-13T20:15:27.194Z