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`.
7 lines
213 B
Python
7 lines
213 B
Python
"""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"]
|