Repo adoption scan¶
adopt-scan is the repo-level entrypoint for adopting SDETKit in a real company repository. It inventories the repo, detects likely stacks and CI/docs/test contracts, reports adoption gaps, and gives the exact commands to establish release-confidence evidence.
Command¶
python -m sdetkit adopt-scan . --format json --out build/sdetkit-adopt-scan.json
What it detects¶
- Python, JavaScript/TypeScript, docs, Docker, GitHub Actions, GitLab CI, tests, README, and license surfaces.
- Missing CI contract, missing tests, missing Python project metadata, missing test dependency contract, missing docs build contract, missing README, and missing license/compliance policy.
- Recommended first commands for
gate fast,gate release,doctor,review, pytest, Ruff, MkDocs, and the adaptive dashboard when gaps exist.
How teams use it¶
- Run
adopt-scanon every repo before rollout. - Fix high-severity adoption gaps first, especially missing tests and missing CI.
- Publish the recommended JSON artifacts in CI.
- Use the adaptive dashboard and diagnosis output for evidence-based remediation rather than random fixes.
Authority boundary¶
adopt-scan is advisory and review-first. It inventories repository evidence and recommends
commands, but it does not run those commands automatically or authorize repository changes.
Every JSON result records:
automation_allowed=false
patch_application_allowed=false
merge_authorized=false
semantic_equivalence_proven=false
automatic_security_fix_allowed=false
automatic_dismissal_allowed=false
The same values are available under the authority_boundary object and in text output.
A human owner must review recommendations and decide whether any later branch, patch, alert
disposition, or merge action is appropriate.