Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Gate OSS Patches With a Four-Check Review Packet

Описание и применение

Пакет из четырёх проверок гарантирует, что AI‑генерируемые патчи проходят репликацию, ограничение области изменений, проверку публичного контракта и автоматическую проверку AI‑читателем, тем самым уменьшая нагрузку на ревьюеров.

Задача

Maintainers struggle to ensure AI-generated patches are accurate, scoped, and documented before review, leading to wasted time and potential regressions.

Результат

The workflow ensures every patch is accompanied by reproducible tests, scoped changes, and a documented review checklist, reducing reviewer effort and preventing regressions.

Рабочий процесс

  • 1. Create a branch and add a focused repro test that reproduces the failure.
  • 2. Commit the repro test and run it to confirm failure.
  • 3. Add a scope lock script that allows only files listed in an allowlist.
  • 4. Commit the scope lock and run it after each commit to prevent scope creep.
  • 5. Write a review.json checklist manually, marking required items such as changelog entry and issue linkage.
  • 6. Run the second reader AI prompt to automatically accept or reject the packet based on Gates 1‑3.
  • 7. If accepted, merge the PR; if rejected, address the failed gates and repeat.

Доказательства

Every outbound OSS change needs four artifacts on disk. They live beside the branch, not in chat history.

Источник

Gate 1: lock the reproduction

Источник

Gate 4: second reader, never author

Источник

  • Дата записи: 2026-09-13T11:02:24.639Z