mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-11 18:10:15 +08: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/
621 B
621 B
version, active_persona, profile, workflow, hooks, user_preferences, system_tasks, extra_context_files, deprecated_phrases
| version | active_persona | profile | workflow | hooks | user_preferences | system_tasks | extra_context_files | deprecated_phrases |
|---|---|---|---|---|---|---|---|---|
| 1 | default | personas/default/AGENT_PROFILE.md | personas/default/AGENT_WORKFLOW.md | personas/default/AGENT_HOOKS.md | USER_PREFERENCES.md | system_tasks/SYSTEM_TASKS.md |
CURRENT_PERSONA
当前激活人格:default
加载顺序固定如下:
AGENT_PROFILE.mdAGENT_WORKFLOW.mdAGENT_HOOKS.mdUSER_PREFERENCES.mdSYSTEM_TASKS.md
如果需要扩展额外上下文,请使用 extra_context_files 显式声明,而不是把额外规则散落到 memory 中。