Metadata-Version: 2.5
Name: agentguard-sentry
Version: 0.1.0
Summary: GitHub Action that detects authorization and tenant-isolation regressions in Python/Django pull requests
Author: AgentGuard Team
License: MIT
Requires-Python: >=3.11
Requires-Dist: loguru>=0.7.0
Requires-Dist: pydantic-settings>=2.4.0
Requires-Dist: pydantic>=2.10.0
Requires-Dist: rich>=13.0.0
Requires-Dist: tree-sitter-python>=0.24.0
Requires-Dist: tree-sitter>=0.24.0
Requires-Dist: typer>=0.12.0
Provides-Extra: dev
Requires-Dist: mypy>=1.11.0; extra == 'dev'
Requires-Dist: pre-commit>=3.8.0; extra == 'dev'
Requires-Dist: pytest-cov>=5.0.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.8.0; extra == 'dev'
Description-Content-Type: text/markdown

# AgentGuard

AgentGuard is a GitHub Action that detects authorization and tenant-isolation regressions in Python/Django pull requests, especially AI-generated ones.

## Install

```bash
pip install agentguard
```

## Dev setup

```bash
# Clone the repo
cd agentguard

# Install with uv (recommended)
uv sync --dev

# Or with pip
pip install -e ".[dev]"
```

## Test commands

```bash
# Run all tests
pytest

# Run with coverage
pytest --cov=src/agentguard

# Lint
ruff check src/ tests/

# Format
ruff format src/ tests/

# Type check
mypy --strict src/
```

## CLI usage

```bash
agentguard version
agentguard scan --base main --head feature-branch --format json --mode observe --output report.json
```

## GitHub Action

See `.github/workflows/ci.yml` for the CI pipeline and `action.yml` for the composite action.