System Architecture系统架构
UNPACK Refactored Platform ArchitectureUNPACK 模块化商业级平台架构
Modular CLI & Flask Studio Blueprints on top of Core Intelligence, Multi-Provider AI, SQLite Workspaces, 3-Engine Dispatch, 10-Step DEX Repair, and Multi-Format Reporting.
模块化 CLI 与 Flask Studio 蓝图架构,向下统一驱动核心静态情报、多模型 AI、SQLite 工作区、三引擎调度、10 步 DEX 修复与多格式合规审计报告。
Modular CLI & Studio模块化 CLI 与 Studio
src/unpack/cli/— 18 top-level commands +ai(4) +workspace(6) + shared formatting18 个顶级命令 +ai(4) +workspace(6) 与 Rich 格式化器src/unpack/studio/— Flask Blueprints, services, bounded jobs, security headersFlask 蓝图、服务层、有界任务池与安全响应头中间件src/unpack/i18n.py— Split EN/ZH catalogs with 100% key parity拆分式中英双语目录,100% 键位对齐
Core Intelligence & Storage核心情报与持久化层
core/signatures.py&scanner.py— 24 packers × 6 weighted dimensions24 厂商特征库与 6 维加权评分core/reporting/— Quality, Audit, HTML5, Markdown, SARIF 2.1.0质量评估、去重审计、HTML5/MD/SARIF 渲染器core/ai_engine.py&workspace_store.py— 7 LLM providers + atomic SQLite workspaces7 大模型引擎与原子事务 SQLite 工作区
Hardened Engines & Infra安全加固引擎与基础设施
engines/base.py— TypedDumpOptions&unavailable_reasoncontract类型化DumpOptions与unavailable_reason契约logging_config.py&utils/fs.py— Structured logging, streaming SHA-256, atomic JSON, filename sanitization结构化日志、流式 SHA-256、原子写 JSON 与文件名清洗core/pipeline.py— Unified planner shared between CLI and StudioCLI 与 Studio 共享的引导式流水线规划器