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>
34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
Command: python3 - <<'PY'
|
|
from pathlib import Path
|
|
import subprocess, collections
|
|
root='src/adapter/outbound/persistence-jpa'
|
|
files=subprocess.check_output(['git','ls-files',root],text=True).splitlines()
|
|
print('tracked_total=',len(files))
|
|
for sr in sorted((Path(root)/'src').iterdir()):
|
|
if sr.is_dir():
|
|
owned=[p for p in sr.rglob('*') if p.is_file() and 'build/' not in str(p)]
|
|
java=[p for p in owned if p.suffix=='.java']
|
|
print(sr.name,'files=',len(owned),'java=',len(java),'nonjava=',len(owned)-len(java),'java_loc=',sum(len(p.read_text(errors='ignore').splitlines()) for p in java))
|
|
print('top_level_files=')
|
|
for p in sorted(Path(root).iterdir()):
|
|
if p.is_file(): print(p)
|
|
PY
|
|
Working directory: /shared/codebase/clean-architecture-backend-template
|
|
Executed at: 2026-08-29T07:48:05Z
|
|
Source revision: a24ece9cf797f7ea647e33bf846b115208ed1ba5
|
|
Observation boundary: Enumerates the tracked persistence-jpa leaf and its source-root/package counts at the recorded revision; the sub-scope labels are deterministic path buckets and do not themselves assert behavioral findings.
|
|
--- stdout/stderr ---
|
|
tracked_total= 605
|
|
jpaPlatformPerformanceTest files= 3 java= 3 nonjava= 0 java_loc= 268
|
|
main files= 381 java= 350 nonjava= 31 java_loc= 27744
|
|
postgresqlIntegrationTest files= 75 java= 71 nonjava= 4 java_loc= 13958
|
|
test files= 101 java= 100 nonjava= 1 java_loc= 9511
|
|
testkit files= 41 java= 41 nonjava= 0 java_loc= 3070
|
|
top_level_files=
|
|
src/adapter/outbound/persistence-jpa/CLAUDE.md
|
|
src/adapter/outbound/persistence-jpa/README.md
|
|
src/adapter/outbound/persistence-jpa/build.gradle
|
|
src/adapter/outbound/persistence-jpa/gradle.lockfile
|
|
|
|
Exit code: 0
|