agent-Specialization/.astrion/memory/config_system_and_deployment.md

14 lines
971 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
name: config_system_and_deployment
description: 当修改配置加载逻辑、服务器部署流程、skill 归档路径或理解 settings.json 结构时,应该索引本记忆
---
## Skill 归档路径约定2026-07-09 更新)
- **内置 skill 库**`AGENT_SKILLS_DIR`(源码树 `agentskills/`),只放通用、自带、适用于项目的 skill。
- **用户自定义 skill 归档目录**`CUSTOM_SKILLS_DIR = <RUNTIME_ROOT>/<mode>/agentskills`
- host 模式:`~/.astrion/astrion/host/agentskills/`(全局,不按用户拆分)
- web/docker 模式:`~/.astrion/astrion/web/agentskills/`(可与 per-user `personal/agentskills` 并存)
- **create_skill 行为**:统一通过 `infer_private_skills_dir(data_dir)` 解析目标目录host 模式不再特殊处理为源码树 `agentskills/`
- **实验/测试 skill**:如 `test` 应从源码树 `agentskills/` 移出,归档到 `CUSTOM_SKILLS_DIR`,不作为内置 skill 发布。