문제
config/ci/ungated-scripts.json의 check:feature-index 이유는 "--check는
로컬 사본이 오래됐다는 것만 알려 줄 수 있다"이다. 쓸모없다는 말로 읽혀
리뷰가 지울 후보로 올렸다. 실제로는 scripts/verify-extreme-scale.ts가
EXTREME_SCALE_GATES 첫 단계로 이 script를 부른다.
고른 방법
- 지우지 않는다. 이유 문구를 "로컬에서 생성 인덱스가 오래됐는지 확인,
verify:extreme-scale(scripts/verify-extreme-scale.ts)의 첫 단계. 게이트는
인덱스를 먼저 다시 만들어서 얻는 것이 없다"로 고친다.
- ungated-scripts 테스트가 EXTREME_SCALE_GATES에 이 script가 있고 이유가
verify:extreme-scale을 적는지 확인한다. verify:extreme-scale이 이
script를 그만 부르면 실패해서 다시 지울 후보가 된다.
- 12-05의 나머지(script 4개 삭제, scan: 접두어 검사)는 98b9682가 했다.
버린 대안
- check:feature-index 삭제: verify-extreme-scale.ts의 단계 목록과
tests/scripts/verify-extreme-scale.test.ts를 같이 고쳐야 하고, 로컬에서
생성 인덱스가 오래됐는지 볼 방법이 없어진다.
위험·한계
- 게이트 명령은 바뀌지 않는다. CI 계약 기준선은 그대로다.
검증
- RED: 새 테스트 "names verify:extreme-scale as the user of
check:feature-index"가 실패(expected 'The generated indexes
(src/.generated…' to contain 'verify:extreme-scale').
- GREEN: ungated-scripts·ungated-tests·verify-extreme-scale 31/31 통과.
- check:ci 세 단계를 pnpm 없이 직접 실행: generate-artifact-schemas --check
PASS, check-ci-contract.ts PASS(27 gates), generate-ci-workflow --check
PASS. 바꾼 테스트 eslint 통과.
Refs: docs/reviews/2026-11-01-maturity-review/12-guardrails-ci.md 12-05