mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-09 17:08:29 +00:00
Introduce a new prompt "protocol" separate from extras: add LoopData.protocol_temporary and protocol_persistent, include protocol contents before message history during prompt construction, and clear temporary protocol data each turn. Add helper _build_context_message to render protocol/extras, update response input conversion to include protocol, and move project instructions & active/loaded skills injection into protocol. Update docs, prompts, plugin metadata, the SkillsTool message, and add tests to verify protocol placement and behavior.
876 B
876 B
Message Loop Prompts After Extensions DOX
Purpose
- Own prompt protocol and extras appended around primary message-loop prompt construction.
Ownership
- Ordered Python files own current datetime, skill recall/load context, agent info, parallel job status, and workdir extras injection.
- Loaded and active skill instructions belong in prompt protocol, not prompt extras.
Local Contracts
- Keep injected content bounded and clearly attributed.
- Preserve ordering where later prompt extras depend on earlier recall or load results.
- Do not expose secrets or private files from workdir extras.
Work Guidance
- Coordinate prompt protocol and prompt-extra changes with skill, workdir, and profile contracts.
Verification
- Inspect rendered prompt protocol/extras or run prompt-construction tests after changes.
Child DOX Index
No child DOX files.