Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/what-a-gate-does-not-prove/reference/reference-a-gate-nobody-runs-reports-the-last-run.md
T
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.

Follows the import procedure in README.md.

  source/     the originating repository verbatim — 78 documents, 28 SVGs,
              8 manifests, plus .source-revision recording the commit
  final/      the SSOT
    document.md   729 lines written from the 29 experiment documents, not
                  concatenated: what was predicted, what was measured, and
                  where the measurement itself was wrong
    evidence/raw    125 outputs, flattened to <experiment>__<file> because
                    the originals collided (01-baseline.txt appeared three
                    times) and the audit only globs the top level
    evidence/meta   one per raw file; command and exitCode are null and the
                    README says why rather than inventing them
    evidence/browser  22 captures
    assets/       three diagrams through techviz
    .techviz/     their VizSpecs

A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.

Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.

verify-pipeline.py passes. audit-records.py reports no issues.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 22:51:59 +09:00

54 lines
2.3 KiB
Markdown

---
kind: REFERENCE
slug: a-gate-nobody-runs-reports-the-last-run
title: 아무도 돌리지 않는 레인의 게이트는 마지막으로 돌린 사람이 본 것을 보고한다
topic: what-a-gate-does-not-prove
project: clean-architecture-backend-template
status: 게시 전
sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
rootTreeNode: reference:a-gate-nobody-runs-reports-the-last-run
verifiedOn: # 이 기록은 이번 회차에 실행 확인을 하지 않았다
---
# 아무도 돌리지 않는 레인의 게이트는 마지막으로 돌린 사람이 본 것을 보고한다
## 목적
게이트가 존재한다는 사실을 그것이 주기적으로 판정한다는 증거로 읽는 것을 막는다.
## 규칙
1. 게이트의 입력을 누가 생산하는지 센다
생산자가 테스트뿐이면 그 게이트는 테스트 안에서만 판정한다.
2. 그것을 돌리는 태스크와 워크플로를 센다
Gradle 태스크가 없고 CI 워크플로가 없으면 아무도 그 앞에 서지 않는다.
3. 결과에 provenance 가 없으면 마지막 실행을 재사용한다
언제 어디서 나온 결과인지가 결과에 실려 있지 않으면, 오래된 산출물이 현재 판정으로 읽힌다.
4. 업투데이트를 주장하는 레인은 자기가 만들지 않은 결과를 보고한다
레인 태스크가 캐시될 수 있으면 초록불이 이번 실행의 결과가 아닐 수 있다.
## 적용 조건
릴리스 게이트 인증 레인 승격 판정 등 결과가 배포 결정으로 이어지는 모든 검사
## 예외
의도적으로 수동 실행만 하는 게이트는 그 사실과 실행 주기가 문서에 있어야 한다.
## 예시
gRPC 안정 릴리스 게이트의 증거 객체를 만드는 곳은 자기 테스트 네 군데뿐이고, 그것을 돌리는 Gradle 태스크가 0 이며 28개 CI 워크플로 중 grpc 를 이름에 담은 것이 0 이다.
증거 등급 R2 는 실제 CI 잡 신원과 외부에 보존된 산출물 위치를 요구한다. 그 둘이 없으면 결과는 R1 에 머문다.
## 관계
- **릴리스 게이트가 읽는 증거를 아무도 생산하지 않는다**
이 규칙을 만든 사례다.
- **증거 등급과 provenance — R1과 R2를 가르는 것**
이 규칙이 요구하는 provenance 를 체계로 만든 것이다.