mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 09:28:56 +00:00
1.3 KiB
1.3 KiB
Plugin Validator DOX
Purpose
- Own structured validation of Agent Zero plugins against manifest, structure, code-pattern, and security conventions.
Ownership
helpers/prompt.pyowns validation prompt construction.api/owns ZIP preparation, queue, start, and synchronous run endpoints.webui/owns validation checks, guidance, prompt template, store, UI, and thumbnail.plugin.yamlandREADME.mdown metadata and behavior notes.
Local Contracts
- Keep validation criteria aligned with
plugins/AGENTS.md, WebUI contracts, and Plugin Index requirements. - Temporary validation source directories and contexts must be cleaned up as intended.
- Clean uploaded archive filenames with
helpers.security.safe_filenamebefore joining the temporary upload directory; retain archive-member containment checks. - Do not confuse runtime
plugin.yamlwith Plugin Indexindex.yaml. - Recognize optional
a0_versionas supported manifest metadata, followingdocs/developer/plugins.md; distinguish invalid syntax from an advisory current-version mismatch.
Work Guidance
- Coordinate checklist changes with prompt builder and frontend check selection.
Verification
- Smoke-test local, Git, and ZIP validation paths when API or prompt behavior changes.
Child DOX Index
No child DOX files.