No package.json, requirements.txt, pom.xml, go.mod, Cargo.toml, composer.json | Use detect-stack.sh heuristic mode (file extensions, shebangs, lock files) |
Framework config found (next.config.js, django/settings.py, spring-boot) | Use detect-stack.sh deep mode to extract versions, plugins, customizations |
Layered folders found (domain/, app/, controllers/, models/, services/) | Use detect-architecture.sh to identify DDD, MVC, Hexagonal, or custom patterns |
| High file count (>500 files) or deep nesting (>6 levels) | Use analyze-complexity.sh to flag complexity and coupling |
Dockerfile, docker-compose.yml, k8s/ manifests found | Flag as containerized; add Infrastructure checklist |
.env files, secrets in code, hardcoded credentials | Flag as Critical in Security checklist |
| Multiple conflicting patterns found | Report all with confidence scores; flag as tech debt |