From 8d84f6b56836cdcf96749f9050f8d02ea57d15a9 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 05:02:12 +0000 Subject: [PATCH 1/4] forge: open work branch for iss-6f8eac22f6f0-attempt-1 --- .forge/iss-6f8eac22f6f0-attempt-1.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/iss-6f8eac22f6f0-attempt-1.md diff --git a/.forge/iss-6f8eac22f6f0-attempt-1.md b/.forge/iss-6f8eac22f6f0-attempt-1.md new file mode 100644 index 0000000..ef87d47 --- /dev/null +++ b/.forge/iss-6f8eac22f6f0-attempt-1.md @@ -0,0 +1,3 @@ +# iss-6f8eac22f6f0-attempt-1 + +Forge 이슈 작업 브랜치 `forge/iss-6f8eac22f6f0-attempt-1`. From ce2f379bf443c3bb92938e5821ff7262542f9561 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 05:02:20 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EB=AA=A9=ED=91=9C=20=EC=95=84=ED=82=A4=ED=85=8D=EC=B2=98=20?= =?UTF-8?q?=EC=A0=95=EC=9D=98=20(2/2)=20(iss-6f8eac22f6f0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture/transaction-sequence.md | 41 +++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 docs/architecture/transaction-sequence.md diff --git a/docs/architecture/transaction-sequence.md b/docs/architecture/transaction-sequence.md new file mode 100644 index 0000000..52f0575 --- /dev/null +++ b/docs/architecture/transaction-sequence.md @@ -0,0 +1,41 @@ +```mermaid +sequenceDiagram + participant User + participant PaymentService + participant PaymentGateway + participant Database + + %% 정상 흐름 + User->>PaymentService: 결제 요청 + PaymentService->>Database: 거래 데이터 저장 + Database-->>PaymentService: 저장 완료 + PaymentService->>PaymentGateway: 결제 요청 + PaymentGateway-->>PaymentService: 결제 성공 + PaymentService->>Database: 거래 완료 상태 업데이트 + Database-->>PaymentService: 상태 업데이트 완료 + PaymentService-->>User: 결제 성공 응답 + + %% 외부 실패 흐름 + User->>PaymentService: 결제 요청 + PaymentService->>Database: 거래 데이터 저장 + Database-->>PaymentService: 저장 완료 + PaymentService->>PaymentGateway: 결제 요청 + PaymentGateway-->>PaymentService: 결제 실패 + PaymentService->>Database: 거래 실패 상태 업데이트 + Database-->>PaymentService: 상태 업데이트 완료 + PaymentService-->>User: 결제 실패 응답 + + %% DB 실패 흐름 + User->>PaymentService: 결제 요청 + PaymentService->>Database: 거래 데이터 저장 + Database-->>PaymentService: 저장 실패 + PaymentService-->>User: 결제 실패 응답 + + %% commit 흐름 + PaymentService->>Database: 커밋 + Database-->>PaymentService: 커밋 완료 + + %% rollback 흐름 + PaymentService->>Database: 롤백 + Database-->>PaymentService: 롤백 완료 +``` \ No newline at end of file From 24bac0e71d9f89d9e625dfc350f4eeccf0bb46f7 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 05:03:20 +0000 Subject: [PATCH 3/4] forge: open work branch for iss-5046557b3d46-attempt-1 --- .forge/iss-5046557b3d46-attempt-1.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/iss-5046557b3d46-attempt-1.md diff --git a/.forge/iss-5046557b3d46-attempt-1.md b/.forge/iss-5046557b3d46-attempt-1.md new file mode 100644 index 0000000..c92d376 --- /dev/null +++ b/.forge/iss-5046557b3d46-attempt-1.md @@ -0,0 +1,3 @@ +# iss-5046557b3d46-attempt-1 + +Forge 이슈 작업 브랜치 `forge/iss-5046557b3d46-attempt-1`. From abea75a07cf757324fc749f3d3ba7fae98d6f6cb Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 05:03:28 +0000 Subject: [PATCH 4/4] =?UTF-8?q?=EA=B2=B0=EC=A0=9C=20=EC=A0=84=ED=99=98=20?= =?UTF-8?q?=EB=AA=A9=ED=91=9C=20=EC=95=84=ED=82=A4=ED=85=8D=EC=B2=98=20?= =?UTF-8?q?=EC=A0=95=EC=9D=98=20(1/2)=20(2/2)=20(iss-5046557b3d46)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/architecture/package-map.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/architecture/package-map.md diff --git a/docs/architecture/package-map.md b/docs/architecture/package-map.md new file mode 100644 index 0000000..72bb4c0 --- /dev/null +++ b/docs/architecture/package-map.md @@ -0,0 +1,9 @@ +# Package Responsibility and Forbidden Dependencies + +| Package | Responsibility | Forbidden Dependencies | +|------------------|------------------------------------------------------|--------------------------| +| controller | Handle user requests, validate inputs, and respond | domain | +| service | Contain business logic and orchestration | repository | +| repository | Manage data access and persistence | service | +| domain | Define core business models and rules | integration | +| integration | Interface with external systems (e.g. payment gateways) | domain, service |