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


1. stella aoc verify

Synopsis

stella aoc verify \
  --since <git-sha|timestamp> \
  --postgres <connection-string> \
  [--output <path>] \
  [--ndjson <path>] \
  [--tenant <id>] \
  [--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

OptionDescription
--since, -sGit commit SHA or ISO timestamp to verify from (required)
--postgres, -pPostgreSQL connection string (required)
--output, -oPath for JSON output report
--ndjson, -nPath for NDJSON output (one violation per line)
--tenant, -tFilter by tenant ID
--dry-runValidate configuration without querying database
--verbose, -vEnable verbose output

Exit Codes

CodeMeaning
0Verification passed - no violations
1Violations detected
2Configuration or connection error

Examples

Daily verification:

stella aoc verify \
  --since 24h \
  --postgres "Host=localhost;Database=stellaops;Username=verifier;Password=..."

CI pipeline verification from last commit:

stella aoc verify \
  --since ${{ github.event.before }} \
  --postgres "$POSTGRES_CONN" \
  --output artifacts/aoc-verify.json

Tenant-scoped verification:

stella aoc verify \
  --since 2025-01-01T00:00:00Z \
  --postgres "$POSTGRES_CONN" \
  --tenant acme-corp \
  --ndjson violations.ndjson

Offline/Air-Gap Notes


Migration from stella-aoc

The standalone stella-aoc CLI is deprecated; use the consolidated stella aoc command instead.

Old CommandNew Command
stella-aoc verify ...stella aoc verify ...

See the CLI Consolidation Migration Guide for the full command mapping and sunset timeline.



Last updated: 2025-12-23 (Sprint 5100).