claude-code-autoconfig 1.0.120 → 1.0.121
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.
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<!-- @title Feedback to Discoveries Migration -->
|
|
2
|
+
<!-- @type migration -->
|
|
3
|
+
<!-- @description One-time migration of existing FEEDBACK.md content to CLAUDE.md Discoveries section -->
|
|
4
|
+
<!-- @files CLAUDE.md, .claude/feedback/FEEDBACK.md -->
|
|
5
|
+
|
|
6
|
+
# Migrate Existing Feedback to Discoveries
|
|
7
|
+
|
|
8
|
+
This is a one-time cleanup. The program has been updated to optimize CLAUDE.md and FEEDBACK.md:
|
|
9
|
+
- CLAUDE.md now has a `## Discoveries` section below the auto-generated markers where Claude appends learnings
|
|
10
|
+
- FEEDBACK.md has been tightened for human-authored corrections only
|
|
11
|
+
|
|
12
|
+
## Step 1: Read existing FEEDBACK.md
|
|
13
|
+
|
|
14
|
+
Read `.claude/feedback/FEEDBACK.md`. Extract all content below the header section (everything after the `---` that follows the intro text).
|
|
15
|
+
|
|
16
|
+
If the file only contains the default template with no custom entries, skip to Step 4 and output:
|
|
17
|
+
|
|
18
|
+
> No custom content found in FEEDBACK.md. Nothing to migrate.
|
|
19
|
+
|
|
20
|
+
## Step 2: Ensure Discoveries section exists in CLAUDE.md
|
|
21
|
+
|
|
22
|
+
Read `CLAUDE.md`. Look for `## Discoveries` below the end marker (`<!-- END AUTO-GENERATED`).
|
|
23
|
+
|
|
24
|
+
If it doesn't exist, append it below the end marker:
|
|
25
|
+
|
|
26
|
+
```markdown
|
|
27
|
+
|
|
28
|
+
## Discoveries
|
|
29
|
+
<!-- Claude: append project-specific learnings, gotchas, and context below. This section persists across /autoconfig runs. -->
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Step 3: Migrate content
|
|
34
|
+
|
|
35
|
+
Move all custom entries from FEEDBACK.md into the `## Discoveries` section in CLAUDE.md. Preserve the original formatting and section headers.
|
|
36
|
+
|
|
37
|
+
Then reset FEEDBACK.md to the clean template:
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
<!-- @description Human-authored corrections and guidance for Claude. Reserved for team feedback only — Claude must not write here. This directory persists across /autoconfig runs. -->
|
|
41
|
+
|
|
42
|
+
# Team Feedback
|
|
43
|
+
|
|
44
|
+
**This file is for human-authored corrections and guidance only.**
|
|
45
|
+
Claude reads this file but must never write to it. When Claude discovers project context, gotchas, or learnings, it should append to the `## Discoveries` section in CLAUDE.md instead.
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Step 4: Report
|
|
52
|
+
|
|
53
|
+
Tell the user:
|
|
54
|
+
|
|
55
|
+
> Migrated {N} sections from FEEDBACK.md to CLAUDE.md Discoveries.
|
|
56
|
+
> FEEDBACK.md has been reset for human feedback only.
|
|
57
|
+
> If any migrated entries were actually team corrections, you can move them back to FEEDBACK.md.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-code-autoconfig",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.121",
|
|
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",
|