{ "assetKey": "a-rotation-that-overwrites-and-a-generation-that-cannot-be-reclaimed", "kind": "terminal", "command": "G=grpc/grpc-client/src/main/java/dev/caskeleton/grpc/client\nC=grpc/grpc-policy/src/main/java/dev/caskeleton/grpc/security/GrpcCredentialRotationManager.java\necho '# 회전 — 읽고 판단한 뒤 조건 없이 쓴다'\nsed -n '87,94p;102,105p' $G/GrpcChannelRuntimeRegistry.java\necho '# 같은 클래스의 첫 설치는 비교 후 교체를 쓴다'\nsed -n '45,47p' $G/GrpcChannelRuntimeRegistry.java\necho -n '# 그 파일의 compareAndSet 매치 수: '\ngrep -c 'compareAndSet' $G/GrpcChannelRuntimeRegistry.java\necho -n '# 덮인 대체본을 담는 곳 — draining 에 add 되는 값: '\ngrep -n 'add(previous)' $G/GrpcChannelRuntimeRegistry.java\necho\necho '# 이 세대가 들고 있는 것은 채널이 아니다'\ngrep -n 'private final\\|private volatile' $G/GrpcChannelRuntime.java\necho -n '# 이 모듈 main 의 io.grpc 참조: '\ngrep -rn 'io\\.grpc' --include=*.java grpc/grpc-client/src/main/ | wc -l\necho\necho '# 계수기 — 확인하고 별도 연산으로 줄인다'\nsed -n '50,54p;66,70p' $G/GrpcChannelRuntime.java\necho -n '# 이 파일의 compareAndSet / updateAndGet 매치: '\ngrep -c 'compareAndSet\\|updateAndGet' $G/GrpcChannelRuntime.java\necho '# 올리는 쪽은 배수가 시작되면 거절한다'\nsed -n '41,45p' $G/GrpcChannelRuntime.java\necho '# 조용함 판정'\nsed -n '93,95p' $G/GrpcChannelRuntime.java\necho -n '# finishUnaryCall 의 프로덕션 호출자: '\ngrep -rn 'finishUnaryCall' --include=*.java . | grep -v '/test/' | grep -vc 'GrpcChannelRuntime.java'\necho\necho '# 회수 — 동기화 목록을 잠그지 않고 순회한다'\ngrep -n 'synchronizedList' $G/GrpcChannelRuntimeRegistry.java\nsed -n '113,115p;122,131p' $G/GrpcChannelRuntimeRegistry.java\necho -n '# retireQuiescent 의 프로덕션 호출자: '\ngrep -rn 'retireQuiescent' --include=*.java . | grep -v '/test/' | grep -vc 'GrpcChannelRuntimeRegistry.java'\necho\necho '# 옆 모듈 — 배수 완료는 판단조차 없다'\nsed -n '117,121p' $C\necho -n '# 그 파일의 compareAndSet / updateAndGet / synchronized 매치: '\ngrep -cE 'compareAndSet|updateAndGet|synchronized' $C\necho\necho -n '# 두 모듈의 런타임 소속: '\npython3 -c \"import json;m=json.load(open('config/architecture/modules.json'));ls=[x for x in m.get('modules',m) if isinstance(x,dict)];print(' '.join(f\\\"{x['id']}={x.get('runtime_memberships')}\\\" for x in ls if x.get('id','').endswith('grpc-client') or x.get('id','').endswith('grpc-policy')))\"\n", "cwd": "/shared/codebase/clean-architecture-backend-template/src", "exitCode": 0, "executedAt": "2026-09-02T02:27:51+00:00", "sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916", "raw": "evidence/raw/a-rotation-that-overwrites-and-a-generation-that-cannot-be-reclaimed.txt", "svg": "evidence/rendered/a-rotation-that-overwrites-and-a-generation-that-cannot-be-reclaimed.svg", "rawSha256": "8aec7ab0ec62008120b7a7bbc3ec02eb1d5a65bf5b2892587c041deee207d323", "lines": 77, "redaction": "none — 분석 문서 발췌" }