Sync vault notes: April-November 2026 sessions, projects, and architecture
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe4fe656be
commit
994c7ae577
379 files changed
+55216
-107
No files matched your search
@@ -0,0 +1,158 @@
|
||||
# Mantl + Q2 → CMG Azure SFTP Processing (Conversation Summary)
|
||||
|
||||
## Context
|
||||
This note captures the full discussion and design decisions around integrating **Mantl (onboarding)** and **Q2 (ongoing payments)** into the **CMG Azure environment via SFTP**.
|
||||
|
||||
---
|
||||
|
||||
## Core Architecture Principle
|
||||
Mantl and Q2 are **parallel upstream systems**, not sequential.
|
||||
|
||||
- **Mantl** → onboarding + initial funding + documents
|
||||
- **Q2** → ongoing ACH, wires, reporting
|
||||
|
||||
Both feed into CMG Azure independently.
|
||||
|
||||
---
|
||||
|
||||
## High-Level Flow
|
||||
|
||||
```text
|
||||
Mantl SFTP Q2 SFTP
|
||||
Onboarding / Initial Funding Ongoing Payments / Reporting
|
||||
│ │
|
||||
▼ ▼
|
||||
Mantl Source Adapter Q2 Source Adapter
|
||||
│ │
|
||||
└──────────────┬─────────────┘
|
||||
▼
|
||||
CMG Azure Ingestion Hub
|
||||
Raw Landing / Quarantine / Archive
|
||||
│
|
||||
▼
|
||||
Validation / Classification / DeDupe / Routing
|
||||
│ │
|
||||
▼ ▼
|
||||
Payments Domain Docs / Reporting Domain
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Key Design Decisions
|
||||
|
||||
### 1. Separation of Concerns
|
||||
- Mantl does **not** perform settlement
|
||||
- Mantl generates **funding instructions (ACH files)**
|
||||
- CMG performs **execution + settlement + reconciliation**
|
||||
|
||||
### 2. Azure as Ingestion Hub
|
||||
Azure acts as:
|
||||
- centralized ingestion
|
||||
- audit layer
|
||||
- validation + routing engine
|
||||
|
||||
### 3. File Handling Model
|
||||
Files are:
|
||||
1. Pulled from SFTP
|
||||
2. Landed in **raw (immutable)** storage
|
||||
3. Validated and classified
|
||||
4. Routed to downstream systems
|
||||
|
||||
### 4. Domain Separation
|
||||
- **Payments Domain** → ACH + wires
|
||||
- **Docs / Reporting Domain** → DMS + reports
|
||||
|
||||
---
|
||||
|
||||
## SFTP Structure (Conceptual)
|
||||
|
||||
### Mantl
|
||||
- /ACH
|
||||
- /DMS
|
||||
|
||||
### Q2
|
||||
- /ACH
|
||||
- /WIRES
|
||||
- /REPORTS
|
||||
|
||||
---
|
||||
|
||||
## Azure Storage Structure
|
||||
|
||||
```text
|
||||
/raw/mantl/ach/
|
||||
/raw/mantl/dms/
|
||||
/raw/q2/ach/
|
||||
/raw/q2/wires/
|
||||
/raw/q2/reports/
|
||||
|
||||
/quarantine/
|
||||
/archive/
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Processing Responsibilities
|
||||
|
||||
### Ingestion Layer
|
||||
- SFTP polling
|
||||
- download
|
||||
- metadata tagging
|
||||
- raw storage
|
||||
|
||||
### Processing Layer
|
||||
- classification
|
||||
- validation
|
||||
- duplicate detection
|
||||
- routing
|
||||
|
||||
### Downstream Systems
|
||||
- ACH processing
|
||||
- wire operations
|
||||
- document archive
|
||||
- reconciliation/reporting
|
||||
|
||||
---
|
||||
|
||||
## Mantl Funding Clarification
|
||||
Mantl:
|
||||
- captures funding intent
|
||||
- generates ACH instruction
|
||||
- places file on SFTP
|
||||
|
||||
CMG:
|
||||
- picks up file
|
||||
- sends to ACH processor
|
||||
- handles settlement
|
||||
|
||||
---
|
||||
|
||||
## Additional Future Scope (Not on Main Artifact)
|
||||
|
||||
### CMGHL Servicing Integration
|
||||
- Data flow: Servicing → Banking
|
||||
- User flow: Banking (Q2 OLB) → Servicing (SSO)
|
||||
|
||||
Kept separate to avoid scope creep during bank discussions.
|
||||
|
||||
---
|
||||
|
||||
## Key Operational Considerations
|
||||
- batch vs near-real-time timing
|
||||
- polling frequency
|
||||
- human intervention points
|
||||
- idempotency + duplicate protection
|
||||
- exception handling
|
||||
|
||||
---
|
||||
|
||||
## Summary
|
||||
|
||||
The architecture:
|
||||
- decouples onboarding from payments
|
||||
- centralizes ingestion in Azure
|
||||
- enforces auditability and control
|
||||
- simplifies downstream operations
|
||||
|
||||
Primary goal: **reduce manual effort and ambiguity in file handling**
|
||||
|
||||
Reference in new issue
Block a user