aegis-graph / scratch /cleanup_release.py
ACLASCollege's picture
FINAL PROFESSIONALIZATION: Synchronized with GitHub sovereign standards.
05a5750 verified
import os
filepath = r'd:\aicoding\kaiyuan\v2\RELEASE_V1.md'
with open(filepath, 'r', encoding='utf-8') as f:
content = f.read()
# Fix common PowerShell encoding artifacts
mapping = {
'â€?': '—',
'📢': '📢',
'🇺🇸': '🇺🇸',
'🇭🇰': '🇭🇰',
'🇪🇸': '🇪🇸',
'🇫🇷': '🇫🇷',
'🌠': '🌍',
'亞特蘭大': '亞特蘭大',
'ç¹ é«”ä¸­æ–‡': '繁體中文',
'主權': '主權',
'å­¸è¡“æ¬ºè© ': '學術欺詐',
'終極方æ¡?': '終極方案',
'技術委員會': '技術委員會',
'æ­£å¼ ç™¼ä½ˆ': '正式發佈',
'é–‹æº å ”è­°': '開源協議',
'å¨ è„…å­¸è¡“å…¬æ­£çš„ä»Šå¤©': '威脅學術公正的今天',
'ä»£ç †å¼?': '代理式',
'審計方案': '審計方案',
'é‚ è¼¯æ‹“æ’²': '邏輯拓撲',
'é©—è­‰å –ä»£äº†é Žæ™‚çš„åƒ ç´ æŽƒæ ': '驗證取代了過時的像素掃描',
'æŠ€è¡“çª ç ´': '技術突破',
'ä»£ç †é›†ç¾¤': '代理集群',
'è¦–è¦ºå –è­‰': '視覺取證',
'圖譜導航': '圖譜導航',
'é‚ è¼¯å¯©è¨ˆä¸‰å¤§ä»£ç †å ”å Œä½œæˆ°': '邏輯審計三大代理協同作戰',
'é‚Šç·£éš±ç§ ä¿ è­·': '邊緣隱私保護',
'æ‰€æœ‰æ• æ„Ÿæ•¸æ“šåœ¨æ©Ÿæ§‹é‚Šç·£ç«¯å ³å®Œæˆ è„«æ• ': '所有敏感數據在機構邊缘端即完成脫敏',
'路線åœ?': '路線圖',
'å ³å°‡é›†æˆ?': '即將集成'
}
for old, new in mapping.items():
content = content.replace(old, new)
with open(filepath, 'w', encoding='utf-8', newline='\n') as f:
f.write(content)
print('RELEASE_V1.md cleaned up successfully')