mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-06 07:26:45 +00:00
- Add structured runtime config files (AGENT_PROFILE.md, AGENT_WORKFLOW.md, AGENT_HOOKS.md, USER_PREFERENCES.md, SYSTEM_TASKS.md, CURRENT_PERSONA.md) for persona, workflow, hooks, and system tasks - Implement agent_runtime_manager to load, validate, and render runtime config and system task prompts - Refactor agent initialization to use runtime-managed directories for skills, jobs, memory, and activity logs - Add AgentHooksMiddleware for structured pre/in/post hooks injection - Replace hardcoded system task prompts with template-driven rendering from SYSTEM_TASKS.md - Update tests to cover runtime config loading, migration, and system task prompt rendering - Update .gitignore to exclude config/agent/
25 lines
621 B
Markdown
25 lines
621 B
Markdown
---
|
|
version: 1
|
|
active_persona: default
|
|
profile: personas/default/AGENT_PROFILE.md
|
|
workflow: personas/default/AGENT_WORKFLOW.md
|
|
hooks: personas/default/AGENT_HOOKS.md
|
|
user_preferences: USER_PREFERENCES.md
|
|
system_tasks: system_tasks/SYSTEM_TASKS.md
|
|
extra_context_files: []
|
|
deprecated_phrases: []
|
|
---
|
|
# CURRENT_PERSONA
|
|
|
|
当前激活人格:`default`
|
|
|
|
加载顺序固定如下:
|
|
|
|
1. `AGENT_PROFILE.md`
|
|
2. `AGENT_WORKFLOW.md`
|
|
3. `AGENT_HOOKS.md`
|
|
4. `USER_PREFERENCES.md`
|
|
5. `SYSTEM_TASKS.md`
|
|
|
|
如果需要扩展额外上下文,请使用 `extra_context_files` 显式声明,而不是把额外规则散落到 memory 中。
|