# Stella Admin CLI Command Group ## Module Cli ## Status VERIFIED ## Description Consolidated `stella admin` CLI command group providing administrative operations for policy management, user administration, feed management, and system diagnostics. Replaces previously scattered admin operations. ## Implementation Details - **Command Group**: `src/Cli/StellaOps.Cli/Commands/Admin/AdminCommandGroup.cs` -- `AdminCommandGroup` (internal static class) - **Command Handlers**: `src/Cli/StellaOps.Cli/Commands/Admin/AdminCommandHandlers.cs` -- `AdminCommandHandlers` - **Backend Operations**: `src/Cli/StellaOps.Cli/Services/BackendOperationsClient.cs` / `IBackendOperationsClient.cs` - **Tests**: `src/Cli/__Tests/StellaOps.Cli.Tests/Services/BackendOperationsClientTests.cs` - **Commands**: - `stella admin users list` -- list users - `stella admin users create` -- create a user - `stella admin policy list` -- list policies (admin view) - `stella admin feeds list` -- list advisory feeds (deprecated, use config feeds) - `stella admin diagnostics` -- system diagnostics ## E2E Test Plan - [ ] Run `stella admin users list` and verify user listing - [ ] Run `stella admin users create --name ` and verify user creation - [ ] Run `stella admin policy list` and verify admin policy view - [ ] Run `stella admin diagnostics` and verify system diagnostics - [ ] Verify admin commands require admin role authorization ## Verification - **Verified**: 2026-02-13T15:30:00Z - **Tier 0 (Source)**: pass -- all referenced source files exist on disk - **Tier 1 (Build)**: pass -- module builds cleanly, 412 tests pass in StellaOps.Cli.Commands.Tests - **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness - **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Commands.Tests/StellaOps.Cli.Commands.Tests.csproj` - **Evidence**: `docs/qa/feature-checks/runs/cli/stella-admin-cli-command-group/run-001/tier2-integration-check.json`