A Pairing Manifest That Stops Generated Edits Outside One Module
Описание и применение
Партнерский процесс с манифестом rewrite‑set.txt и локальным чекером предотвращает нежелательные изменения файлов, ограничивая правки только указанными путями и обеспечивая контроль отката.
Задача
Generated patches often touch unrelated files, causing silent failures and rollback complexity in shared modules.
Результат
The pairing workflow prevents unintended edits by enforcing a manifest and local checks before any model or server interaction, reducing rollback risk and keeping scope narrow.
Рабочий процесс
- Write rewrite-set.txt with allowed paths and rollback owner comment
- Run local checker against working tree before model draft
- If checker reports extra path, restore it and shrink prompt
- Request draft only inside allowed paths, then run checker again on diff
- Point dry run at free server only after second checker succeeds
- Record clear rollback command for owner and stop session if unclear
Доказательства
A generated patch should stay on the laptop until a pairing names one rewrite set and one owner.
The script below is an unexecuted example for review, not a claim that a repository already enforces this gate.
The workflow below is a proposal for the same kind of pairing, labeled so nobody mistakes it for a measured case study.
- Дата записи: 2026-10-10T19:40:53.531Z