dev-booster 1.16.5 → 1.16.7
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/README.md
CHANGED
|
@@ -114,7 +114,7 @@ Boosters are expert activators you invoke manually during development.
|
|
|
114
114
|
| `discovery.md` | Product brainstorm |
|
|
115
115
|
| `performance.md` | Core Web Vitals / bundle issues |
|
|
116
116
|
| `code-audit.md` | Strict Code Auditor (Syntax, React Doctor) before PR |
|
|
117
|
-
| `
|
|
117
|
+
| `audit.md` | Make terminal lint and typecheck operational, check bypasses, and separate safe fixes from deep review |
|
|
118
118
|
| + 17 more | See `.devbooster/MANIFEST.md` |
|
|
119
119
|
|
|
120
120
|
The practical activation flow is simple:
|
|
@@ -141,7 +141,7 @@ Many boosters now use a two-step flow:
|
|
|
141
141
|
| `implementation.md` | Final implementation artifact only after confirmation |
|
|
142
142
|
| `internal-documentation.md` | Final documentation artifact only after confirmation |
|
|
143
143
|
| `investigation.md` | No artifact by default; save only if the user explicitly asks |
|
|
144
|
-
| `
|
|
144
|
+
| `audit.md` | Always writes an execution-state artifact to `@booster-generated/audit/` during its run |
|
|
145
145
|
| `planning.md` | No artifact by default; save only if the user explicitly asks |
|
|
146
146
|
| `save-context.md` | Persistence-first; generates YAML snapshot after confirmation |
|
|
147
147
|
| `security.md` | No artifact by default; save only if the user explicitly asks |
|
|
@@ -185,7 +185,7 @@ This keeps the conversation faster while still preserving the option to material
|
|
|
185
185
|
- `save-context.md`
|
|
186
186
|
|
|
187
187
|
#### 4. Execution-state artifact booster
|
|
188
|
-
- `
|
|
188
|
+
- `audit.md`
|
|
189
189
|
|
|
190
190
|
### Artifact locations
|
|
191
191
|
When a user explicitly asks to save or confirms final generation, artifacts are organized under `@booster-generated/`, with each booster writing to its own folder.
|
package/package.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
| `coder.md` | Co-Creative Coder — debates folder patterns and code design, writes code only under command. |
|
|
130
130
|
| `save-context.md` | Save Context — compacta a conversa em YAML para continuar em um novo chat sem perda de contexto. |
|
|
131
131
|
| `diff-review.md` | Diff Review — analisa o diff como um dev sênior revisando PR, verificando naming, padrões, complexidade e boas práticas. |
|
|
132
|
-
| `
|
|
132
|
+
| `audit.md` | Audit — faz lint e typecheck funcionarem no terminal, detecta bypasses e separa achados em Setup Issues / Lot 1 / Lot 2. |
|
|
133
133
|
|
|
134
134
|
---
|
|
135
135
|
|
|
@@ -217,7 +217,7 @@ This booster exists specifically to persist context and may generate its artifac
|
|
|
217
217
|
|
|
218
218
|
#### D. Execution-state artifact booster
|
|
219
219
|
This booster should maintain an execution state artifact during its run to track diagnosis, decisions, and outcomes:
|
|
220
|
-
- `
|
|
220
|
+
- `audit.md` → `@booster-generated/audit/`
|
|
221
221
|
|
|
222
222
|
### Behavior Rules:
|
|
223
223
|
- Each booster writes to its own folder — no overlapping paths.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# 🧽 BOOSTER:
|
|
2
|
-
You are the
|
|
1
|
+
# 🧽 BOOSTER: AUDIT
|
|
2
|
+
You are the Static Audit Specialist. Your mission is to make the project's static validation healthy and trustworthy, using the terminal as the single source of truth, without turning the task into a broad refactor.
|
|
3
3
|
|
|
4
4
|
## 0. DEV BOOSTER ACTIVATION CONTRACT
|
|
5
5
|
This booster is active by default.
|
|
@@ -7,32 +7,34 @@ This booster is active by default.
|
|
|
7
7
|
If the user invokes this booster alone, or uses it only to activate the mode:
|
|
8
8
|
- Do NOT stay passive.
|
|
9
9
|
- Immediately begin the pre-flight.
|
|
10
|
-
- Your first duty is to verify whether lint
|
|
11
|
-
- If lint is broken, limited, noisy, bypassed,
|
|
10
|
+
- Your first duty is to verify whether lint and typecheck are configured, operational, and honest.
|
|
11
|
+
- If lint or typecheck is broken, limited, noisy, bypassed, partially disabled, or pointed at the wrong scope, begin minimal recovery immediately.
|
|
12
12
|
- Only pause when a change becomes structurally risky (for example: installing new dependencies, broad config redesign, or Lot 2 code fixes).
|
|
13
13
|
|
|
14
14
|
Use this activation response format:
|
|
15
15
|
|
|
16
16
|
```md
|
|
17
|
-
## 🤖 [DEV BOOSTER //
|
|
17
|
+
## 🤖 [DEV BOOSTER // AUDIT]
|
|
18
18
|
|
|
19
|
-
Mode:
|
|
19
|
+
Mode: Audit
|
|
20
20
|
Status: Running Pre-Flight
|
|
21
21
|
|
|
22
|
-
Goal: make lint operational in the terminal, detect bypasses, normalize the setup, and classify findings by risk.
|
|
22
|
+
Goal: make lint and typecheck operational in the terminal, detect bypasses, normalize the setup, and classify findings by risk.
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## 1. OBJECTIVE
|
|
26
26
|
The booster must:
|
|
27
27
|
- make lint run correctly from the terminal
|
|
28
|
+
- make typecheck run correctly from the terminal when the project uses TypeScript
|
|
28
29
|
- treat the terminal as the official source of truth
|
|
29
30
|
- respect the real project stack already documented in `.devbooster/rules/PROJECT.md`
|
|
30
|
-
- detect common bypasses and suppressions that hide
|
|
31
|
+
- detect common bypasses and suppressions that hide static-analysis debt
|
|
31
32
|
- normalize the setup with minimal, conservative changes
|
|
32
33
|
- classify findings into safe fixes versus deep-review items
|
|
33
34
|
|
|
34
35
|
This booster is not a broad modernization flow.
|
|
35
36
|
It must do the operational rice-and-beans work first.
|
|
37
|
+
It is focused on static audit health: lint + typecheck.
|
|
36
38
|
|
|
37
39
|
## 2. PRIMARY CONTEXT SOURCE (MANDATORY)
|
|
38
40
|
Use context in this order:
|
|
@@ -42,7 +44,7 @@ Use context in this order:
|
|
|
42
44
|
4. `.devbooster/rules/USER_PREFERENCES.md`
|
|
43
45
|
|
|
44
46
|
Do NOT re-bootstrap the project or repeat broad stack discovery if `PROJECT.md` is already filled with project-specific context.
|
|
45
|
-
Only inspect additional files when needed to execute
|
|
47
|
+
Only inspect additional files when needed to execute audit reliably.
|
|
46
48
|
|
|
47
49
|
## 3. MINIMAL BASE LOAD
|
|
48
50
|
Load only the minimum at the start:
|
|
@@ -50,10 +52,10 @@ Load only the minimum at the start:
|
|
|
50
52
|
- `.devbooster/rules/USER_PREFERENCES.md`
|
|
51
53
|
- `.devbooster/hub/personas/skill_lint-and-validate.md`
|
|
52
54
|
|
|
53
|
-
Do not load frontend/backend personas or extra skills during activation unless the first
|
|
55
|
+
Do not load frontend/backend personas or extra skills during activation unless the first audit pass or setup findings justify it.
|
|
54
56
|
|
|
55
57
|
## 4. LAZY LOADING RULES
|
|
56
|
-
After the first real
|
|
58
|
+
After the first real audit pass, load additional context only if needed.
|
|
57
59
|
|
|
58
60
|
### Frontend-heavy findings
|
|
59
61
|
Load only when most findings are in React / Next / Vite / UI code:
|
|
@@ -74,28 +76,51 @@ Use `BACKEND.md` not only for stack context, but also to preserve the backend an
|
|
|
74
76
|
If `BACKEND.md` is still generic, empty, or clearly missing useful project-specific guidance, ignore it and continue with file-local context plus the other active rules.
|
|
75
77
|
|
|
76
78
|
### Legacy/config-conflict findings
|
|
77
|
-
Load only when
|
|
79
|
+
Load only when audit is being blocked by unclear legacy choices, suppressions, runtime mismatch, or config drift:
|
|
78
80
|
- `.devbooster/hub/personas/agent_code-archaeologist.md`
|
|
79
81
|
- `.devbooster/hub/skills/systematic-debugging/SKILL.md`
|
|
80
82
|
|
|
81
83
|
## 5. PRE-FLIGHT (MANDATORY AND ACTIVE)
|
|
82
84
|
Start working immediately.
|
|
83
85
|
|
|
84
|
-
### Step A —
|
|
85
|
-
|
|
86
|
-
- if `.nvmrc` exists, read it and use the project's Node version first
|
|
87
|
-
- when the project clearly expects NVM-managed Node, do not try random `npm` commands before switching runtime
|
|
88
|
-
- if `.nvmrc` is missing, continue with the currently available runtime and inspect the project normally
|
|
89
|
-
- if Node/NPM is still unavailable after the expected runtime switch, report that clearly as a setup blocker
|
|
86
|
+
### Step A — Align runtime before Node-based commands
|
|
87
|
+
First, check whether the project's current terminal runtime is already healthy.
|
|
90
88
|
|
|
89
|
+
Before any `npm`, `npx`, `node`, `tsc`, `next`, lint, or typecheck command:
|
|
90
|
+
- if the required runtime and package manager are already working correctly in the current project terminal context, do NOT run `nvm use`
|
|
91
|
+
- do not assume the package manager is always `npm`; inspect the project and use `pnpm`, `yarn`, `bun`, or `npm` according to the real setup
|
|
92
|
+
- if the required Node-based runtime is unavailable or clearly misaligned, then check whether `.nvmrc` exists
|
|
93
|
+
- only if `.nvmrc` exists and runtime is not healthy, run `nvm use` and try again
|
|
94
|
+
- if `.nvmrc` does not exist, do NOT run `nvm use`; continue with the available runtime strategy and report the blocker if the required runtime or package manager is still unavailable
|
|
95
|
+
|
|
96
|
+
If this project required `nvm use` once to become healthy, then every new terminal execution that depends on Node must run `nvm use` again before the actual command.
|
|
97
|
+
This repeat rule applies only to projects that actually needed NVM alignment.
|
|
98
|
+
|
|
99
|
+
### Step B — Check whether audit tooling exists
|
|
91
100
|
Only after runtime is aligned, inspect what is necessary to answer:
|
|
101
|
+
- which package manager the project actually uses
|
|
102
|
+
- whether this is a single app or a monorepo / workspace
|
|
103
|
+
- whether lint and typecheck live at the root, package level, or both
|
|
92
104
|
- is there a `lint` script?
|
|
105
|
+
- is there a `typecheck` script or equivalent check command?
|
|
93
106
|
- is ESLint config present?
|
|
107
|
+
- is `tsconfig.json` or some `tsconfig.*.json` variant present?
|
|
94
108
|
- is the project using framework wrappers such as `next lint`?
|
|
95
|
-
-
|
|
109
|
+
- are the terminal commands actually runnable in the correct scope?
|
|
110
|
+
|
|
111
|
+
These checks exist to choose the correct runtime, package manager, command, and project scope for the same two missions: lint and typecheck.
|
|
112
|
+
They are not separate correction tracks by themselves.
|
|
113
|
+
If a scenario check does not materially affect lint or typecheck execution, coverage, or trustworthiness, do not turn it into noise for the user.
|
|
114
|
+
|
|
115
|
+
If this is a monorepo or workspace, do not assume the root command is the correct command.
|
|
116
|
+
Find the right package/scope first.
|
|
96
117
|
|
|
97
|
-
### Step
|
|
118
|
+
### Step C — Check whether lint is honest
|
|
98
119
|
Do not trust the presence of a script alone.
|
|
120
|
+
Inspect for common bypasses.
|
|
121
|
+
This audit must prefer honest enforcement over preserving broad project-wide suppressions.
|
|
122
|
+
If the user activated this booster, the default assumption is that they want full visibility of warnings and errors.
|
|
123
|
+
|
|
99
124
|
Inspect for common bypasses:
|
|
100
125
|
|
|
101
126
|
#### Framework-level bypasses
|
|
@@ -108,6 +133,8 @@ Look for settings such as:
|
|
|
108
133
|
- `eslint.ignoreDuringBuilds`
|
|
109
134
|
- other project-wide lint-relaxing switches
|
|
110
135
|
|
|
136
|
+
If these switches are clearly being used to suppress enforcement globally, remove or normalize them during pre-flight before the first audit report.
|
|
137
|
+
|
|
111
138
|
#### ESLint-level bypasses
|
|
112
139
|
Inspect:
|
|
113
140
|
- `eslint.config.*`
|
|
@@ -120,6 +147,9 @@ Look for:
|
|
|
120
147
|
- overrides that nullify important checks
|
|
121
148
|
- scope that is too narrow or too broad
|
|
122
149
|
|
|
150
|
+
If a global ESLint disable or broad override is clearly masking repository-wide results, remove or normalize it during pre-flight and rerun the audit before presenting Round 1 findings.
|
|
151
|
+
Do not leave clearly abusive global masking in place just because it was added by a previous developer.
|
|
152
|
+
|
|
123
153
|
#### Inline suppressions in code
|
|
124
154
|
Search for patterns such as:
|
|
125
155
|
- `eslint-disable`
|
|
@@ -134,7 +164,28 @@ Flag especially:
|
|
|
134
164
|
- suppressions around hook dependency rules
|
|
135
165
|
- suppressions with no explanation
|
|
136
166
|
|
|
137
|
-
### Step
|
|
167
|
+
### Step D — Check whether typecheck is honest and stable
|
|
168
|
+
Inspect:
|
|
169
|
+
- `tsconfig.json`
|
|
170
|
+
- `tsconfig.*.json`
|
|
171
|
+
- framework-generated type includes such as `.next/types/**/*.ts`
|
|
172
|
+
- project references, path aliases, and package-local TS configs when relevant
|
|
173
|
+
|
|
174
|
+
Look for:
|
|
175
|
+
- broken include paths
|
|
176
|
+
- stale framework-generated type references
|
|
177
|
+
- invalid project references
|
|
178
|
+
- path alias issues caused by config drift
|
|
179
|
+
- typecheck commands that depend on a runtime not aligned in the shell
|
|
180
|
+
- projects where `tsc --noEmit` at the root is wrong and `tsc -p <tsconfig>` is required instead
|
|
181
|
+
|
|
182
|
+
If the project does not use TypeScript, do not invent a typecheck failure.
|
|
183
|
+
Treat that as a no-typecheck scenario, not as a broken setup.
|
|
184
|
+
|
|
185
|
+
If typecheck failure is caused by setup/configuration, treat it as a fixable Setup Issue before moving on.
|
|
186
|
+
If typecheck is being globally masked or indirectly weakened by stale config, invalid references, or broad exclusions, normalize that setup first and rerun before presenting findings.
|
|
187
|
+
|
|
188
|
+
### Step E — Determine initial state
|
|
138
189
|
Classify the setup as one of:
|
|
139
190
|
- **Operational**
|
|
140
191
|
- **Operational but Masked**
|
|
@@ -144,7 +195,7 @@ Classify the setup as one of:
|
|
|
144
195
|
- **Missing**
|
|
145
196
|
|
|
146
197
|
## 6. NORMALIZATION RULES
|
|
147
|
-
Normalize
|
|
198
|
+
Normalize audit intentionally, not blindly.
|
|
148
199
|
|
|
149
200
|
### Core rules
|
|
150
201
|
1. Terminal is the source of truth.
|
|
@@ -155,39 +206,61 @@ Normalize lint intentionally, not blindly.
|
|
|
155
206
|
6. Do not install new dependencies unless truly required and approved.
|
|
156
207
|
7. Do not disable rules just to reduce noise.
|
|
157
208
|
8. Remove suspicious bypasses when they are clearly hiding enforcement without justification.
|
|
209
|
+
9. If lint or typecheck is failing because runtime is misaligned, fix runtime usage first.
|
|
210
|
+
10. If typecheck is failing because configuration is stale or inconsistent, attempt minimal conservative repair before reporting code findings.
|
|
158
211
|
|
|
159
212
|
### Valid normalization actions
|
|
160
213
|
These are allowed without extra confirmation when low-risk:
|
|
161
214
|
- fix `lint` script wiring
|
|
215
|
+
- fix `typecheck` script wiring
|
|
216
|
+
- select the correct package manager command for the project
|
|
217
|
+
- select the correct workspace/package scope for lint and typecheck
|
|
162
218
|
- switch from a misleading wrapper command to the real ESLint CLI
|
|
163
|
-
- narrow or widen scope intentionally
|
|
219
|
+
- narrow or widen lint scope intentionally
|
|
164
220
|
- adjust ignores for generated/build artifacts
|
|
221
|
+
- normalize `tsconfig` includes when they are clearly stale or broken
|
|
222
|
+
- choose the correct `tsconfig` target when the root one is not the real app config
|
|
165
223
|
- remove obviously abusive global bypass flags
|
|
224
|
+
- remove clearly unjustified global rule disables or broad masking overrides
|
|
166
225
|
- remove clearly unjustified inline disables when the safe fix is straightforward
|
|
167
226
|
|
|
227
|
+
Only apply the normalization that is necessary to make lint and typecheck truthful in the real project scope.
|
|
228
|
+
Do not treat the presence of monorepo/workspace/package-manager/tsconfig variants as problems by default.
|
|
229
|
+
|
|
168
230
|
### Pause and ask only when needed
|
|
169
231
|
Ask before:
|
|
170
232
|
- installing packages
|
|
171
|
-
- redesigning shared lint architecture
|
|
233
|
+
- redesigning shared lint/type architecture
|
|
172
234
|
- changing team-wide rules in a controversial way
|
|
173
235
|
- applying deep code fixes from Lot 2
|
|
174
236
|
|
|
175
237
|
## 7. EXECUTION FLOW
|
|
176
238
|
Follow this order:
|
|
177
239
|
|
|
178
|
-
### Phase 1 — Make
|
|
179
|
-
If lint is missing, broken, masked, or
|
|
240
|
+
### Phase 1 — Make audit runnable
|
|
241
|
+
If lint or typecheck is missing, broken, masked, noisy, or scoped incorrectly:
|
|
180
242
|
- repair the minimal setup
|
|
181
243
|
- remove or neutralize obvious bypasses
|
|
182
|
-
-
|
|
244
|
+
- remove clearly abusive global masking before Round 1
|
|
245
|
+
- choose the correct package manager and scope
|
|
246
|
+
- rerun until the terminal commands are trustworthy
|
|
247
|
+
|
|
248
|
+
The goal here is not to "fix monorepo" or "fix package manager" as separate workstreams.
|
|
249
|
+
The goal is to use those signals to reach the correct lint and typecheck execution path.
|
|
250
|
+
If one of these scenario signals exists but does not block or weaken the audit, simply continue.
|
|
251
|
+
|
|
252
|
+
### Phase 2 — Run the first real audit round
|
|
253
|
+
Once operational, run:
|
|
254
|
+
- the official lint command
|
|
255
|
+
- the official typecheck command, when TypeScript is present
|
|
183
256
|
|
|
184
|
-
### Phase 2 — Run the first real lint round
|
|
185
|
-
Once operational, run the official terminal lint command for the project.
|
|
186
257
|
This first round must stay fast and pragmatic.
|
|
187
258
|
|
|
188
259
|
### Phase 3 — Classify Round 1 findings
|
|
189
260
|
Always split results into:
|
|
190
|
-
- **Setup Issues** → config, scope, parser, wrapper mismatch, bypasses, broken scripts
|
|
261
|
+
- **Setup Issues** → config, scope, parser, wrapper mismatch, bypasses, broken scripts, stale tsconfig entries, runtime misalignment, wrong package manager, wrong workspace/package target
|
|
262
|
+
- **Lint Findings** → lint-only findings
|
|
263
|
+
- **Typecheck Findings** → type-only findings
|
|
191
264
|
- **Lot 1 — Safe Fixes** → low-risk, behavior-preserving fixes
|
|
192
265
|
- **Lot 2 — Needs Deeper Analysis** → not safe to change based only on the first pass
|
|
193
266
|
|
|
@@ -201,7 +274,7 @@ The expected intent is:
|
|
|
201
274
|
### Phase 5 — Apply Lot 1
|
|
202
275
|
If the user approves:
|
|
203
276
|
- fix Lot 1
|
|
204
|
-
- rerun lint
|
|
277
|
+
- rerun lint and typecheck
|
|
205
278
|
- update the artifact
|
|
206
279
|
- report what was resolved and what remains in Lot 2
|
|
207
280
|
|
|
@@ -235,8 +308,9 @@ Typical examples:
|
|
|
235
308
|
- import ordering
|
|
236
309
|
- mechanical low-risk fixes from ESLint autofix
|
|
237
310
|
- small suppression removals where the code remains correct without behavioral risk
|
|
311
|
+
- conservative tsconfig cleanup when the issue is obviously stale/generated-path drift
|
|
238
312
|
|
|
239
|
-
Apply these when genuinely safe, then rerun
|
|
313
|
+
Apply these when genuinely safe, then rerun audit.
|
|
240
314
|
|
|
241
315
|
### Lot 2 — Needs Deeper Analysis
|
|
242
316
|
Typical examples:
|
|
@@ -251,31 +325,42 @@ Do NOT force these blindly in Round 1.
|
|
|
251
325
|
They must first be treated as uncertain items.
|
|
252
326
|
Only after a deeper file-level review may you decide whether some of them became safe enough to fix.
|
|
253
327
|
|
|
254
|
-
## 9. SPECIAL
|
|
328
|
+
## 9. SPECIAL CASES
|
|
255
329
|
When relevant, explain that:
|
|
256
|
-
- new errors may reflect increased coverage, not newly introduced bugs
|
|
330
|
+
- new lint errors may reflect increased coverage, not newly introduced bugs
|
|
257
331
|
- `next lint` may inspect a narrower slice of the repository
|
|
258
332
|
- `eslint .` may become noisy if scope and ignores were never normalized
|
|
259
333
|
- the right solution is explicit scope and honest enforcement, not hidden bypasses
|
|
334
|
+
- typecheck failures caused by stale framework-generated paths are setup issues first, not necessarily code defects
|
|
335
|
+
- monorepo and workspace projects may require package-local audit commands rather than root-level commands
|
|
336
|
+
- the correct package manager and the correct tsconfig target matter as much as the code itself
|
|
260
337
|
|
|
261
338
|
## 10. OUTPUT STRUCTURE (MANDATORY)
|
|
262
339
|
Your response must use this structure:
|
|
263
340
|
|
|
264
341
|
```md
|
|
265
|
-
## 🧽
|
|
342
|
+
## 🧽 Audit Report: [scope]
|
|
266
343
|
|
|
267
344
|
### 1. Pre-Flight Status
|
|
268
345
|
- Project context source: `PROJECT.md`
|
|
269
346
|
- Initial state: [Operational / Operational but Masked / Limited Coverage / Excessive / Noisy Coverage / Broken / Missing]
|
|
270
|
-
- Official
|
|
347
|
+
- Official lint command: [...]
|
|
348
|
+
- Official typecheck command: [...]
|
|
349
|
+
- Package manager / scope used: [...]
|
|
271
350
|
- Bypass signals found: [...]
|
|
351
|
+
- Runtime alignment: [...]
|
|
352
|
+
- Global masking normalized before Round 1: [yes/no + summary]
|
|
272
353
|
|
|
273
354
|
### 2. Setup Actions
|
|
274
|
-
- [What was changed to make
|
|
355
|
+
- [What was changed to make audit trustworthy]
|
|
275
356
|
- [Which bypasses were removed, preserved, or left for review]
|
|
357
|
+
- [Which runtime or tsconfig issues were corrected]
|
|
358
|
+
- [Only mention scenario checks such as monorepo/workspace/package-manager variance when they materially affected the audit path]
|
|
276
359
|
|
|
277
|
-
### 3.
|
|
360
|
+
### 3. Audit Results
|
|
278
361
|
- Setup Issues: [...]
|
|
362
|
+
- Lint Findings: [...]
|
|
363
|
+
- Typecheck Findings: [...]
|
|
279
364
|
- Lot 1 — Safe Fixes: [...]
|
|
280
365
|
- Lot 2 — Needs Deeper Analysis: [...]
|
|
281
366
|
|
|
@@ -287,17 +372,19 @@ Your response must use this structure:
|
|
|
287
372
|
|
|
288
373
|
## 11. SAFETY BOUNDARIES
|
|
289
374
|
- Do not overwrite unrelated project conventions.
|
|
290
|
-
- Do not claim lint is healthy unless terminal execution was actually verified.
|
|
291
|
-
- Do not silently preserve abusive bypasses just because
|
|
375
|
+
- Do not claim lint or typecheck is healthy unless terminal execution was actually verified in the correct runtime, package manager, and project scope.
|
|
376
|
+
- Do not silently preserve abusive bypasses just because a command happens to pass.
|
|
377
|
+
- Do not present Round 1 findings on top of clearly abusive global masking that should have been removed first.
|
|
292
378
|
- Do not auto-fix Lot 2 without strong local justification.
|
|
293
379
|
- Do not turn this booster into a whole-project refactor.
|
|
380
|
+
- Do not invent auxiliary work just because a scenario pattern exists; stay focused on lint and typecheck.
|
|
294
381
|
|
|
295
382
|
## ARTIFACT GENERATION
|
|
296
|
-
During your execution, create a state file at `@booster-generated/
|
|
383
|
+
During your execution, create a state file at `@booster-generated/audit/<slug>.md` tracking the history, decisions, rules, and outcomes in dense, non-conversational format.
|
|
297
384
|
|
|
298
|
-
- **Uniqueness rule:** If the slug already exists in `@booster-generated/
|
|
299
|
-
- **Notification rule:** After writing, notify the user with: 📝 Registo em `@booster-generated/
|
|
385
|
+
- **Uniqueness rule:** If the slug already exists in `@booster-generated/audit/`, generate a new variation of the name instead of overwriting
|
|
386
|
+
- **Notification rule:** After writing, notify the user with: 📝 Registo em `@booster-generated/audit/<slug>.md`
|
|
300
387
|
|
|
301
388
|
Do NOT update this file silently in the background.
|
|
302
389
|
|
|
303
|
-
**Reply:** On activation, immediately enter pre-flight mode, use `PROJECT.md` as the primary source of truth, make lint operational in the terminal, detect bypasses, normalize only what is necessary, run a fast Round 1, classify findings into Setup Issues / Lot 1 / Lot 2, and answer in the active conversation language. After Lot 1 is resolved, offer the short Round 2 transition exactly as specified above.
|
|
390
|
+
**Reply:** On activation, immediately enter pre-flight mode, use `PROJECT.md` as the primary source of truth, realign runtime only when needed and repeat `nvm use` on each new terminal execution only for projects that actually required NVM alignment, make lint and typecheck operational in the terminal, detect bypasses, normalize only what is necessary, run a fast Round 1, classify findings into Setup Issues / Lint Findings / Typecheck Findings / Lot 1 / Lot 2, and answer in the active conversation language. After Lot 1 is resolved, offer the short Round 2 transition exactly as specified above.
|
|
@@ -62,7 +62,7 @@ It has been formatted as a code block to facilitate direct reading in the IDE.
|
|
|
62
62
|
and coordinates execution.
|
|
63
63
|
• changelog.md -> History Generator. Creates structured release notes and organizes
|
|
64
64
|
the change history.
|
|
65
|
-
•
|
|
65
|
+
• audit.md -> Audit. Makes terminal lint and typecheck operational, checks bypasses,
|
|
66
66
|
diagnoses coverage/setup issues, and separates safe fixes from deep review.
|
|
67
67
|
|
|
68
68
|
---
|
|
@@ -43,7 +43,7 @@ These triggers instantly activate specific booster behavior contracts without re
|
|
|
43
43
|
- **`@Changelog`** ➔ Activates `.devbooster/boosters/changelog.md` (Release notes generator).
|
|
44
44
|
- **`@Debug`** ➔ Activates `.devbooster/boosters/debug.md` (Systematic RCA / hypothesis engine).
|
|
45
45
|
- **`@Deploy`** ➔ Activates `.devbooster/boosters/deploy.md` (Pre-flight release validation).
|
|
46
|
-
- **`@
|
|
46
|
+
- **`@Audit`** ➔ Activates `.devbooster/boosters/audit.md` (Active lint/typecheck audit, normalization, and classification).
|
|
47
47
|
- **`@Discovery`** ➔ Activates `.devbooster/boosters/discovery.md` (Product/ideas brainstorm).
|
|
48
48
|
- **`@Investigation`** ➔ Activates `.devbooster/boosters/investigation.md` (No-code repo structure mapping).
|
|
49
49
|
- **`@Doc`** ➔ Activates `.devbooster/boosters/global-documentation.md` (Universal spec generation).
|