AGENTS.md@infrastructure/project/promotion · git:20260721.5dfb601 · 2026-07-21 · sha256 2701bdda9c377b0a
AGENTS.md@infrastructure/project/promotion git:20260721.5dfb601A
Immutable. This exact content is served forever at /api/v1/blob/2701bdda9c377b0a.
# Private-project promotion package ## Purpose Keep attestation validation, candidate security scanning, and composite promotion evaluation independently reusable while preserving original imports and the positional CLI. ## Modules | Module | Responsibility | | --- | --- | | `models.py` | Typed, secret-free attestation, security, and aggregate reports | | `attestation.py` | Offline attestation parsing and deterministic validation | | `security_gate.py` | Candidate checks, TODO scanning, and report rendering | | `composite.py` | Final eligibility composition | | `cli.py` | Explicit subcommands plus legacy positional compatibility | | `__init__.py` | Stable package-level re-exports for former `promotion.py` callers | | `__main__.py` | `python -m infrastructure.project.promotion` entrypoint | ## Invariants - Validation is read-only and never prints credential values or candidate data. - `as_of` is caller-controlled for deterministic expiry decisions. - Existing imports from `infrastructure.project.promotion` remain valid. - The historical positional CLI remains equivalent to `attestation`.