Skip to content

Add subsystem discovery to product and levelup init commands#75

Merged
kanfil merged 1 commit intomainfrom
feature/add-subsystem-discovery
Mar 10, 2026
Merged

Add subsystem discovery to product and levelup init commands#75
kanfil merged 1 commit intomainfrom
feature/add-subsystem-discovery

Conversation

@kanfil
Copy link
Copy Markdown
Member

@kanfil kanfil commented Mar 10, 2026

Summary

This PR adds subsystem detection capabilities to the product and levelup extensions, mirroring the functionality already present in the architect extension.

Changes

Product Extension:

  • Renamed "Feature Area Detection" → "Subsystem Detection" for consistency
  • Updated all terminology from "feature area" to "subsystem"
  • Added detect_subsystems function to bash/powershell scripts
  • Added --json and --no-decompose flag support

LevelUp Extension:

  • Added new Phase 0: Sub-System Detection (~90 lines of documentation)
  • Added detect_subsystems function to bash/powershell scripts
  • Added --no-decompose flag support
  • Updated outline to include new phase

Technical Details

The subsystem detection logic:

  • Analyzes directory structure (src/, services/, modules/, apps/)
  • Detects docker-compose services
  • Checks for Node.js workspaces (monorepo)
  • Detects Python namespace packages
  • Checks for Go modules under cmd/

Files Modified

  • extensions/product/commands/init.md - Terminology update
  • extensions/product/scripts/bash/setup-product.sh - Add detection function
  • extensions/product/scripts/powershell/setup-product.ps1 - Add detection function
  • extensions/levelup/commands/init.md - Add Phase 0
  • extensions/levelup/scripts/bash/setup-levelup.sh - Add detection function
  • extensions/levelup/scripts/powershell/setup-levelup.ps1 - Add detection function

- Rename Feature Area to Subsystem in product extension for consistency
- Add detect_subsystems function to product bash/powershell scripts
- Add Phase 0 Sub-System Detection to levelup init command
- Add --no-decompose flag support to all scripts
- Mirror architect extension subsystem detection logic
@kanfil kanfil merged commit c216750 into main Mar 10, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant