mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-09 17:08:29 +00:00
Add comprehensive file-level DOX documentation across the repo and update directory AGENTS.md indexes. Many new `*.py.dox.md` files were added under api, helpers, tools, plugins, extensions, webui, and other dirs to document endpoint purpose, ownership, runtime contracts, work guidance, and verification. Several AGENTS.md files were created or updated (agents profiles, api, docker, extensions, helpers, plugins, skills, webui components, etc.) to list child DOX files and clarify documentation/work guidance. Also add example and bundled profile DOX files (agent0, default, developer, hacker, researcher) and minor updates to helpers/dirty_json.py and its tests. These changes improve on-disk documentation coverage and establish the convention that each direct runtime file should have a matching `*.dox.md` describing its contracts and verification steps.
655 B
655 B
Before Main LLM Call Extensions DOX
Purpose
- Own backend behavior that runs immediately before the main LLM call.
Ownership
- Ordered Python files own pre-call logging or context preparation for streaming/model execution.
Local Contracts
- Do not mutate prompt or history data unless the hook contract explicitly passes mutable state for that purpose.
- Avoid logging secrets, hidden prompt sections, or private user data.
Work Guidance
- Keep this hook light because it sits on the main model hot path.
Verification
- Run targeted model-call or streaming tests after behavior changes.
Child DOX Index
No child DOX files.