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.6 KiB
JSON
15 lines
2.6 KiB
JSON
{
|
|
"assetKey": "a05-f027-maximum-attempts",
|
|
"kind": "terminal",
|
|
"command": "Q=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/JpaCleanupQueue.java\nR=adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver/repository/FileserverCleanupRepository.java\nS=application-core/src/main/java/dev/caskeleton/application/fileserver/cleanup/DefaultCleanupService.java\n\necho '# 회수 메서드가 자기 javadoc 에 적어 둔 것'\ngrep -n '' \"$R\" | sed -n '108,131p'\necho -n '# 저장소 전체에서 attempt 를 비교하는 줄: '\ngrep -c 'attempt *[<>=]\\|attempt)' \"$R\"\necho '# 저장소가 attempt 에 하는 일 전부'\ngrep -n 'attempt' \"$R\"\n\necho\necho '# 예산을 끊는 곳은 코드베이스에 한 군데다'\ngrep -rn 'ABANDONED' --include=*.java --exclude-dir=build \\\n adapter/outbound/persistence-jpa/src/main/java/dev/caskeleton/adapter/outbound/persistence/fileserver \\\n application-core/src/main/java/dev/caskeleton/application/fileserver | sed 's|.*/||'\ngrep -n -A9 'public void markFailed' \"$Q\"\n\necho\necho '# 회수 대상을 고르는 조회 — 만료된 것만, 시도 한계 없음'\ngrep -n '' \"$R\" | sed -n '93,101p'\necho '# 다시 청구되는 조건 — 상태만이 아니라 다음 시도 시각도 본다'\ngrep -n '' \"$R\" | sed -n '16,23p'\n\necho\necho '# 회수 래퍼가 next_attempt_at 에 넣는 시각'\ngrep -n -A14 'public int reclaimExpiredClaims' \"$Q\"\necho '# 배치는 시각을 한 번 잡아 회수와 청구에 같이 쓴다'\ngrep -n -A10 'Instant now = clock.instant();' \"$S\" | head -12\ngrep -n 'LEASE = ' \"$Q\"\n\necho\necho '# 정상 실패 경로는 실제로 불린다'\ngrep -rn 'markFailed(item,' --include=*.java --exclude-dir=build \"$S\" | sed 's|.*/||'\ngrep -n -B2 -A3 'CLEANUP_ATTEMPT_FAILED' \"$S\" | head -8\n\necho\necho '# 도달성'\ngrep -n 'addFixedDelayTask' app-bootstrap/src/main/java/dev/caskeleton/bootstrap/autoconfigure/fileserver/FileserverCleanupConfiguration.java\ngrep -n 'APP_FILESERVER_PLATFORM_ENABLED\\|APP_FILESERVER_PLATFORM_CLEANUP_ENABLED' app-bootstrap/src/main/resources/application.yml",
|
|
"cwd": "/shared/codebase/clean-architecture-backend-template/src",
|
|
"exitCode": 0,
|
|
"executedAt": "2026-09-02T05:43:41+00:00",
|
|
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
|
|
"raw": "evidence/raw/a05-f027-maximum-attempts.txt",
|
|
"svg": "evidence/rendered/a05-f027-maximum-attempts.svg",
|
|
"rawSha256": "4e8bea35859c875b79a41738facde8b2ad2a1e0dec153f62eae36881a0cde0c1",
|
|
"lines": 113,
|
|
"redaction": "none — 코드베이스 정적 검색"
|
|
}
|