Skip to content

repowise(sc-compose): hot-spot action plan [sc/repowise-update2] #572

Description

@randlee

Repowise Hot Spot Assignment for sc-compose

Analysis Date: 2026-08-29
Branch: sc/repowise-update2
Worktree Path: /Users/randlee/Documents/github/sc-compose-worktrees/sc/repowise-update2
Team Member: comp
PR: #571

Overview

Metric Score
Overall Health 8.23/10
Hotspot Health 5.2/10
Files Analyzed 988

Repowise Analysis Results

The repowise analysis results are available in the following locations:

Raw Data (.sc/repowise/data/)

  • repowise-health.json - Health metrics for all files
  • repowise-refactoring-targets.json - Recommended refactoring targets
  • repowise-dead-code.json - Detected dead code locations

Reports (docs/repowise/)

  • badge.md - Health score badge
  • risk.json - Risk assessment data
  • health.md - Comprehensive health report

Configuration (.sc/repowise.yaml)

  • Repository configuration for repowise analysis

Top 10 Hot Spots (Lowest Health Scores)

Rank File Score CCN NLOC Key Issues
1 crates/sc-composer/src/extract/yaml.rs 2.54 21 789 CCN=21, 43% dup
2 plugins/sc-publish/.github/scripts/release_artifacts.py 2.54 34 860 CCN=34, 100% dup
3 crates/sc-compose/src/commands/template_lint.rs 2.58 9 529 review
4 .github/scripts/release_artifacts.py 2.94 34 860 CCN=34, 100% dup
5 crates/sc-compose/src/commands/compose.rs 3.44 11 314 review
6 crates/sc-compose/tests/repo_boundaries.rs 3.56 18 256 review
7 crates/sc-composer/src/extract/xml.rs 3.79 8 324 review
8 .github/scripts/tests/test_release_artifacts.py 3.9 10 2951 100% dup
9 plugins/sc-publish/.github/scripts/tests/test_release_artifacts.py 3.9 10 2951 72% dup
10 crates/sc-composer/src/extract/json.rs 4.06 15 618 55% dup

Recommendations

High Priority (Score < 2.0)

Medium Priority (Score 2.0-3.0)

  • crates/sc-composer/src/extract/yaml.rs - Score 2.54, CCN=21: Moderate complexity (CCN=21)
  • plugins/sc-publish/.github/scripts/release_artifacts.py - Score 2.54, CCN=34: Moderate complexity (CCN=34)
  • crates/sc-compose/src/commands/template_lint.rs - Score 2.58, CCN=9: Moderate complexity (CCN=9)
  • .github/scripts/release_artifacts.py - Score 2.94, CCN=34: Moderate complexity (CCN=34)

Direct Action Plan

  1. Assign task to have comp do a critical review of the hotspots identified and identify at least 6 refactor targets for immediate planning.

  2. Create /sc-git-worktree off develop and plan the next docs/plans/phase-<Next>/.

  3. Have comp create a plan following sprint-plan-guidelines.md for the sprints identified in review.

  4. Use /plan-hardening skill to get plan ready for development.

  5. Merge plan to develop when plan is QA approved.

  6. Create /sc-git-worktree for integrate/phase-<Next> off develop and all sprint/p<Next>-<#>-<description> off integrate branch.

  7. Follow /codex-orchestration and complete plan.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions