8장 template repository를 복사본 공장으로 만들지 않는다
template로 생성된 code는 그 순간 fork된다. 이후 보안 수정이 기존 수백 repository에 자동 전파되지 않는다. template에 들어갈 것과 중앙 service로 제공할 것을 나눈다.
- repository에 남을 것: 최소 build file, ownership, service contract
- 중앙에서 제공할 것: reusable workflow, base image, policy, observability collector
- versioned library: logging·auth client
- 문서 link: 변경이 잦은 운영 guide
template version을 entity annotation에 기록하면 오래된 service를 찾을 수 있다. 자동 PR로 upgrade를 제안하되 breaking change와 application code를 한 번에 섞지 않는다.
생성 직후 test:
repository exists
default branch protection requested
catalog entity processed
CI first run green
dev manifest reconciled
health and telemetry visible
runbook has owner and rollback