fixmind 1.0.2 → 1.0.3

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
@@ -1,87 +1,87 @@
1
- # Fixmind
2
-
3
- > **Bug fixed. You learned nothing.** <br />
4
- > Your agent patches the code, you accept the diff, and the lesson evaporates. Fixmind catches it on the way out — a local MCP server that turns every AI-assisted fix into a lesson you actually remember.
5
-
6
- Fixmind is a local-first CLI and MCP server that records short learning lessons after meaningful coding fixes. It stores everything securely on your machine, integrating natively with your AI agents via the Model Context Protocol (MCP).
7
-
8
- ## Features
9
-
10
- - **Local by Default:** Lessons live in `~/.fixmind/learning.db`. No account needed, no external APIs.
11
- - **Speaks MCP:** Works seamlessly with Claude Code, Cursor, and Codex.
12
- - **Spaced Recall:** New lessons resurface on a schedule (1, 3, 7 days) with a real question to test your understanding before showing the answer.
13
- - **Real Diffs:** Captures the actual bad and good code from your git diff, not just a vague summary.
14
-
15
- ---
16
-
17
- ## Quickstart
18
-
19
- **Requirements:** Node.js 22.5+
20
-
21
- ```sh
22
- npm install -g fixmind
23
- fixmind setup
24
- ```
25
-
26
- `fixmind setup` initializes local storage and automatically configures detected installations of Cursor, Claude Code, and Codex. _Restart your AI clients after running setup._
27
-
28
- ## How It Works
29
-
30
- 1. **Fix bugs like normal:** Hand a bug to your agent. It patches it.
31
- 2. **Agent saves the lesson:** If the fix involved actual learning (not just formatting/renaming), the agent automatically calls the MCP tool to log the problem, root cause, and the bad/good code.
32
- 3. **Stored locally:** The lesson lands safely in your local SQLite database.
33
- 4. **Browse & Review:** Fixmind quizzes you on the lesson in 1, 3, and 7 days so you actually retain the knowledge.
34
-
35
- ## The Quality Gate
36
-
37
- The MCP server doesn't just blindly accept data; it acts as a strict teacher for your AI agent. Before any lesson is stored, Fixmind runs it through a local validation gate:
38
-
39
- - **No Garbage:** If the agent tries to save a formatting change, a pure refactor, or a UI tweak without a behavioral break, the server **rejects the save outright** and forces the agent to skip it.
40
- - **Enforcing the "Why":** If the agent repeats the symptom as the root cause, the server throws an error and demands a deeper explanation.
41
- - **Transfer, Not Recall:** The server instructs the agent to write _transfer questions_ (e.g., "How would this apply to a different framework?") instead of basic recall questions (e.g., "What line did you change?").
42
- - **Superseding Mistakes:** If an agent saves a lesson for a fix that turns out to be wrong, it can link the corrected lesson to the old one to supersede it, keeping your library clean.
43
-
44
- ## CLI Usage
45
-
46
- Manage your learning library straight from the terminal.
47
-
48
- ```sh
49
- # Setup & MCP
50
- fixmind setup # Configure detected AI clients
51
- fixmind setup --scope project # Scope MCP to the current directory
52
- fixmind mcp # Start the MCP server manually (agents do this automatically)
53
-
54
- # Browse Lessons
55
- fixmind list # View recent lessons
56
- fixmind list --limit 5 # Show the last 5 lessons
57
- fixmind search "hydration" # Find lessons by keyword or concept
58
- fixmind stats # View recurring mistake patterns
59
-
60
- # Review & Learn
61
- fixmind review # Answer recall questions for due lessons
62
- ```
63
-
64
- ## Local Dashboard
65
-
66
- Prefer a GUI? Fixmind comes with a beautiful, local-only web dashboard to view your progress, review lessons, and browse your knowledge base.
67
-
68
- ```sh
69
- fixmind dashboard
70
- ```
71
-
72
- _Runs locally on `127.0.0.1`. Use `--port 8080` to specify a port or `--no-open` to prevent auto-opening the browser._
73
-
74
- ## Sync (Pro)
75
-
76
- Fixmind is fiercely local-first. But if you want your lessons available across multiple machines, you can opt-in to end-to-end encrypted sync. The server only ever sees ciphertext.
77
-
78
- ```sh
79
- fixmind login
80
- fixmind sync push
81
- fixmind sync pull
82
- ```
83
-
84
- ---
85
-
86
- **License:** MIT
87
- **Privacy:** No telemetry. Your data stays on your machine.
1
+ # Fixmind
2
+
3
+ > **Bug fixed. You learned nothing.** <br />
4
+ > Your agent patches the code, you accept the diff, and the lesson evaporates. Fixmind catches it on the way out — a local MCP server that turns every AI-assisted fix into a lesson you actually remember.
5
+
6
+ Fixmind is a local-first CLI and MCP server that records short learning lessons after meaningful coding fixes. It stores everything securely on your machine, integrating natively with your AI agents via the Model Context Protocol (MCP).
7
+
8
+ ## Features
9
+
10
+ - **Local by Default:** Lessons live in `~/.fixmind/learning.db`. No account needed, no external APIs.
11
+ - **Speaks MCP:** Works seamlessly with Claude Code, Cursor, and Codex.
12
+ - **Spaced Recall:** New lessons resurface on a schedule (1, 3, 7 days) with a real question to test your understanding before showing the answer.
13
+ - **Real Diffs:** Captures the actual bad and good code from your git diff, not just a vague summary.
14
+
15
+ ---
16
+
17
+ ## Quickstart
18
+
19
+ **Requirements:** Node.js 22.5+
20
+
21
+ ```sh
22
+ npm install -g fixmind
23
+ fixmind setup
24
+ ```
25
+
26
+ `fixmind setup` initializes local storage and automatically configures detected installations of Cursor, Claude Code, and Codex. _Restart your AI clients after running setup._
27
+
28
+ ## How It Works
29
+
30
+ 1. **Fix bugs like normal:** Hand a bug to your agent. It patches it.
31
+ 2. **Agent saves the lesson:** If the fix involved actual learning (not just formatting/renaming), the agent automatically calls the MCP tool to log the problem, root cause, and the bad/good code.
32
+ 3. **Stored locally:** The lesson lands safely in your local SQLite database.
33
+ 4. **Browse & Review:** Fixmind quizzes you on the lesson in 1, 3, and 7 days so you actually retain the knowledge.
34
+
35
+ ## The Quality Gate
36
+
37
+ The MCP server doesn't just blindly accept data; it acts as a strict teacher for your AI agent. Before any lesson is stored, Fixmind runs it through a local validation gate:
38
+
39
+ - **No Garbage:** If the agent tries to save a formatting change, a pure refactor, or a UI tweak without a behavioral break, the server **rejects the save outright** and forces the agent to skip it.
40
+ - **Enforcing the "Why":** If the agent repeats the symptom as the root cause, the server throws an error and demands a deeper explanation.
41
+ - **Transfer, Not Recall:** The server instructs the agent to write _transfer questions_ (e.g., "How would this apply to a different framework?") instead of basic recall questions (e.g., "What line did you change?").
42
+ - **Superseding Mistakes:** If an agent saves a lesson for a fix that turns out to be wrong, it can link the corrected lesson to the old one to supersede it, keeping your library clean.
43
+
44
+ ## CLI Usage
45
+
46
+ Manage your learning library straight from the terminal.
47
+
48
+ ```sh
49
+ # Setup & MCP
50
+ fixmind setup # Configure detected AI clients
51
+ fixmind setup --scope project # Scope MCP to the current directory
52
+ fixmind mcp # Start the MCP server manually (agents do this automatically)
53
+
54
+ # Browse Lessons
55
+ fixmind list # View recent lessons
56
+ fixmind list --limit 5 # Show the last 5 lessons
57
+ fixmind search "hydration" # Find lessons by keyword or concept
58
+ fixmind stats # View recurring mistake patterns
59
+
60
+ # Review & Learn
61
+ fixmind review # Answer recall questions for due lessons
62
+ ```
63
+
64
+ ## Local Dashboard
65
+
66
+ Prefer a GUI? Fixmind comes with a beautiful, local-only web dashboard to view your progress, review lessons, and browse your knowledge base.
67
+
68
+ ```sh
69
+ fixmind dashboard
70
+ ```
71
+
72
+ _Runs locally on `127.0.0.1`. Use `--port 8080` to specify a port or `--no-open` to prevent auto-opening the browser._
73
+
74
+ ## Sync (Pro)
75
+
76
+ Fixmind is fiercely local-first. But if you want your lessons available across multiple machines, you can opt-in to end-to-end encrypted sync. The server only ever sees ciphertext.
77
+
78
+ ```sh
79
+ fixmind login
80
+ fixmind sync push
81
+ fixmind sync pull
82
+ ```
83
+
84
+ ---
85
+
86
+ **License:** MIT
87
+ **Privacy:** No telemetry. Your data stays on your machine.