# Python Workspace Analyzer CLI ## Module Cli ## Status VERIFIED ## Description Language-specific CLI for inspecting Python workspaces and virtual environments with site-packages scanning, framework detection, and capability signal analysis. ## Implementation Details - **Command Handlers**: `src/Cli/StellaOps.Cli/Commands/CommandHandlers.cs` -- Python workspace handlers - **Commands**: - `stella scan python ` -- analyze Python workspace. Options: `--venv `, `--format table|json` - **Analysis**: site-packages scanning, framework detection (Django, Flask, FastAPI), capability signal analysis ## E2E Test Plan - [ ] Run `stella scan python ./project` and verify workspace analysis - [ ] Verify site-packages scanning detects installed packages - [ ] Verify framework detection identifies Django/Flask/FastAPI - [ ] Verify capability signal analysis - [ ] Run with `--venv ./venv` and verify virtual environment scanning - [ ] Verify `--format json` output ## 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/python-workspace-analyzer-cli/run-001/tier2-integration-check.json`