chore(governance): consolidate roadmap and backup policies
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"""
|
||||
데이터베이스 구조 리팩토링
|
||||
|
||||
파편화된 DB 파일들을 정리하고 단일 위치(src/quant_engine/)로 통합
|
||||
파편화된 DB 파일들을 정리하고 단일 canonical 위치(src/quant_engine/)를 기준으로 통합한다.
|
||||
"""
|
||||
|
||||
import shutil
|
||||
@@ -149,8 +149,8 @@ archive_db/
|
||||
```
|
||||
|
||||
### Step 3: Clean Obsolete References
|
||||
- Remove imports from "outputs/kis_data_collection/kis_data_collection.db"
|
||||
- Remove imports from "outputs/snapshot_admin/*.db"
|
||||
- Remove imports from legacy non-canonical database paths
|
||||
- Remove imports from archive/backup database paths
|
||||
- Update any code expecting these paths
|
||||
|
||||
### Step 4: Update Documentation
|
||||
@@ -166,11 +166,9 @@ archive_db/
|
||||
- Simplified deployment
|
||||
|
||||
## Files to Delete (After Archiving)
|
||||
- outputs/kis_data_collection/ (entire dir)
|
||||
- outputs/snapshot_admin/smoke*.db (old test files)
|
||||
- outputs/qualitative_sell_strategy/qualitative_sell_strategy.db
|
||||
- Temp/snapshot_admin_*.db
|
||||
- Temp/test_kis_data_collection.db
|
||||
- archive only genuinely obsolete duplicate DBs
|
||||
- keep canonical DBs in src/quant_engine/
|
||||
- keep Temp/ only for transient validation artifacts
|
||||
"""
|
||||
return plan
|
||||
|
||||
@@ -187,7 +185,7 @@ def main():
|
||||
print(plan)
|
||||
|
||||
# 계획서 저장
|
||||
plan_file = Path("docs/DATABASE_CONSOLIDATION_PLAN_2026_06_23.md")
|
||||
plan_file = Path("docs/archive/DATABASE_CONSOLIDATION_PLAN_2026_06_23.md")
|
||||
plan_file.parent.mkdir(parents=True, exist_ok=True)
|
||||
with open(plan_file, 'w', encoding='utf-8') as f:
|
||||
f.write(plan)
|
||||
|
||||
Reference in New Issue
Block a user