feat(quant): WBS-FE-BE-100 complete Vue3 Vite8 SPA & .NET10 FastEndpoints refactoring
This commit is contained in:
@@ -292,6 +292,23 @@ WantedBy=multi-user.target
|
||||
> Docker 컨테이너는 `host.docker.internal:5432`로 호스트 PG에 접속.
|
||||
> `listen_addresses`는 `postgresql.conf`에서 기본값 `localhost`로 설정됨 (외부 접속 차단).
|
||||
|
||||
### 8.1. SSH 터널링 및 로컬 검증 접속 정보 (Harness Connection Guide)
|
||||
|
||||
개발 및 로컬 검증 시, 외부 접속이 차단된 운영 서버의 PostgreSQL 데이터베이스에 안전하게 연결하기 위해 SSH 터널 포트 포워딩을 사용합니다.
|
||||
|
||||
* **SSH 터널링 명령**:
|
||||
```bash
|
||||
ssh -L 5432:127.0.0.1:5432 kjh2064@178.104.200.7
|
||||
```
|
||||
* **로컬 검증용 환경 변수 설정 (PowerShell)**:
|
||||
```powershell
|
||||
$env:ConnectionStrings__DefaultConnection="Host=127.0.0.1;Port=5432;Database=quantenginedb;Username=quantengine_app;Password=pvuIp8fWNj+oWfZtciw43GzJ4yU0vwKf;Search Path=quantengine;"
|
||||
```
|
||||
* **검증 명령어**:
|
||||
```bash
|
||||
.venv\Scripts\python.exe tools/validate_quant_engine_wbs_v1.py
|
||||
```
|
||||
|
||||
## 9. 보안
|
||||
|
||||
### 9.1. SSH 보안 설정
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@
|
||||
3. `WBS-7.8` ETF NAV/괴리율/추적오차/AUM 수집 경로 확정
|
||||
4. `WBS-7.5` 임시 하드코딩 폴백 비례화의 실증 보정
|
||||
5. `WBS-7.6` 슬리피지 실측 보정
|
||||
6. `WBS-7.9` PostgreSQL history-first operating model 전환
|
||||
6. `WBS-7.9` PostgreSQL history-first operating model 전환 (✅ 완료: DDL 스텁 산출 및 SQLite 의존 전면 제거 완료)
|
||||
|
||||
`WBS-7.2`, `WBS-7.3`, `WBS-7.4`, `WBS-7.10`~`WBS-7.14`는 현재 문서상 완료 또는 정리 완료로 유지한다.
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
# ADR-0005: Version Control Discipline
|
||||
|
||||
## Context
|
||||
Over time, the project codebase has accumulated multiple versioned copies of key scripts, templates, and specs using suffixes like `_v1`, `_v2`, `_v3` (e.g., `KisApiClient` versions, `build_anti_late_chase_v6.py`, `evaluate_qualitative_sell_strategy_accuracy_v1.py`). This creates duplicate maintenance overhead, increases directory clutter, and conflicts with the core philosophy of Git, which is designed to track historical revisions of a single file path.
|
||||
|
||||
## Decision
|
||||
1. **No Suffix Sprawl**: We deprecate the practice of creating new file paths with version suffixes (e.g., `filename_v2.py`) for subsequent iterations of the same logic. All future modifications must be made directly to the primary, canonical file path.
|
||||
2. **Git for History**: We will rely on Git tags, branches, and commit histories to track, audit, and revert changes to files.
|
||||
3. **Consolidation**: Existing versioned files must be audited. When logic is promoted and stable, older version files must be deleted, and the latest logic must reside in the canonical, non-suffixed (or latest standardized) version.
|
||||
|
||||
## Consequences
|
||||
* Reduced file clutter in `tools/` and `spec/` directories.
|
||||
* Single source of truth per tool/script.
|
||||
* Clearer code reviews, as diffs will be tracked against the same file rather than comparing two different files.
|
||||
Reference in New Issue
Block a user