chore: Remove unused secret/ scaffolding
The project has no runtime or compile-time secrets (offline desktop tool, no DB/API keys), so the secret/ folder held only example launch scripts that were never used. Remove it and the related .gitignore rules; trim references in ARCHITECTURE.md and CLAUDE.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+4
-12
@@ -78,17 +78,12 @@ STPViewer/
|
||||
├── CLAUDE.md # 專案記憶 & 給 Claude 的指令
|
||||
├── README.md # 快速上手
|
||||
├── ARCHITECTURE.md # 本文件
|
||||
├── .gitignore # 含 secret/ 與 For_AI/ 規則
|
||||
├── .gitignore # For_AI/ + *.stp/*.step(客戶料號)規則
|
||||
│
|
||||
├── docs/
|
||||
│ ├── decisions/ # 技術決策紀錄(ADR)
|
||||
│ └── runbooks/ # 操作手冊
|
||||
│
|
||||
├── secret/ # 🚫 gitignored(README.md / *.example 除外)
|
||||
│ ├── README.md
|
||||
│ ├── run-STPViewer.ps1.example
|
||||
│ └── run-STPViewer.sh.example
|
||||
│
|
||||
├── For_AI/ # 🚫 gitignored — AI 協作素材 + 測試模型 *.stp(客戶料號不入 git)
|
||||
│
|
||||
├── STPViewer.sln
|
||||
@@ -203,12 +198,9 @@ class MeasurementResult
|
||||
|
||||
## Security Considerations
|
||||
|
||||
- 純離線桌面工具,無網路、無帳號、無資料庫
|
||||
- 本專案目前無任何 runtime secret;`secret/` 仍依專案慣例建立:
|
||||
- `secret/*` 全部 gitignore,僅 `README.md`、`*.example` 進 git
|
||||
- `run-STPViewer.*.example` 為啟動腳本範本(本專案無 DB/ApiKey,腳本僅做 build+run)
|
||||
- 無 compile-time secret → 不需 `publish-*.example` 腳本
|
||||
- `For_AI/` 收 AI 協作素材(截圖、筆記),整夾 gitignore
|
||||
- 純離線桌面工具,無網路、無帳號、無資料庫、無任何 runtime / compile-time secret(故未建 `secret/` 資料夾)
|
||||
- `For_AI/` 收 AI 協作素材(截圖、筆記)+ 測試模型 `*.stp`(客戶料號),整夾 gitignore
|
||||
- `*.stp` / `*.step` 全域 gitignore:客戶 CAD 料號檔不入 git,避免外流
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user