ltcai 4.7.2 → 5.1.0

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.
Files changed (42) hide show
  1. package/README.md +59 -45
  2. package/docs/CHANGELOG.md +100 -0
  3. package/docs/TRUST_MODEL.md +66 -0
  4. package/docs/WHY_LATTICE.md +54 -0
  5. package/frontend/src/App.tsx +105 -70
  6. package/frontend/src/components/ProductFlow.tsx +102 -69
  7. package/frontend/src/components/primitives.tsx +1 -1
  8. package/frontend/src/i18n.ts +247 -0
  9. package/frontend/src/pages/System.tsx +1 -1
  10. package/frontend/src/store/appStore.ts +18 -0
  11. package/frontend/src/styles.css +36 -0
  12. package/lattice_brain/__init__.py +1 -1
  13. package/lattice_brain/portability.py +11 -7
  14. package/lattice_brain/runtime/multi_agent.py +1 -1
  15. package/latticeai/__init__.py +1 -1
  16. package/latticeai/api/chat.py +19 -11
  17. package/latticeai/api/models.py +6 -0
  18. package/latticeai/api/security_dashboard.py +3 -15
  19. package/latticeai/api/static_routes.py +16 -0
  20. package/latticeai/app_factory.py +114 -40
  21. package/latticeai/core/audit.py +3 -1
  22. package/latticeai/core/builtin_hooks.py +7 -9
  23. package/latticeai/core/logging_safety.py +5 -21
  24. package/latticeai/core/marketplace.py +1 -1
  25. package/latticeai/core/security.py +67 -9
  26. package/latticeai/core/workspace_os.py +1 -1
  27. package/package.json +2 -2
  28. package/scripts/clean_release_artifacts.mjs +16 -1
  29. package/scripts/com.pts.claudecode.discord.plist +31 -0
  30. package/scripts/pts-claudecode-discord-bridge.mjs +189 -0
  31. package/scripts/run_integration_tests.mjs +91 -0
  32. package/scripts/start-pts-claudecode-discord.sh +51 -0
  33. package/src-tauri/Cargo.lock +1 -1
  34. package/src-tauri/Cargo.toml +1 -1
  35. package/src-tauri/tauri.conf.json +3 -2
  36. package/static/app/asset-manifest.json +5 -5
  37. package/static/app/assets/index-DONOJfMn.js +16 -0
  38. package/static/app/assets/index-DONOJfMn.js.map +1 -0
  39. package/static/app/assets/{index-KlQ04wVv.css → index-DuYYT2oh.css} +1 -1
  40. package/static/app/index.html +2 -2
  41. package/static/app/assets/index-DdAB4yfa.js +0 -16
  42. package/static/app/assets/index-DdAB4yfa.js.map +0 -1
package/README.md CHANGED
@@ -7,25 +7,33 @@
7
7
  [![CI Status](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/ci.yml)
8
8
  [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
9
9
 
10
- **Lattice AI v4.7.2 is the local-first Living Brain intuitive UX release.**
11
- It keeps the v4 Brain Core, StorageEngine, FastAPI localhost API, Tauri shell,
12
- backup, restore, model runtime, graph, and portability architecture intact while
13
- making the normal user surface easier for non-technical users: safer login,
14
- clearer model setup, one-click Memory/Topic/Relationship/Graph views, and
15
- visible feedback when conversation becomes Brain memory. Admin logs, role
16
- permissions, security events, retention posture, and Brain operations remain in
17
- the separate Admin Console.
18
-
19
- The product opens by stating the core reason to exist: models will change, but
20
- the user's knowledge should not. It creates a private local profile, studies the
21
- computer, recommends a replaceable model voice, asks before install/download/load
22
- work, then lands in Brain Chat with starter prompts for durable decisions,
23
- projects, documents, and context. The Brain home now gives direct buttons for
24
- memory, topics, relationships, and the full graph, so the graph is still real
25
- and searchable without becoming the first screen or a separate dashboard.
10
+ **Your private AI memory layer. Keep your knowledge. Switch any model.**
11
+
12
+ **모델은 바꿔도, 지식은 남는 로컬 AI 브레인.**
13
+
14
+ Lattice AI is a local-first Digital Brain for your conversations, documents,
15
+ decisions, project history, relationships, and workflows. It is not a ChatGPT
16
+ clone, a model launcher, a graph database, or a note app. The model is the voice
17
+ you use today. The Brain is the durable asset you keep.
18
+
19
+ Use Lattice AI when you want to:
20
+
21
+ - remember project decisions across weeks or months and see the source later;
22
+ - preserve context when switching between local, cloud, or future models;
23
+ - connect documents, conversations, files, notes, and decisions into one Brain;
24
+ - export, backup, inspect, verify, and move the Brain as an encrypted
25
+ `.latticebrain` archive;
26
+ - avoid cloud lock-in and keep knowledge local by default;
27
+ - get an honest unavailable state instead of a fake answer when no model or
28
+ evidence is available.
29
+
30
+ By default, Lattice binds to localhost, stores the Brain on your machine, keeps
31
+ model downloads and cloud calls behind explicit consent, and separates normal
32
+ Brain use from the Admin Console. Korean and English UI copy share the same
33
+ underlying Brain, so language preference changes the interface, not your data.
26
34
 
27
35
  External package registries are owner-published and can lag behind this GitHub
28
- Release. Release uploads must use the exact v4.7.2 artifact filenames below.
36
+ Release. Release uploads must use the exact v5.1.0 artifact filenames below.
29
37
 
30
38
  ## Living Brain Flow
31
39
 
@@ -34,17 +42,17 @@ Release. Release uploads must use the exact v4.7.2 artifact filenames below.
34
42
  First launch opens to Login only. The local profile is the beginning of the
35
43
  Brain, not a dashboard, graph, or setup grid. The first screen frames Lattice as
36
44
  a durable knowledge home where models are replaceable and ownership stays with
37
- the user. v4.7.2 also prevents an email typo or wrong saved-user password from
45
+ the user. v5.1.0 also prevents an email typo or wrong saved-user password from
38
46
  silently creating a new empty Brain.
39
47
 
40
- ![Login](output/release/v4.7.2/screenshots/01-login.png)
48
+ ![Login](output/release/v5.1.0/screenshots/01-login.png)
41
49
 
42
50
  ### 2. Environment Analysis
43
51
 
44
52
  Lattice reads the machine locally and summarizes what kind of Brain this
45
53
  computer can support.
46
54
 
47
- ![Environment Analysis](output/release/v4.7.2/screenshots/02-environment-analysis.png)
55
+ ![Environment Analysis](output/release/v5.1.0/screenshots/02-environment-analysis.png)
48
56
 
49
57
  ### 3. Recommended Models
50
58
 
@@ -52,7 +60,7 @@ The model step is a short recommendation list. It avoids catalog noise and keeps
52
60
  runtime/install details behind clear user consent. Users who do not know which
53
61
  model to choose can start with the recommended model in one click.
54
62
 
55
- ![Recommended Models](output/release/v4.7.2/screenshots/03-recommended-models.png)
63
+ ![Recommended Models](output/release/v5.1.0/screenshots/03-recommended-models.png)
56
64
 
57
65
  ### 4. Install And Load
58
66
 
@@ -61,7 +69,7 @@ and load progress. No model download or runtime install starts silently, and the
61
69
  screen explains that large downloads may take minutes without inventing fake ETA
62
70
  data.
63
71
 
64
- ![Install and Load](output/release/v4.7.2/screenshots/04-install-load-progress.png)
72
+ ![Install and Load](output/release/v5.1.0/screenshots/04-install-load-progress.png)
65
73
 
66
74
  ### 5. Brain Chat
67
75
 
@@ -70,7 +78,7 @@ stays present while the user types, recalls context, and receives responses. The
70
78
  home now includes a compact Brain overview for recent memories, older memories,
71
79
  and major topics, plus saved-to-memory feedback after chat.
72
80
 
73
- ![Brain Chat Home](output/release/v4.7.2/screenshots/05-brain-chat-home.png)
81
+ ![Brain Chat Home](output/release/v5.1.0/screenshots/05-brain-chat-home.png)
74
82
 
75
83
  ## Brain Depths
76
84
 
@@ -79,26 +87,26 @@ while revealing more structure.
79
87
 
80
88
  | Depth | Experience | Evidence |
81
89
  | --- | --- | --- |
82
- | Level 1 | Living Brain presence | ![Living Brain Level 1](output/release/v4.7.2/screenshots/06-living-brain-level-1.png) |
83
- | Level 2 | Memory Layer | ![Memory Layer](output/release/v4.7.2/screenshots/07-memory-layer.png) |
84
- | Level 3 | Knowledge Layer | ![Knowledge Layer](output/release/v4.7.2/screenshots/08-knowledge-layer.png) |
85
- | Level 4 | Relationship Layer | ![Relationship Layer](output/release/v4.7.2/screenshots/09-relationship-layer.png) |
86
- | Level 5 | Knowledge Graph with nodes, edges, search, and focus detail | ![Knowledge Graph Layer](output/release/v4.7.2/screenshots/10-knowledge-graph-layer.png) |
90
+ | Level 1 | Living Brain presence | ![Living Brain Level 1](output/release/v5.1.0/screenshots/06-living-brain-level-1.png) |
91
+ | Level 2 | Memory Layer | ![Memory Layer](output/release/v5.1.0/screenshots/07-memory-layer.png) |
92
+ | Level 3 | Knowledge Layer | ![Knowledge Layer](output/release/v5.1.0/screenshots/08-knowledge-layer.png) |
93
+ | Level 4 | Relationship Layer | ![Relationship Layer](output/release/v5.1.0/screenshots/09-relationship-layer.png) |
94
+ | Level 5 | Knowledge Graph with nodes, edges, search, and focus detail | ![Knowledge Graph Layer](output/release/v5.1.0/screenshots/10-knowledge-graph-layer.png) |
87
95
 
88
96
  Walkthrough:
89
97
 
90
- ![v4.7.2 Living Brain walkthrough](output/release/v4.7.2/gifs/v4.7.2-living-brain-walkthrough.gif)
98
+ ![v5.1.0 Living Brain walkthrough](output/release/v5.1.0/gifs/v5.1.0-living-brain-walkthrough.gif)
91
99
 
92
100
  Model setup status evidence:
93
101
 
94
- ![Model setup status](output/release/v4.7.2/screenshots/11-model-setup-status.png)
102
+ ![Model setup status](output/release/v5.1.0/screenshots/11-model-setup-status.png)
95
103
 
96
104
  Separate admin console evidence:
97
105
 
98
- ![Admin Console](output/release/v4.7.2/screenshots/12-admin-console.png)
106
+ ![Admin Console](output/release/v5.1.0/screenshots/12-admin-console.png)
99
107
 
100
108
  Screenshot index and capture notes:
101
- [output/release/v4.7.2/SCREENSHOT_INDEX.md](output/release/v4.7.2/SCREENSHOT_INDEX.md)
109
+ [output/release/v5.1.0/SCREENSHOT_INDEX.md](output/release/v5.1.0/SCREENSHOT_INDEX.md)
102
110
 
103
111
  ## Architecture At A Glance
104
112
 
@@ -128,7 +136,7 @@ Screenshot index and capture notes:
128
136
  rebuild controls live under the separate `#/admin` console. Admin history,
129
137
  audit, stats, and sensitivity reads honor the active workspace when present.
130
138
 
131
- See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4.7.2 architecture.
139
+ See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v5.1.0 architecture.
132
140
 
133
141
  ## Installation
134
142
 
@@ -160,13 +168,13 @@ pip install "ltcai[local]"
160
168
 
161
169
  ## Release Artifacts
162
170
 
163
- Validated v4.7.2 artifacts:
171
+ Validated v5.1.0 artifacts:
164
172
 
165
- - `dist/ltcai-4.7.2-py3-none-any.whl`
166
- - `dist/ltcai-4.7.2.tar.gz`
167
- - `ltcai-4.7.2.tgz`
168
- - `dist/ltcai-4.7.2.vsix`
169
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.2_aarch64.dmg`
173
+ - `dist/ltcai-5.1.0-py3-none-any.whl`
174
+ - `dist/ltcai-5.1.0.tar.gz`
175
+ - `ltcai-5.1.0.tgz`
176
+ - `dist/ltcai-5.1.0.vsix`
177
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_5.1.0_aarch64.dmg`
170
178
 
171
179
  Attach only those exact files to the GitHub Release. Do not upload `dist/*`.
172
180
 
@@ -195,7 +203,7 @@ npm run test:unit
195
203
  npm run test:integration
196
204
  npm run test:visual
197
205
  npm run desktop:tauri:check
198
- node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.7.2-py3-none-any.whl
206
+ node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-5.1.0-py3-none-any.whl
199
207
  npm pack --dry-run
200
208
  npm run docs:check-links
201
209
  ```
@@ -211,14 +219,16 @@ npm run docs:check-links
211
219
  - Agent/workflow simulation without a loaded LLM is deterministic and does not call a model.
212
220
  It is labeled as LLM-free/model-free rather than presented as autonomous model
213
221
  success.
214
- - Historical artifacts can remain in `dist/`; uploads must use exact v4.7.2
222
+ - Historical artifacts can remain in `dist/`; uploads must use exact v5.1.0
215
223
  filenames.
216
224
 
217
225
  ## Release History
218
226
 
219
227
  | Version | Theme |
220
228
  | --- | --- |
221
- | 4.7.2 | Intuitive Brain UX Release: adds role permissions, audit search/severity filters, log retention status, and separated Admin Console data loading while keeping the user Brain simple |
229
+ | 5.1.0 | Product Trust & Clarity Release: clarifies the private AI memory-layer promise, hardens CSP/secret/auto-read/download gates, adds trust/privacy docs, and refreshes v5.1.0 evidence |
230
+ | 5.0.0 | Multilingual Brain Foundation Release: adds persisted Korean/English language choice across first-run onboarding, Brain home, graph exploration, and Admin Console while preserving the v4 runtime foundations |
231
+ | 4.7.2 | Intuitive Brain UX Release: safer login, one-click recommended setup, direct Brain views, memory-save feedback, and exact v4.7.2 artifacts |
222
232
  | 4.7.0 | Admin Separation Release: added the separate Admin Console for users/logs/security/Brain operations, refreshed screenshots/GIFs, synchronized release docs, and built exact v4.7.0 artifacts |
223
233
  | 4.6.1 | Living Brain Release Refresh: publishable version bump after v4.6.0 PyPI immutability, refreshed README/screenshots/GIFs, synchronized release docs, and exact v4.6.1 artifacts |
224
234
  | 4.6.0 | Living Brain Experience: made Brain plus conversation the home product, added an animated living Brain presence, and moved graph exploration to the deepest intentional layer |
@@ -237,19 +247,23 @@ npm run docs:check-links
237
247
 
238
248
  ## Current Documentation
239
249
 
240
- - [ARCHITECTURE.md](ARCHITECTURE.md) - v4.7.2 architecture.
250
+ - [ARCHITECTURE.md](ARCHITECTURE.md) - v5.1.0 architecture.
251
+ - [docs/WHY_LATTICE.md](docs/WHY_LATTICE.md) - why Lattice AI exists.
252
+ - [docs/TRUST_MODEL.md](docs/TRUST_MODEL.md) - local-first trust model.
253
+ - [PRIVACY.md](PRIVACY.md) - privacy and external communication policy.
241
254
  - [docs/PRODUCT_DIRECTION_REVIEW.md](docs/PRODUCT_DIRECTION_REVIEW.md) -
242
255
  Brain-first product direction review.
243
256
  - [FEATURE_STATUS.md](FEATURE_STATUS.md) - current feature status and historical
244
257
  status ledger.
245
258
  - [RELEASE_NOTES.md](RELEASE_NOTES.md) - release notes index.
246
- - [RELEASE_NOTES_v4.7.2.md](RELEASE_NOTES_v4.7.2.md) - v4.7.2 intuitive Brain UX release notes.
259
+ - [RELEASE_NOTES_v5.1.0.md](RELEASE_NOTES_v5.1.0.md) - v5.1.0 Product Trust & Clarity release notes.
260
+ - [RELEASE_NOTES_v5.0.0.md](RELEASE_NOTES_v5.0.0.md) - v5.0.0 multilingual foundation history.
247
261
  - [RELEASE_NOTES_v4.6.1.md](RELEASE_NOTES_v4.6.1.md) - v4.6.1 release refresh history.
248
262
  - [RELEASE_NOTES_v4.6.0.md](RELEASE_NOTES_v4.6.0.md) - v4.6.0 Living Brain history.
249
263
  - [RELEASE.md](RELEASE.md) - release checklist and exact artifact guidance.
250
264
  - [SECURITY.md](SECURITY.md) - security posture.
251
265
  - [docs/CHANGELOG.md](docs/CHANGELOG.md) - changelog.
252
- - [docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md](docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md) - v4.7.2 admin operations report.
266
+ - [docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md](docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md) - v4.7.1 admin operations history.
253
267
  - [docs/V4_7_0_ADMIN_SEPARATION_REPORT.md](docs/V4_7_0_ADMIN_SEPARATION_REPORT.md) - v4.7.0 admin separation history.
254
268
  - [docs/V4_6_1_RELEASE_REFRESH_REPORT.md](docs/V4_6_1_RELEASE_REFRESH_REPORT.md) - v4.6.1 release refresh report.
255
269
  - [docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md](docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md) - v4.6.0 Living Brain design notes.
package/docs/CHANGELOG.md CHANGED
@@ -3,6 +3,106 @@
3
3
  The top entry is the current release-preparation target. Older entries are
4
4
  historical and may describe behavior as it existed at that release.
5
5
 
6
+ ## [5.1.0] - 2026-06-14
7
+
8
+ > Product Trust & Clarity Release. v5.1.0 clarifies Lattice AI as a
9
+ > local-first private AI memory layer / Digital Brain, then adds security,
10
+ > privacy, honesty, and architecture gates so the product does not overclaim.
11
+
12
+ ### Changed
13
+
14
+ - Rewrote the README first screen around the positioning lines
15
+ `Your private AI memory layer. Keep your knowledge. Switch any model.` and
16
+ `모델은 바꿔도, 내 지식은 남는 로컬 AI 브레인.`
17
+ - Added practical use cases for preserving project decisions, switching models,
18
+ connecting documents/conversations/files/notes/decisions, encrypted Brain
19
+ archive portability, cloud lock-in avoidance, and honest no-model states.
20
+ - Added and refreshed trust documentation: `PRIVACY.md`, `docs/WHY_LATTICE.md`,
21
+ `docs/TRUST_MODEL.md`, `SECURITY.md`, `ARCHITECTURE.md`, and
22
+ `FEATURE_STATUS.md`.
23
+ - Removed `csp:null` from Tauri production config and added an app-shell CSP
24
+ response header.
25
+ - Centralized secret redaction for logs, audit payloads, security exports, and
26
+ builtin hook packets.
27
+ - Changed chat auto-file handling so `LATTICEAI_AUTO_READ_CHAT_PATHS` remains
28
+ off by default and does not silently read arbitrary local paths even if
29
+ enabled.
30
+ - Added explicit `allow_download=true` consent for model download requests.
31
+ - Added config, security, and Brain runtime builder seams in `app_factory.py`
32
+ while preserving the existing API shape.
33
+ - Hardened release artifact cleanup so `release:artifacts` removes stale
34
+ `dist/ltcai-*` and root `ltcai-*.tgz` files before rebuilding exact v5.1.0
35
+ artifacts only.
36
+ - Made `npm run test:integration` self-contained by starting a local uvicorn
37
+ server, waiting for `/health`, running the integration suite, and shutting the
38
+ server down.
39
+ - Fixed a SQLite Brain restore TOCTOU race where transient `-wal` / `-shm`
40
+ siblings could disappear between probe and copy during archive restore.
41
+ - Bumped synchronized package/runtime/static versions to `5.1.0`, including
42
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
43
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
44
+
45
+ ### Added
46
+
47
+ - v5.1 trust validation tests for CSP, secret redaction, audit redaction,
48
+ auto-file-read blocking, public/network auth posture, `shell=True`
49
+ production-path scanning, and Brain Core import isolation.
50
+ - A deterministic regression test for restore-time WAL sibling disappearance.
51
+ - v5.1 release evidence paths under `output/release/v5.1.0`.
52
+
53
+ ### Preserved
54
+
55
+ - v5.0.0 and older sections remain historical.
56
+ - External package publishing remains owner-run; this release prepares exact
57
+ artifacts and GitHub Release assets without registry publish automation.
58
+
59
+ ### Artifacts
60
+
61
+ - `dist/ltcai-5.1.0-py3-none-any.whl`
62
+ - `dist/ltcai-5.1.0.tar.gz`
63
+ - `dist/ltcai-5.1.0.vsix`
64
+ - `ltcai-5.1.0.tgz`
65
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_5.1.0_aarch64.dmg`
66
+
67
+ ## [5.0.0] - 2026-06-14
68
+
69
+ > Multilingual Brain Foundation Release. v5.0.0 starts the major-version cleanup
70
+ > line by preserving the existing AgentRuntime, ToolRegistry, Brain Core, Admin
71
+ > Console, and graph foundations while making the product usable in Korean or
72
+ > English from first launch through Brain exploration.
73
+
74
+ ### Changed
75
+
76
+ - Added a persisted `lattice.language` preference with Korean and English
77
+ choices available on first-run onboarding, the Brain home, and the separated
78
+ Admin Console header.
79
+ - Localized first-run login, environment analysis, model recommendation,
80
+ install/download/load status, Brain quick views, starter prompts, memory save
81
+ feedback, overview panels, and graph focus fallback copy.
82
+ - Updated visual tests so the Korean path is explicitly selected before running
83
+ existing first-run and Brain depth assertions.
84
+ - Bumped synchronized package/runtime/static versions to `5.0.0`, including
85
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
86
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
87
+ - Captured collaboration guidance from pts_claudecode and pts_grok: the next
88
+ technical refactor order is config centralization, KG stabilization,
89
+ ToolRegistry characterization, AgentRuntime extraction, then app factory
90
+ decomposition.
91
+
92
+ ### Preserved
93
+
94
+ - v4.7.2 and older sections remain historical.
95
+ - External package publishing remains owner-run; this release prepares exact
96
+ artifacts and GitHub Release assets without registry publish automation.
97
+
98
+ ### Artifacts
99
+
100
+ - `dist/ltcai-5.0.0-py3-none-any.whl`
101
+ - `dist/ltcai-5.0.0.tar.gz`
102
+ - `dist/ltcai-5.0.0.vsix`
103
+ - `ltcai-5.0.0.tgz`
104
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_5.0.0_aarch64.dmg`
105
+
6
106
  ## [4.7.2] - 2026-06-14
7
107
 
8
108
  > Intuitive Brain UX Release. v4.7.2 makes the Living Brain easier for
@@ -0,0 +1,66 @@
1
+ # Lattice AI Trust Model
2
+
3
+ Lattice AI's trust model is local-first, opt-in for external communication, and
4
+ honest when something is unavailable.
5
+
6
+ ## Local By Default
7
+
8
+ By default, Lattice AI binds the API to `127.0.0.1`, stores Brain data under the
9
+ local data directory, and does not send prompts, documents, graph content, or
10
+ archives to Lattice-owned servers.
11
+
12
+ Local data includes:
13
+
14
+ - local profile and sessions;
15
+ - conversations and memory records;
16
+ - Knowledge Graph nodes, edges, provenance, and search indexes;
17
+ - uploaded document blobs;
18
+ - audit and admin operation logs;
19
+ - backups and encrypted `.latticebrain` archives.
20
+
21
+ ## Explicit External Paths
22
+
23
+ Some features can contact third parties, but they require explicit user/admin
24
+ action or configuration:
25
+
26
+ - model downloads from model registries;
27
+ - cloud model API calls after keys are configured and a cloud model is chosen;
28
+ - Telegram bridge after the integration is enabled;
29
+ - Brain Network peer actions after pairing/initiating network flows;
30
+ - Docker/Postgres setup after opt-in scale configuration;
31
+ - update checks only when update checking is enabled;
32
+ - remote marketplace/registry refreshes only through explicit user actions.
33
+
34
+ Token presence alone must not start external communication.
35
+
36
+ ## Consent And Honesty Gates
37
+
38
+ Lattice AI should fail closed or report unavailable state for:
39
+
40
+ - no model loaded;
41
+ - local model not installed;
42
+ - installed model not loaded;
43
+ - missing cloud key;
44
+ - deterministic/model-free preview;
45
+ - dry-run versus real execution;
46
+ - no graph/context evidence available;
47
+ - unavailable external integration;
48
+ - wrong archive passphrase;
49
+ - archive path traversal or tampering.
50
+
51
+ ## Admin Boundary
52
+
53
+ The normal user product is Brain Chat, memory, topics, relationships, graph
54
+ exploration, model state, and Brain ownership. Admin Console is for users,
55
+ roles, audit logs, security events, retention, and operations. Admin visibility
56
+ does not mean secrets should appear in clear text.
57
+
58
+ ## Known Limitations
59
+
60
+ - Local files are only as protected as the user's machine, account, backups, and
61
+ disk encryption.
62
+ - Cloud model prompts follow the selected provider's policy.
63
+ - A local admin can inspect local files and process memory outside Lattice AI.
64
+ - Marketplace and model registries are third-party services when explicitly
65
+ contacted.
66
+
@@ -0,0 +1,54 @@
1
+ # Why Lattice AI Exists
2
+
3
+ **Your private AI memory layer. Keep your knowledge. Switch any model.**
4
+
5
+ **모델은 바꿔도, 내 지식은 남는 로컬 AI 브레인.**
6
+
7
+ AI models change quickly. A model you use today may be replaced next month, and
8
+ the conversation history, project context, decisions, and sources you built
9
+ around it can become scattered across tools. Lattice AI exists so the durable
10
+ asset is not the model. The durable asset is your Brain.
11
+
12
+ ## The Problem
13
+
14
+ Most AI products begin with a model and treat your context as temporary prompt
15
+ material. That works for short questions, but it fails for long-running work:
16
+
17
+ - project decisions disappear into old chats;
18
+ - documents and notes are disconnected from conversations;
19
+ - switching models often means losing useful context;
20
+ - graph or database tools expose implementation details before user value;
21
+ - cloud-only products make it hard to inspect, back up, or move your knowledge.
22
+
23
+ ## The Lattice Answer
24
+
25
+ Lattice AI is a local-first private AI memory layer. It keeps conversations,
26
+ documents, decisions, relationships, and project history in a Brain that belongs
27
+ to the user. Models can be local, cloud, current, or future. The Brain remains.
28
+
29
+ The graph is real, but it is not the product identity. Users start with Brain
30
+ Chat, memory, topics, relationships, ownership, backup, and graph exploration.
31
+ Advanced admin logs, roles, hooks, workflows, Telegram, Brain Network, Docker,
32
+ Postgres, and plugin details stay outside the normal user flow.
33
+
34
+ ## Practical Reasons To Use It
35
+
36
+ - Ask what the team decided last week and see the source.
37
+ - Drop in documents and build a searchable personal memory.
38
+ - Prepare for a meeting from past notes, project decisions, and files.
39
+ - Preserve context when moving from one model to another.
40
+ - Export or back up the Brain as an encrypted `.latticebrain` archive.
41
+ - Use Korean or English without changing the underlying Brain.
42
+ - Avoid fake answers when no model or evidence is available.
43
+
44
+ ## What Lattice AI Is Not
45
+
46
+ - Not a hosted SaaS by default.
47
+ - Not just a model launcher.
48
+ - Not just a graph viewer.
49
+ - Not a generic dashboard.
50
+ - Not a note-taking clone.
51
+ - Not a ChatGPT or Claude clone.
52
+
53
+ Lattice AI is for people who want their knowledge to survive model changes.
54
+