feat: initial agent-reviewer meta-agent
A2A agent that audits another deployed agent's source pre-deploy. Reads the target Gitea repo via a short-lived read-only token minted through ctx.mint_gitea_token(), runs an inner DeepAgents graph backed by GiteaBackend, and emits a typed ReviewReport. Skill bundles: - security-anti-patterns (credentials, eval, sandbox bypass, egress) - a2apack-best-practices (class shape, decorators, types, timeouts) - grant-scope-evaluation (declared vs actual workspace scope) Tools: - sandbox_a2a_card : round-trips the project through microsandbox - sandbox_ruff_check: objective static checks - submit_review_report: typed final report 7 smoke tests pass; agent card loads cleanly via `a2a card`.
This commit is contained in:
6
agent_reviewer/__init__.py
Normal file
6
agent_reviewer/__init__.py
Normal file
@@ -0,0 +1,6 @@
|
||||
"""agent-reviewer — pre-deploy audit of A2A agent source."""
|
||||
from __future__ import annotations
|
||||
|
||||
from .builder import ReviewerContext, build_reviewer_graph
|
||||
|
||||
__all__ = ["ReviewerContext", "build_reviewer_graph"]
|
||||
Reference in New Issue
Block a user