Files
document-haness/docs/clean-architecture-backend-template/final/evidence/meta/a06-f011-mongoregexpolicy-forbidden.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.7 KiB
JSON

{
"assetKey": "a06-f011-mongoregexpolicy-forbidden",
"kind": "terminal",
"command": "Q=src/adapter/outbound/persistence-mongo/src/main/java/dev/caskeleton/adapter/outbound/mongo/query\n\necho '# 두 팩토리가 만드는 값'\nsed -n '41,44p;90,93p' $Q/MongoRegexPolicy.java\n\necho\necho '# validate 의 네 검사'\nsed -n '100,121p' $Q/MongoRegexPolicy.java\n\necho\necho '# 길이 검사가 쓰는 비교'\nsed -n '136,140p' $Q/MongoRegexPolicy.java\n\necho\necho '# forbidden() 을 부르는 곳 전수'\ngrep -rn 'MongoRegexPolicy\\.forbidden()' --include=*.java src | grep -v '/build/' || echo ' (선언 자리 말고는 없음)'\n\necho\necho '# withRegexPolicy 를 부르는 곳 전수'\ngrep -rn 'withRegexPolicy' --include=*.java src | grep -v '/build/' | sed 's#src/adapter/outbound/persistence-mongo/src/##'\n\necho\necho '# MongoQueryPolicy 를 만드는 곳 전수'\ngrep -rn 'MongoQueryPolicy\\.allowing' --include=*.java src | grep -v '/build/' | sed 's#src/adapter/outbound/persistence-mongo/src/##'\n\necho\necho '# 자동 구성이 query 패키지에서 만드는 빈'\ngrep -n -B1 'public MongoBudgetEnforcer mongoBudgetEnforcer' $(dirname $Q)/autoconfigure/MongoPlatformAutoConfiguration.java",
"cwd": "/shared/codebase/clean-architecture-backend-template",
"exitCode": 0,
"executedAt": "2026-09-02T07:02:08+00:00",
"sourceRevision": "21234e38cdb9a926cbc92bb97a2aee2e4a7d2916",
"raw": "evidence/raw/a06-f011-mongoregexpolicy-forbidden.txt",
"svg": "evidence/rendered/a06-f011-mongoregexpolicy-forbidden.svg",
"rawSha256": "70c2da3a2e095b574234a33abd789d5940888206628d4234cceb0c68e20707c5",
"lines": 58,
"redaction": "none — 분석 문서 발췌"
}