Scan workspace for project drift - detect new, removed, or changed projects vs portfolio.json
From sp-governancenpx claudepluginhub leo-songye-li/sp-governance --plugin sp-governanceThis skill uses the workspace's default tool permissions.
Workspace drift detection against portfolio.json.
Read portfolio.json, extract registered projects and groups.
Scan direct subdirectories for project indicators: .git, package.json, pom.xml, build.gradle, Cargo.toml, go.mod, pyproject.toml, requirements.txt, composer.json, pubspec.yaml, Makefile, CMakeLists.txt
SP Workspace Scan Report
========================
Registered: N projects in M groups
Detected: N subdirectories with project indicators
NEW (unregistered):
- new-service/ (java_maven)
MISSING (directory not found):
(none)
UNGROUPED:
(none)
If user confirms, for each new project: