Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a13-f003-accesscontext.json
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

15 lines
1.9 KiB
JSON

{
"assetKey": "a13-f003-accesscontext",
"kind": "terminal",
"command": "set -e\nset -o pipefail\nS=src/application-core/src/main/java/dev/caskeleton/application/notification/platform/security\nA=src/adapter/outbound/notification/src/main/java/dev/caskeleton/adapter/outbound/notification/platform/security\necho \"# 두 번 선언되는 성질\"\ngrep -n \"\" $S/AccessContext.java | sed -n \"5,19p\"\ngrep -n \"\" $S/ContactPointProtector.java | sed -n \"11,12p\"\necho\necho \"# 유일한 구현의 복호화 메서드\"\ngrep -n \"\" $A/AesGcmContactPointProtector.java | sed -n \"/public ContactPointValue reveal/,/^ *[0-9]*: }/p\"\necho\necho \"# 저장소 전체에서 이 레코드를 만드는 곳\"\ngrep -rn \"new AccessContext(\\|AccessContext.dispatch(\" --include=*.java src | sed \"s|.*/java/dev/caskeleton/| |\"\necho\necho \"# 세 필드 접근자 호출 수 (저장소 전체)\"\nfor a in purposeCode actorRef auditRequired; do\n printf \" %-14s : %s\\n\" \"$a\" \"$(grep -rn \"\\.$a()\" --include=*.java src | wc -l)\"\ndone\necho \" actorRef 가 잡히는 곳\"\ngrep -rn \"\\.actorRef()\" --include=*.java src | sed \"s|.*/java/dev/caskeleton/| |\"\necho\necho \"# 감사 설비는 있다\"\ngrep -rn \"interface NotificationAuditPort\" --include=*.java src | sed \"s|.*/java/dev/caskeleton/| |\"\ngrep -rn \"implements NotificationAuditPort\" --include=*.java src | sed \"s|.*/java/dev/caskeleton/| |\"",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-02T14:58:27+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a13-f003-accesscontext.txt",
"svg": "evidence/rendered/a13-f003-accesscontext.svg",
"rawSha256": "380462c92ece63e643151777fc99721e4425c649f4a8dc918e7678d675c89ce4",
"lines": 63,
"redaction": "none — 코드베이스 정적 검색"
}