Extract the CI Matrix Before a Model Reviews Your OSS Patch
Описание и применение
Сбор матрицы CI и воспроизведение старейшего ячейки позволяет модели проверить патч в реальном окружении, избегая ошибок, связанных с несовпадением версий.
Задача
A contributor’s local test passes but the PR fails on older CI matrix cells because the model review ignores the repository’s actual runtime matrix.
Результат
By pinning the CI matrix and replaying the oldest failing cell locally, contributors avoid model reviews that overlook runtime mismatches, leading to smoother PR merges.
Рабочий процесс
- Clone the upstream repo with a named remote and create a topic branch
- Copy the workflow file and extract the matrix using a helper script
- Create ASSUMPTION_LEDGER.md with workflow, matrix, install commands, and first cell to replay
- Write a replay script that runs a single matrix cell locally
- Run the replay script to confirm the patch passes the oldest matrix cell
- Provide the ledger and replay evidence to the model for review
Доказательства
The model never lied about the diff. It simply never saw the runtime the project actually ships.
Create ASSUMPTION_LEDGER.md with four blocks before any model sees the diff
- Дата записи: 2026-09-13T10:48:51.645Z