@triedotdev/mcp 1.0.50 → 1.0.51
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 +545 -406
- package/dist/agent-smith-BECRZH73.js +12 -0
- package/dist/{agent-smith-runner-3AWGEOZC.js → agent-smith-runner-LZRXM2Q2.js} +7 -7
- package/dist/agent-smith-runner-LZRXM2Q2.js.map +1 -0
- package/dist/{chunk-3SQK2RKF.js → chunk-A43476GB.js} +9 -9
- package/dist/chunk-A43476GB.js.map +1 -0
- package/dist/{chunk-IMFD4SJC.js → chunk-ASGSTVVF.js} +1 -1
- package/dist/chunk-ASGSTVVF.js.map +1 -0
- package/dist/chunk-C3AS5OXW.js +1177 -0
- package/dist/chunk-C3AS5OXW.js.map +1 -0
- package/dist/chunk-IEFAQFDQ.js +2061 -0
- package/dist/chunk-IEFAQFDQ.js.map +1 -0
- package/dist/{chunk-GLC62PGD.js → chunk-KB5ZN6K2.js} +2 -2
- package/dist/{chunk-37U65YW7.js → chunk-TOE75CFZ.js} +1855 -206
- package/dist/chunk-TOE75CFZ.js.map +1 -0
- package/dist/{chunk-GERAB55E.js → chunk-YKUCIKTU.js} +94 -1259
- package/dist/chunk-YKUCIKTU.js.map +1 -0
- package/dist/cli/create-agent.js +2 -2
- package/dist/cli/main.js +406 -68
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/yolo-daemon.js +5 -5
- package/dist/comprehension-46F7ZNKL.js +821 -0
- package/dist/comprehension-46F7ZNKL.js.map +1 -0
- package/dist/index.js +448 -123
- package/dist/index.js.map +1 -1
- package/dist/workers/agent-worker.js +10 -11
- package/dist/workers/agent-worker.js.map +1 -1
- package/package.json +3 -1
- package/dist/agent-smith-RVXIMAL6.js +0 -11
- package/dist/agent-smith-runner-3AWGEOZC.js.map +0 -1
- package/dist/chunk-37U65YW7.js.map +0 -1
- package/dist/chunk-3SQK2RKF.js.map +0 -1
- package/dist/chunk-6T7S77U7.js +0 -852
- package/dist/chunk-6T7S77U7.js.map +0 -1
- package/dist/chunk-GERAB55E.js.map +0 -1
- package/dist/chunk-IMFD4SJC.js.map +0 -1
- package/dist/chunk-PZDQIFKO.js +0 -1598
- package/dist/chunk-PZDQIFKO.js.map +0 -1
- /package/dist/{agent-smith-RVXIMAL6.js.map → agent-smith-BECRZH73.js.map} +0 -0
- /package/dist/{chunk-GLC62PGD.js.map → chunk-KB5ZN6K2.js.map} +0 -0
package/README.md
CHANGED
|
@@ -1,96 +1,269 @@
|
|
|
1
1
|
# Trie
|
|
2
2
|
|
|
3
|
-
**A
|
|
4
|
-
|
|
5
|
-
Download the Trie workspace: https://www.trie.dev
|
|
3
|
+
**A guardian agent that follows you from Cursor to CI/CD and everything in between. Trie watches your codebases, remembers what broke before, and warns you before you ship something risky.**
|
|
6
4
|
|
|
5
|
+
Download the Trie workspace: https://www.trie.dev
|
|
7
6
|
Follow me on X: https://x.com/louiskishfy
|
|
8
7
|
|
|
9
|
-
## Why Trie
|
|
8
|
+
## Why Trie Exists
|
|
9
|
+
|
|
10
|
+
I shipped consumer apps that gained traction quickly with Cursor and Claude Code—real users, paying customers. AI-generated code helped me move fast, but it became a nightmare to maintain as one person. I'd fix something and forget why. The same bugs came back. My codebase grew faster than my memory of it. I burned through tokens like no tomorrow.
|
|
11
|
+
|
|
12
|
+
I realized I needed something to watch over my projects so I could maintain them alone. A guardian that remembers what broke, warns me before I ship something risky, and doesn't require me to re-explain context every time I switch tools.
|
|
13
|
+
|
|
14
|
+
I use Cursor, CLI, GitHub Actions—sometimes all in the same hour. It seemed ridiculous that my context couldn't follow me. Every tool had its own silo. I'd teach one thing to my IDE and lose it when I pushed to CI.
|
|
10
15
|
|
|
11
|
-
|
|
16
|
+
So I built Trie with a few principles:
|
|
12
17
|
|
|
13
|
-
|
|
18
|
+
**Memory that travels with git.** The `.trie/` directory commits to your repo. Same incident history, same patterns, same risk scores—whether you're in Cursor, VS Code, CLI, or CI/CD. No external service. No re-explaining. Your context is *yours*.
|
|
14
19
|
|
|
15
|
-
|
|
20
|
+
**One guardian, not a committee.** Skills, on their own, have no unified view. Trie has 26 specialized skills, but they all feed into one guardian agent that knows the full picture. One brain that watches, learns, and warns. You can also add skills from any repo you find online.
|
|
16
21
|
|
|
17
|
-
|
|
22
|
+
**Fast enough for git hooks.** I chose a trie data structure because I needed O(m) lookups that don't slow down my workflow. File paths as tree branches. Hot zones light up where problems cluster. Under 10ms for pattern matching, under 500ms for pre-push checks.
|
|
18
23
|
|
|
19
|
-
|
|
24
|
+
**Plain English.** When I'm tired at 2am and a user reports a bug, I don't want to parse cryptic linter output. Trie speaks like a teammate: "This file broke twice last month. The auth changes look risky. Maybe add a test before pushing."
|
|
20
25
|
|
|
21
|
-
|
|
26
|
+
Trie is the guardian I wished I had when my apps took off and I was alone trying to keep them running in the middle of the night. I hope this helps you! @ me on X for feedback and requests.
|
|
22
27
|
|
|
23
|
-
|
|
28
|
+
### Key Capabilities
|
|
24
29
|
|
|
25
|
-
|
|
30
|
+
**Memory that travels:**
|
|
31
|
+
- `.trie/` directory committed to git = your project's incident history, patterns, and risk scores
|
|
32
|
+
- Same context in Cursor, Claude Code, VS Code, CLI, and GitHub Actions
|
|
33
|
+
- Cross-project learning: patterns discovered across all your projects inform each new one
|
|
34
|
+
- No re-explaining. Trie knows what broke before, everywhere you work.
|
|
26
35
|
|
|
27
|
-
|
|
36
|
+
**Autonomous guardian:**
|
|
37
|
+
- **Watches**: Git hooks, file watchers, proactive nudging—acts without being asked
|
|
38
|
+
- **Remembers**: `trie tell "users can't log in"` builds a searchable memory tree
|
|
39
|
+
- **Learns**: After 3+ incidents, discovers patterns automatically. Confidence adjusts with feedback.
|
|
40
|
+
- **Warns**: `trie check` runs < 500ms before push, no LLM calls in hooks
|
|
41
|
+
- **Speaks plain English**: Non-technical founders understand every warning
|
|
28
42
|
|
|
29
|
-
|
|
43
|
+
**Technical foundation:**
|
|
44
|
+
- Trie data structure for O(m) lookups, prefix search, hot zone detection—all under 10ms
|
|
45
|
+
- SQLite for detailed incident history and relationships
|
|
46
|
+
- BM25 search for intelligent memory queries
|
|
47
|
+
- Bayesian confidence updates for continuous improvement
|
|
30
48
|
|
|
31
|
-
|
|
49
|
+
Trie's memory is a tree. The more incidents you report, the smarter the tree gets. Hot paths = risky areas.
|
|
32
50
|
|
|
33
|
-
|
|
51
|
+
## At a Glance
|
|
52
|
+
- **Context that travels**: `.trie/` directory = single source of truth. Cursor → CLI → CI/CD → back to Cursor. Same memory everywhere.
|
|
53
|
+
- **Cross-project learning**: Patterns discovered across all your projects. Fix a SQL injection in Project A, Trie warns about similar patterns in Project B.
|
|
54
|
+
- **Core commands**: `trie init` (bootstrap + hooks), `trie check` (risk review before push), `trie tell "<incident>"` (build memory), `trie ok`/`trie bad` (feedback), `trie status` (health score).
|
|
55
|
+
- **Guardian agent**: ONE agent that watches, learns, and warns. It has goals, observes changes, reasons about risk, and nudges you in plain English.
|
|
56
|
+
- **Built-in skills**: 26 specialized analyzers (security, privacy, SOC2, accessibility, etc.) that the guardian uses when appropriate.
|
|
57
|
+
- **MCP integration**: `trie_scan`, `trie_check`, `trie_tell`, `trie_fix`, `trie_explain`, `trie_memory`, `trie_context`—all return plain English.
|
|
58
|
+
- **Memory structure**: Prefix tree (trie) for O(m) file lookups + SQLite for detailed history. Fast enough for git hooks (< 500ms).
|
|
59
|
+
- **Learning loop**: Confidence updates, pattern discovery, co-occurrence detection—all powered by trie traversal (< 10ms).
|
|
34
60
|
|
|
35
|
-
|
|
61
|
+
## What's New
|
|
62
|
+
|
|
63
|
+
### Guardian Agent
|
|
64
|
+
- **Autonomous observation**: Git hooks (pre-commit, pre-push), file watchers, proactive nudging
|
|
65
|
+
- **Memory tree**: Trie data structure for O(m) file lookups + SQLite for detailed incident history
|
|
66
|
+
- **Learning loop**: Bayesian confidence updates, automatic pattern discovery (3+ incidents), co-occurrence detection
|
|
67
|
+
- **Plain English warnings**: Comprehensive glossary (690 lines, 200+ terms), context-aware explanations
|
|
68
|
+
- **Fast hooks**: `trie check` completes in < 500ms (no LLM calls in git hooks)
|
|
69
|
+
- **Feedback system**: `trie ok`/`trie bad` for thumbs up/down, adjusts confidence in real-time
|
|
70
|
+
|
|
71
|
+
### Core Workflow
|
|
72
|
+
```bash
|
|
73
|
+
# Report an incident
|
|
74
|
+
$ trie tell "users can't log in after my push"
|
|
75
|
+
📝 Got it. Linked to auth/login.ts. Next time you change this file, I'll warn you.
|
|
76
|
+
|
|
77
|
+
# Before pushing
|
|
78
|
+
$ git push
|
|
79
|
+
🛡️ Trie: Hold on...
|
|
80
|
+
|
|
81
|
+
You're changing auth/login.ts
|
|
82
|
+
This file has broken 2 times before.
|
|
83
|
+
|
|
84
|
+
Last time (Jan 15): 3 users couldn't log in for 2 hours
|
|
85
|
+
|
|
86
|
+
My suggestion: Test the login flow before pushing.
|
|
87
|
+
|
|
88
|
+
Risk: HIGH
|
|
89
|
+
|
|
90
|
+
# Give feedback
|
|
91
|
+
$ trie ok # Warning was helpful
|
|
92
|
+
$ trie bad # Warning was not helpful
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### Built-in Skills (Terminology Update)
|
|
96
|
+
- Built-in analyzers now live in `src/skills/built-in/` and extend `BaseSkill`
|
|
97
|
+
- The guardian agent (singular) decides when to invoke skills based on risk and context
|
|
98
|
+
- Skills provide specialized analysis; the agent provides autonomous behavior
|
|
36
99
|
|
|
37
100
|
---
|
|
38
101
|
|
|
39
102
|
## Table of Contents
|
|
40
103
|
|
|
104
|
+
- [Why Trie](#why-trie)
|
|
105
|
+
- [At a Glance](#at-a-glance)
|
|
106
|
+
- [What's New](#whats-new-guardian-architecture-complete)
|
|
107
|
+
- [The Guardian Architecture](#the-guardian-architecture)
|
|
41
108
|
- [Features](#features)
|
|
42
109
|
- [Quick Start](#quick-start)
|
|
43
|
-
- [
|
|
110
|
+
- [The Guardian Workflow](#the-guardian-workflow)
|
|
111
|
+
- [Common Questions](#common-questions)
|
|
112
|
+
- [What Each Skill Does](#what-each-skill-does-plain-english)
|
|
44
113
|
- [MCP Tools](#mcp-tools)
|
|
45
|
-
- [CLI](#cli)
|
|
46
|
-
- [Built-in
|
|
47
|
-
- [Accessibility
|
|
48
|
-
- [Moneybags
|
|
49
|
-
- [Legal
|
|
50
|
-
- [Design Engineer (v2.0)](#design-engineer-v20)
|
|
51
|
-
- [Special
|
|
114
|
+
- [CLI Commands](#cli-commands)
|
|
115
|
+
- [Built-in Skills](#built-in-skills)
|
|
116
|
+
- [Accessibility Skill (v2.0)](#accessibility-skill-v20)
|
|
117
|
+
- [Moneybags Skill](#moneybags-skill)
|
|
118
|
+
- [Legal Skill (v2.0)](#legal-skill-v20)
|
|
119
|
+
- [Design Engineer Skill (v2.0)](#design-engineer-skill-v20)
|
|
120
|
+
- [Special Skills](#special-skills)
|
|
52
121
|
- [Custom Skills](#custom-skills)
|
|
53
122
|
- [External Skills](#external-skills)
|
|
54
123
|
- [Bootstrap System](#bootstrap-system)
|
|
55
124
|
- [Issue Memory](#issue-memory)
|
|
56
125
|
- [Project Info Registry](#project-info-registry)
|
|
57
126
|
- [AI-Enhanced Mode](#ai-enhanced-mode)
|
|
58
|
-
- [CI/CD Integration](#cicd-integration)
|
|
59
127
|
- [VS Code Extension](#vs-code-extension)
|
|
60
|
-
- [
|
|
61
|
-
- [Production Shipping](#production-shipping)
|
|
128
|
+
- [CI/CD Integration](#cicd-integration)
|
|
62
129
|
- [Configuration](#configuration)
|
|
63
130
|
- [License](#license)
|
|
64
131
|
|
|
65
132
|
---
|
|
66
133
|
|
|
134
|
+
## The Guardian Architecture
|
|
135
|
+
|
|
136
|
+
Trie is **truly agentic**—it's not just a collection of linters. Here's what makes it an agent:
|
|
137
|
+
|
|
138
|
+
| Property | How It Works | Why It's Agentic |
|
|
139
|
+
|----------|--------------|------------------|
|
|
140
|
+
| **Goals** | "Keep the app safe", "Prevent incidents" | Pursues objectives without step-by-step direction |
|
|
141
|
+
| **Observation** | Git hooks, file watchers, CI events | Acts proactively, not just when asked |
|
|
142
|
+
| **Reasoning** | Queries context graph for history/patterns, calculates risk | Uses memory to understand situations |
|
|
143
|
+
| **Action** | Warns, explains, suggests, blocks, escalates | Takes action autonomously in plain English |
|
|
144
|
+
| **Learning** | Tracks outcomes, adjusts confidence, discovers patterns | Improves from experience |
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
### The Memory Tree
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
src/
|
|
153
|
+
auth/
|
|
154
|
+
login.ts → [3 incidents, confidence: 85%, last: Jan 15]
|
|
155
|
+
session.ts → [1 incident, confidence: 45%, last: Dec 20]
|
|
156
|
+
payment/
|
|
157
|
+
checkout.ts → [5 incidents, confidence: 92%, last: Jan 10]
|
|
158
|
+
stripe.ts → [2 incidents, confidence: 60%, last: Jan 8]
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
This enables:
|
|
162
|
+
- **O(m) lookups**: Check if `auth/login.ts` is risky in < 1ms
|
|
163
|
+
- **Prefix matching**: Find all incidents in `auth/*` in < 5ms
|
|
164
|
+
- **Hot zone detection**: Identify risky directories in < 10ms
|
|
165
|
+
- **Pattern discovery**: Walk the tree, find patterns naturally in < 10ms
|
|
166
|
+
- **Auto-complete**: `trie tell "auth"` → suggests files instantly
|
|
167
|
+
|
|
168
|
+
### Performance
|
|
169
|
+
|
|
170
|
+
| Operation | Target | Why It Matters |
|
|
171
|
+
|-----------|--------|----------------|
|
|
172
|
+
| `trie check` (pre-push hook) | < 500ms | Developers won't bypass slow hooks |
|
|
173
|
+
| File risk lookup | < 1ms | Real-time feedback while coding |
|
|
174
|
+
| Directory incident count | < 5ms | Instant hot zone detection |
|
|
175
|
+
| Pattern discovery | < 10ms | Continuous learning without blocking |
|
|
176
|
+
|
|
177
|
+
### What Makes This Different
|
|
178
|
+
|
|
179
|
+
Most "agents" are just prompt chains. Trie is different because:
|
|
180
|
+
|
|
181
|
+
1. **Autonomous behavior**: Watches your changes continuously via hooks, not just when asked
|
|
182
|
+
2. **Persistent memory that travels**: `.trie/` directory follows your code. Same context in Cursor, CLI, CI/CD, VS Code—no re-explaining
|
|
183
|
+
3. **Cross-project learning**: Fix a pattern in one project, Trie warns about it in all future projects
|
|
184
|
+
4. **Proactive guidance**: Warns before you push, nudges during editing, explains in plain English
|
|
185
|
+
5. **Continuous learning**: Gets noticeably better after 10 incidents. Confidence adjusts with every `trie ok`/`trie bad`
|
|
186
|
+
6. **Instant lookups**: Trie data structure + SQLite = O(m) file lookups (< 1ms), pattern discovery (< 10ms)
|
|
187
|
+
|
|
188
|
+
**Trie's job is to be your guardian angel—watching over your shoulder, warning you about danger, and getting smarter every time something goes wrong.**
|
|
189
|
+
|
|
190
|
+
### Context That Travels
|
|
191
|
+
|
|
192
|
+
The `.trie/` directory is your project's memory:
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
your-project/
|
|
196
|
+
├── .trie/
|
|
197
|
+
│ ├── memory/
|
|
198
|
+
│ │ ├── issues.json # All incidents with BM25 search
|
|
199
|
+
│ │ ├── patterns.json # Discovered patterns (3+ incidents)
|
|
200
|
+
│ │ └── 2024-01-15.md # Daily logs
|
|
201
|
+
│ ├── context.db # SQLite graph (files, changes, incidents)
|
|
202
|
+
│ └── config.json # Guardian configuration
|
|
203
|
+
├── .git/
|
|
204
|
+
└── src/
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
**This directory is committed to git**, which means:
|
|
208
|
+
|
|
209
|
+
| Scenario | What Happens |
|
|
210
|
+
|----------|--------------|
|
|
211
|
+
| **Work in Cursor** | Report incident with `trie tell`, memory updates |
|
|
212
|
+
| **Switch to CLI** | Run `trie check` → same memory, same patterns |
|
|
213
|
+
| **Push to GitHub** | CI reads `.trie/` → focused checks on known problem areas |
|
|
214
|
+
| **Teammate pulls** | Gets your incident history, patterns, risk scores |
|
|
215
|
+
| **Clone on laptop** | Full context restored from `.trie/` directory |
|
|
216
|
+
| **Open in VS Code** | Same guardian, same warnings, same memory |
|
|
217
|
+
|
|
218
|
+
**Cross-project learning:**
|
|
219
|
+
|
|
220
|
+
```
|
|
221
|
+
~/.trie/memory/global-patterns.json
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Trie tracks patterns across ALL your projects. When you fix a SQL injection in Project A, Trie remembers. When you start Project B, it warns about similar patterns immediately—even if Project B has never seen that specific issue.
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
67
228
|
## Features
|
|
68
229
|
|
|
69
230
|
### Core Capabilities
|
|
70
231
|
|
|
71
232
|
| Feature | Description |
|
|
72
233
|
|---------|-------------|
|
|
73
|
-
| **
|
|
234
|
+
| **Context That Travels** | `.trie/` directory committed to git = same memory in Cursor, CLI, CI/CD, VS Code. No re-explaining. |
|
|
235
|
+
| **Cross-Project Learning** | Global pattern tracking. Fix SQL injection in Project A → Trie warns in Project B. |
|
|
236
|
+
| **26 Built-in Skills** | Security, Privacy, SOC 2, Legal, Architecture, Performance, E2E, Visual QA, Data Flow, Moneybags, Production Ready, and more |
|
|
237
|
+
| **Autonomous Observation** | Git hooks, file watchers, proactive nudging—acts without being asked |
|
|
238
|
+
| **Learning Loop** | Bayesian confidence updates, automatic pattern discovery (3+ incidents), `trie ok`/`trie bad` feedback |
|
|
239
|
+
| **Instant Performance** | Trie data structure: < 1ms file lookups, < 10ms pattern discovery, < 500ms git hooks |
|
|
240
|
+
|
|
241
|
+
### Performance & Execution
|
|
242
|
+
|
|
243
|
+
| Feature | Description |
|
|
244
|
+
|---------|-------------|
|
|
74
245
|
| **Parallel Execution** | True parallel execution with worker threads—3-5x faster scans |
|
|
75
246
|
| **Result Caching** | File-based caching with SHA256 hashing—70% faster repeated scans |
|
|
76
|
-
| **Smart Triaging** | Activates
|
|
77
|
-
| **Streaming Progress** | Real-time progress updates as
|
|
247
|
+
| **Smart Triaging** | Activates skills based on code context, issue history, and memory patterns |
|
|
248
|
+
| **Streaming Progress** | Real-time progress updates as skills complete |
|
|
78
249
|
|
|
79
250
|
### Developer Experience
|
|
80
251
|
|
|
81
252
|
| Feature | Description |
|
|
82
253
|
|---------|-------------|
|
|
83
|
-
| **
|
|
254
|
+
| **Plain English** | 690-line glossary translates jargon. Non-technical founders understand every warning. |
|
|
255
|
+
| **Watch Mode** | Proactive nudging while you code (optional) |
|
|
84
256
|
| **Custom Skills** | Create skills from PDFs, docs, or style guides |
|
|
85
|
-
| **External Skills** | Install capabilities from Vercel, Anthropic, Expo, Stripe,
|
|
86
|
-
| **Works Everywhere** |
|
|
257
|
+
| **External Skills** | Install capabilities from Vercel, Anthropic, Expo, Stripe, 150+ skills across 12 categories |
|
|
258
|
+
| **Works Everywhere** | Cursor, Claude Code, OpenCode, VS Code, CLI, CI/CD—adapts output automatically |
|
|
87
259
|
| **AI-Enhanced Mode** | Optional deeper analysis with `ANTHROPIC_API_KEY` |
|
|
88
260
|
|
|
89
261
|
### Integrations
|
|
90
262
|
|
|
91
263
|
| Feature | Description |
|
|
92
264
|
|---------|-------------|
|
|
93
|
-
| **
|
|
265
|
+
| **MCP Protocol** | Native integration with Cursor, Claude Code, and all MCP-compatible tools |
|
|
266
|
+
| **CI/CD Integration** | GitHub Actions, pre-commit hooks, SARIF output for GitHub Security tab |
|
|
94
267
|
| **VS Code Extension** | Inline diagnostics, quick-fix code actions, scan on save |
|
|
95
268
|
|
|
96
269
|
---
|
|
@@ -226,164 +399,189 @@ Explain the checkout.ts security issue
|
|
|
226
399
|
|
|
227
400
|
---
|
|
228
401
|
|
|
229
|
-
##
|
|
230
|
-
|
|
231
|
-
Once set up, here's how to use Trie day-to-day.
|
|
402
|
+
## The Guardian Workflow
|
|
232
403
|
|
|
233
|
-
|
|
404
|
+
Trie is ONE agent with autonomous behavior. Here's how it works day-to-day.
|
|
234
405
|
|
|
235
|
-
|
|
406
|
+
### Teaching the Guardian
|
|
236
407
|
|
|
237
|
-
|
|
238
|
-
|---------------------|----------------|
|
|
239
|
-
| Last scan results | AI knows what issues exist without re-scanning |
|
|
240
|
-
| Health score (0-100) | Controls what agents run (see below) |
|
|
241
|
-
| Which files have issues | AI focuses on problem areas first |
|
|
242
|
-
| What type of code you have | Runs the right checks (payments, auth, etc.) automatically |
|
|
243
|
-
| Scan history | See if issues are getting better or worse |
|
|
408
|
+
When something breaks, tell Trie:
|
|
244
409
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
Think of `trie scan` and `trie checkpoint` as saving your game. Context is captured when you run them:
|
|
410
|
+
```bash
|
|
411
|
+
$ trie tell "users can't log in after my last push"
|
|
248
412
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
↓
|
|
252
|
-
Saves to .trie/AGENTS.md, .trie/memory/
|
|
253
|
-
↓
|
|
254
|
-
Open same project in Claude Code
|
|
255
|
-
↓
|
|
256
|
-
Claude Code reads trie://context → sees your history
|
|
413
|
+
📝 Got it. I'll remember that changes to auth/ caused this.
|
|
414
|
+
Next time you change those files, I'll warn you.
|
|
257
415
|
```
|
|
258
416
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
417
|
+
The guardian:
|
|
418
|
+
1. Links the incident to recent changes (git history)
|
|
419
|
+
2. Adds the incident to its memory tree (trie data structure)
|
|
420
|
+
3. Updates file risk scores
|
|
421
|
+
4. Discovers patterns after 3+ similar incidents
|
|
263
422
|
|
|
264
|
-
|
|
265
|
-
- Any MCP client (Cursor, Claude Code) can read `trie://context`
|
|
266
|
-
- CLI and GitHub Actions read the same `.trie/` files
|
|
423
|
+
### Before You Push
|
|
267
424
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
425
|
+
```bash
|
|
426
|
+
$ git push
|
|
427
|
+
|
|
428
|
+
🛡️ Trie: Hold on...
|
|
429
|
+
|
|
430
|
+
You're changing auth/login.ts
|
|
431
|
+
📊 This file has broken 2 times before.
|
|
432
|
+
|
|
433
|
+
Last time (Jan 15): 3 users couldn't log in for 2 hours
|
|
434
|
+
|
|
435
|
+
🌳 Pattern: auth/ is becoming a hot zone
|
|
436
|
+
|
|
437
|
+
My suggestion: Test login AND session behavior
|
|
438
|
+
(These files often break together)
|
|
439
|
+
|
|
440
|
+
Risk: HIGH
|
|
441
|
+
|
|
442
|
+
[Continue] [Cancel]
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
The check runs in < 500ms:
|
|
446
|
+
1. **Trie lookup** (< 1ms): Finds file incident history
|
|
447
|
+
2. **Prefix search** (< 1ms): Checks directory-level patterns
|
|
448
|
+
3. **Hot zone detection** (< 5ms): Identifies risky areas
|
|
449
|
+
4. **Co-occurrence check** (< 10ms): Files that break together
|
|
450
|
+
5. **Generate warning** (< 50ms): Plain English explanation
|
|
451
|
+
|
|
452
|
+
### Giving Feedback
|
|
279
453
|
|
|
280
|
-
|
|
454
|
+
```bash
|
|
455
|
+
# Warning was helpful
|
|
456
|
+
$ trie ok
|
|
281
457
|
|
|
458
|
+
# Warning was not helpful (false positive)
|
|
459
|
+
$ trie bad
|
|
282
460
|
```
|
|
283
|
-
Cursor: Run trie scan → finds 14 issues → Health drops to 56%
|
|
284
|
-
↓
|
|
285
|
-
Saved to .trie/AGENTS.md
|
|
286
|
-
↓
|
|
287
|
-
Claude Code: Open same project → read trie://context → sees 56% health
|
|
288
|
-
↓
|
|
289
|
-
Run trie scan → more thorough checks (low health = all agents)
|
|
290
|
-
↓
|
|
291
|
-
GitHub Actions: Reads .trie/ → same health score → stricter CI gates
|
|
292
|
-
```
|
|
293
|
-
|
|
294
|
-
**Why this matters:**
|
|
295
461
|
|
|
296
|
-
|
|
297
|
-
|----------|--------------|-----------|
|
|
298
|
-
| Quick fix in Cursor | No history | Run `trie scan` → knows security found issues → runs it |
|
|
299
|
-
| Switch to Claude Code | Starts fresh | Reads `.trie/` → picks up your 56% health |
|
|
300
|
-
| Push to GitHub | Generic checks | Reads `.trie/` → focused on known problem areas |
|
|
462
|
+
This updates pattern confidence immediately. The agent gets smarter.
|
|
301
463
|
|
|
302
|
-
|
|
464
|
+
### Checking Health
|
|
303
465
|
|
|
304
|
-
|
|
466
|
+
```bash
|
|
467
|
+
$ trie status
|
|
305
468
|
|
|
306
|
-
|
|
469
|
+
🌳 Your codebase memory tree:
|
|
307
470
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
471
|
+
Hot zones (3+ incidents):
|
|
472
|
+
🔥 auth/ (3 incidents across 2 files)
|
|
473
|
+
├─ login.ts (2 incidents)
|
|
474
|
+
└─ session.ts (1 incident)
|
|
312
475
|
|
|
313
|
-
|
|
476
|
+
Files that break together:
|
|
477
|
+
🔗 auth/login.ts ↔ auth/session.ts (67% co-occurrence)
|
|
314
478
|
|
|
315
|
-
|
|
316
|
-
|
|
479
|
+
Safest areas (0 incidents):
|
|
480
|
+
✅ components/
|
|
481
|
+
✅ utils/
|
|
482
|
+
✅ api/
|
|
317
483
|
```
|
|
318
484
|
|
|
319
|
-
|
|
485
|
+
### The Memory Tree
|
|
320
486
|
|
|
321
|
-
|
|
487
|
+
Trie's memory is a **prefix tree** of your codebase's failure patterns:
|
|
322
488
|
|
|
323
489
|
```
|
|
324
|
-
|
|
490
|
+
src/
|
|
491
|
+
auth/
|
|
492
|
+
login.ts → [3 incidents, confidence: 85%, last: Jan 15]
|
|
493
|
+
session.ts → [1 incident, confidence: 45%, last: Dec 20]
|
|
494
|
+
payment/
|
|
495
|
+
checkout.ts → [5 incidents, confidence: 92%, last: Jan 10]
|
|
325
496
|
```
|
|
326
497
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
This reads from `.trie/AGENTS.md` which tracks your project state over time.
|
|
334
|
-
|
|
335
|
-
---
|
|
336
|
-
|
|
337
|
-
## What Each Check Does (Plain English)
|
|
338
|
-
|
|
339
|
-
| When You Ask | What It Checks | Why It Matters |
|
|
340
|
-
|--------------|----------------|----------------|
|
|
341
|
-
| "Run security scan" | Login/password handling, data exposure, hack vulnerabilities | Prevents your app from being hacked |
|
|
342
|
-
| "Run privacy scan" | User data handling, GDPR/CCPA compliance | Avoids fines up to $10,000+ per violation |
|
|
343
|
-
| "Run bugs scan" | Logic errors, edge cases, crash points | Prevents app crashes for users |
|
|
344
|
-
| "Run performance scan" | Slow queries, memory leaks, scaling issues | App stays fast with 1000+ users |
|
|
345
|
-
| "Run legal scan" | Terms of service, license compliance, regulations | Avoids lawsuits |
|
|
346
|
-
| "Run design scan" | UI patterns, accessibility, UX issues | Better user experience |
|
|
498
|
+
This makes lookups instant (O(m) where m = path length) and enables:
|
|
499
|
+
- Prefix matching: "Find all incidents in `auth/*`" → < 1ms
|
|
500
|
+
- Hot zone detection: "Which directories have 3+ incidents?" → < 10ms
|
|
501
|
+
- Auto-complete: `trie tell "auth"` → suggests `auth/login.ts`, `auth/session.ts`
|
|
502
|
+
- Pattern discovery: Walk the tree, find hot paths naturally → < 10ms
|
|
347
503
|
|
|
348
504
|
---
|
|
349
505
|
|
|
350
506
|
## Common Questions
|
|
351
507
|
|
|
352
508
|
<details>
|
|
353
|
-
<summary><strong>
|
|
354
|
-
|
|
355
|
-
No. Trie works without any API keys using pattern matching.
|
|
509
|
+
<summary><strong>How does the learning work?</strong></summary>
|
|
356
510
|
|
|
357
|
-
|
|
358
|
-
1.
|
|
359
|
-
2.
|
|
511
|
+
Trie uses Bayesian confidence updates. When you report an incident (`trie tell`), it:
|
|
512
|
+
1. Links the incident to recent changes (git history)
|
|
513
|
+
2. Adds it to the memory tree (trie data structure)
|
|
514
|
+
3. Updates file risk scores
|
|
515
|
+
4. After 3+ similar incidents, discovers patterns automatically
|
|
360
516
|
|
|
361
|
-
|
|
517
|
+
When you give feedback (`trie ok` / `trie bad`), confidence adjusts immediately. False positives decrease a pattern's confidence; true positives increase it.
|
|
362
518
|
|
|
363
519
|
</details>
|
|
364
520
|
|
|
365
521
|
<details>
|
|
366
522
|
<summary><strong>Will Trie change my code automatically?</strong></summary>
|
|
367
523
|
|
|
368
|
-
No. Trie
|
|
369
|
-
|
|
370
|
-
|
|
524
|
+
No. Trie scans and suggests—it never edits code on its own. You stay in control.
|
|
525
|
+
|
|
526
|
+
**What Trie does:**
|
|
527
|
+
- Warn about risky changes
|
|
528
|
+
- Explain past incidents
|
|
529
|
+
- Suggest what to test
|
|
530
|
+
- Flag security issues
|
|
531
|
+
|
|
532
|
+
**What about `trie_fix`?**
|
|
533
|
+
|
|
534
|
+
`trie_fix` generates fix prompts that guide your AI assistant (Claude, Cursor) to apply changes. The AI does the editing, not Trie. You review and approve every change through your normal workflow.
|
|
535
|
+
|
|
536
|
+
**What Trie doesn't do:**
|
|
537
|
+
- Edit files directly
|
|
538
|
+
- Create pull requests automatically
|
|
539
|
+
- Run arbitrary commands
|
|
540
|
+
- Make changes without your review
|
|
371
541
|
|
|
372
542
|
</details>
|
|
373
543
|
|
|
374
544
|
<details>
|
|
375
|
-
<summary><strong>What if I don't understand
|
|
545
|
+
<summary><strong>What if I don't understand a warning?</strong></summary>
|
|
376
546
|
|
|
377
547
|
Ask for an explanation:
|
|
378
548
|
```
|
|
379
|
-
|
|
380
|
-
```
|
|
549
|
+
$ trie explain
|
|
381
550
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
551
|
+
🛡️ Detailed Explanation
|
|
552
|
+
|
|
553
|
+
You changed: auth/login.ts
|
|
554
|
+
|
|
555
|
+
History:
|
|
556
|
+
• Jan 15, 2024: 3 users couldn't log in for 2 hours
|
|
557
|
+
- You changed session timeout logic
|
|
558
|
+
- Users got logged out unexpectedly
|
|
559
|
+
- Had to roll back
|
|
560
|
+
|
|
561
|
+
• Dec 20, 2023: Login button stopped working
|
|
562
|
+
- Missing null check on user object
|
|
563
|
+
- 5 users affected
|
|
564
|
+
|
|
565
|
+
Pattern: auth/ directory has 3 total incidents
|
|
566
|
+
Files that break together: login.ts ↔ session.ts (67% of the time)
|
|
567
|
+
|
|
568
|
+
My suggestion: Test both login AND session behavior together
|
|
385
569
|
```
|
|
386
570
|
|
|
571
|
+
Everything is in plain English. No jargon.
|
|
572
|
+
|
|
573
|
+
</details>
|
|
574
|
+
|
|
575
|
+
<details>
|
|
576
|
+
<summary><strong>Does it work offline?</strong></summary>
|
|
577
|
+
|
|
578
|
+
Yes. The core guardian works entirely offline:
|
|
579
|
+
- `trie check` in git hooks (< 500ms, no network)
|
|
580
|
+
- Pattern matching and risk scoring (local database)
|
|
581
|
+
- Memory queries (trie + SQLite, all local)
|
|
582
|
+
|
|
583
|
+
The built-in skills can optionally use AI for deeper analysis when you have an API key, but it's not required.
|
|
584
|
+
|
|
387
585
|
</details>
|
|
388
586
|
|
|
389
587
|
<details>
|
|
@@ -392,162 +590,218 @@ What's the worst case if I don't fix this security issue?
|
|
|
392
590
|
Add this file to your repo at `.github/workflows/trie.yml`:
|
|
393
591
|
|
|
394
592
|
```yaml
|
|
395
|
-
name: Trie
|
|
593
|
+
name: Trie Guardian
|
|
396
594
|
on: [push, pull_request]
|
|
397
595
|
|
|
398
596
|
jobs:
|
|
399
|
-
|
|
597
|
+
check:
|
|
400
598
|
runs-on: ubuntu-latest
|
|
401
599
|
steps:
|
|
402
600
|
- uses: actions/checkout@v4
|
|
601
|
+
with:
|
|
602
|
+
fetch-depth: 0 # Need history for incident context
|
|
603
|
+
|
|
403
604
|
- uses: triedotdev/trie-action@v1
|
|
404
605
|
with:
|
|
405
|
-
|
|
606
|
+
# Fast check on every push
|
|
607
|
+
command: check
|
|
406
608
|
fail-on: critical
|
|
407
609
|
```
|
|
408
610
|
|
|
409
|
-
|
|
611
|
+
The guardian reads your project's `.trie/` directory (incidents, patterns, memory) and uses that context in CI.
|
|
410
612
|
|
|
411
613
|
</details>
|
|
412
614
|
|
|
413
615
|
---
|
|
414
616
|
|
|
617
|
+
## What Each Skill Does (Plain English)
|
|
618
|
+
|
|
619
|
+
| When You Ask | What It Checks | Why It Matters |
|
|
620
|
+
|--------------|----------------|----------------|
|
|
621
|
+
| "Run security scan" | Login/password handling, data exposure, hack vulnerabilities | Prevents your app from being hacked |
|
|
622
|
+
| "Run privacy scan" | User data handling, GDPR/CCPA compliance | Avoids fines up to $10,000+ per violation |
|
|
623
|
+
| "Run bugs scan" | Logic errors, edge cases, crash points | Prevents app crashes for users |
|
|
624
|
+
| "Run performance scan" | Slow queries, memory leaks, scaling issues | App stays fast with 1000+ users |
|
|
625
|
+
| "Run legal scan" | Terms of service, license compliance, regulations | Avoids lawsuits |
|
|
626
|
+
| "Run design scan" | UI patterns, accessibility, UX issues | Better user experience |
|
|
627
|
+
| "Run accessibility scan" | WCAG 2.1 AA compliance, screen reader support | Makes your app usable by everyone |
|
|
628
|
+
| "Run production-ready scan" | Health endpoints, graceful shutdown, security headers | Confirms you're ready to ship |
|
|
629
|
+
| "Run moneybags scan" | Dollar cost of bugs at your user scale | Shows ROI of fixing issues now vs later |
|
|
630
|
+
|
|
631
|
+
---
|
|
632
|
+
|
|
415
633
|
## MCP Tools
|
|
416
634
|
|
|
417
635
|
These tools are available when using Trie via MCP (Cursor, Claude Code, etc.).
|
|
418
636
|
|
|
419
|
-
###
|
|
637
|
+
### Scanning & Analysis
|
|
420
638
|
|
|
421
639
|
| Tool | Description |
|
|
422
640
|
|------|-------------|
|
|
423
|
-
| `trie_scan` |
|
|
424
|
-
| `trie_watch` | Watch mode—
|
|
641
|
+
| `trie_scan` | Full scan with intelligent skill selection |
|
|
642
|
+
| `trie_watch` | Watch mode—proactive nudging as you code |
|
|
643
|
+
| `trie_check` | Quick risk check before push (< 500ms, no LLM) |
|
|
425
644
|
| `trie_fix` | Generate fix recommendations for detected issues |
|
|
426
645
|
| `trie_explain` | Explain code, issues, or changes in plain language |
|
|
427
|
-
|
|
428
|
-
|
|
646
|
+
|
|
647
|
+
### Memory & Learning
|
|
648
|
+
|
|
649
|
+
| Tool | Description |
|
|
650
|
+
|------|-------------|
|
|
651
|
+
| `trie_tell` | Report an incident to build the agent's memory |
|
|
652
|
+
| `trie_feedback` | Give thumbs up/down on warnings (updates confidence) |
|
|
429
653
|
| `trie_memory` | Search and manage issue memory across projects |
|
|
654
|
+
| `trie_context` | Read full context (memory + patterns + history) |
|
|
430
655
|
| `trie_checkpoint` | Quick save context without running a full scan |
|
|
431
656
|
|
|
432
|
-
###
|
|
657
|
+
### Project & Configuration
|
|
433
658
|
|
|
434
659
|
| Tool | Description |
|
|
435
660
|
|------|-------------|
|
|
436
|
-
| `
|
|
437
|
-
| `
|
|
438
|
-
| `
|
|
439
|
-
|
|
440
|
-
### Individual Agent Tools
|
|
661
|
+
| `trie_init` | Initialize bootstrap files, detect stack, suggest skills |
|
|
662
|
+
| `trie_project` | View and manage project info (.trie/PROJECT.md) |
|
|
663
|
+
| `trie_reconcile` | Sync from context.json after rebases or multi-device edits |
|
|
441
664
|
|
|
442
|
-
|
|
665
|
+
### Security & Compliance Skills
|
|
443
666
|
|
|
444
|
-
| Tool | What It
|
|
445
|
-
|
|
667
|
+
| Tool | What It Analyzes |
|
|
668
|
+
|------|------------------|
|
|
446
669
|
| `trie_security` | SQL injection, XSS, hardcoded secrets, auth bypasses, OWASP Top 10 |
|
|
447
670
|
| `trie_privacy` | GDPR/CCPA/PCI-DSS compliance, PII exposure, logging sensitive data |
|
|
448
671
|
| `trie_soc2` | Access control gaps, missing audit logs, encryption issues |
|
|
449
672
|
| `trie_legal` | Licensing, ToS, accessibility, IP, GDPR/CCPA, e-commerce, marketing, COPPA |
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
673
|
+
|
|
674
|
+
### Code Quality Skills
|
|
675
|
+
|
|
676
|
+
| Tool | What It Analyzes |
|
|
677
|
+
|------|------------------|
|
|
678
|
+
| `trie_bugs` | Null safety, edge cases, async issues, race conditions |
|
|
453
679
|
| `trie_types` | Type errors, missing annotations, null checks |
|
|
680
|
+
| `trie_architecture` | Code organization, SOLID principles, N+1 queries, scalability |
|
|
681
|
+
| `trie_performance` | Memory leaks, inefficient algorithms, bundle size |
|
|
682
|
+
| `trie_test` | Missing test coverage, test quality, edge case coverage |
|
|
683
|
+
| `trie_clean` | Clean up AI-generated "vibe code": find common mistakes and quick fixes |
|
|
684
|
+
|
|
685
|
+
### UI/UX Skills
|
|
686
|
+
|
|
687
|
+
| Tool | What It Analyzes |
|
|
688
|
+
|------|------------------|
|
|
689
|
+
| `trie_accessibility` | WCAG 2.1 AA: icon-only buttons, touch targets, heading levels, ARIA validation, 20+ checks |
|
|
690
|
+
| `trie_design` | AI slop detection, verified token systems, contrast validation, design health scoring |
|
|
691
|
+
| `trie_ux` | User testing simulations: happy path, security tester, confused user, impatient user |
|
|
692
|
+
| `trie_visual_qa` | Visual regression, responsive design, cross-browser issues |
|
|
693
|
+
| `trie_e2e` | End-to-end test coverage, user flow validation |
|
|
694
|
+
|
|
695
|
+
### Operations Skills
|
|
696
|
+
|
|
697
|
+
| Tool | What It Analyzes |
|
|
698
|
+
|------|------------------|
|
|
454
699
|
| `trie_devops` | Config issues, logging, environment variables, deployment patterns |
|
|
455
|
-
| `
|
|
456
|
-
| `
|
|
457
|
-
| `
|
|
700
|
+
| `trie_data_flow` | Data flow analysis, state management, API contracts |
|
|
701
|
+
| `trie_production_ready` | Production gate: health endpoints, graceful shutdown, security headers, rate limiting |
|
|
702
|
+
| `trie_moneybags` | 💰 Estimates dollar cost of bugs scaled to your user count |
|
|
703
|
+
| `trie_comprehension` | Plain language explanations for non-technical stakeholders |
|
|
458
704
|
|
|
459
|
-
|
|
705
|
+
### Special Skills (Manually Invoked)
|
|
460
706
|
|
|
461
|
-
|
|
707
|
+
| Tool | Description |
|
|
708
|
+
|------|-------------|
|
|
709
|
+
| `trie_super_reviewer` | Interactive PR reviews: walks through changes file-by-file with AI guidance |
|
|
710
|
+
| `trie_agent_smith` | Ultimate AI code enforcer—43 specialized hunters targeting AI-generated anti-patterns |
|
|
462
711
|
|
|
463
|
-
|
|
712
|
+
### Custom & External Skills
|
|
464
713
|
|
|
465
|
-
|
|
714
|
+
| Tool | Description |
|
|
715
|
+
|------|-------------|
|
|
716
|
+
| `trie_create_skill` | Create a custom skill from a PDF, TXT, or MD document |
|
|
717
|
+
| `trie_save_skill` | Save a custom skill configuration |
|
|
718
|
+
| `trie_list_skills` | List all installed skills (external and custom) |
|
|
719
|
+
| `trie_skill_review` | Apply installed external/custom skills to code review |
|
|
466
720
|
|
|
467
|
-
|
|
721
|
+
---
|
|
722
|
+
|
|
723
|
+
## CLI Commands
|
|
468
724
|
|
|
469
725
|
```bash
|
|
470
|
-
#
|
|
471
|
-
trie
|
|
726
|
+
# Bootstrap (installs git hooks, detects stack, suggests skills)
|
|
727
|
+
trie init
|
|
472
728
|
|
|
473
|
-
#
|
|
474
|
-
trie
|
|
729
|
+
# Report an incident (builds memory)
|
|
730
|
+
trie tell "users can't log in after my push"
|
|
475
731
|
|
|
476
|
-
#
|
|
477
|
-
trie
|
|
732
|
+
# Quick check before pushing (< 500ms, no LLM)
|
|
733
|
+
trie check
|
|
478
734
|
|
|
479
|
-
#
|
|
480
|
-
trie-
|
|
735
|
+
# Give feedback on last warning
|
|
736
|
+
trie ok # Helpful - increases confidence
|
|
737
|
+
trie bad # Not helpful - decreases confidence
|
|
481
738
|
|
|
482
|
-
#
|
|
483
|
-
trie
|
|
739
|
+
# Pause warnings for 1 hour
|
|
740
|
+
trie quiet
|
|
484
741
|
|
|
485
|
-
#
|
|
486
|
-
trie
|
|
742
|
+
# View memory tree, patterns, and health
|
|
743
|
+
trie status
|
|
487
744
|
|
|
488
|
-
#
|
|
489
|
-
trie
|
|
490
|
-
|
|
491
|
-
# List all available agents
|
|
492
|
-
trie-agent agents
|
|
745
|
+
# Full scan with intelligent skill selection
|
|
746
|
+
trie scan
|
|
493
747
|
|
|
494
|
-
#
|
|
495
|
-
trie
|
|
748
|
+
# Scan specific directory
|
|
749
|
+
trie scan --dir ./src
|
|
496
750
|
|
|
497
|
-
#
|
|
498
|
-
trie
|
|
751
|
+
# Scan with specific skills
|
|
752
|
+
trie scan --skills security,privacy,bugs
|
|
499
753
|
|
|
500
|
-
#
|
|
501
|
-
trie
|
|
754
|
+
# Watch mode (proactive nudging while you code)
|
|
755
|
+
trie watch
|
|
502
756
|
|
|
503
|
-
#
|
|
504
|
-
trie
|
|
505
|
-
trie-agent skills list development # 25 skills
|
|
506
|
-
trie-agent skills list security # 10 skills
|
|
757
|
+
# Output JSON report
|
|
758
|
+
trie scan --format json --output report.json
|
|
507
759
|
|
|
508
|
-
#
|
|
509
|
-
trie
|
|
760
|
+
# Quick save (checkpoint without full scan)
|
|
761
|
+
trie checkpoint "finished auth flow"
|
|
510
762
|
|
|
511
763
|
# Search issue memory
|
|
512
|
-
trie
|
|
764
|
+
trie memory search "SQL injection"
|
|
513
765
|
|
|
514
766
|
# View cross-project patterns
|
|
515
|
-
trie
|
|
767
|
+
trie memory global patterns
|
|
516
768
|
|
|
517
|
-
#
|
|
518
|
-
trie
|
|
769
|
+
# List available skills
|
|
770
|
+
trie skills list
|
|
519
771
|
|
|
520
|
-
#
|
|
521
|
-
trie
|
|
772
|
+
# Browse skill categories (150+ skills across 12 categories)
|
|
773
|
+
trie skills list categories
|
|
522
774
|
|
|
523
|
-
#
|
|
524
|
-
trie-agent
|
|
775
|
+
# Install an external skill
|
|
776
|
+
trie skills add vercel-labs/agent-skills vercel-react-best-practices
|
|
525
777
|
```
|
|
526
778
|
|
|
527
779
|
### CLI vs MCP Tools
|
|
528
780
|
|
|
529
781
|
| Use Case | Tool | When to Use |
|
|
530
782
|
|----------|------|-------------|
|
|
531
|
-
| **Interactive coding** | MCP tools (`trie_scan`, `
|
|
532
|
-
| **Terminal/CI** | CLI (`trie
|
|
783
|
+
| **Interactive coding** | MCP tools (`trie_scan`, `trie_check`, `trie_tell`) | Working inside Cursor/Claude Code |
|
|
784
|
+
| **Terminal/CI** | CLI (`trie scan`, `trie check`, `trie tell`) | Running from terminal, CI pipelines, scripts |
|
|
533
785
|
| **VS Code** | VS Code extension | Using VS Code (not Cursor/Claude Code) |
|
|
534
786
|
|
|
535
787
|
---
|
|
536
788
|
|
|
537
|
-
## Built-in
|
|
789
|
+
## Built-in Skills
|
|
538
790
|
|
|
539
|
-
|
|
791
|
+
Trie has ONE guardian agent that decides when to invoke these specialized analyzers (skills).
|
|
540
792
|
|
|
541
|
-
|
|
793
|
+
### Security & Compliance (4 skills)
|
|
794
|
+
|
|
795
|
+
| Skill | Description |
|
|
542
796
|
|-------|-------------|
|
|
543
797
|
| **Security** | SQL injection, XSS, hardcoded secrets, auth bypasses, OWASP Top 10 |
|
|
544
798
|
| **Privacy** | GDPR/CCPA/PCI-DSS compliance, PII exposure, data encryption |
|
|
545
799
|
| **SOC 2** | Access control gaps, missing audit logs, encryption, secrets management |
|
|
546
800
|
| **Legal** | Comprehensive app legal: licensing, ToS, accessibility, IP, GDPR/CCPA, e-commerce, COPPA, marketing compliance |
|
|
547
801
|
|
|
548
|
-
### Code Quality (6
|
|
802
|
+
### Code Quality (6 skills)
|
|
549
803
|
|
|
550
|
-
|
|
|
804
|
+
| Skill | Description |
|
|
551
805
|
|-------|-------------|
|
|
552
806
|
| **TypeCheck** | Type errors, missing annotations, null checks |
|
|
553
807
|
| **Bug Finding** | Null safety, edge cases, async issues, race conditions |
|
|
@@ -556,9 +810,9 @@ trie-agent skills list
|
|
|
556
810
|
| **Performance** | Memory leaks, inefficient algorithms, bundle size |
|
|
557
811
|
| **Trie Clean** | Clean up AI-generated "vibe code": find common mistakes and quick fixes |
|
|
558
812
|
|
|
559
|
-
### UI/UX (5
|
|
813
|
+
### UI/UX (5 skills)
|
|
560
814
|
|
|
561
|
-
|
|
|
815
|
+
| Skill | Description |
|
|
562
816
|
|-------|-------------|
|
|
563
817
|
| **Accessibility** | WCAG 2.1 AA compliance: icon-only buttons, touch targets, heading levels, ARIA validation, color-only indicators, keyboard nav, focus management, 20+ checks |
|
|
564
818
|
| **Design Engineer** | AI slop detection, verified token systems, contrast validation, design health scoring, domain-aware recommendations |
|
|
@@ -566,21 +820,22 @@ trie-agent skills list
|
|
|
566
820
|
| **Visual QA** | Visual regression, responsive design, cross-browser issues |
|
|
567
821
|
| **E2E** | End-to-end test coverage, user flow validation |
|
|
568
822
|
|
|
569
|
-
### Operations (
|
|
823
|
+
### Operations (6 skills)
|
|
570
824
|
|
|
571
|
-
|
|
|
825
|
+
| Skill | Description |
|
|
572
826
|
|-------|-------------|
|
|
573
827
|
| **DevOps** | Config issues, logging, environment variables, deployment patterns |
|
|
574
828
|
| **Data Flow** | Data flow analysis, state management, API contracts |
|
|
575
829
|
| **Comprehension** | Plain language explanations for non-technical stakeholders |
|
|
576
830
|
| **Moneybags** | 💰 Estimates dollar cost of bugs scaled to your user count (default: 250). Use `--users` to configure |
|
|
577
831
|
| **Production Ready** | 🚀 Production gate: health endpoints, graceful shutdown, connection pooling, security headers, rate limiting, monitoring |
|
|
832
|
+
| **Skill Review** | Applies external and custom skills to code review |
|
|
578
833
|
|
|
579
834
|
---
|
|
580
835
|
|
|
581
|
-
## Accessibility
|
|
836
|
+
## Accessibility Skill (v2.0)
|
|
582
837
|
|
|
583
|
-
The Accessibility
|
|
838
|
+
The Accessibility Skill has been completely rebuilt to provide comprehensive WCAG 2.1 AA compliance checking—matching and exceeding tools like rams.ai, axe-core, and Lighthouse.
|
|
584
839
|
|
|
585
840
|
### Severity Levels
|
|
586
841
|
|
|
@@ -700,9 +955,9 @@ trie_accessibility
|
|
|
700
955
|
|
|
701
956
|
---
|
|
702
957
|
|
|
703
|
-
## Moneybags
|
|
958
|
+
## Moneybags Skill
|
|
704
959
|
|
|
705
|
-
The Moneybags
|
|
960
|
+
The Moneybags skill answers the question every CFO asks: **"How much will this bug cost us?"**
|
|
706
961
|
|
|
707
962
|
Built on industry research from IBM, NIST, Ponemon Institute, and Gartner, it calculates the actual dollar cost of each issue—both the cost to fix now and the cost if it reaches production. **Costs scale based on your user count.**
|
|
708
963
|
|
|
@@ -785,9 +1040,9 @@ trie scan -u 1000000 # Enterprise
|
|
|
785
1040
|
|
|
786
1041
|
---
|
|
787
1042
|
|
|
788
|
-
## Legal
|
|
1043
|
+
## Legal Skill (v2.0)
|
|
789
1044
|
|
|
790
|
-
The Legal
|
|
1045
|
+
The Legal Skill has been completely rebuilt to be the most comprehensive legal compliance scanner for app development—covering everything from open source licensing to international data protection.
|
|
791
1046
|
|
|
792
1047
|
### What It Covers (21 Categories)
|
|
793
1048
|
|
|
@@ -902,9 +1157,9 @@ The Legal Agent has been completely rebuilt to be the most comprehensive legal c
|
|
|
902
1157
|
|
|
903
1158
|
---
|
|
904
1159
|
|
|
905
|
-
## Design Engineer (v2.0)
|
|
1160
|
+
## Design Engineer Skill (v2.0)
|
|
906
1161
|
|
|
907
|
-
The Design Engineer
|
|
1162
|
+
The Design Engineer skill has been rebuilt with a comprehensive 5-layer design intelligence architecture to detect "AI slop" and enforce professional design standards.
|
|
908
1163
|
|
|
909
1164
|
### What It Detects
|
|
910
1165
|
|
|
@@ -963,9 +1218,9 @@ import {
|
|
|
963
1218
|
|
|
964
1219
|
---
|
|
965
1220
|
|
|
966
|
-
## Special
|
|
1221
|
+
## Special Skills
|
|
967
1222
|
|
|
968
|
-
These
|
|
1223
|
+
These skills are **manually invoked**—they don't run during regular guardian checks.
|
|
969
1224
|
|
|
970
1225
|
### Super Reviewer
|
|
971
1226
|
|
|
@@ -1149,7 +1404,7 @@ Skills can come from any GitHub repository with a SKILL.md file:
|
|
|
1149
1404
|
|
|
1150
1405
|
| Source | Examples |
|
|
1151
1406
|
|--------|----------|
|
|
1152
|
-
| [Vercel](https://
|
|
1407
|
+
| [Vercel](https://skills.sh) | vercel-react-best-practices, web-design-guidelines |
|
|
1153
1408
|
| [Anthropic](https://github.com/anthropics/skills) | frontend-design, webapp-testing, mcp-builder, pdf, xlsx, docx |
|
|
1154
1409
|
| [Expo](https://github.com/expo/skills) | building-native-ui, upgrading-expo, expo-deployment (9 skills) |
|
|
1155
1410
|
| [Stripe](https://github.com/stripe/ai) | stripe-best-practices |
|
|
@@ -1164,8 +1419,6 @@ Skills can come from any GitHub repository with a SKILL.md file:
|
|
|
1164
1419
|
| [Marketing](https://github.com/coreyhaines31/marketingskills) | seo-audit, copywriting, pricing-strategy (23 skills) |
|
|
1165
1420
|
| Your org | Internal standards, style guides, compliance docs |
|
|
1166
1421
|
|
|
1167
|
-
Browse all available skills at [skills.sh](https://skills.sh)
|
|
1168
|
-
|
|
1169
1422
|
### Auto-Suggested Skills
|
|
1170
1423
|
|
|
1171
1424
|
When you run `trie init`, Trie automatically detects your dependencies and suggests relevant skills:
|
|
@@ -1307,30 +1560,27 @@ trie://team # Team ownership info
|
|
|
1307
1560
|
|
|
1308
1561
|
## Issue Memory
|
|
1309
1562
|
|
|
1310
|
-
Trie stores all detected
|
|
1563
|
+
Trie stores all detected incidents for search, pattern discovery, and cross-project learning. Uses BM25 ranking (same algorithm as Elasticsearch) for intelligent search.
|
|
1311
1564
|
|
|
1312
1565
|
### Local Memory (`.trie/memory/`)
|
|
1313
1566
|
|
|
1314
|
-
|
|
1315
|
-
- `issues.json` - Searchable
|
|
1316
|
-
- `
|
|
1317
|
-
- `
|
|
1567
|
+
Incidents from each `trie tell` command are stored locally:
|
|
1568
|
+
- `issues.json` - Searchable incident index with BM25 ranking
|
|
1569
|
+
- `patterns.json` - Discovered patterns (3+ incidents with confidence scores)
|
|
1570
|
+
- `YYYY-MM-DD.md` - Daily incident logs (human-readable)
|
|
1318
1571
|
|
|
1319
|
-
### Search
|
|
1572
|
+
### Search Incidents
|
|
1320
1573
|
|
|
1321
1574
|
**CLI:**
|
|
1322
1575
|
```bash
|
|
1323
1576
|
# Search by keyword
|
|
1324
1577
|
trie memory search "SQL injection"
|
|
1325
1578
|
|
|
1326
|
-
# View recent
|
|
1579
|
+
# View recent incidents
|
|
1327
1580
|
trie memory recent
|
|
1328
1581
|
|
|
1329
1582
|
# Show statistics
|
|
1330
1583
|
trie memory stats
|
|
1331
|
-
|
|
1332
|
-
# Mark issue resolved
|
|
1333
|
-
trie memory resolve <issue-id>
|
|
1334
1584
|
```
|
|
1335
1585
|
|
|
1336
1586
|
**MCP:**
|
|
@@ -1355,39 +1605,26 @@ trie memory global projects
|
|
|
1355
1605
|
trie memory global search "authentication"
|
|
1356
1606
|
```
|
|
1357
1607
|
|
|
1358
|
-
### MCP Resources
|
|
1359
|
-
|
|
1360
|
-
```
|
|
1361
|
-
trie://memory # Local issue stats and recent issues
|
|
1362
|
-
trie://memory/global # Cross-project patterns and stats
|
|
1363
|
-
```
|
|
1364
|
-
|
|
1365
1608
|
### How It Works
|
|
1366
1609
|
|
|
1367
1610
|
1. **BM25 Search**: Uses term frequency, inverse document frequency, and document length normalization for ranking
|
|
1368
|
-
2. **Pattern Detection**:
|
|
1369
|
-
3. **Cross-Project Tracking**: Same pattern in multiple projects is tracked
|
|
1370
|
-
4. **
|
|
1371
|
-
5. **
|
|
1372
|
-
|
|
1373
|
-
### Intelligent Compaction
|
|
1611
|
+
2. **Pattern Detection**: After 3+ incidents in same area, pattern is automatically created with confidence score
|
|
1612
|
+
3. **Cross-Project Tracking**: Same pattern in multiple projects is tracked globally
|
|
1613
|
+
4. **Confidence Updates**: `trie ok` / `trie bad` feedback adjusts pattern confidence immediately
|
|
1614
|
+
5. **Trie-Powered Discovery**: Hot path detection via tree traversal completes in < 10ms
|
|
1374
1615
|
|
|
1375
|
-
|
|
1616
|
+
### Memory Structure
|
|
1376
1617
|
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
-
|
|
1382
|
-
|
|
1383
|
-
```bash
|
|
1384
|
-
# View stats including historical data
|
|
1385
|
-
trie memory stats
|
|
1618
|
+
```
|
|
1619
|
+
.trie/memory/
|
|
1620
|
+
├── issues.json # All incidents with metadata
|
|
1621
|
+
├── patterns.json # Discovered patterns
|
|
1622
|
+
├── 2024-01-15.md # Daily log
|
|
1623
|
+
└── 2024-01-16.md
|
|
1386
1624
|
|
|
1387
|
-
|
|
1388
|
-
#
|
|
1389
|
-
#
|
|
1390
|
-
# Trend: improving
|
|
1625
|
+
~/.trie/memory/
|
|
1626
|
+
├── global-patterns.json # Cross-project patterns
|
|
1627
|
+
└── projects.json # Tracked project list
|
|
1391
1628
|
```
|
|
1392
1629
|
|
|
1393
1630
|
---
|
|
@@ -1582,153 +1819,55 @@ When AI is enabled, you'll see:
|
|
|
1582
1819
|
|
|
1583
1820
|
## CI/CD Integration
|
|
1584
1821
|
|
|
1585
|
-
|
|
1822
|
+
The guardian agent works in CI/CD by reading your project's `.trie/` directory—the same memory, patterns, and incident history you've built locally.
|
|
1586
1823
|
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
```bash
|
|
1590
|
-
mkdir -p .github/workflows
|
|
1591
|
-
cp node_modules/@triedotdev/mcp/.github/workflows/trie-*.yml .github/workflows/
|
|
1592
|
-
```
|
|
1593
|
-
|
|
1594
|
-
### Available Workflows
|
|
1595
|
-
|
|
1596
|
-
**Full Security Scan** (`trie-security-scan.yml`)
|
|
1597
|
-
- Runs on push to `main`/`develop`, PRs, and daily schedule
|
|
1598
|
-
- Runs security agents: `security`, `privacy`, `soc2`, `legal`
|
|
1599
|
-
- Uploads SARIF to GitHub Security tab
|
|
1600
|
-
- Comments on PRs with summary
|
|
1601
|
-
- Fails build on critical issues
|
|
1602
|
-
|
|
1603
|
-
**Pre-commit Checks** (`trie-pre-commit.yml`)
|
|
1604
|
-
- Runs on every PR—fast, incremental scanning
|
|
1605
|
-
|
|
1606
|
-
---
|
|
1607
|
-
|
|
1608
|
-
## VS Code Extension
|
|
1609
|
-
|
|
1610
|
-
Native VS Code extension with inline diagnostics and quick fixes.
|
|
1611
|
-
|
|
1612
|
-
### Features
|
|
1613
|
-
- Inline diagnostics from Trie scans
|
|
1614
|
-
- Quick-fix code actions
|
|
1615
|
-
- Scan on save
|
|
1616
|
-
- Status bar integration
|
|
1617
|
-
|
|
1618
|
-
---
|
|
1619
|
-
|
|
1620
|
-
## Agent Context System
|
|
1621
|
-
|
|
1622
|
-
> **Simple version:** Trie remembers your project state automatically. See [How Trie Remembers Your Project](#how-trie-remembers-your-project) for the plain-English explanation.
|
|
1623
|
-
|
|
1624
|
-
### What Gets Saved
|
|
1625
|
-
|
|
1626
|
-
Every time you scan, Trie updates a file in your project (`.trie/AGENTS.md`) with:
|
|
1627
|
-
|
|
1628
|
-
| Tracked | Example |
|
|
1629
|
-
|---------|---------|
|
|
1630
|
-
| Health score | "Your project is at 85/100" |
|
|
1631
|
-
| Critical issues | "2 security issues need fixing" |
|
|
1632
|
-
| Hot files | "checkout.ts has 3 issues" |
|
|
1633
|
-
| Priorities | "Fix payment auth before launching" |
|
|
1634
|
-
| Last scan | "Scanned yesterday, 47 files checked" |
|
|
1635
|
-
|
|
1636
|
-
### What This Means For You
|
|
1637
|
-
|
|
1638
|
-
| Scenario | What Happens |
|
|
1639
|
-
|----------|--------------|
|
|
1640
|
-
| Open Cursor tomorrow | AI already knows your project state |
|
|
1641
|
-
| Switch to Claude Code | Same context, no re-scanning needed |
|
|
1642
|
-
| Push to GitHub | CI/CD knows what to focus on |
|
|
1643
|
-
| Ask Trie "what should I fix?" | Gives prioritized answer based on your history |
|
|
1644
|
-
|
|
1645
|
-
### File Size Management
|
|
1646
|
-
|
|
1647
|
-
The context system uses automatic limits to prevent unbounded growth:
|
|
1648
|
-
|
|
1649
|
-
| Limit | Value | What Happens |
|
|
1650
|
-
|-------|-------|--------------|
|
|
1651
|
-
| Max tracked issues | 500 | Oldest issues pruned when exceeded |
|
|
1652
|
-
| Locations per issue | 5 | Only most recent locations kept |
|
|
1653
|
-
| Scan history | 20 scans | Older scan records removed |
|
|
1654
|
-
| Hot files | 10 files | Only top 10 shown |
|
|
1655
|
-
| Issue age | 30 days | Stale resolved issues pruned |
|
|
1656
|
-
|
|
1657
|
-
You don't need to manage this - Trie automatically prunes old data on each scan.
|
|
1658
|
-
|
|
1659
|
-
### Multiple Projects
|
|
1660
|
-
|
|
1661
|
-
Each project has its own isolated context:
|
|
1662
|
-
|
|
1663
|
-
| Scenario | How It Works |
|
|
1664
|
-
|----------|--------------|
|
|
1665
|
-
| Switch between projects | Each project has its own `.trie/` folder |
|
|
1666
|
-
| Clone on new machine | Context restored from committed `.trie/` files |
|
|
1667
|
-
| Monorepo with workspaces | Each workspace can have its own `.trie/` |
|
|
1668
|
-
| Team collaboration | Same context when pulling changes |
|
|
1669
|
-
|
|
1670
|
-
Trie auto-detects your project root by looking for `package.json`, `.git`, `Cargo.toml`, `go.mod`, or similar project indicators.
|
|
1671
|
-
|
|
1672
|
-
### For Developers: Technical Details
|
|
1673
|
-
|
|
1674
|
-
<details>
|
|
1675
|
-
<summary>MCP Resources (click to expand)</summary>
|
|
1676
|
-
|
|
1677
|
-
```
|
|
1678
|
-
trie://context # Combined context (PROJECT.md + scan results)
|
|
1679
|
-
trie://project # User-defined project info (PROJECT.md)
|
|
1680
|
-
trie://context/state # Detailed JSON state
|
|
1681
|
-
trie://agents # Available agents
|
|
1682
|
-
trie://config # Current configuration
|
|
1683
|
-
```
|
|
1684
|
-
|
|
1685
|
-
Files stored:
|
|
1686
|
-
- `.trie/PROJECT.md` - User-defined project context (description, stack, conventions, AI instructions)
|
|
1687
|
-
- `.trie/AGENTS.md` - Auto-generated scan context
|
|
1688
|
-
- `.trie/state.json` - Machine-readable state for programmatic access
|
|
1689
|
-
|
|
1690
|
-
</details>
|
|
1691
|
-
|
|
1692
|
-
---
|
|
1693
|
-
|
|
1694
|
-
## Production Shipping
|
|
1695
|
-
|
|
1696
|
-
Trie solves the "last mile" of shipping to production with the **Production Ready** agent.
|
|
1824
|
+
### GitHub Actions
|
|
1697
1825
|
|
|
1698
|
-
|
|
1826
|
+
Add to `.github/workflows/trie.yml`:
|
|
1699
1827
|
|
|
1700
|
-
```
|
|
1701
|
-
|
|
1702
|
-
|
|
1828
|
+
```yaml
|
|
1829
|
+
name: Trie Guardian
|
|
1830
|
+
on: [push, pull_request]
|
|
1703
1831
|
|
|
1704
|
-
|
|
1705
|
-
|
|
1832
|
+
jobs:
|
|
1833
|
+
check:
|
|
1834
|
+
runs-on: ubuntu-latest
|
|
1835
|
+
steps:
|
|
1836
|
+
- uses: actions/checkout@v4
|
|
1837
|
+
with:
|
|
1838
|
+
fetch-depth: 0 # Need git history for incident context
|
|
1839
|
+
|
|
1840
|
+
- name: Guardian Check
|
|
1841
|
+
run: |
|
|
1842
|
+
npx @triedotdev/mcp check --fail-on=critical
|
|
1706
1843
|
```
|
|
1707
1844
|
|
|
1708
|
-
### What
|
|
1845
|
+
### What Happens in CI
|
|
1709
1846
|
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
| **Security Headers** | CSP, HSTS, X-Frame-Options, etc. |
|
|
1716
|
-
| **Rate Limiting** | API rate limiting configuration |
|
|
1717
|
-
| **Monitoring** | Error tracking, APM integration |
|
|
1718
|
-
| **Session Storage** | External session store (not in-memory) |
|
|
1719
|
-
| **Error Handling** | Global error handlers, no empty catch blocks |
|
|
1720
|
-
| **Anti-patterns** | console.log, localhost URLs, TODO comments |
|
|
1847
|
+
1. **Reads memory**: Loads `.trie/memory/` (incidents, patterns)
|
|
1848
|
+
2. **Checks changes**: Analyzes files in current commit
|
|
1849
|
+
3. **Risk assessment**: Uses incident history + patterns for scoring
|
|
1850
|
+
4. **Plain English**: Reports warnings just like locally
|
|
1851
|
+
5. **Fails build**: If critical issues detected (configurable)
|
|
1721
1852
|
|
|
1722
|
-
###
|
|
1853
|
+
### Full Skill Scan
|
|
1723
1854
|
|
|
1724
|
-
|
|
1855
|
+
For deeper analysis (security, privacy, etc.), add a weekly/nightly job:
|
|
1725
1856
|
|
|
1726
1857
|
```yaml
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1858
|
+
name: Weekly Guardian Scan
|
|
1859
|
+
on:
|
|
1860
|
+
schedule:
|
|
1861
|
+
- cron: '0 2 * * 1' # Monday 2am
|
|
1862
|
+
|
|
1863
|
+
jobs:
|
|
1864
|
+
full-scan:
|
|
1865
|
+
runs-on: ubuntu-latest
|
|
1866
|
+
steps:
|
|
1867
|
+
- uses: actions/checkout@v4
|
|
1868
|
+
- name: Run full scan
|
|
1869
|
+
run: |
|
|
1870
|
+
npx @triedotdev/mcp scan --skills security,privacy,soc2
|
|
1732
1871
|
```
|
|
1733
1872
|
|
|
1734
1873
|
---
|