3.5 KiB
3.5 KiB
Analysis Dimensions
Detailed definitions for each audit dimension. Agents should use these as exploration guides.
Dimension 1: Frontend Navigation & Information Density
Goal: Quantify cognitive load for a new user.
Key questions:
- How many top-level components does App.tsx mount simultaneously?
- How many tabs/sections exist in each sidebar panel?
- Which features have multiple entry points (duplicate navigation)?
- What is the total count of interactive elements on first screen?
- Are there panels/drawers that overlap in functionality?
Exploration targets:
- Main app entry (App.tsx or equivalent)
- Left sidebar / navigation components
- Right sidebar / inspector panels
- Floating panels, drawers, modals
- Settings / configuration panels
- Control center / dashboard panels
Output format:
| Component | Location | Interactive Elements | Overlaps With |
|-----------|----------|---------------------|----------------|
Dimension 2: User Journey & Empty State
Goal: Evaluate time-to-first-value for a new user.
Key questions:
- What does a user see when they have no data/sessions/projects?
- How many steps from launch to first successful action?
- Is there an onboarding flow? How many steps?
- How many clickable elements compete for attention in the empty state?
- Are high-frequency actions visually prioritized over low-frequency ones?
Exploration targets:
- Empty state components
- Onboarding dialogs/wizards
- Prompt input area and surrounding controls
- Quick start templates / suggested actions
- Mobile-specific navigation and input
Output format:
Step N: [Action] → [What user sees] → [Next possible actions: count]
Dimension 3: Backend API Surface
Goal: Identify API bloat, inconsistency, and unused endpoints.
Key questions:
- How many total API endpoints exist?
- Which endpoints have no corresponding frontend call?
- Are error responses consistent across all endpoints?
- Is authentication applied consistently?
- Are there duplicate endpoints serving similar purposes?
Exploration targets:
- Router files (API route definitions)
- Frontend API client / fetch calls
- Error handling middleware
- Authentication middleware
- API documentation / OpenAPI spec
Output format:
| Method | Path | Purpose | Has Frontend Consumer | Auth Required |
|--------|------|---------|----------------------|---------------|
Dimension 4: Architecture & Module Structure
Goal: Identify coupling, duplication, and dead code.
Key questions:
- Which modules have circular dependencies?
- Where is the same pattern duplicated across 3+ files?
- Which modules have unclear single responsibility?
- Are there unused exports or dead code paths?
- How deep is the import chain for core operations?
Exploration targets:
- Module
__init__.py/index.tsfiles - Import graphs (who imports whom)
- Utility files and shared helpers
- Configuration and factory patterns
Dimension 5: Documentation & Config Consistency
Goal: Find gaps between claims and reality.
Key questions:
- Does README list features that don't exist in code?
- Are config file defaults consistent with code defaults?
- Is there documentation for removed/renamed features?
- Which modules have zero test coverage?
- Are there TODO/FIXME/HACK comments in production code?
Exploration targets:
- README.md, CLAUDE.md, CONTRIBUTING.md
- Config files (YAML, JSON, .env)
- Test directories (coverage gaps)
- Source code comments (TODO/FIXME/HACK)