II.
Workflow overview
Reference · liveworkflow:codebase-health-refactoring-sprint
Codebase Health Refactoring Sprint overview
Executes focused refactoring sprints to improve codebase health metrics — identifying hotspots using code churn and complexity analysis (cyclomatic, cognitive), prioritizing refactoring targets by coupling with high-change-frequency modules, executing safe automated refactoring operations (extract method, rename, move) with comprehensive test validation, measuring before/after complexity scores and build time impact, and updating architecture documentation to reflect structural changes. Produces refactoring proposals with risk assessment, complexity delta reports, and architectural fitness function trends. Excludes feature development.
Attributes
displayName
Codebase Health Refactoring Sprint
workflowKind
operational
triggerType
scheduled
typicalCadence
quarterly
complexity
cross-team
description
Executes focused refactoring sprints to improve codebase health metrics —
identifying hotspots using code churn and complexity analysis (cyclomatic,
cognitive), prioritizing refactoring targets by coupling with
high-change-frequency modules, executing safe automated refactoring
operations (extract method, rename, move) with comprehensive test
validation, measuring before/after complexity scores and build time impact,
and updating architecture documentation to reflect structural changes.
Produces refactoring proposals with risk assessment, complexity delta
reports, and architectural fitness function trends. Excludes feature
development.
Outgoing edges
applies_to_domain2
- domain:software-engineering·DomainSoftware Engineering
- domain:operations·DomainOperations
involves_role3
- role:refactor-bot·RoleRefactor Bot
- role:staff-engineer·RoleStaff Engineer
- role:tech-lead·RoleTech Lead
performed_by_org_unit2
- org-unit:engineering·OrgUnitEngineering
- org-unit:architecture-guild·OrgUnitArchitecture Guild
requires_skill_area2
- skill-area:code-review-practice·SkillAreaCode Review Practice
- skill-area:hexagonal-architecture·SkillAreaHexagonal Architecture
triggers_responsibility2
- responsibility:run-architecture-review·ResponsibilityRun architecture review
- responsibility:code-review-coverage·ResponsibilityCode review coverage
Incoming edges
None.