-
Notifications
You must be signed in to change notification settings - Fork 0
Repository Overview Guide
This comprehensive guide is designed for team leads who need a complete understanding of their git-forest repository's current state.
The repository-overview plan is a meta-governance plan that provides a holistic view across all dimensions of your forest by running multiple specialized planners.
Use the repository-overview plan when you need to:
? Prepare for Sprint Planning - Understand current state before planning
? Generate Status Reports - Create comprehensive reports for stakeholders
? Conduct Team Reviews - Share complete picture during standups/retros
? Monitor Project Health - Set up continuous monitoring in CI/CD
? Onboard New Team Members - Give new members a complete picture
? Make Strategic Decisions - Have all data for technical debt prioritization
The repository-overview plan analyzes 10 key dimensions:
- Directory organization and layout
- File naming conventions
- Module boundaries and separation
- Configuration consistency
- Build system structure
- Code complexity metrics
- Duplication levels
- Maintainability index
- Technical debt hotspots
- Code smells and anti-patterns
- Plan category coverage
- Plan completeness
- Plan metadata quality
- Plan interdependencies
- Missing plan areas
- Plants by status (planned, planted, growing, harvestable, harvested)
- Age distribution
- Completion trends
- Stuck or blocked plants
- Success rate metrics
- Active planters
- Workload distribution per planter
- Capability coverage
- Performance metrics
- Capacity constraints
- API documentation coverage
- User guides availability
- Architecture documentation
- Code comment quality
- Documentation consistency with code
- Build success rate
- Test pass rate
- Pipeline duration trends
- Failure frequency
- Reliability metrics
- Line coverage percentages
- Branch coverage
- Critical path coverage
- Test distribution (unit, integration, e2e)
- Test quality metrics
- Outdated dependencies
- Security vulnerabilities
- License compliance
- Dependency tree health
- Update urgency assessment
- Debt types and categories
- Debt locations in codebase
- Impact assessment
- Resolution effort estimates
- Debt trends over time
# 1. Initialize forest (if not already done)
git-forest init
# 2. Install the repository overview plan
git-forest plans install config/plans/meta-governance/repository-overview.yaml
# 3. Reconcile the plan to generate analysis plants
git-forest plan repository-overview reconcile
# 4. View all generated plants
git-forest plants list --plan repository-overview
# 5. View detailed status
git-forest status# Reconcile to ensure latest analysis
git-forest plan repository-overview reconcile
# Generate the overview report plant
git-forest plant repository-overview:generate-repository-overview show
# Export to JSON for processing
git-forest plant repository-overview:generate-repository-overview show --json > overview-report.json# Generate interactive dashboard
git-forest plant repository-overview:update-status-dashboard show
# Export dashboard data
git-forest plant repository-overview:update-status-dashboard show --json > dashboard.json# Repository structure analysis
git-forest plant repository-overview:analyze-repository-structure show
# Code health assessment
git-forest plant repository-overview:assess-code-health show
# Plan catalog evaluation
git-forest plant repository-overview:evaluate-plan-catalog show
# Plant lifecycle analysis
git-forest plant repository-overview:analyze-plant-lifecycle show
# Planter capacity evaluation
git-forest plant repository-overview:evaluate-planter-capacity show
# Documentation completeness
git-forest plant repository-overview:check-documentation-completeness show
# CI pipeline health
git-forest plant repository-overview:assess-ci-pipeline-health show
# Test coverage
git-forest plant repository-overview:evaluate-test-coverage show
# Dependency health
git-forest plant repository-overview:analyze-dependency-health show
# Technical debt inventory
git-forest plant repository-overview:inventory-technical-debt showGoal: Prepare for the upcoming sprint planning session
# Run the overview plan
git-forest plans install config/plans/meta-governance/repository-overview.yaml
git-forest plan repository-overview reconcile
# Get metrics summary
git-forest plants list --plan repository-overview --json > sprint-prep-metrics.json
# Review key areas
git-forest plant repository-overview:analyze-plant-lifecycle show
git-forest plant repository-overview:inventory-technical-debt showExpected Outcome:
- Complete picture of work in progress (plants by status)
- Technical debt concentration map
- Areas needing attention in next sprint
- Planter capacity for new work
Goal: Provide status update during team standup or review
# Generate latest overview
git-forest plan repository-overview reconcile
# Create status report
git-forest plant repository-overview:generate-repository-overview show
# Get specific metrics
git-forest plant repository-overview:assess-code-health show
git-forest plant repository-overview:assess-ci-pipeline-health showExpected Outcome: Comprehensive status report covering all key areas for team sharing
Goal: Create high-level summary for stakeholders or management
# Generate overview with focus on metrics
git-forest plan repository-overview reconcile
git-forest plant repository-overview:update-status-dashboard show --json
# Extract key metrics:
# - repository_health_score
# - code_quality_score
# - test_coverage_percentage
# - ci_success_rate
# - technical_debt_ratioExpected Outcome: Data-driven executive summary with key health indicators
Goal: Set up automated daily overview reports
# Example GitHub Actions workflow
name: Forest Overview
on:
push:
branches: [ main ]
schedule:
- cron: '0 0 * * *' # Daily at midnight
jobs:
overview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup git-forest
run: dotnet tool install --global git-forest
- name: Initialize and run overview
run: |
git-forest init
git-forest plans install config/plans/meta-governance/repository-overview.yaml
git-forest plan repository-overview reconcile
git-forest plants list --json > overview-status.json
- name: Upload results
uses: actions/upload-artifact@v3
with:
name: overview-report
path: overview-status.jsonExpected Outcome: Daily automated overview reports tracking repository health over time
Purpose: Analyzes overall structure and organization
Identifies:
- Directory organization issues
- File naming inconsistencies
- Module boundary violations
- Configuration drift
- Build system complexity
Purpose: High-level assessment of code quality
Measures:
- Cyclomatic complexity
- Code duplication
- Maintainability index
- Technical debt concentration
- Code smell frequency
Purpose: Evaluates plan catalog completeness
Checks:
- Coverage across all categories
- Plan metadata completeness
- Plan version consistency
- Missing plan opportunities
- Plan interdependency conflicts
Purpose: Analyzes plant ecosystem health
Tracks:
- Status distribution
- Age of plants in each status
- Completion velocity
- Blocked plants
- Success rate trends
Purpose: Evaluates planter workload and capabilities
Monitors:
- Active planters
- Work distribution
- Capability coverage
- Performance metrics
- Capacity bottlenecks
Purpose: Assesses documentation coverage and quality
Evaluates:
- API documentation
- User guides
- Architecture docs
- Code comments
- Doc-code consistency
Purpose: Monitors CI/CD pipeline reliability
Tracks:
- Build success rate
- Test pass rate
- Pipeline duration
- Failure patterns
- Stability trends
Purpose: Comprehensive test coverage analysis
Measures:
- Line coverage
- Branch coverage
- Critical path coverage
- Test distribution
- Test effectiveness
Purpose: Summarizes dependency status and security
Identifies:
- Outdated dependencies
- Security vulnerabilities
- License issues
- Dependency tree complexity
- Update priorities
Purpose: Inventories and categorizes technical debt
Maps:
- Debt types
- Debt locations
- Impact assessment
- Resolution effort
- Debt accumulation trends
Purpose: Generates comprehensive overview reports
Creates:
- Markdown reports for human reading
- JSON metrics for automation
- HTML dashboards for visualization
- Trend analysis over time
Purpose: Creates interactive status dashboards
Includes:
- Health score gauges
- Plant status charts
- Code quality trends
- Planter workload visualizations
- CI pipeline timelines
- Test coverage gauges
- Dependency security alerts
- Technical debt heatmaps
Purpose: Aggregates metrics from multiple planners
Provides:
- Metric collection from all sources
- Data normalization
- Statistical analysis
- Trend detection
- Comparative reports
Key metrics tracked by the repository-overview plan:
| Metric | Target | Description |
|---|---|---|
| repository_health_score | 80+ | Overall repository health |
| active_plans_count | monitored | Number of installed plans |
| plant_completion_rate | 70%+ | Percentage of completed work |
| code_quality_score | 85+ | Aggregated code quality |
| documentation_coverage | 90%+ | Documentation completeness |
| ci_pipeline_health | 95%+ | CI/CD success rate |
| technical_debt_ratio | monitored | Technical debt percentage |
The repository-overview plan is designed with safety in mind:
? Read-only operations - Never modifies code or configuration
? Advisory only - All outputs are informational
? CI-safe - Can run in automated pipelines
? Deterministic - Same inputs produce same outputs
? Idempotent - Running multiple times is safe
The repository-overview plan complements other meta-governance plans:
- forest-maintenance - Use overview to identify maintenance needs
- forest-governance - Use overview metrics to inform governance policies
- risk-aware-planning - Use overview to identify high-risk areas
- harvest-discipline - Use overview to track completion progress
?? Run Regularly - Schedule daily or weekly for trend tracking
?? Focus on Trends - Single snapshots are useful, but trends are more valuable
?? Share with Team - Make overview results visible to entire team
?? Use for Planning - Let overview data drive sprint planning
?? Monitor Key Metrics - Track health score and key metrics over time
?? Identify Patterns - Look for patterns in plant lifecycle and planter workload
?? Address Bottlenecks - Use overview to identify and address bottlenecks early
?? Celebrate Progress - Use metrics to celebrate improvements with team
Customize the repository-overview plan by:
-
Adjusting metric targets - Edit the
metricssection in plan YAML - Adding custom planners - Extend with your own analysis planners
- Modifying plant templates - Customize overview report types
- Changing execution mode - Adjust policies to fit workflow
- Setting resource limits - Tune resource usage for environment
# Ensure you're in a git repository
git status
# Ensure forest is initialized
git-forest init# Check that the plan is installed
git-forest plans list
# Ensure planners are properly configured
cat config/plans/meta-governance/repository-overview.yaml# View plant details to see specific errors
git-forest plant repository-overview:<plant-name> show
# Check planter logs
ls -la .git-forest/logs/- Explore Plans Catalog for more plans
- Learn about Forest Maintenance Plan
- Set up GitHub Actions Integration
- Read CLI Commands Reference
For questions or issues:
- Check Common Issues
- Review FAQ
- Visit GitHub Issues