dev-booster 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ Only switch to execution mode after the user provides the commit scope.
|
|
|
57
57
|
- **Execute & Wait**: Run `npx -y react-doctor@latest --json --diff <scope> --yes > @booster-generated/diagnostics/<slug-name-audit>.json` synchronously. You MUST wait for the command to fully complete before moving to the next step. Do not run it in the background.
|
|
58
58
|
- **Timeout Safety**: If the command hangs for more than 120 seconds, manually abort it (Kill/Ctrl+C) and proceed with the rest of the audit, gracefully skipping the React Doctor step.
|
|
59
59
|
- **Filter (Python)**: Run `.devbooster/hub/scripts/doctor_parser.py @booster-generated/diagnostics/<slug-name-audit>.json` to process the JSON.
|
|
60
|
-
- **Report & Decide**: Present "Immediate Actions" (Critical errors) in detail by line.
|
|
60
|
+
- **Report & Decide**: Present "Immediate Actions" (Critical errors) in detail by line. For "Cosmetic Debt" (Warnings), create a dedicated section that groups the warnings by Rule/Category (e.g., "Tailwind Sorting: 70 issues", "Unused Variables: 20 issues"). Provide a 1-line explanation for the most frequent categories so the user understands the nature of the debt without being overwhelmed.
|
|
61
61
|
- **ZERO Auto-Fix**: Do NOT modify code automatically. Ask the user: "Do you want to fix only the critical recommendations, everything, or specific items?" and wait for authorization.
|
|
62
62
|
|
|
63
63
|
## 4. OUTPUT STRUCTURE (MANDATORY)
|
|
@@ -69,10 +69,13 @@ Your response MUST be an **Audit Report**:
|
|
|
69
69
|
- [Findings based on the project's specific stack (React, Angular, Vue, etc.)]
|
|
70
70
|
|
|
71
71
|
**2. Specialized Diagnostics**
|
|
72
|
-
- *(If React)*:
|
|
72
|
+
- *(If React)*:
|
|
73
|
+
- **Critical Issues:** [Detailed list by line]
|
|
74
|
+
- **Cosmetic Debt (Warnings):** [Grouped by Rule/Category with issue counts and short explanations]
|
|
73
75
|
- *(If Non-React)*: [Framework-specific standard violations or architectural anti-patterns]
|
|
74
76
|
|
|
75
77
|
**3. Action Plan**
|
|
78
|
+
- [Explicitly state that the full line-by-line list of all warnings/errors is available in `@booster-generated/diagnostics/<slug-name-audit>.json` for manual review]
|
|
76
79
|
- [Waiting for user permission to apply fixes]
|
|
77
80
|
|
|
78
81
|
## ARTIFACT GENERATION & STATE BACKUP
|