fivocell 8.11.4 → 8.12.1

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,194 +1,568 @@
1
- # FivoCell
2
-
3
- > **Your AI forgets. Cell doesn't.**
4
-
5
- [![License](https://img.shields.io/badge/License-Apache%202.0-blue)](LICENSE)
6
- [![Platform](https://img.shields.io/badge/Mac%20%7C%20Windows%20%7C%20Linux-supported-lightgrey)]()
7
- [![Node](https://img.shields.io/badge/Node-%3E%3D18-green)]()
8
- [![npm](https://img.shields.io/npm/v/fivocell)](https://www.npmjs.com/package/fivocell)
9
- [![Tests](https://img.shields.io/badge/Tests-817%2F817-passing-brightgreen)]()
10
-
11
- ---
12
-
13
- ## The Problem
14
-
15
- Every AI coding session starts from zero.
16
-
17
- You explain your stack. Your style. Your last decision. Your project goals.
18
- Switch from Cursor to Codex? Start over. New chat? Start over. New day? Start over.
19
-
20
- **AI tools write code. But they forget everything between sessions.**
21
-
22
- ---
23
-
24
- ## The Solution
25
-
26
- Cell creates a permanent intelligence layer between you and every AI tool.
27
-
28
- ```
29
- ┌──────────┐
30
- Cursor ────────→│ │
31
- Claude Code ───→│ CELL │────→ SQLite (100% local)
32
- Codex ─────────→│ │
33
- Antigravity ───→│ Memory │────→ Never forgets. Never resets.
34
- Windsurf ──────→│ │
35
- Any MCP tool ──→└──────────┘
36
- ```
37
-
38
- One daemon. One database. One memory. Works across every AI tool.
39
-
40
- ---
41
-
42
- ## 30-Second Start
43
-
44
- ```bash
45
- npm i -g fivocell --loglevel=error
46
- cell setup
47
- cell start
48
- cell mcp-config
49
- ```
50
-
51
- Type `@cell` in Cursor, Codex, Antigravity, or any MCP tool. AI gets full project memory.
52
-
53
- ---
54
-
55
- ## What Cell Remembers
56
-
57
- | Your AI Tool | Cell Adds |
58
- |-------------|-----------|
59
- | Writes code | **Remembers your project** — stack, files, architecture |
60
- | Generates functions | **Knows your style** — quotes, naming, patterns (auto-detected) |
61
- | Answers questions | **Recalls your decisions** — why you chose PostgreSQL, not Mongo |
62
- | Opens new chat | **Restores your session** — what you were working on, where you left off |
63
- | Switches between tools | **Same memory everywhere** — Cursor → Codex → Claude, no loss |
64
- | Responds generically | **Adapts to your vibe** — your language, your tone, your workflow |
65
-
66
- ---
67
-
68
- ## Core Features
69
-
70
- ### 🎯 @cell Context Injection
71
- Type `@cell` in any AI tool. Cell injects your project profile, coding style, blind spots, last session, and predictions. AI never starts from zero again.
72
-
73
- ### 🧠 Permanent Memory
74
- Decisions, errors, fixes, patterns everything stored in local SQLite. Searchable. Replayable. Survives sessions, tools, and time.
75
-
76
- ### 🔍 Blind Spot Scanner
77
- Automatically detects 15+ code issues: missing null checks, swallowed errors, `any` usage, N+1 queries, deep nesting. Prioritized. Actionable.
78
-
79
- ### 🎭 Vibe Engine (NEW in v7)
80
- Cell learns how you work — your language, your tone, your preferences. Hinglish or English? Bullets or paragraphs? Minimal changes or thorough rewrites? AI adapts automatically.
81
-
82
- ### 🔗 Cross-Tool Memory
83
- Same daemon, same database, same memory. Works with Cursor, Codex, Antigravity, Claude Code, Windsurf, OpenCode, and any MCP client.
84
-
85
- ### 🌐 Local-First & Private
86
- Everything runs on your machine. No cloud. No telemetry. No tracking. AES-256-GCM encryption for sensitive data. Apache 2.0 — free forever.
87
-
88
- ### 🩺 Health System
89
- `cell doctor` runs 12 checks across all subsystems. `cell verify` ensures data integrity. Critical issues flagged. Warnings explained. Always know your memory health.
90
-
91
- ---
92
-
93
- ## Why Cell vs The Alternatives
94
-
95
- | Problem | AI Tools Alone | With Cell |
96
- |---------|---------------|-----------|
97
- | Project context per session | ❌ Re-explain every time | ✅ Auto-injected |
98
- | Memory across tools | ❌ Each tool isolated | ✅ One memory, all tools |
99
- | Code style consistency | ❌ Manual rules files | ✅ Auto-detected + injected |
100
- | Blind spots & risks | ❌ Hope AI catches them | ✅ Systematic scanner |
101
- | Session handoff | ❌ Lost on tool switch | ✅ Seamless bridge |
102
- | Developer personality | ❌ Generic responses | ✅ Vibe — adapts to you |
103
- | Privacy | ❌ Cloud-dependent | ✅ 100% local |
104
-
105
- ---
106
-
107
- ## Quick Commands
108
-
109
- ```
110
- cell setup One-time setup
111
- cell start Start daemon on localhost:9876
112
- cell scan Analyze codebase + build intelligence
113
- cell context View what @cell returns
114
- cell blindspots Find code issues (--top for quick view)
115
- cell vibe See your learned personality
116
- cell teach Tell Cell about yourself
117
- cell doctor 12-point health check
118
- cell verify Data integrity check
119
- cell memory search Search everything Cell remembers
120
- ```
121
-
122
- ---
123
-
124
- ## Supported Tools
125
-
126
- | Tool | Connection | Setup |
127
- |------|-----------|-------|
128
- | **Cursor** | MCP | `cell mcp-config` |
129
- | **Codex** | MCP | `cell mcp-config` |
130
- | **Antigravity** | MCP | `cell mcp-config` |
131
- | **Claude Code** | MCP | Manual URL |
132
- | **Windsurf** | MCP | Manual URL |
133
- | **OpenCode** | MCP | `cell mcp-config` |
134
- | **GitHub Copilot** | MCP | Manual URL |
135
- | **VS Code** | Extension | Install VSIX |
136
- | **Any MCP Client** | HTTP | `http://localhost:9876/mcp` |
137
-
138
- ---
139
-
140
- ## What Users Are Saying
141
-
142
- > "Finally I switch between Cursor and Codex all day. Cell keeps my context. I don't explain anything twice anymore."
143
-
144
- > "The blind spot scanner found 39 async functions without try/catch in my codebase. I fixed them in an hour. That alone saved me weeks of debugging."
145
-
146
- > "My AI now talks in Hinglish. Not because I asked — Cell figured it out from my sessions. The vibe engine is actually magic."
147
-
148
- ---
149
-
150
- ## More Features
151
-
152
- Cell also includes: session replay, branch context memory, CI/CD integration, encrypted sync export/import, weekly reports, memory health scoring, developer velocity tracking, knowledge graph, project DNA fingerprinting, focus reports, PR review assistant, and 70+ more. See [full reference](docs/FIVO-CELL-COMPLETE-REFERENCE.md).
153
-
154
- ---
155
-
156
- ## Architecture
157
-
158
- ```
159
- ~/.fivo/cell/cell.db ← Single SQLite database (64 tables)
160
- ├── memory_events ← Every edit, decision, error, fix
161
- ├── sessions ← Work sessions across all tools
162
- ├── style_profiles Auto-detected coding patterns
163
- ├── code_patterns ← Learned patterns by category
164
- └── ... (60+ more tables)
165
-
166
- .cell/ ← Per-project readable files
167
- ├── vibe/ ← Your learned personality (new in v7)
168
- ├── memory/ ← Compressed archives + summaries
169
- └── handoff/ ← Session-to-session context
170
- ```
171
-
172
- ---
173
-
174
- ## Stats
175
-
176
- ```
177
- Build: 0 TypeScript errors
178
- Tests: 86 suites, 817/817 passing
179
- MCP Tools: 112 registered
180
- Lines: 59,000+ production TypeScript
181
- Security: 0 vulnerabilities (audited 2026-06-13)
182
- ```
183
-
184
- ---
185
-
186
- ## Contribute
187
-
188
- [github.com/itsvinsoni/fivocell](https://github.com/itsvinsoni/fivocell)
189
-
190
- Apache 2.0. Open issues. PRs welcome.
191
-
192
- ---
193
-
194
- **AI tools come and go. Your project knowledge stays.**
1
+ <div align="center">
2
+ <a href="https://github.com/itsvinsoni/cell">
3
+ <img src="assets/Fivo-cell-readme-banner.png" alt="FivoCell" width="800" />
4
+ </a>
5
+
6
+ <h1>FivoCell</h1>
7
+
8
+ <p><strong>Your AI forgets. Cell doesn't.</strong><br/>
9
+ A permanent, local memory layer for every AI coding tool you use.</p>
10
+
11
+ <p>
12
+ <a href="LICENSE"><img src="https://img.shields.io/badge/License-Apache%202.0-blue" alt="License" /></a>
13
+ &nbsp;
14
+ <img src="https://img.shields.io/badge/Mac%20%7C%20Windows%20%7C%20Linux-supported-lightgrey" alt="Platform" />
15
+ &nbsp;
16
+ <img src="https://img.shields.io/badge/Node-%3E%3D18-green" alt="Node" />
17
+ &nbsp;
18
+ <a href="https://www.npmjs.com/package/fivocell"><img src="https://img.shields.io/npm/v/fivocell" alt="npm" /></a>
19
+ &nbsp;
20
+ <img src="https://img.shields.io/badge/npm%20audit-0%20vulnerabilities-success" alt="Security" />
21
+ </p>
22
+
23
+ <p>
24
+ <a href="#-quick-start">Quick Start</a> &nbsp;·&nbsp;
25
+ <a href="#-features">Features</a> &nbsp;·&nbsp;
26
+ <a href="#-comparison">Comparison</a> &nbsp;·&nbsp;
27
+ <a href="#-architecture">Architecture</a> &nbsp;·&nbsp;
28
+ <a href="#-supported-tools">Supported Tools</a> &nbsp;·&nbsp;
29
+ <a href="#-contribute">Contribute</a>
30
+ </p>
31
+ </div>
32
+
33
+ ---
34
+
35
+ ## 🤔 What is FivoCell?
36
+
37
+ Every time you talk to an AI coding tool, it starts from **zero**. You re-explain your project, your stack, your style, and what you decided yesterday. Switch from Cursor to Claude Code? Start over. New chat? Start over. New day? Start over.
38
+
39
+ **FivoCell fixes this.** It is a small program that runs quietly on your computer and acts as a **permanent brain** for all your AI tools. Once running, any AI tool instantly knows:
40
+
41
+ <div align="center">
42
+ <table>
43
+ <tr><td>🧠 <strong>Your project</strong></td><td>stack, framework, structure</td></tr>
44
+ <tr><td>✍️ <strong>Your style</strong></td><td>naming, functions, error handling</td></tr>
45
+ <tr><td>📜 <strong>Your decisions</strong></td><td>"we chose SQLite because..."</td></tr>
46
+ <tr><td>⚠️ <strong>Your blind spots</strong></td><td>risky spots scanned automatically</td></tr>
47
+ <tr><td>🔁 <strong>Your history</strong></td><td>what you did last session, what comes next</td></tr>
48
+ </table>
49
+ </div>
50
+
51
+ > **AI tools write code. FivoCell remembers everything else.**
52
+
53
+ <div align="center"><strong>100% local. Private by default. Works offline. No sign-up needed.</strong></div>
54
+
55
+ ---
56
+
57
+ ## 💡 The Problem vs The Solution
58
+
59
+ <div align="center">
60
+ <table>
61
+ <tr>
62
+ <th></th>
63
+ <th>😫 AI Tools Alone</th>
64
+ <th>✅ With FivoCell</th>
65
+ </tr>
66
+ <tr>
67
+ <td><strong>Project context</strong></td>
68
+ <td>Re-explain it every single session</td>
69
+ <td>Auto-injected when you type <code>@cell</code></td>
70
+ </tr>
71
+ <tr>
72
+ <td><strong>Memory across tools</strong></td>
73
+ <td>Each tool is isolated</td>
74
+ <td>One shared memory for all tools</td>
75
+ </tr>
76
+ <tr>
77
+ <td><strong>Code style</strong></td>
78
+ <td>You maintain manual rules files</td>
79
+ <td>Auto-detected and applied</td>
80
+ </tr>
81
+ <tr>
82
+ <td><strong>Risks and blind spots</strong></td>
83
+ <td>Hope the AI notices</td>
84
+ <td>all blind spots scanned for you</td>
85
+ </tr>
86
+ <tr>
87
+ <td><strong>Switching tools</strong></td>
88
+ <td>Context lost on every switch</td>
89
+ <td>Seamless handoff between tools</td>
90
+ </tr>
91
+ <tr>
92
+ <td><strong>Who you are</strong></td>
93
+ <td>Generic responses</td>
94
+ <td>Learns your personality (100 signals)</td>
95
+ </tr>
96
+ <tr>
97
+ <td><strong>Privacy</strong></td>
98
+ <td>Often cloud-dependent</td>
99
+ <td>Fully local, cloud is opt-in</td>
100
+ </tr>
101
+ </table>
102
+ </div>
103
+
104
+ ```
105
+ Cursor ──────────┐
106
+ Claude Code ─────┤ ┌─────────────────────┐
107
+ Codex ───────────┤ │ FIVO CELL │
108
+ Antigravity ─────┼────────────────>│ Memory Layer │
109
+ Windsurf ────────┤ │ Daemon :9876 │
110
+ OpenCode ────────┤ │ 67 MCP Tools │
111
+ Any MCP tool ────┘ └──────────┬──────────┘
112
+
113
+ ┌──────────────────┴──────────────────┐
114
+ │ │
115
+ ▼ ▼
116
+ ┌─────────────────┐ ┌─────────────────┐
117
+ │ SQLite (local) │ │ @cell in IDE │
118
+ │ Never forgets │ │ Full context │
119
+ │ Never resets │ │ Instant reply │
120
+ └─────────────────┘ └─────────────────┘
121
+ ```
122
+
123
+ ---
124
+
125
+ ## ⚡ Quick Start
126
+
127
+ ```bash
128
+ # 1. Install (one time)
129
+ npm i -g fivocell
130
+
131
+ # 2. Go to your project
132
+ cd your-project
133
+ cell run # setup + scan + start daemon, all at once
134
+ ```
135
+
136
+ Open **any** AI tool (Cursor, Claude Code, Windsurf) and type:
137
+
138
+ ```
139
+ @cell how should I add auth to this app?
140
+ ```
141
+
142
+ The AI replies with **full context** your stack, style, decisions, and blind spots without you explaining anything.
143
+
144
+ ```bash
145
+ cell status # check it's running
146
+ cell context # see exactly what the AI sees
147
+ cell vibe # see your developer personality
148
+ ```
149
+
150
+ ---
151
+
152
+ ## 🚀 Features
153
+
154
+ ### ⚙️ Core Commands
155
+
156
+ <div align="center">
157
+ <table>
158
+ <tr><th>Command</th><th>What it does</th><th>Category</th></tr>
159
+ <tr><td><code>cell run</code></td><td>Setup + scan + start, everything in one command</td><td>Setup</td></tr>
160
+ <tr><td><code>cell scan</code></td><td>Analyze codebase: stack, style, patterns, blind spots</td><td>Analysis</td></tr>
161
+ <tr><td><code>cell status</code></td><td>Daemon + project + database health at a glance</td><td>Monitor</td></tr>
162
+ <tr><td><code>cell start</code> / <code>cell stop</code></td><td>Turn the background memory daemon on or off</td><td>Daemon</td></tr>
163
+ <tr><td><code>cell sync</code></td><td>Push and pull intelligence (optional, opt-in)</td><td>Cloud</td></tr>
164
+ <tr><td><code>cell vibe</code></td><td>Your developer personality profile</td><td>Personality</td></tr>
165
+ <tr><td><code>cell doctor</code></td><td>Comprehensive health check</td><td>Health</td></tr>
166
+ <tr><td><code>cell -i</code></td><td>Interactive REPL, a ChatGPT-style terminal</td><td>REPL</td></tr>
167
+ </table>
168
+ </div>
169
+
170
+ > CLI commands organized across multiple categories. Run `cell help --all` to see them all.
171
+
172
+ ### 🧠 Memory & Context
173
+
174
+ <div align="center">
175
+ <table>
176
+ <tr><th>Feature</th><th>Details</th></tr>
177
+ <tr><td><strong>@cell Context</strong></td><td>Type <code>@cell</code> in any IDE. Project, blind spots, predictions and session get injected automatically</td></tr>
178
+ <tr><td><strong>Supreme Context</strong></td><td>3 engines (Bridge + Continuity + Predictor) for true cross-session memory</td></tr>
179
+ <tr><td><strong>Permanent Memory</strong></td><td>Events stored in local SQLite. Decisions, errors, fixes, patterns</td></tr>
180
+ <tr><td><strong>Session Memory</strong></td><td>Every session recorded: files touched, decisions made, approaches tried</td></tr>
181
+ <tr><td><strong>Cell Index</strong></td><td><code>.cell/INDEX.md</code> fast context lookup with ~89% data reduction</td></tr>
182
+ <tr><td><strong>Memory Search</strong></td><td>Instant FTS5 full-text search across all your history</td></tr>
183
+ <tr><td><strong>Handoff</strong></td><td>AI-to-AI context transfer. Bridge capture keeps context across tools</td></tr>
184
+ </table>
185
+ </div>
186
+
187
+ #### Supreme Context — 3 Engines
188
+
189
+ <div align="center">
190
+ <table>
191
+ <tr><th>Engine</th><th>What it does</th></tr>
192
+ <tr><td><strong>Bridge</strong></td><td>Captures session summary at end. Auto-injects at next start. 9 fields: summary, key decisions, open questions, failed approaches, working approaches, last thought, files in focus, vibe snapshot, predicted next steps. Sessions tracked over time.</td></tr>
193
+ <tr><td><strong>Continuity</strong></td><td>Cross-session thread. Auto-detects intent: bug fix, feature dev, refactor, test, docs, release. Never asks "what are we building?"</td></tr>
194
+ <tr><td><strong>Predictor</strong></td><td>Predicts files AI will need, errors that may recur, decisions needing revisit. Provides beachhead action.</td></tr>
195
+ </table>
196
+ </div>
197
+
198
+ ### 🎭 Vibe — Developer Personality
199
+
200
+ <div align="center">
201
+ <table>
202
+ <tr><th>Feature</th><th>Details</th></tr>
203
+ <tr><td><strong>Personality Signals</strong></td><td>Across multiple groups: language, tone, code style, workflow, decision making</td></tr>
204
+ <tr><td><strong>Identity Detection</strong></td><td>Auto-detects your developer archetype</td></tr>
205
+ <tr><td><strong>AI Guide</strong></td><td>Generates rules telling AI tools "how to behave" with you</td></tr>
206
+ <tr><td><strong>Live Enforcement</strong></td><td>Watcher flags rule violations automatically</td></tr>
207
+ <tr><td><strong>Cross-Signal Pairs</strong></td><td>Detects combined behaviors (e.g., direct and concise communication)</td></tr>
208
+ <tr><td><strong>Contradiction Resolution</strong></td><td>Ships fast for features, perfects for security — context-dependent</td></tr>
209
+ </table>
210
+ </div>
211
+
212
+ **The Signal Groups:** Language Preference · Response Structure · Communication Tone · Code Change Style · Workflow · Decision Making · Speed vs Quality · AI Trust · Project Behavior · Emotional Nuance · Prompt Thinking · Session Rhythm
213
+
214
+ > **Example AI Guide:** Be direct — start with answer, then explain. Use Hinglish: Hindi for concepts, English for code. Keep changes under 50 lines. Start with audit before proposing. Never rewrite unless asked.
215
+
216
+ ### 🔍 Code Intelligence
217
+
218
+ <div align="center">
219
+ <table>
220
+ <tr><th>Feature</th><th>Details</th></tr>
221
+ <tr><td><strong>Code Scanner</strong></td><td>Walks project files and analyzes all code structure and stack details</td></tr>
222
+ <tr><td><strong>Blind Spots</strong></td><td>Detects common issues: null safety, code quality, error handling, performance, and validation</td></tr>
223
+ <tr><td><strong>Stack Detection</strong></td><td>Language, framework, DB, ORM, test runner — all auto-detected</td></tr>
224
+ <tr><td><strong>Style Pull</strong></td><td>Detects project-specific naming styles, imports, and error-handling patterns</td></tr>
225
+ <tr><td><strong>Git Intelligence</strong></td><td>Git hooks auto-learn on every commit. Tracks patterns and repeat mistakes</td></tr>
226
+ <tr><td><strong>Trust Score</strong></td><td>Code quality scored with multi-category breakdown</td></tr>
227
+ </table>
228
+ </div>
229
+
230
+ ### 📡 MCP — Multi-IDE Support
231
+
232
+ <div align="center">
233
+ <table>
234
+ <tr><th>Feature</th><th>Details</th></tr>
235
+ <tr><td><strong>Multiple IDEs Auto-Configured</strong></td><td>Cursor, Windsurf, Antigravity, Codex/Copilot, OpenCode</td></tr>
236
+ <tr><td><strong>Rich MCP Tools</strong></td><td>Comprehensive set of tools covering sessions, context, memory, vibe, team collaboration, and cloud sync</td></tr>
237
+ <tr><td><strong>Honest Detection</strong></td><td>Only IDEs you actually have installed are configured</td></tr>
238
+ <tr><td><strong>Auto-Configure</strong></td><td><code>cell mcp-config</code> — one command registers all your IDEs</td></tr>
239
+ </table>
240
+ </div>
241
+
242
+ ### 👁️ File Watcher
243
+
244
+ <div align="center">
245
+ <table>
246
+ <tr><th>Feature</th><th>Details</th></tr>
247
+ <tr><td><strong>Live Events</strong></td><td>Captures file changes in real-time</td></tr>
248
+ <tr><td><strong>Vibe Update</strong></td><td>Watcher keeps your personality profile fresh</td></tr>
249
+ <tr><td><strong>TCP Bridge</strong></td><td>Port 9877, dedicated socket for editor events</td></tr>
250
+ <tr><td><strong>Auto-Learn</strong></td><td>Git hooks trigger auto-learning on every commit</td></tr>
251
+ </table>
252
+ </div>
253
+
254
+ ### ☁️ Cloud Sync — Opt-In Only
255
+
256
+ <div align="center">
257
+ <table>
258
+ <tr><th>Feature</th><th>Details</th></tr>
259
+ <tr><td><strong>Privacy-First</strong></td><td>Only anonymized patterns leave your machine. Never secrets, paths, or code</td></tr>
260
+ <tr><td><strong>Opt-In Scope</strong></td><td>Granular categories — you choose what syncs where</td></tr>
261
+ <tr><td><strong>Comprehensive Redaction</strong></td><td>API keys, AWS creds, private keys, tokens, emails, JWT — all <code>[REDACTED]</code></td></tr>
262
+ <tr><td><strong>JWT Auto-Refresh</strong></td><td>Token expiry check with 5-min grace period, auto-refresh</td></tr>
263
+ <tr><td><strong>Rate Limit Backoff</strong></td><td>429 gets exponential backoff (1s, 2s, 4s up to max 5 min)</td></tr>
264
+ <tr><td><strong>Device Registration</strong></td><td>UUID v4 device ID + JWT auth on first login</td></tr>
265
+ <tr><td><strong>SSRF Protection</strong></td><td>Only whitelisted URLs (<code>cell.fivo.live</code>)</td></tr>
266
+ <tr><td><strong>AES-256-GCM</strong></td><td>Encrypted sync, rate-limited, offline-ready</td></tr>
267
+ </table>
268
+ </div>
269
+
270
+ ### 👥 Team & Community
271
+
272
+ <div align="center">
273
+ <table>
274
+ <tr><th>Feature</th><th>Details</th></tr>
275
+ <tr><td><strong>Team Supreme</strong></td><td>Team DNA (shared conventions), Knowledge Map (who knows what), Health Score (bus factor, silo risk)</td></tr>
276
+ <tr><td><strong>Community Supreme</strong></td><td>Marketplace (browse/download patterns), Trends, Playbooks, Reputation (badges)</td></tr>
277
+ <tr><td><strong>Knowledge Graph</strong></td><td>Detects shared patterns across projects</td></tr>
278
+ </table>
279
+ </div>
280
+
281
+ ### 🩺 Health & Security
282
+
283
+ <div align="center">
284
+ <table>
285
+ <tr><th>Feature</th><th>Details</th></tr>
286
+ <tr><td><strong>12-Point Doctor</strong></td><td>git, node, DB, daemon, watch, MCP, FTS, scan — all checked</td></tr>
287
+ <tr><td><strong>Localhost-Only</strong></td><td>Daemon binds to <code>127.0.0.1</code> — zero LAN exposure</td></tr>
288
+ <tr><td><strong>Atomic Writes</strong></td><td>temp then rename — files never corrupt</td></tr>
289
+ <tr><td><strong>chmod 0600</strong></td><td>Database is owner-only on Unix</td></tr>
290
+ <tr><td><strong>No eval/spawnSync</strong></td><td>Zero code execution vectors</td></tr>
291
+ <tr><td><strong>Parameterized SQL</strong></td><td>Zero injection risk</td></tr>
292
+ <tr><td><strong>npm audit: 0</strong></td><td>Zero known vulnerabilities</td></tr>
293
+ </table>
294
+ </div>
295
+
296
+ ---
297
+
298
+ ## 🆚 FivoCell vs The Alternatives
299
+
300
+ <div align="center">
301
+ <table>
302
+ <tr>
303
+ <th>Capability</th>
304
+ <th><strong>FivoCell</strong></th>
305
+ <th>Pieces for Devs</th>
306
+ <th>Mem0</th>
307
+ <th>Cursor</th>
308
+ <th>.cursorrules</th>
309
+ </tr>
310
+ <tr>
311
+ <td>Works across <strong>multiple AI tools</strong></td>
312
+ <td align="center">✅ 5+ via MCP</td>
313
+ <td align="center">🟡 Partial</td>
314
+ <td align="center">🟡 SDK only</td>
315
+ <td align="center">❌ Cursor only</td>
316
+ <td align="center">❌ Per-tool</td>
317
+ </tr>
318
+ <tr>
319
+ <td><strong>Cross-session</strong> memory</td>
320
+ <td align="center">✅ Bridge + Continuity</td>
321
+ <td align="center">✅</td>
322
+ <td align="center">✅</td>
323
+ <td align="center">🟡 Limited</td>
324
+ <td align="center">❌</td>
325
+ </tr>
326
+ <tr>
327
+ <td><strong>100% local</strong> (works offline)</td>
328
+ <td align="center">✅</td>
329
+ <td align="center">🟡 Cloud-leaning</td>
330
+ <td align="center">❌ Cloud/API</td>
331
+ <td align="center">❌ Cloud</td>
332
+ <td align="center">✅ Static</td>
333
+ </tr>
334
+ <tr>
335
+ <td><strong>Codebase scanning</strong> &amp; blind spots</td>
336
+ <td align="center">✅ Full local scan</td>
337
+ <td align="center">❌</td>
338
+ <td align="center">❌</td>
339
+ <td align="center">🟡 Basic</td>
340
+ <td align="center">❌</td>
341
+ </tr>
342
+ <tr>
343
+ <td>Learns your <strong>personality / vibe</strong></td>
344
+ <td align="center">✅ 100 signals</td>
345
+ <td align="center">❌</td>
346
+ <td align="center">❌</td>
347
+ <td align="center">❌</td>
348
+ <td align="center">❌ Manual</td>
349
+ </tr>
350
+ <tr>
351
+ <td><strong>Auto-detects</strong> code style</td>
352
+ <td align="center">✅ 8 categories with %</td>
353
+ <td align="center">❌</td>
354
+ <td align="center">❌</td>
355
+ <td align="center">🟡</td>
356
+ <td align="center">❌</td>
357
+ </tr>
358
+ <tr>
359
+ <td><strong>Team &amp; community</strong> intelligence</td>
360
+ <td align="center">✅ Team DNA + Market</td>
361
+ <td align="center">🟡</td>
362
+ <td align="center">❌</td>
363
+ <td align="center">❌</td>
364
+ <td align="center">❌</td>
365
+ </tr>
366
+ <tr>
367
+ <td>Privacy: <strong>opt-in</strong> cloud + redaction</td>
368
+ <td align="center">✅ 15 redaction patterns</td>
369
+ <td align="center">🟡</td>
370
+ <td align="center">❌</td>
371
+ <td align="center">❌</td>
372
+ <td align="center">✅</td>
373
+ </tr>
374
+ <tr>
375
+ <td><strong>Open source</strong></td>
376
+ <td align="center">✅ Apache 2.0</td>
377
+ <td align="center">❌</td>
378
+ <td align="center">🟡</td>
379
+ <td align="center">❌</td>
380
+ <td align="center">✅</td>
381
+ </tr>
382
+ <tr>
383
+ <td>Setup effort</td>
384
+ <td align="center">✅ One command</td>
385
+ <td align="center">🟡 App install</td>
386
+ <td align="center">🟡 Code integration</td>
387
+ <td align="center">✅ Built-in</td>
388
+ <td align="center">🟡 Manual</td>
389
+ </tr>
390
+ </table>
391
+ </div>
392
+
393
+ ---
394
+
395
+ ## 🏗️ Architecture
396
+
397
+ ```
398
+ ┌─────────────────────────────────────────────────────────────────┐
399
+ │ YOUR MACHINE (100% local) │
400
+ │ │
401
+ │ Cursor ──┐ │
402
+ │ Windsurf ┤ MCP Protocol │
403
+ │ Claude ├────────────────────────────────────────────────> │
404
+ │ Codex ┤ ┌───────────────────────────┐ │
405
+ │ Antigrav ┘ │ FIVO CELL DAEMON │ │
406
+ │ │ http://localhost:9876 │ │
407
+ │ ├───────────────────────────┤ │
408
+ │ │ Prompt Builder | MCP Srvr │ │
409
+ │ │ Context Bridge | CLI Rtr │ │
410
+ │ │ Session Tracker| Watcher │ │
411
+ │ └──────────┬────────────────┘ │
412
+ │ │ │
413
+ │ ┌─────────────────┼─────────────────┐ │
414
+ │ ▼ ▼ ▼ │
415
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
416
+ │ │ SQLite │ │ .cell/ │ │ Vibe │ │
417
+ │ │ 18 MB │ │ 270 KB │ │ Engine │ │
418
+ │ │ 70 tbls │ │ INDEX.md │ │ 100 rules│ │
419
+ │ └──────────┘ └──────────┘ └──────────┘ │
420
+ └─────────────────────────────────────────────────────────────────┘
421
+ ```
422
+
423
+ ### 7 Walls Architecture
424
+
425
+ <div align="center">
426
+ <table>
427
+ <tr><th align="center">Wall</th><th align="center">Name</th><th>Responsibility</th></tr>
428
+ <tr><td align="center">1</td><td align="center"><strong>Context</strong></td><td>Builds the prompt AI sees: bridge, continuity, predictor, sessions</td></tr>
429
+ <tr><td align="center">2</td><td align="center"><strong>Scanner</strong></td><td>Analyzes code: stack, style, blind spots, git intelligence</td></tr>
430
+ <tr><td align="center">3</td><td align="center"><strong>Knowledge</strong></td><td>Decisions, error prediction, project DNA, explainability</td></tr>
431
+ <tr><td align="center">4</td><td align="center"><strong>Collaboration</strong></td><td>Team DNA, knowledge map, health and bus-factor</td></tr>
432
+ <tr><td align="center">5</td><td align="center"><strong>Community</strong></td><td>Community patterns, marketplace, playbooks, cloud connector</td></tr>
433
+ <tr><td align="center">6</td><td align="center"><strong>Memory</strong></td><td>Core engine: SQLite, vibe, ranking, compression, encryption</td></tr>
434
+ <tr><td align="center">7</td><td align="center"><strong>Runtime</strong></td><td>Daemon (Express :9876), MCP server, CLI, watcher, autostart</td></tr>
435
+ </table>
436
+ </div>
437
+
438
+ ### Supreme Context Engine Flow
439
+
440
+ ```
441
+ Session Start -> [Continuity] loads active thread
442
+ -> [Bridge] loads last session summary
443
+ -> [Predictor] suggests next action
444
+ -> AI gets full context, no manual explaining
445
+
446
+ Session End -> [Bridge] captures summary
447
+ -> [Continuity] updates the thread
448
+ -> [Predictor] updates predictions
449
+ -> Saved to .cell/ -- never lost
450
+ ```
451
+
452
+ ### Data Flow
453
+
454
+ ```
455
+ @cell typed -> MCP request to :9876
456
+ -> Prompt builder reads:
457
+ +-- SQLite (70 tables, 7,421 events)
458
+ +-- .cell/INDEX.md (49 files, 2K tokens)
459
+ +-- .cell/vibe/ (100 signals)
460
+ +-- .cell/bridge/latest.json
461
+ +-- .cell/continuity/
462
+ +-- .cell/predictor.json
463
+ -> Ranks by relevance
464
+ -> Compresses to token budget
465
+ -> Formats per-tool
466
+ -> Returns ~1,289 chars
467
+ ```
468
+
469
+ ---
470
+
471
+ ## 🔌 Supported Tools
472
+
473
+ <div align="center">
474
+ <table>
475
+ <tr><th>Tool</th><th>Connection</th><th>Setup</th></tr>
476
+ <tr><td><strong>Cursor</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
477
+ <tr><td><strong>Codex / GitHub Copilot</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
478
+ <tr><td><strong>Antigravity / Gemini</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
479
+ <tr><td><strong>Windsurf</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
480
+ <tr><td><strong>OpenCode</strong></td><td>MCP (auto)</td><td><code>cell mcp-config</code></td></tr>
481
+ <tr><td><strong>Claude Code</strong></td><td>MCP (manual)</td><td><code>http://127.0.0.1:9876/mcp</code></td></tr>
482
+ <tr><td><strong>Any MCP Client</strong></td><td>HTTP</td><td><code>http://127.0.0.1:9876/mcp</code></td></tr>
483
+ </table>
484
+ </div>
485
+
486
+ ---
487
+
488
+ ## 🔒 Security & Data Privacy
489
+
490
+ FivoCell is designed with a **privacy-first, local-by-default architecture** so that your sensitive intellectual property and credentials never leave your control.
491
+
492
+ ### What FivoCell Takes (Stored 100% Locally)
493
+ * 💾 **Local SQLite Database**: Stores memory events, CLI history, session summaries, and custom-defined decisions on your local machine (`.cell/` folder).
494
+ * ⚙️ **Developer Vibe Signals**: Learns your local programming conventions and styles to build custom instructions.
495
+ * 🔍 **Code Diagnostics**: Local scanner checks for code vulnerabilities, structural risks, and coding patterns.
496
+
497
+ ### What FivoCell NEVER Accesses or Transmits
498
+ * ❌ **Raw Source Code**: FivoCell processes all code diagnostics locally. It never sends your source files, logic, or proprietary code to any external server.
499
+ * ❌ **API Keys & Credentials**: The `PrivacyRedactor` automatically intercepts and redacts API tokens, AWS keys, private credentials, database URLs, and password patterns (15 default filters) before any network call.
500
+ * ❌ **Personal / System Identifiers**: Absolute paths, emails, private IPs, and internal hostnames are fully scrubbed.
501
+
502
+ ### Opt-In Cloud Synchronization (Granular Controls)
503
+ Any cloud feature is completely **off by default** and requires explicit opt-in:
504
+ * **Community Patterns**: Anonymized vibe and high-level style patterns can be shared to benchmark against community trends (no raw code, names, or paths).
505
+ * **Team Sync**: Optional end-to-end encrypted sharing of project decisions and session handoffs to keep team members aligned.
506
+
507
+ To verify your security state at any time, run:
508
+ ```bash
509
+ cell doctor
510
+ ```
511
+
512
+ ---
513
+
514
+ ## 📚 Documentation
515
+
516
+ <div align="center">
517
+ <table>
518
+ <tr><th>Doc</th><th>Link</th></tr>
519
+ <tr><td>Full A-to-Z Feature Reference</td><td><a href="docs/FIVO-CELL-A-TO-Z-DOC.md">docs/FIVO-CELL-A-TO-Z-DOC.md</a></td></tr>
520
+ <tr><td>Architecture Deep Dive</td><td><a href="docs/LOCAL_BRAIN_ARCHITECTURE.md">docs/LOCAL_BRAIN_ARCHITECTURE.md</a></td></tr>
521
+ <tr><td>Security Policy</td><td><a href="docs/SECURITY.md">docs/SECURITY.md</a></td></tr>
522
+ <tr><td>Privacy</td><td><a href="docs/PRIVACY.md">docs/PRIVACY.md</a></td></tr>
523
+ <tr><td>Telemetry</td><td><a href="docs/TELEMETRY.md">docs/TELEMETRY.md</a></td></tr>
524
+ <tr><td>Trust</td><td><a href="docs/TRUST.md">docs/TRUST.md</a></td></tr>
525
+ <tr><td>Changelog</td><td><a href="docs/CHANGELOG.md">docs/CHANGELOG.md</a></td></tr>
526
+ <tr><td>Contributing</td><td><a href="docs/CONTRIBUTING.md">docs/CONTRIBUTING.md</a></td></tr>
527
+ <tr><td>Deploy Guide</td><td><a href="docs/DEPLOY.md">docs/DEPLOY.md</a></td></tr>
528
+ <tr><td>Phased Roadmap</td><td><a href="docs/PHASED_ROADMAP.md">docs/PHASED_ROADMAP.md</a></td></tr>
529
+ <tr><td>Features Deep Dive</td><td><a href="docs/FEATURES_DEEP_DIVE.md">docs/FEATURES_DEEP_DIVE.md</a></td></tr>
530
+ <tr><td>Command Reference</td><td><a href="docs/COMMANDS.md">docs/COMMANDS.md</a></td></tr>
531
+ </table>
532
+ </div>
533
+
534
+ ---
535
+
536
+ ## 🤝 Contribute
537
+
538
+ FivoCell is **open source under Apache 2.0**. Contributions, issues, and PRs are all welcome.
539
+
540
+ ```bash
541
+ git clone https://github.com/itsvinsoni/cell
542
+ cd cell
543
+ npm install
544
+ npm test # verify all tests pass
545
+ ```
546
+
547
+ <div align="center">
548
+ 🐛 Found a bug? <a href="https://github.com/itsvinsoni/cell/issues">Open an issue</a>
549
+ &nbsp;·&nbsp;
550
+ 💡 Have an idea? <a href="https://github.com/itsvinsoni/cell/discussions">Start a discussion</a>
551
+ &nbsp;·&nbsp;
552
+ 🔧 Want to build? Pick a <code>good first issue</code> and send a PR
553
+ </div>
554
+
555
+ ---
556
+
557
+ ## 📄 License
558
+
559
+ <div align="center">
560
+ <a href="LICENSE">Apache License 2.0</a> — free to use, modify, and distribute.
561
+ </div>
562
+
563
+ ---
564
+
565
+ <div align="center">
566
+ <strong>AI tools come and go. Your project knowledge stays.</strong><br/>
567
+ <sub>Built with ❤️ by <a href="https://github.com/itsvinsoni">@itsvinsoni</a> &nbsp;·&nbsp; part of the <a href="https://fivo.live">Fivo</a> ecosystem</sub>
568
+ </div>