Files
PlantAI-rag-new/tooling/LEGACY_MAPPING.md
T
jerryandClaude Fable 5 27946edc2b P0/M1: 收编 encryption-test 工具链入 tooling/
- legacy_plantai_server_package/: phase_a–f + compile_* + bin/plantai_admin.py
  + tools/(audit/elf_visibility/smoke/build_delivery_manifest) 完整基线
- legacy_docker_packager/: protected 形态参考
- crypto/client/: plantai_core.py(AES-GCM 原语) + install_plantai.sh 参考
- secrets/provision 严格排除(gitignore),入 git 前已脱敏清理
- LEGACY_MAPPING.md 记录源与改造方向

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-31 12:59:29 +08:00

1.4 KiB
Raw Blame History

收编映射(encryption-test → tooling)

源:/home/xzq/5090/PlanAI-cooperate/hsj-workspace/encryption-test/(2026-08-31 收编,原工具链未入 git)

源 目标 说明
server/plantai_server_package/ legacy_plantai_server_package/ 完整基线:phase_a–f、compile_{plantai,qa,rag}.sh、start/stop_all、bin/plantai_admin.py、tools/(audit_compiled_tree/elf_visibility/smoke_dual_build/build_delivery_manifest)
server/plantai_server_package/secrets/ 不复制(gitignore) supplier 私钥/口令/master_keys,绝不入 git
server/plantai_server_package/provision/ 不复制 客户交付物(含机器指纹),运行时产物
server/protected_docker_packager/ legacy_docker_packager/ 参考实现(docker 形态,本方案走 shell 形态)
client/bin/plantai_core.py crypto/client/plantai_core.py AES-GCM/SHA256 原语 + Ed25519(后续剥离 TPM/RSA-OAEP)
client/test/install_plantai.sh crypto/client/install_plantai.sh 安装器参考(后续去指纹/license/TPM)
package_client.sh package_client.sh 客户端打包参考

改造方向(P1–P6 落地):phase_a → build_all.sh + compile/*;compile_qa.sh → 参数化 ENTRY_SCRIPT + compile.manifest 白名单;phase_b → crypto/init_keys.sh(去供应商 RSA);phase_c → assemble/(去 TPM/license/Ollama);phase_f → kb/encrypt_kb.sh;plantai_core.py → crypto/(AES-GCM+SHA256)。server.env 旧路径由新 tooling.env 覆盖。