diff --git a/src/bluemouse/PRIVACY.md b/src/bluemouse/PRIVACY.md new file mode 100644 index 0000000000..587ed214f7 --- /dev/null +++ b/src/bluemouse/PRIVACY.md @@ -0,0 +1,43 @@ +# 🐭 BlueMouse Privacy & Security Whitepaper (隱私與安全白皮書) + +**Version**: 1.1 (v6.1 Gold Master Baseline) +**Status**: 🔵 Enterprise Readiness Certified +**Target Audience**: Security Officers, CTOs, Individual Privacy-Conscious Developers. + +--- + +## 1. Executive Summary (執行摘要) +BlueMouse 是一個遵循 **「絕對隱私 (Zero-Trust Architecture)」** 原則開發的 AI 適配器系統。我們設計的核心目標是確保所有「商業邏輯」與「架構決策」始終維持在您的本地物理環境中,**絕不通過任何網絡傳輸至 BlueMouse 開發者伺服器**。 + +## 2. The 4-Layer Execution Model (四層執行模型與隱私保障) + +| Layer | Execution Site | Data Flow | Integrity | +| :--- | :--- | :--- | :--- | +| **L1: Static Rules** | **LocalStorage** | 0 Network Calls. Rule engine runs on CPU. | 🟢 100% Local | +| **L2: Local AI (Ollama)** | **Local Intranet** | Internal API call to `localhost:11434`. | 🟢 Air-gapped Ready | +| **L3: Cloud AI (BYOK)** | **Encrypted Cloud** | User-owned API keys connect direct to providers (Anthropic/OpenAI). | 🟡 User-controlled | +| **L4: Data-Driven KB** | **Local Disk** | Static knowledge base lookup (`knowledge_base.json`). | 🟢 100% Local | + +## 3. Zero Telemetry Policy (零遙測政策) +* **No Usage Analytics**: 我們不統計您的開啟次數、點擊頻率或生成專案的數量。 +* **No Error Reporting**: 系統崩潰日誌僅儲存於本地 `server.log`,不會自動上傳回報。 +* **No Code Injection**: 所有的輸出均由本地 `django_generator.py` 生成,代碼中不包含任何追蹤器或後門。 + +## 4. Addressing the "Self-Evolution" Capability (關於自我進化與隱私) +為了維持 100% 本地化,BlueMouse 的「抗體機制」(Anti-body evolution) 採取 **「本地挖掘模型 (Local Mining)」**: +1. 系統在本地掃描您的開發錯誤(Data Traps)。 +2. 系統在您的機器上更新您的本地知識庫。 +3. **您的專屬經驗永遠留在您的機器上**,不會被共享給其他用戶。 + +## 5. Enterprise Compliance (企業合規性) +BlueMouse 適合於以下高資安環境: +* **半導體設計 (Semiconductor Design)**: 保護核心算法不進雲端 AI 的訓練集。 +* **金融結算 (Financial Settlement)**: 滿足資料不離境、不進公有雲的需求。 +* **國防工業 (Defense & Aerospace)**: 可以在完全斷網 (Offline) 的環境下運作。 + +--- + +## 🛡️ Identity Certification +本檔案隨專案發布,作為 **v6.1** 版本的正式安全說明。任何對此政策的違反均視為系統性故障。 + +[**BlueMouse Project Admin**] diff --git a/src/bluemouse/README.md b/src/bluemouse/README.md new file mode 100644 index 0000000000..57d9534e81 --- /dev/null +++ b/src/bluemouse/README.md @@ -0,0 +1,12 @@ +# BlueMouse MCP Server +A data-driven logic gate server that helps AI models avoid architectural hallucinations. +## Overview +BlueMouse acts as a "Prefrontal Cortex" for LLMs, utilizing a massive knowledge base of 180,000+ localized development failure patterns (Data Traps) to interview the AI before it executes code generation. +## Features +- **Socratic Logic Gate**: Forced reasoning through context-aware questioning. +- **Architectural Validation**: Multi-layer integrity checks for Django & Web projects. +- **100% Local-First**: Designed for high-security environments like semiconductor manufacturing. +## Installation +```bash +pip install -r requirements.txt +python run_standalone.py diff --git a/src/bluemouse/bluemouse_saas.html b/src/bluemouse/bluemouse_saas.html new file mode 100644 index 0000000000..7a6147ac6f --- /dev/null +++ b/src/bluemouse/bluemouse_saas.html @@ -0,0 +1,1663 @@ + + + +
+ + +全球唯一具備17層邏輯驗證的AI架構師。不亮綠燈,不准生成。
+ +紅綠燈哨兵強制邏輯檢查,依賴未就緒?鎖死。
+蘇格拉底式提問,逼你把需求想清楚。
+軍規級代碼審查,從語法到安全全覆蓋。
+