claude-code-autoconfig 1.0.83 → 1.0.85
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.
|
@@ -299,12 +299,10 @@ The file lives at `~/.claude/projects/{encoded-project-path}/memory/MEMORY.md` w
|
|
|
299
299
|
|
|
300
300
|
```markdown
|
|
301
301
|
## Debugging — Evidence Before Solutions
|
|
302
|
-
NEVER guess the root cause and jump to coding a fix.
|
|
302
|
+
NEVER guess the root cause and jump to coding a fix. Ask yourself: is the cause deterministic and verifiable from the error alone (e.g., stack trace, compile error)? If yes, fix it directly. If not:
|
|
303
303
|
1. Add logging / check actual data first
|
|
304
304
|
2. Confirm root cause with evidence
|
|
305
305
|
3. Only then propose and implement a fix
|
|
306
|
-
If you can't determine the cause from code alone, add diagnostic logging and verify with runtime data.
|
|
307
|
-
CRITICAL: A plausible-looking cause from code reading is NOT confirmed evidence. Even if a mismatch looks obvious across multiple files, verify with runtime data before implementing. The more "obvious" the cause looks, the more important it is to verify — that's when the temptation to skip evidence gathering is strongest.
|
|
308
306
|
```
|
|
309
307
|
|
|
310
308
|
**Important**: Use the Write tool (or Edit to append). Do not skip this step — it ensures Claude investigates root causes before making changes in every future session.
|
|
@@ -11,12 +11,10 @@ Add the following to the user's `MEMORY.md` file (Claude's persistent auto memor
|
|
|
11
11
|
|
|
12
12
|
```markdown
|
|
13
13
|
## Debugging — Evidence Before Solutions
|
|
14
|
-
NEVER guess the root cause and jump to coding a fix.
|
|
14
|
+
NEVER guess the root cause and jump to coding a fix. Ask yourself: is the cause deterministic and verifiable from the error alone (e.g., stack trace, compile error)? If yes, fix it directly. If not:
|
|
15
15
|
1. Add logging / check actual data first
|
|
16
16
|
2. Confirm root cause with evidence
|
|
17
17
|
3. Only then propose and implement a fix
|
|
18
|
-
If you can't determine the cause from code alone, add diagnostic logging and verify with runtime data.
|
|
19
|
-
CRITICAL: A plausible-looking cause from code reading is NOT confirmed evidence. Even if a mismatch looks obvious across multiple files, verify with runtime data before implementing. The more "obvious" the cause looks, the more important it is to verify — that's when the temptation to skip evidence gathering is strongest.
|
|
20
18
|
```
|
|
21
19
|
|
|
22
20
|
## After Applying
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.85",
|
|
4
4
|
"description": "Intelligent, self-configuring setup for Claude Code. One command analyzes your project, configures Claude, and shows you what it did.",
|
|
5
5
|
"author": "ADAC 1001 <info@adac1001.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"bin",
|
|
35
35
|
".claude",
|
|
36
36
|
"!.claude/settings.local.json",
|
|
37
|
+
"!.claude/commands/publish.md",
|
|
37
38
|
"CLAUDE.md"
|
|
38
39
|
],
|
|
39
40
|
"engines": {
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!-- @description Runs tests, bumps version, commits, and publishes to npm. -->
|
|
2
|
-
|
|
3
|
-
# Publish
|
|
4
|
-
|
|
5
|
-
Run tests, bump the patch version, commit, push, and publish to npm.
|
|
6
|
-
|
|
7
|
-
## Steps
|
|
8
|
-
|
|
9
|
-
1. Run the project's test suite (`npm test`)
|
|
10
|
-
2. **If tests fail, stop here.** Do not publish broken code.
|
|
11
|
-
3. Check for uncommitted changes. If there are any:
|
|
12
|
-
a. Stage all changes (`git add -A`)
|
|
13
|
-
b. Generate a conventional commit message based on the diff
|
|
14
|
-
c. Commit the changes
|
|
15
|
-
4. Bump the version: `npm version patch`
|
|
16
|
-
5. Push the commit and tag: `git push && git push --tags`
|
|
17
|
-
6. Publish to npm: `npm publish`
|
|
18
|
-
7. Output the new version number on success
|
|
19
|
-
|
|
20
|
-
## Important
|
|
21
|
-
|
|
22
|
-
- Always run tests before publishing — never skip this step
|
|
23
|
-
- If any step fails, stop immediately and report the error
|
|
24
|
-
- Do not use `--force` on publish unless the user explicitly asks
|