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>
50 lines
2.8 KiB
Markdown
50 lines
2.8 KiB
Markdown
---
|
|
kind: CONCEPT
|
|
slug: adapter-outbound-fileserver-c08
|
|
title: 잔여 경로 연산을 선언하고 identity 검사로 감싼다
|
|
topic: state-machines-and-ownership
|
|
project: clean-architecture-backend-template
|
|
status: 게시 전
|
|
sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916
|
|
rootTreeNode: concept:adapter-outbound-fileserver-c08
|
|
evidenceCapturedOn: 2026-09-01
|
|
assets:
|
|
- key: adapter-outbound-fileserver-c08
|
|
file: ../../../final/evidence/rendered/adapter-outbound-fileserver-c08.svg
|
|
- key: adapter-outbound-fileserver-c08-diagram
|
|
file: ../../../final/assets/diagrams/adapter-outbound-fileserver-c08.svg
|
|
evidence:
|
|
- ../../../final/evidence/raw/adapter-outbound-fileserver-c08.txt
|
|
source:
|
|
- 원본 분석 절은 analysis/08-adapter-outbound-fileserver.md#L558 이다.
|
|
module: adapter-outbound-fileserver
|
|
---
|
|
|
|
# 잔여 경로 연산을 선언하고 identity 검사로 감싼다
|
|
|
|
`LocalPersistentPayloadOperations`의 클래스 javadoc이 무엇이 서술자 상대이고 무엇이 아닌지를 앞에서 밝히고, 전수 검사가 그 서술과 일치한다.
|
|
|
|
## 본문
|
|
|
|
<!-- body:start -->
|
|
|
|
`LocalPersistentPayloadOperations`의 클래스 javadoc이 무엇이 서술자 상대이고 무엇이 아닌지를 앞에서 밝힌다. 전수 검사가 그 서술과 일치한다(`147-...` §8.2).
|
|
|
|
## 선언된 것과 선언되지 않은 것
|
|
|
|
:::evidence key="adapter-outbound-fileserver-c08-diagram" alt="구현 경계 안에 fileKey 와 소유자 권한과 FileStore 재확인이 들어 있고 서술자 상대 대응물 없음이 경계 밖 빗금 상자로 놓인 구조" caption="선언된 것과 선언되지 않은 것" zoom="false"
|
|
:::
|
|
|
|
이 파일의 `Files.*` 호출은 정확히 그 셋 — `Files.createLink`(\:941), `Files.createDirectory`(\:802), 그리고 force/stat/FileStore 조회 — 뿐이고, 각각 앞뒤로 `fileKey`·소유자·권한·FileStore 재확인이 붙는다. JDK가 `linkat`/`mkdirat`를 노출하지 않으므로 서술자 상대 대응물이 없고, 그 사실을 숨기는 대신 적었다.
|
|
|
|
## LocalPersistentPayloadOperations 참조 위치
|
|
|
|
:::evidence key="adapter-outbound-fileserver-c08" alt="코드베이스에서 LocalPersistentPayloadOperations 를 검색한 출력 8줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="LocalPersistentPayloadOperations 코드베이스 검색 — 8줄 · exit 0" zoom="true"
|
|
:::
|
|
|
|
## 같은 문제를 한 번은 정직하게 다룬 대비
|
|
|
|
**이것이 §32와의 차이다.** 여기서는 잔여 경로 연산이 (a) 문서에 선언되고 (b) identity 검사로 감싸인다. `AtomicMoveContentPublisher`의 발행 rename은 (a) 어디에도 선언되지 않고 (b) 같은 모듈이 "a precheck could only ever approximate"라고 적은 사전검사 하나로만 보호된다.
|
|
|
|
<!-- body:end -->
|