@triedotdev/mcp 1.0.81 → 1.0.83

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
@@ -16,9 +16,11 @@
16
16
 
17
17
  Trie exists so you can maintain multiple codebases as one person without losing your mind.
18
18
 
19
- Every bug you fix teaches Trie a pattern that protects all your projects. Every incident you report becomes institutional knowledge that travels with your code.
19
+ Every bug you fix teaches Trie a pattern that protects all your projects. Every incident you report becomes institutional knowledge that travels with your code. Every decision you make—and the tradeoffs you considered—gets remembered across Cursor, Claude Code, CLI, and CI/CD.
20
20
 
21
- Instead of burning tokens on the same questions across different repos or forgetting why you architected something a certain way six months ago, Trie remembers for you. The result is faster development with fewer production fires, because your personal AI agent gets smarter every time something breaks instead of starting from zero in every conversation.
21
+ Instead of burning tokens on the same questions across different repos or forgetting why you architected something a certain way six months ago, Trie remembers for you. Instead of losing track of edge cases and tradeoffs as you switch between tools, Trie maintains system coherence. The result is faster development with fewer production fires, because your personal AI agent gets smarter every time something breaks instead of starting from zero in every conversation.
22
+
23
+ **Your thinking and planning keep up with code generation. Your decisions persist across tools. Your edge cases don't get forgotten.**
22
24
 
23
25
  ## Quick Start
24
26
 
@@ -65,7 +67,11 @@ trie bad # Pattern is bad
65
67
 
66
68
  Building apps with AI tools like Cursor and Claude Code is incredibly fast - but maintaining them alone is a nightmare. You fix a bug and forget why it happened. The same issues keep coming back. Your codebase grows faster than your memory of it.
67
69
 
68
- Trie solves this by being your persistent memory. It keeps a ledger so it remembers what broke before, learns patterns across your projects, and warns you before you ship risky code. Tools like Cursor Bugbot are great, but just flagging issues isn't going to help you avoid similar patterns in the future. With Trie, you'll find quickly that you end up architecting apps and prompting better.
70
+ **The real challenge isn't generating code—it's maintaining it.** Real software has countless edge cases. Every architectural decision involves tradeoffs. As you switch between Cursor, Claude Code, terminal, and CI/CD, context gets lost. You make a decision in one tool, forget it in another, and repeat the same mistakes.
71
+
72
+ You shipped an MVP. You've got traction. Maybe even paying customers. Now you're in the maintenance phase—where the hard work happens. Where you handle edge cases, make tradeoffs, and keep the system coherent as it grows. Where you need your thinking and planning to keep pace with rapid code generation.
73
+
74
+ Trie remembers your decisions across tools, tracks the tradeoffs you've made, and maintains system coherence as your codebase evolves. It solves this by being your persistent memory. It keeps a ledger so it remembers what broke before, learns patterns across your projects, and warns you before you ship risky code. Tools like Cursor Bugbot are great, but just flagging issues isn't going to help you avoid similar patterns in the future. With Trie, you'll find quickly that you end up architecting apps and prompting better.
69
75
 
70
76
  ## Key Features
71
77
 
@@ -73,11 +79,15 @@ Trie solves this by being your persistent memory. It keeps a ledger so it rememb
73
79
  - **Git-based storage** - Your project's memory travels with your code in `.trie/` folder
74
80
  - **Cross-project learning** - Patterns discovered in one project help prevent bugs in others
75
81
  - **Incident tracking** - Build a searchable history of what went wrong and why
82
+ - **Decision memory** - Remembers architectural choices and tradeoffs across Cursor, Claude Code, CLI, and CI/CD
83
+ - **Context that travels** - Your thinking and planning keep up with code generation across all your tools
76
84
 
77
85
  ### Intelligent Analysis
78
86
  - **26 built-in scouts** - Automated analyzers for security, performance, accessibility, and more
79
87
  - **Custom skills** - Add external analyzers from the community
80
88
  - **Risk scoring** - Intelligent priority ranking based on your actual incident history
89
+ - **Edge case detection** - Identifies recurring issues and patterns you've hit before
90
+ - **System coherence** - Tracks relationships between files, changes, incidents, fixes, and decisions
81
91
 
82
92
  ### Development Integration
83
93
  - **Git hooks** - Automatic checks before commits and pushes
@@ -108,6 +118,7 @@ your-project/
108
118
  │ ├── memory/ # Incident history
109
119
  │ ├── patterns/ # Learned patterns
110
120
  │ ├── context.json # Project knowledge graph
121
+ │ ├── context.db # SQLite graph (decisions, relationships)
111
122
  │ └── config.json # Settings
112
123
  ├── src/
113
124
  └── .git/
@@ -119,6 +130,17 @@ The `.trie/` folder commits with your code, so your project's intelligence is pr
119
130
  - Team members
120
131
  - Different machines
121
132
 
133
+ ### Decision Memory Across Tools
134
+
135
+ Trie maintains a **Context Graph** that tracks decisions, tradeoffs, and architectural choices:
136
+
137
+ - **Decision nodes** store why you made certain choices and what tradeoffs were considered
138
+ - **Cross-tool access** - Cursor, Claude Code, CLI, and CI/CD all read from the same `.trie/` folder
139
+ - **Context trail** - Knows which environment ran which analysis and when
140
+ - **Relationship tracking** - Files ↔ Changes ↔ Incidents ↔ Fixes ↔ Decisions
141
+
142
+ When you switch from Cursor to Claude Code to terminal, Trie remembers. Your thinking and planning keep up with code generation because every tool shares the same memory.
143
+
122
144
  ## Core Workflow
123
145
 
124
146
  ### 1. Teaching Phase
@@ -127,6 +149,7 @@ The `.trie/` folder commits with your code, so your project's intelligence is pr
127
149
  trie tell "Payment processing failed for EU customers"
128
150
 
129
151
  # Trie learns: "payments/" + "EU" + "failed" = high risk pattern
152
+ # Also records: decision context, affected files, tradeoffs made
130
153
  ```
131
154
 
132
155
  ### 2. Prevention Phase
@@ -136,6 +159,7 @@ git add src/payments/eu-handler.js
136
159
  git commit -m "Update EU payment logic"
137
160
 
138
161
  # Trie warns: "This area broke 2 weeks ago with EU payments. Consider extra testing."
162
+ # Context: Remembers the decision you made last time, the edge case that caused the issue
139
163
  ```
140
164
 
141
165
  ### 3. Feedback Loop
@@ -147,8 +171,29 @@ trie ok
147
171
  trie bad
148
172
 
149
173
  # Trie adjusts confidence for similar future warnings
174
+ # Also updates: decision patterns, edge case recognition, tradeoff understanding
150
175
  ```
151
176
 
177
+ ### 4. Maintenance Phase
178
+
179
+ This is where Trie shines. As your app grows and you handle edge cases:
180
+
181
+ ```bash
182
+ # Working in Cursor, you make a decision about error handling
183
+ # Trie records it in the context graph
184
+
185
+ # Switch to Claude Code later
186
+ # Same context graph, same decisions remembered
187
+
188
+ # Push from terminal
189
+ # Git hooks check against your full history of decisions and incidents
190
+
191
+ # CI/CD runs
192
+ # Same checks, same memory, same coherence
193
+ ```
194
+
195
+ **Edge cases, tradeoffs, and system coherence**—Trie handles the hard part that can't be automated by remembering what you decided, why you decided it, and what happened as a result.
196
+
152
197
  ## Advanced Features
153
198
 
154
199
  ### Goals & Hypotheses
@@ -173,6 +218,25 @@ trie watch
173
218
 
174
219
  Interactive panels for goals, memory, scout activity, and more.
175
220
 
221
+ **Running in Background:**
222
+ To keep `trie watch` running in the background, use `screen` or `tmux`:
223
+
224
+ ```bash
225
+ # Using screen
226
+ screen -S trie-watch
227
+ trie watch
228
+ # Press Ctrl+A then D to detach
229
+ # Reattach with: screen -r trie-watch
230
+
231
+ # Using tmux
232
+ tmux new -s trie-watch
233
+ trie watch
234
+ # Press Ctrl+B then D to detach
235
+ # Reattach with: tmux attach -t trie-watch
236
+ ```
237
+
238
+ This allows you to keep the guardian running while using other terminals. The interactive dashboard will be available when you reattach.
239
+
176
240
  ### JIT Defect Prediction ("Gotchas")
177
241
  Trie connects to your issue tracker and project history to predict problems *while you work*:
178
242
 
@@ -353,6 +417,10 @@ trie pause # Disable warnings for 1 hour
353
417
  ### Watch Mode
354
418
  ```bash
355
419
  trie watch # Start interactive monitoring dashboard
420
+
421
+ # Run in background with screen/tmux:
422
+ screen -S trie-watch && trie watch # Detach: Ctrl+A, D
423
+ tmux new -s trie-watch && trie watch # Detach: Ctrl+B, D
356
424
  ```
357
425
 
358
426
  ## Configuration