# Evidence Card and Remediation PR CLI Commands ## Module Cli ## Status IMPLEMENTED ## Description CLI commands for viewing evidence cards per finding and opening remediation pull requests (`stella remediate open-pr`) directly from CLI output, enabling automated PR creation for AI-generated fix suggestions. ## Implementation Details - **Command Group**: `src/Cli/StellaOps.Cli/Commands/EvidenceCommandGroup.cs` -- `EvidenceCommandGroup` with card subcommands - **Card Commands**: `BuildCardCommand()`, `BuildCardExportCommand()`, `BuildCardVerifyCommand()` methods in EvidenceCommandGroup - **Open PR**: `src/Cli/StellaOps.Cli/Commands/GitHubCommandGroup.cs` -- GitHub integration for PR creation - **Tests**: `src/Cli/__Tests/StellaOps.Cli.Tests/OpenPrCommandTests.cs` - **Commands**: - `stella evidence card ` -- view evidence card for a finding - `stella evidence card export ` -- export evidence card - `stella evidence card verify ` -- verify evidence card integrity - `stella remediate open-pr ` -- open a remediation PR with AI-generated fix ## E2E Test Plan - [ ] Run `stella evidence card ` and verify evidence card displayed with finding details - [ ] Run `stella evidence card export --output ./card.json` and verify export - [ ] Run `stella evidence card verify ` and verify card integrity - [ ] Run `stella remediate open-pr ` and verify PR created with fix suggestion - [ ] Verify PR contains AI-generated remediation code - [ ] Verify `--format json` output for automation