@vyuhlabs/dxkit 1.0.0 → 1.0.1
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/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EVOLVING_FILES = exports.DEFAULT_COVERAGE = exports.DEFAULT_VERSIONS = exports.VERSION = void 0;
|
|
4
4
|
exports.buildVariables = buildVariables;
|
|
5
5
|
exports.buildConditions = buildConditions;
|
|
6
|
-
exports.VERSION = '1.0.
|
|
6
|
+
exports.VERSION = '1.0.1';
|
|
7
7
|
exports.DEFAULT_VERSIONS = {
|
|
8
8
|
python: '3.12',
|
|
9
9
|
go: '1.24.0',
|
package/package.json
CHANGED
|
@@ -33,14 +33,19 @@ For each task in the plan:
|
|
|
33
33
|
|
|
34
34
|
1. **Announce**: "Working on Task N: [title]"
|
|
35
35
|
2. **Plan**: Explain what you'll do and why (reference the plan's reasoning)
|
|
36
|
-
3. **
|
|
36
|
+
3. **Pattern sweep (IMPORTANT)**: Before editing, grep for all similar occurrences of the pattern across the codebase. The plan may reference one specific file:line, but reports can miss duplicates. If you find additional matches that fit the same security/quality category:
|
|
37
|
+
- List them to the user and ask whether to fix all or only the listed ones
|
|
38
|
+
- Default to fixing ALL matches of the same class (e.g., all `console.log(secret)` patterns, not just the one line)
|
|
39
|
+
- Record the additional finds in the progress file so they're tracked
|
|
40
|
+
4. **Execute**: Make the changes
|
|
37
41
|
- Follow conventions from `.claude/rules/` and `.claude/skills/learned/`
|
|
38
42
|
- Run quality checks after changes (`/quality` approach — same linters)
|
|
39
43
|
- Run tests if applicable (`/test` approach — same test runner)
|
|
40
|
-
|
|
44
|
+
5. **Verify**: Confirm the task is complete
|
|
41
45
|
- Run the plan's verification command if specified
|
|
42
46
|
- Check that no new lint errors were introduced
|
|
43
|
-
|
|
47
|
+
- Re-run the pattern sweep to confirm no duplicates remain
|
|
48
|
+
6. **Update progress**: Append to `.ai/plans/progress/<plan-name>.md`, noting any additional fixes beyond the plan scope
|
|
44
49
|
|
|
45
50
|
### Step 5: Checkpoint
|
|
46
51
|
|
|
@@ -137,4 +137,5 @@ Use `/execute-plan <plan-name>` to start working through a plan with session man
|
|
|
137
137
|
- **Prioritized** — security > correctness > quality > docs > DX
|
|
138
138
|
- **Realistic** — tasks should be completable in 1-3 sessions each
|
|
139
139
|
- **Specific** — name exact files, exact commands, exact patterns to fix
|
|
140
|
+
- **Pattern-based, not line-based** — when a finding represents a class of issues (e.g., `console.log(secret)`, `eval(userInput)`), specify tasks as **patterns to sweep** not just one line. Include the grep pattern so the executor can find all occurrences. Example: "Remove all `console.log(.*secret|.*token|.*password)` across `src/` — 2 known instances at file:line plus any others"
|
|
140
141
|
- Save plans to `.ai/plans/`
|