# stella aoc — Command Guide > **Audience:** DevOps engineers, compliance teams, and CI authors working with AOC verification. > **Scope:** Commands for verifying Aggregation-Only Contract compliance. --- ## Commands - `stella aoc verify --since --postgres [options]` --- ## 1. `stella aoc verify` ### Synopsis ```bash stella aoc verify \ --since \ --postgres \ [--output ] \ [--ndjson ] \ [--tenant ] \ [--dry-run] \ [--verbose] ``` ### Description Verifies AOC compliance by comparing git history against database records. Detects violations where data was modified or deleted in violation of the append-only contract. ### Options | Option | Description | |--------|-------------| | `--since, -s` | Git commit SHA or ISO timestamp to verify from (required) | | `--postgres, -p` | PostgreSQL connection string (required) | | `--output, -o` | Path for JSON output report | | `--ndjson, -n` | Path for NDJSON output (one violation per line) | | `--tenant, -t` | Filter by tenant ID | | `--dry-run` | Validate configuration without querying database | | `--verbose, -v` | Enable verbose output | ### Exit Codes | Code | Meaning | |------|---------| | `0` | Verification passed - no violations | | `1` | Violations detected | | `2` | Configuration or connection error | ### Examples Daily verification: ```bash stella aoc verify \ --since 24h \ --postgres "Host=localhost;Database=stellaops;Username=verifier;Password=..." ``` CI pipeline verification from last commit: ```bash stella aoc verify \ --since ${{ github.event.before }} \ --postgres "$POSTGRES_CONN" \ --output artifacts/aoc-verify.json ``` Tenant-scoped verification: ```bash stella aoc verify \ --since 2025-01-01T00:00:00Z \ --postgres "$POSTGRES_CONN" \ --tenant acme-corp \ --ndjson violations.ndjson ``` --- ## Offline/Air-Gap Notes - Connect to local PostgreSQL instances included in Offline Kit deployments. - Use `--output` to generate reports for transfer to connected environments. - Verification is read-only and does not modify any data. --- ## Migration from stella-aoc The standalone `stella-aoc` CLI is deprecated and will be removed on 2025-07-01. | Old Command | New Command | |-------------|-------------| | `stella-aoc verify ...` | `stella aoc verify ...` | See the [CLI Consolidation Migration Guide](../../../../cli/cli-consolidation-migration.md) for details. --- ## Related Documentation - [Aggregation-Only Contract Reference](../../../../ingestion/aggregation-only-contract.md) - [CLI Reference](../cli-reference.md) - [Container Deployment Guide](../../../../deploy/containers.md) --- *Last updated: 2025-12-23 (Sprint 5100).*