문제: 설계서·계획서·납품 패키지·증거·학습 문서와 ADR이 기록이라는 표시 없이 지금 문서처럼 읽힌다. 상태 칸이 설계서 72개 중 40개, 계획서는 거의 없고, 있어도 Approved·확정·Accepted.처럼 값이 제각각이며 영어다. 고른 방법: docs/design, docs/history, docs/adr, docs/notification/adr의 .md 246개 맨 위에 같은 모양의 머리 블록을 단다. 칸은 상태·작성일· 요약(한국어 한 문장)·현재 정본, 대체됐으면 대체됨이다. 블록은 표시 줄 두 개로 감싸서 빼면 원문 바이트가 그대로 돌아온다(246개 모두 대조함). - 종류는 폴더가 정하고 둘째 줄에 적는다(plans/evidence는 증거). - 상태는 원래 상태 줄을 고정 어휘로 바꾼 값이다. 상태 줄이 없는 설계서와 체크 상자가 다 표시되지 않은 계획서는 「확인 안 함」. capability-status.md 제거 표로 지운 것이 확인된 설계서 다섯은 「폐기」, 2026-07-20 하네스 설계·계획과 production capability platform 설계는 「대체됨」이다. - 현재 정본은 구조 정리로 옮겨질 수 있는 src/messaging·src/grpc 대신 docs/ 쪽 문서나 옮기지 않는 leaf README를 가리킨다. docs/README.md에 「문서 수명과 언어」「기록 문서의 머리 블록」「문서와 코드를 같은 변경에서 고친다」를 더하고, 파생 서비스 안내에 머리 블록 충돌 가능성을 적었다. 버린 대안: H1 제목 아래에 블록을 두는 안은 보기에는 낫지만 빼는 규칙이 파일마다 달라져 원문 복원이 기계적이지 않다. 「종류」 칸을 따로 두는 안은 폴더와 같은 정보를 두 번 쓰게 한다. 위험·한계: 「확인 안 함」 설계서 38개, 계획서 51개는 지금 유효한지 아무도 판정하지 않았다. 요약은 제목·목표 줄을 보고 쓴 것이라 본문을 끝까지 읽지 않았다. 납품 패키지 셋의 MANIFEST.sha256는 이제 맞지 않는다 (납품 당시 바이트의 해시이고, 블록을 빼면 다시 맞는다). 리뷰 폴더에는 아직 머리 블록을 달지 않았다. 검증: 머리 블록을 뺀 내용과 HEAD 원본 246개 일치, check-work-docs.py rc=0, --links docs·README.md·CLAUDE.md·AGENTS.md 깨진 링크 0.
101 lines
4.8 KiB
Markdown
101 lines
4.8 KiB
Markdown
<!-- 머리 블록: 이 블록을 빼면 원문이다. 형식은 docs/README.md 「기록 문서의 머리 블록」 -->
|
||
> **기록 · 증거** 본문은 쓴 때의 원문이다. 지금 동작은 「현재 정본」을 읽는다.
|
||
|
||
- 상태: 보관
|
||
- 작성일: 2026-07-31
|
||
- 요약: Object Storage 작업 Batch E를 멈춘 시점의 체크포인트 기록이다.
|
||
- 현재 정본: `src/adapter/outbound/objectstorage/README.md`
|
||
<!-- 머리 블록 끝 -->
|
||
|
||
# Object Storage Batch E Pause Checkpoint
|
||
|
||
- Recorded: 2026-07-29 (Asia/Seoul)
|
||
- Branch: `codex/objectstorage-production-capability`
|
||
- Worktree:
|
||
`/home/donghyeon/workspace/clean-architecture-backend-template-objectstorage`
|
||
- Status: implementation in progress; intentionally paused at the user's request
|
||
- Evidence grade: local unit/integration/architecture evidence only; no AWS R2 evidence
|
||
|
||
## Implemented at this checkpoint
|
||
|
||
- Staged integrity verification, fake-scanner routing, publication handoff fencing, and stable
|
||
replay receipts.
|
||
- Additive Poster V8 dual-read schema (renumbered from branch-local V7 during JPA integration),
|
||
upload/retirement intents, HMAC-sanitized idempotency scope,
|
||
PostgreSQL atomic claim SPI, and forward-only migration qualification lane.
|
||
- Short-transaction Poster image publication flow and additive locator-free `202` API under the
|
||
AIP-122-compatible `/posters/{id}/imagePublications` collection.
|
||
- Exact-reference/version logical retirement enqueue, lease/fence takeover, response-loss retry,
|
||
Poster deletion survival, and disabled-by-default worker composition.
|
||
- Isolated legacy migration contracts, report-only inspection, two-distinct-approver Ed25519
|
||
approval verification, nonce replay boundary, and explicit maintenance-only composition.
|
||
|
||
## Verification completed
|
||
|
||
The following focused command passed after the final architecture fixes:
|
||
|
||
```bash
|
||
cd src
|
||
./gradlew \
|
||
:sample-portfolio:spotlessApply \
|
||
:sample-portfolio:test --tests '*PosterImagePublicationControllerWireTest' \
|
||
:app-bootstrap:test --tests '*CleanArchitectureTest' \
|
||
--console=plain
|
||
```
|
||
|
||
The following focused suites also passed during this checkpoint:
|
||
|
||
```bash
|
||
./gradlew :adapter:outbound:objectstorage:test \
|
||
--tests '*LegacyObjectAdoptionServiceTest' \
|
||
--tests '*LegacyAdoptionApprovalVerifierTest' \
|
||
--tests '*ObjectStorageLegacyMigrationConfigTest' --console=plain
|
||
|
||
./gradlew :sample-portfolio:test \
|
||
--tests '*DeletePosterImageRetirementTest' \
|
||
--tests '*PosterImageRetirementCrashMatrixTest' \
|
||
--tests '*PosterImageRetirementConfigTest' \
|
||
--tests '*LegacyPosterImageUploadCharacterizationTest' --console=plain
|
||
|
||
./gradlew :sample-portfolio:test \
|
||
--tests '*SampleApplicationContextTest' \
|
||
:sample-portfolio:posterImageMigrationTest --console=plain
|
||
```
|
||
|
||
The migration lane included
|
||
`PosterImageRetirementQualificationTest`, which proved that an exact retirement row survives
|
||
deletion of its Poster row.
|
||
|
||
## Failures found and resolved
|
||
|
||
- `spotlessJavaCheck` initially found formatting drift in newly changed application-core and
|
||
persistence files. The owner-module Spotless apply tasks fixed it.
|
||
- `SampleApplicationContextTest` initially failed because Spring's persistence exception advisor
|
||
could not CGLIB-proxy the final `PosterImageAttachmentCasRepository`. Removing `final` fixed the
|
||
context; the focused context suite then passed.
|
||
- `CleanArchitectureTest` initially rejected an application-core return type from the sample domain
|
||
and the kebab-case `image-publications` path. Conversion moved back to the application use case,
|
||
and the endpoint changed to the repository's AIP-122-compatible `imagePublications` segment. The
|
||
complete focused architecture suite then passed.
|
||
|
||
## Not yet re-run / not complete
|
||
|
||
- The combined Batch E checkpoint command stopped on the two architecture failures above before all
|
||
requested root tasks could complete. The focused failing suites passed after the fixes, but
|
||
`:sample-portfolio:check`, `verifyPublicPathSnapshot`, and the full combined Batch E command have
|
||
not been re-run after those final fixes.
|
||
- The complete repository `./gradlew test` and `./gradlew check` have not been re-run after the
|
||
Batch E additions.
|
||
- The legacy adoption runner/configuration is not yet wired to a production legacy inspector,
|
||
permission-checked trust-key loader, or durable control-record replay-store implementation.
|
||
- Tasks 25–30 (Batch F) have not started in this continuation.
|
||
- Actual AWS qualification is blocked by Approval Gate B: no approved account, bucket/namespaces,
|
||
workload roles, signed deployment attestation, or mutation/test authority was supplied.
|
||
- No readiness card was promoted. Local/MinIO ceilings and unsupported conditional behavior remain
|
||
unchanged.
|
||
|
||
## documentation update
|
||
|
||
At this isolated-branch checkpoint, the then-selected private vault
|
||
main integration was later captured in the user-designated public vault at
|