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>
15 lines
2.7 KiB
JSON
15 lines
2.7 KiB
JSON
{
|
|
"assetKey": "a05-f025-filequotaservice-commit",
|
|
"kind": "terminal",
|
|
"command": "S=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/JpaFileQuotaService.java\nR=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/repository/FileserverQuotaRepository.java\nG=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/JpaQuotaCommitGateway.java\n\necho '# 서비스 javadoc 이 네 연산을 조건부라 부른다'\ngrep -n '' \"$S\" | sed -n '19,25p'\necho '# 저장소 인터페이스 javadoc 은 한 걸음 더 나간다'\ngrep -n '' \"$R\" | sed -n '13,18p'\necho -n '# 그런데 세 질의 시그니처에 version 파라미터: '\ngrep -A6 'int extend(\\|int commit(\\|int release(' \"$R\" | grep -c 'version'\n\necho\necho '# 연장 질의의 조건'\ngrep -n '' \"$R\" | sed -n '22,32p'\necho '# 확정 질의의 조건'\ngrep -n '' \"$R\" | sed -n '38,50p'\n\necho\necho '# 만료는 상태로 남지 않는다'\ngrep -rn 'EXPIRED' --include=*.java --exclude-dir=build . | grep -i quota | sed 's|^\\./||'\necho -n '# STALE_QUOTA_RESERVATION 을 enqueue 하는 main 코드: '\ngrep -rn 'STALE_QUOTA_RESERVATION' --include=*.java --exclude-dir=build . | grep -c 'enqueue'\n\necho\necho '# 이 포트의 네 메서드를 부르는 프로덕션 코드'\nfor m in reserve extend commit release; do\n printf '# quotaService.%-8s : %s\\n' \"$m()\" \"$(grep -rn \"quotaService\\.$m(\" --include=*.java --exclude-dir=build . | grep -c '/src/main/')\"\ndone\ngrep -rn 'quotaService\\.' --include=*.java --exclude-dir=build . | grep '/src/main/' | sed 's|^\\./||'\n\necho\necho '# 프로덕션 확정이 실제로 지나는 곳'\ngrep -rn 'quotaGateway\\.commit(' --include=*.java --exclude-dir=build . | grep '/main/' | sed 's|^\\./||'\necho '# 그 게이트웨이가 살아 있는 예약을 고르는 조회의 조건'\ngrep -n '' \"$R\" | sed -n '90,100p'\necho '# 살아 있는 예약이 없을 때'\ngrep -n -A12 'private void recordCommittedWithoutReservation' \"$G\"\necho '# 그 행을 만드는 생성자의 인자 순서 — 다섯째가 expiresAt'\ngrep -n -A9 'public QuotaReservationEntity(' $(find . -name QuotaReservationEntity.java -path '*/main/*')",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-02T04:56:12+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/a05-f025-filequotaservice-commit.txt",
|
|
"svg": "evidence/rendered/a05-f025-filequotaservice-commit.svg",
|
|
"rawSha256": "9bf3a7696a473f22e6109d26476cb422264b05d14c394fe914d9611ae2381a09",
|
|
"lines": 93,
|
|
"redaction": "none — 코드베이스 정적 검색"
|
|
}
|