dev-booster 1.7.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev-booster",
3
- "version": "1.7.0",
3
+ "version": "1.9.0",
4
4
  "description": "Reusable AI development kit with manual boosters, governance, and project bootstrap",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -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. Present "Cosmetic Debt" (Style rules) as a grouped numerical summary. Append "Content extracted from diagnostics.json".
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)*: [React Doctor Findings (Critical Issues by Line & Cosmetic Debt Summary)]
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
@@ -8,11 +8,9 @@ description: Dynamic Scratchpad - Experimental patterns and recently approved ru
8
8
 
9
9
  This file operates as a "real-time scratchpad" for the AI and the Developer. The core of the project's architecture lives in `FRONTEND.md`, `BACKEND.md`, and `PROJECT.md`.
10
10
 
11
- ## 🛠️ THE ENCYCLOPEDIA TRIGGER
12
- Every time the user strictly types the phrase **"bota na enciclopédia"** (or variations like "bota na enciclopedia"), referring to a code pattern we just resolved and approved in the current session, the AI **must extract the technical rule** and annotate it here.
11
+ - This file captures development preferences and emergent decisions using the `@SavePattern` trigger (defined in `PROTOCOL.md`).
12
+ - It ensures consistency in the short term. Periodically, the consolidated patterns born here will be migrated to the official frontend or backend files and removed from here.
13
13
 
14
- - This file captures development preferences and emergent decisions to ensure consistency in the short term.
15
- - Periodically (or when refactoring the base), the consolidated patterns born here will be migrated to the official frontend or backend folders and removed from here.
16
14
 
17
15
  ---
18
16