ltcai 4.6.0 → 4.7.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 (37) hide show
  1. package/README.md +145 -194
  2. package/docs/CHANGELOG.md +139 -1
  3. package/docs/PRODUCT_DIRECTION_REVIEW.md +88 -0
  4. package/docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md +33 -19
  5. package/docs/V4_6_1_RELEASE_REFRESH_REPORT.md +42 -0
  6. package/docs/V4_7_0_ADMIN_SEPARATION_REPORT.md +42 -0
  7. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +20 -18
  8. package/frontend/src/App.tsx +1098 -171
  9. package/frontend/src/api/client.ts +2 -0
  10. package/frontend/src/components/BrainConversation.tsx +10 -2
  11. package/frontend/src/components/LivingBrain.tsx +197 -106
  12. package/frontend/src/components/ProductFlow.tsx +210 -129
  13. package/frontend/src/styles.css +1946 -36
  14. package/lattice_brain/__init__.py +1 -1
  15. package/lattice_brain/archive.py +86 -13
  16. package/lattice_brain/portability.py +82 -14
  17. package/lattice_brain/runtime/multi_agent.py +1 -1
  18. package/latticeai/__init__.py +1 -1
  19. package/latticeai/api/admin.py +30 -4
  20. package/latticeai/api/chat.py +25 -11
  21. package/latticeai/app_factory.py +8 -2
  22. package/latticeai/core/audit.py +3 -2
  23. package/latticeai/core/marketplace.py +1 -1
  24. package/latticeai/core/workspace_os.py +1 -1
  25. package/package.json +1 -1
  26. package/scripts/launch-pts-grok.sh +56 -0
  27. package/src-tauri/Cargo.lock +1 -1
  28. package/src-tauri/Cargo.toml +1 -1
  29. package/src-tauri/tauri.conf.json +1 -1
  30. package/static/app/asset-manifest.json +5 -5
  31. package/static/app/assets/index-DFmuiJ6t.css +2 -0
  32. package/static/app/assets/index-DwX3rNfA.js +16 -0
  33. package/static/app/assets/index-DwX3rNfA.js.map +1 -0
  34. package/static/app/index.html +2 -2
  35. package/static/app/assets/index-By-G-Kay.css +0 -2
  36. package/static/app/assets/index-CJx6WuQH.js +0 -336
  37. package/static/app/assets/index-CJx6WuQH.js.map +0 -1
package/README.md CHANGED
@@ -7,187 +7,159 @@
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.6.0 is a local-first Living Brain desktop workspace.** It runs
11
- as a Tauri desktop app with a localhost FastAPI sidecar, stores the user's brain
12
- locally by default, and makes the Brain plus conversation the primary product
13
- experience.
10
+ **Lattice AI v4.7.0 is the local-first Living Brain admin separation 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 simpler and moving logs, users, security events,
14
+ and Brain operations into a separate Admin Console.
14
15
 
15
- This README describes the v4.6.0 release-preparation tree, which preserves the
16
- v4.4.0 physical `lattice_brain` extraction, v4.5.0 capability recovery, and
17
- v4.5.1 product shell while repositioning the graph as a deep exploration layer.
18
- First launch now follows a Brain-first product flow: Login, friendly environment
19
- analysis, recommended models, guided install/download/validate/load, then the
20
- living Brain conversation. Memories, knowledge, relationships, and the advanced
21
- graph are progressively disclosed beneath the Brain.
22
- External package registries are owner-published; the badges above link to
23
- package pages and may show the most recently published owner-controlled registry
24
- version, which can lag behind the GitHub Release.
16
+ The product opens by stating the core reason to exist: models will change, but
17
+ the user's knowledge should not. It creates a private local profile, studies the
18
+ computer, recommends a replaceable model voice, asks before install/download/load
19
+ work, then lands in Brain Chat with starter prompts for durable decisions,
20
+ projects, documents, and context. The graph is still real and searchable, but it
21
+ now grows out of the Brain as the deepest exploration layer instead of acting
22
+ like a separate dashboard.
25
23
 
26
- ## What Was Verified
24
+ External package registries are owner-published and can lag behind this GitHub
25
+ Release. Release uploads must use the exact v4.7.0 artifact filenames below.
27
26
 
28
- - Desktop app starts and serves the React/Vite product shell from the FastAPI
29
- sidecar.
30
- - First launch opens to Login only, then guides environment analysis,
31
- recommendations, install/download/validate/load, and finally the Brain.
32
- - After model loading, the home route opens to a living Brain presence plus
33
- durable conversation, with the Brain always visible during the primary chat
34
- flow.
35
- - The Brain presence reacts to conversation, recall, model readiness, and
36
- agent/workflow activity with neural movement, memory pulses, and status
37
- changes.
38
- - Memories, Knowledge, Relationships, and Graph are ordered as progressive
39
- disclosure layers; the graph is no longer the product's first impression.
40
- - Capture uploads a document through `/upload/document` and shows indexed
41
- documents from the backend.
42
- - Act exposes workflow create/run surfaces and agent runtime status without
43
- presenting simulation as real success. When no LLM-backed model is loaded,
44
- deterministic model-free agent simulation is reported honestly and does not call a model.
45
- - Model setup recommends a short ranked list for the current computer instead
46
- of exposing a catalog or runtime internals.
47
- - Gemma 4 MLX models are checked against their local `config.json` before load:
48
- Gemma 4 12B `gemma4_unified` now shows **Runtime update needed** when the
49
- installed MLX-VLM lacks `mlx_vlm.models.gemma4_unified`, while Gemma 4 26B
50
- A4B stays on the working `gemma4` MLX-VLM path.
51
- - System exposes storage, backup health, archive, Brain Network, device
52
- identity, and admin status through real APIs.
53
- - Backup, restore dry-run, archive verify, archive import dry-run, and
54
- `.latticebrain` portability flows were exercised.
27
+ ## Living Brain Flow
55
28
 
56
- ## Product Tour
29
+ ### 1. Login
57
30
 
58
- ### Desktop Startup
31
+ First launch opens to Login only. The local profile is the beginning of the
32
+ Brain, not a dashboard, graph, or setup grid. The first screen frames Lattice as
33
+ a durable knowledge home where models are replaceable and ownership stays with
34
+ the user.
59
35
 
60
- The v4.6.0 DMG build launches a visible Tauri app, starts the FastAPI sidecar on
61
- localhost, and shuts that sidecar down on normal macOS quit.
36
+ ![Login](output/release/v4.7.0/screenshots/01-login.png)
62
37
 
63
- ![Desktop startup and local sidecar](output/audits/v4.3.2-rc/screenshots/13-desktop-sidecar-startup.png)
38
+ ### 2. Environment Analysis
64
39
 
65
- Evidence:
40
+ Lattice reads the machine locally and summarizes what kind of Brain this
41
+ computer can support.
66
42
 
67
- - Health log: `output/audits/v4.3.2-rc/logs/desktop-sidecar-health-after-shutdown-fix.json`
68
- - Shutdown log: `output/audits/v4.3.2-rc/logs/desktop-shutdown-after-fix.txt`
43
+ ![Environment Analysis](output/release/v4.7.0/screenshots/02-environment-analysis.png)
69
44
 
70
- ### Living Brain
45
+ ### 3. Recommended Models
71
46
 
72
- Brain opens on a living presence and conversation. The visual Brain is not a
73
- logo or static decoration: it changes state while the user types, when memories
74
- are recalled, while a response streams, and when agent/workflow activity is
75
- reported.
47
+ The model step is a short recommendation list. It avoids catalog noise and keeps
48
+ runtime/install details behind clear user consent.
76
49
 
77
- The advanced graph still exists, but it is intentionally opened from the Graph
78
- layer after the user moves through Brain, Memories, Knowledge, and
79
- Relationships.
50
+ ![Recommended Models](output/release/v4.7.0/screenshots/03-recommended-models.png)
80
51
 
81
- ![Brain graph explorer](output/audits/v4.3.2-rc/screenshots/02-graph-explorer-before.png)
52
+ ### 4. Install And Load
82
53
 
83
- ![Graph product walkthrough](output/audits/v4.3.2-rc/gifs/graph-product-walkthrough.gif)
54
+ The install screen keeps consent visible and shows install, download, validate,
55
+ and load progress. No model download or runtime install starts silently.
84
56
 
85
- ### Conversation
57
+ ![Install and Load](output/release/v4.7.0/screenshots/04-install-load-progress.png)
86
58
 
87
- Conversation uses backend conversation, model, and memory APIs. If no model is
88
- loaded, the UI shows a ready/unavailable state instead of fabricating an answer
89
- while still keeping nearby memory and source signals visible.
59
+ ### 5. Brain Chat
90
60
 
91
- ![Conversation with context and no-model honesty](output/audits/v4.3.2-rc/screenshots/14-ask-context.png)
61
+ After setup, the home experience is the living Brain plus conversation. The Brain
62
+ stays present while the user types, recalls context, and receives responses.
92
63
 
93
- ### Capture
64
+ ![Brain Chat Home](output/release/v4.7.0/screenshots/05-brain-chat-home.png)
94
65
 
95
- Capture sends files through the backend upload/ingestion path and shows indexed
96
- documents returned by the backend. The screenshot below includes a note uploaded
97
- during release-prep evidence capture.
66
+ ## Brain Depths
98
67
 
99
- ![Capture document ingestion](output/audits/v4.3.2-rc/screenshots/15-capture-ingestion.png)
68
+ The user travels inward through the Brain. Each depth keeps conversation nearby
69
+ while revealing more structure.
100
70
 
101
- Upload evidence: `output/audits/v4.3.2-rc/logs/readme-upload-note.json`
71
+ | Depth | Experience | Evidence |
72
+ | --- | --- | --- |
73
+ | Level 1 | Living Brain presence | ![Living Brain Level 1](output/release/v4.7.0/screenshots/06-living-brain-level-1.png) |
74
+ | Level 2 | Memory Layer | ![Memory Layer](output/release/v4.7.0/screenshots/07-memory-layer.png) |
75
+ | Level 3 | Knowledge Layer | ![Knowledge Layer](output/release/v4.7.0/screenshots/08-knowledge-layer.png) |
76
+ | Level 4 | Relationship Layer | ![Relationship Layer](output/release/v4.7.0/screenshots/09-relationship-layer.png) |
77
+ | Level 5 | Knowledge Graph with nodes, edges, search, and focus detail | ![Knowledge Graph Layer](output/release/v4.7.0/screenshots/10-knowledge-graph-layer.png) |
102
78
 
103
- ### Act
79
+ Walkthrough:
104
80
 
105
- Act exposes agents, workflows, approvals, hooks, and runtime status through
106
- existing backend APIs. The audited workflow path created a real workflow record;
107
- agent runtime simulation remains honestly unavailable as product success when no
108
- LLM-backed model is loaded.
81
+ ![v4.7.0 Living Brain walkthrough](output/release/v4.7.0/gifs/v4.7.0-living-brain-walkthrough.gif)
109
82
 
110
- ![Workflow create and run surfaces](output/audits/v4.3.2-rc/screenshots/09-workflow-create-run.png)
83
+ Model setup status evidence:
111
84
 
112
- ![Agent runtime status](output/audits/v4.3.2-rc/screenshots/10-agent-runtime-status.png)
85
+ ![Model setup status](output/release/v4.7.0/screenshots/11-model-setup-status.png)
113
86
 
114
- ### Library
87
+ Separate admin console evidence:
115
88
 
116
- Library shows models, skills, MCP, and marketplace/configuration state with
117
- availability reported from runtime APIs. Optional model runtimes are not treated
118
- as loaded unless the runtime is actually available. Model setup now follows the
119
- explicit Environment Analysis -> Recommended Models -> Install -> Download
120
- Progress -> Validate -> Load -> Ready path, with download/install consent kept
121
- visible.
89
+ ![Admin Console](output/release/v4.7.0/screenshots/12-admin-console.png)
122
90
 
123
- ![Library model status](output/audits/v4.3.2-rc/screenshots/12-library-model-status.png)
91
+ Screenshot index and capture notes:
92
+ [output/release/v4.7.0/SCREENSHOT_INDEX.md](output/release/v4.7.0/SCREENSHOT_INDEX.md)
124
93
 
125
- ### System
126
-
127
- System exposes account/workspace status, storage mode, backup health, archive
128
- operations, device identity, Brain Network, and admin hardening state. External
129
- integrations remain opt-in.
130
-
131
- ![System storage status](output/audits/v4.3.2-rc/screenshots/08-system-storage-status.png)
132
-
133
- ![Brain Network and device identity](output/audits/v4.3.2-rc/screenshots/11-brain-network-device-identity.png)
134
-
135
- ### Backup / Restore
136
-
137
- Backup and restore flows are backed by the knowledge-graph portability APIs.
138
- The retained v4.3.2 product audit exercised backup health, backup creation, restore dry-run, and
139
- archive restore surfaces.
140
-
141
- ![Brain backup and portability controls](output/audits/v4.3.2-rc/screenshots/06-brain-portability-backup.png)
94
+ ## Architecture At A Glance
142
95
 
143
- ### `.latticebrain` Portability
96
+ - **Desktop shell**: Tauri 2 is the release desktop shell and starts the
97
+ localhost sidecar.
98
+ - **Frontend**: React, TypeScript, Vite, TanStack Query, Zustand, Cytoscape.js,
99
+ React Flow, Tailwind/shadcn-style primitives, and generated OpenAPI types.
100
+ - **Backend**: FastAPI on localhost is the UI source of truth.
101
+ - **Brain Core**: independent `lattice_brain` package for graph, memory,
102
+ context, conversations, ingestion, runtime, workflow, storage, and
103
+ portability. Isolation tests prevent `lattice_brain` from importing
104
+ `latticeai`.
105
+ - **Storage**: `StorageEngine` abstraction with SQLite default and optional
106
+ PostgreSQL/pgvector scale mode.
107
+ - **Portability**: encrypted `.latticebrain` archives plus backup, restore,
108
+ inspect, verify, import dry-run, and confirmed restore/import flows. The
109
+ Brain home keeps conversation first and surfaces the everyday "Care for my
110
+ Brain" ownership path as a collapsed control with export, backup, archive,
111
+ inspect, and restore preview actions while keeping destructive confirmed
112
+ restore in Settings. Restore operations create pre-restore backups and roll
113
+ back failed DB/blob swaps so the current Brain is not left half-restored.
114
+ - **Privacy**: local-first and private-first by default. Cloud models, Telegram,
115
+ Brain Network, Docker/Postgres setup, model downloads, and update checks are
116
+ opt-in paths.
117
+ - **Admin separation**: user chat and Brain ownership stay in the main Brain
118
+ surface; user directory, audit logs, security events, policies, and index
119
+ rebuild controls live under the separate `#/admin` console. Admin history,
120
+ audit, stats, and sensitivity reads honor the active workspace when present.
121
+
122
+ See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4.7.0 architecture.
123
+
124
+ ## Installation
125
+
126
+ Run from Python:
144
127
 
145
- The portable brain format is an encrypted `.latticebrain` archive. The audited
146
- System flow exercised archive export, inspect, verify, import dry-run, and
147
- restore dry-run/restore controls through FastAPI.
128
+ ```bash
129
+ pip install ltcai
130
+ LTCAI
131
+ ```
148
132
 
149
- ![System archive flows](output/audits/v4.3.2-rc/screenshots/07-system-archive-flows.png)
133
+ Run from npm:
150
134
 
151
- Archive evidence:
135
+ ```bash
136
+ npm install -g ltcai
137
+ ltcai
138
+ ```
152
139
 
153
- - Create: `output/audits/v4.3.2-rc/logs/archive-create.json`
154
- - Verify: `output/audits/v4.3.2-rc/logs/archive-verify.json`
155
- - Import dry-run: `output/audits/v4.3.2-rc/logs/archive-import-dry-run.json`
140
+ Open the local app:
156
141
 
157
- ## Architecture At A Glance
142
+ ```text
143
+ http://127.0.0.1:4825/app
144
+ ```
158
145
 
159
- - **Desktop shell**: Tauri 2 primary shell; Electron remains fallback-only.
160
- - **Frontend**: React, TypeScript, Vite, TanStack Query, Zustand, Cytoscape.js,
161
- React Flow, Tailwind/shadcn-style primitives, generated OpenAPI client.
162
- - **Backend**: FastAPI on localhost is the source of truth for the UI.
163
- - **Brain Core**: independent Python package `lattice_brain` (graph, memory,
164
- context, conversations, ingestion, agent/hook runtime, workflow,
165
- portability, storage) physically hosted in the package, imported by FastAPI,
166
- CLI, tests, and future tools, and guaranteed by tests to never import
167
- `latticeai`.
168
- - **Storage**: `StorageEngine` abstraction with SQLite default and optional
169
- PostgreSQL/pgvector scale mode.
170
- - **Portability**: encrypted `.latticebrain` archive plus backup/restore and
171
- migration tooling.
172
- - **Privacy**: local-first by default; cloud models, Telegram, Brain Network,
173
- Docker, model downloads, and update checks require explicit opt-in paths.
146
+ Apple Silicon local model extras:
174
147
 
175
- See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4 architecture. v4.6.0
176
- does not redesign the v4.4.0 Brain Core extraction, StorageEngine, FastAPI,
177
- Tauri, backup/restore, or portability architecture.
148
+ ```bash
149
+ pip install "ltcai[local]"
150
+ ```
178
151
 
179
- ## Installation And Release Artifacts
152
+ ## Release Artifacts
180
153
 
181
- Validated v4.6.0 artifacts are produced from the Living Brain tree:
154
+ Validated v4.7.0 artifacts:
182
155
 
183
- - `dist/ltcai-4.6.0-py3-none-any.whl`
184
- - `dist/ltcai-4.6.0.tar.gz`
185
- - `ltcai-4.6.0.tgz`
186
- - `dist/ltcai-4.6.0.vsix`
187
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.6.0_aarch64.dmg`
156
+ - `dist/ltcai-4.7.0-py3-none-any.whl`
157
+ - `dist/ltcai-4.7.0.tar.gz`
158
+ - `ltcai-4.7.0.tgz`
159
+ - `dist/ltcai-4.7.0.vsix`
160
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.0_aarch64.dmg`
188
161
 
189
- For a public release, attach only those exact artifacts to the GitHub Release.
190
- Package-registry publishing is reserved for the owner.
162
+ Attach only those exact files to the GitHub Release. Do not upload `dist/*`.
191
163
 
192
164
  ## Local Development
193
165
 
@@ -196,20 +168,14 @@ npm install
196
168
  npm run dev
197
169
  ```
198
170
 
199
- Open the local app:
200
-
201
- ```text
202
- http://127.0.0.1:4825/app
203
- ```
204
-
205
- Build the release artifacts:
171
+ Build and validate release artifacts:
206
172
 
207
173
  ```bash
208
174
  npm run release:artifacts
209
175
  npm run release:validate
210
176
  ```
211
177
 
212
- Run the main validation set:
178
+ Main validation set:
213
179
 
214
180
  ```bash
215
181
  npm run check:python
@@ -217,80 +183,65 @@ node scripts/run_python.mjs -m ruff check .
217
183
  npm run lint
218
184
  npm run typecheck
219
185
  npm run test:unit
220
- LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration
186
+ npm run test:integration
221
187
  npm run test:visual
222
188
  npm run desktop:tauri:check
223
- node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-X.Y.Z-py3-none-any.whl
189
+ node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.7.0-py3-none-any.whl
224
190
  npm pack --dry-run
191
+ npm run docs:check-links
225
192
  ```
226
193
 
227
194
  ## Known Limitations
228
195
 
229
196
  - External package registries are owner-published and can lag behind the GitHub
230
197
  Release.
231
- - PostgreSQL/pgvector is optional scale mode and is not required for default
232
- local use.
233
- - Docker is never auto-started by default.
234
- - Model downloads and cloud model calls require explicit user action/consent.
198
+ - PostgreSQL/pgvector is optional scale mode. SQLite is the default local brain.
199
+ - Docker, model downloads, cloud model calls, Telegram, Brain Network, and
200
+ update checks require explicit user action.
235
201
  - Conversation does not fabricate answers when no model is loaded.
236
- - Historical artifacts may remain in `dist/`; release uploads must use exact
237
- v4.6.0 filenames for this release.
202
+ - Agent/workflow simulation without a loaded LLM is deterministic and does not call a model.
203
+ It is labeled as LLM-free/model-free rather than presented as autonomous model
204
+ success.
205
+ - Historical artifacts can remain in `dist/`; uploads must use exact v4.7.0
206
+ filenames.
238
207
 
239
208
  ## Release History
240
209
 
241
210
  | Version | Theme |
242
211
  | --- | --- |
212
+ | 4.7.0 | Admin Separation Release: keeps the user Brain simple, adds a separate Admin Console for users/logs/security/Brain operations, refreshes screenshots/GIFs, synchronizes release docs, and builds exact v4.7.0 artifacts |
213
+ | 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 |
243
214
  | 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 |
244
215
  | 4.5.1 | Product Reimagining RC: replaced the desktop shell, navigation model, onboarding journey, first-viewport hierarchy, and visual system while preserving capabilities and local-first architecture |
245
216
  | 4.5.0 | Product Experience Recovery RC: restored first-run setup, workspace/model onboarding, explicit model install/download/validate/load flow, Gemma 4 runtime compatibility gating, Basic-mode polish, and graph discoverability |
246
- | 4.4.0 | Brain Engine Extraction: Brain Core physically moved into `lattice_brain` (graph/memory/context/conversation/ingestion/runtime/workflow/portability), latticeai paths reduced to compatibility shims, isolation tests guaranteeing no `latticeai` imports |
247
- | 4.3.3 | Dead-Code Cleanup Release: post-audit cleanup, architecture documentation correction, Vercel/static-docs readiness, README badge restoration, exact-current artifacts |
248
- | 4.3.2 | Product Polish & Graph UX Overhaul RC: evidence-based README, graph UX, structured product state, archive UX, desktop sidecar cleanup, publishing readiness |
249
- | 4.3.1 | End-User Audit Repair RC: desktop sidecar startup, npm clean install, default-off downloads, honest agent/workflow states |
250
- | 4.3.0 | Portability & Product Hardening RC: encrypted `.latticebrain` archives, backup/restore hardening, local-only startup guards |
251
- | 4.2.0 | Brain Core & Storage Rebuild: independent `lattice_brain`, StorageEngine abstraction, SQLite default, opt-in Postgres/pgvector |
252
- | 4.1.0 | Frontend & Desktop Rebuild: React/Vite SPA, Tauri shell, generated OpenAPI client |
253
- | 4.0.1 | Digital Brain maintenance: durable async runs, identity/workspace state, `/app` parity |
217
+ | 4.4.0 | Brain Engine Extraction: Brain Core physically moved into `lattice_brain` with isolation tests |
218
+ | 4.3.3 | Dead-Code Cleanup Release |
219
+ | 4.3.2 | Product Polish & Graph UX Overhaul RC |
220
+ | 4.3.1 | End-User Audit Repair RC |
221
+ | 4.3.0 | Portability & Product Hardening RC |
222
+ | 4.2.0 | Brain Core & Storage Rebuild |
223
+ | 4.1.0 | Frontend & Desktop Rebuild |
224
+ | 4.0.1 | Digital Brain maintenance |
254
225
  | 4.0.0 | Digital Brain Platform foundation |
255
226
  | 3.0.0 | v3 local-first AI workspace platform |
256
227
 
257
228
  ## Current Documentation
258
229
 
259
- - [ARCHITECTURE.md](ARCHITECTURE.md) - v4 architecture.
230
+ - [ARCHITECTURE.md](ARCHITECTURE.md) - v4.7.0 architecture.
231
+ - [docs/PRODUCT_DIRECTION_REVIEW.md](docs/PRODUCT_DIRECTION_REVIEW.md) -
232
+ Brain-first product direction review.
260
233
  - [FEATURE_STATUS.md](FEATURE_STATUS.md) - current feature status and historical
261
234
  status ledger.
262
- - [RELEASE_NOTES.md](RELEASE_NOTES.md) - current release notes index.
263
- - [RELEASE_NOTES_v4.6.0.md](RELEASE_NOTES_v4.6.0.md) - v4.6.0 Living Brain release notes.
264
- - [RELEASE_NOTES_v4.5.1.md](RELEASE_NOTES_v4.5.1.md) - v4.5.1 RC release notes.
265
- - [RELEASE_NOTES_v4.5.0.md](RELEASE_NOTES_v4.5.0.md) - v4.5.0 RC release notes.
266
- - [RELEASE_NOTES_v4.4.0.md](RELEASE_NOTES_v4.4.0.md) - v4.4.0 release notes.
267
- - [RELEASE_NOTES_v4.3.3.md](RELEASE_NOTES_v4.3.3.md) - v4.3.3 release notes.
235
+ - [RELEASE_NOTES.md](RELEASE_NOTES.md) - release notes index.
236
+ - [RELEASE_NOTES_v4.7.0.md](RELEASE_NOTES_v4.7.0.md) - v4.7.0 admin separation release notes.
237
+ - [RELEASE_NOTES_v4.6.1.md](RELEASE_NOTES_v4.6.1.md) - v4.6.1 release refresh history.
238
+ - [RELEASE_NOTES_v4.6.0.md](RELEASE_NOTES_v4.6.0.md) - v4.6.0 Living Brain history.
268
239
  - [RELEASE.md](RELEASE.md) - release checklist and exact artifact guidance.
269
240
  - [SECURITY.md](SECURITY.md) - security posture.
270
241
  - [docs/CHANGELOG.md](docs/CHANGELOG.md) - changelog.
271
- - [docs/V4_3_2_DEADCODE_AUDIT_REPORT.md](docs/V4_3_2_DEADCODE_AUDIT_REPORT.md) - v4.3.3 cleanup basis.
272
- - [docs/V4_3_3_VALIDATION_REPORT.md](docs/V4_3_3_VALIDATION_REPORT.md) - v4.3.3 validation report.
273
- - [docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md](docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md) - v4.5.0 product recovery report.
274
- - [docs/V4_5_0_VALIDATION_REPORT.md](docs/V4_5_0_VALIDATION_REPORT.md) - v4.5.0 validation report.
275
- - [docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md](docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md) - v4.5.1 product reimagining report.
276
- - [docs/V4_5_1_UX_REPORT.md](docs/V4_5_1_UX_REPORT.md) - v4.5.1 UX report.
277
- - [docs/V4_5_1_VISUAL_DESIGN_REPORT.md](docs/V4_5_1_VISUAL_DESIGN_REPORT.md) - v4.5.1 visual design report.
278
- - [docs/V4_5_1_NAVIGATION_REPORT.md](docs/V4_5_1_NAVIGATION_REPORT.md) - v4.5.1 navigation report.
279
- - [docs/V4_5_1_ONBOARDING_REPORT.md](docs/V4_5_1_ONBOARDING_REPORT.md) - v4.5.1 onboarding report.
280
- - [docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md](docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md) - v4.5.1 model experience report.
281
- - [docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md](docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md) - v4.5.1 graph experience report.
282
- - [docs/V4_5_1_VALIDATION_REPORT.md](docs/V4_5_1_VALIDATION_REPORT.md) - v4.5.1 validation report.
283
- - [docs/V4_5_1_RC_ARTIFACTS.md](docs/V4_5_1_RC_ARTIFACTS.md) - v4.5.1 screenshot, GIF, and RC artifact manifest.
284
- - [docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md](docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md) - v4.6.0 Living Brain design and validation notes.
285
- - [docs/V4_3_2_GRAPH_UX_REPORT.md](docs/V4_3_2_GRAPH_UX_REPORT.md) - graph UX report.
286
- - [docs/V4_3_2_PRODUCT_POLISH_REPORT.md](docs/V4_3_2_PRODUCT_POLISH_REPORT.md) - product polish report.
287
- - [docs/V4_3_2_SELF_AUDIT_REPORT.md](docs/V4_3_2_SELF_AUDIT_REPORT.md) - self-audit evidence.
288
- - [docs/V4_3_2_VALIDATION_REPORT.md](docs/V4_3_2_VALIDATION_REPORT.md) - RC validation report.
289
- - [docs/V4_3_2_DOCUMENTATION_CLEANUP_REPORT.md](docs/V4_3_2_DOCUMENTATION_CLEANUP_REPORT.md) - release-prep documentation cleanup report.
290
- - [docs/V4_3_2_GITHUB_VERCEL_CHECK_REPORT.md](docs/V4_3_2_GITHUB_VERCEL_CHECK_REPORT.md) - GitHub/Vercel readiness report.
291
- - [docs/V4_3_2_INDEPENDENT_AUDIT_PACKAGE.md](docs/V4_3_2_INDEPENDENT_AUDIT_PACKAGE.md) - package for an independent reviewer.
292
- - [docs/V4_3_2_DEADCODE_AUDIT_REPORT.md](docs/V4_3_2_DEADCODE_AUDIT_REPORT.md) - independent dead-code, architecture, and runtime audit.
293
- - [docs/V4_DIGITAL_BRAIN_RECOVERY.md](docs/V4_DIGITAL_BRAIN_RECOVERY.md) - transformation recovery file.
242
+ - [docs/V4_7_0_ADMIN_SEPARATION_REPORT.md](docs/V4_7_0_ADMIN_SEPARATION_REPORT.md) - v4.7.0 admin separation report.
243
+ - [docs/V4_6_1_RELEASE_REFRESH_REPORT.md](docs/V4_6_1_RELEASE_REFRESH_REPORT.md) - v4.6.1 release refresh report.
244
+ - [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.
294
245
 
295
246
  ## License
296
247
 
package/docs/CHANGELOG.md CHANGED
@@ -3,9 +3,147 @@
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
+ ## [4.7.0] - 2026-06-14
7
+
8
+ > Admin Separation Release. v4.7.0 keeps the Living Brain as the simple user
9
+ > surface and moves users, logs, security events, policies, and Brain operations
10
+ > into a dedicated Admin Console with synchronized release metadata and
11
+ > publishable artifacts.
12
+
13
+ ### Changed
14
+
15
+ - Added a separate `#/admin` Admin Console so the normal `/app` user experience
16
+ remains Brain + conversation instead of becoming an admin dashboard.
17
+ - Added admin overview metrics, user directory, audit log rows, security event
18
+ rows, policy chips, and Brain index rebuild controls to the admin-only
19
+ surface.
20
+ - Scoped admin history, audit, stats, and sensitivity endpoints by
21
+ `X-Workspace-Id` / `workspace_id` when a workspace is selected, while keeping
22
+ legacy global records visible in Personal workspace compatibility mode.
23
+ - Added frontend API helpers for `/admin/stats` and `/admin/security/events`,
24
+ reusing the existing FastAPI admin/security backend rather than inventing a
25
+ parallel logging store.
26
+ - Updated visual validation so the Admin Console route is checked separately
27
+ from the user Brain surface.
28
+ - Bumped synchronized package/runtime/static versions to `4.7.0`, including
29
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
30
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
31
+ - Refreshed release screenshots/GIF paths and docs for v4.7.0, including Admin
32
+ Console evidence.
33
+ - Updated README, RELEASE.md, ARCHITECTURE.md, SECURITY.md, FEATURE_STATUS.md,
34
+ VS Code extension docs, release notes, and release report for the current
35
+ v4.7.0 release line.
36
+
37
+ ### Preserved
38
+
39
+ - v4.6.1 and older sections remain historical.
40
+ - Local-first ownership, `.latticebrain` portability, rollback-safe restore,
41
+ and the deepest-layer Knowledge Graph behavior are preserved.
42
+
43
+ ### Artifacts
44
+
45
+ - `dist/ltcai-4.7.0-py3-none-any.whl`
46
+ - `dist/ltcai-4.7.0.tar.gz`
47
+ - `dist/ltcai-4.7.0.vsix`
48
+ - `ltcai-4.7.0.tgz`
49
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.0_aarch64.dmg`
50
+
51
+ ## [4.6.1] - 2026-06-14
52
+
53
+ > Living Brain release refresh and publishable version bump after the v4.6.0
54
+ > PyPI immutability block. v4.6.1 keeps the Living Brain implementation and
55
+ > synchronizes release metadata, README evidence, architecture docs, artifacts,
56
+ > and owner publishing commands to exact `4.6.1` filenames.
57
+
58
+ ### Changed
59
+
60
+ - Added a Brain-first product direction review and synchronized philosophy /
61
+ Knowledge Graph docs so the graph is documented as infrastructure inside the
62
+ Brain rather than the product center.
63
+ - Added a compact "Care for my Brain" ownership panel to the Brain home
64
+ experience, surfacing local-first/private/portable guarantees plus existing
65
+ export, backup, encrypted archive, inspect, and restore dry-run actions
66
+ without making the Knowledge Graph the product center.
67
+ - Refined the Brain home so conversation remains the primary surface and the
68
+ "Care for my Brain" ownership controls open only when requested, with action
69
+ results now reflecting the last completed ownership action.
70
+ - Strengthened first-run and empty-Brain product messaging around the core
71
+ promise that models are replaceable while the user's knowledge, decisions,
72
+ projects, and context are durable.
73
+ - Hardened Knowledge Graph backup restore and encrypted `.latticebrain` restore
74
+ so DB/blob replacement is staged with pre-restore backups and rollback on
75
+ partial failure.
76
+ - Bumped synchronized package/runtime/static versions to `4.6.1`, including
77
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
78
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
79
+ - Refreshed README around the current Living Brain flow: Login -> Environment
80
+ Analysis -> Recommended Models -> Install & Load -> Brain Chat.
81
+ - Replaced stale README screenshot/GIF references with fresh v4.6.1 release
82
+ evidence for Login, setup, Brain Chat, Living Brain, Memory Layer, Knowledge
83
+ Layer, Relationship Layer, and Knowledge Graph.
84
+ - Updated `ARCHITECTURE.md` for the current Tauri shell, React/Vite frontend,
85
+ FastAPI localhost API, independent `lattice_brain` Brain Core, StorageEngine,
86
+ SQLite default, PostgreSQL/pgvector opt-in, backup/restore, and
87
+ `.latticebrain` portability architecture.
88
+ - Added `RELEASE_NOTES_v4.6.1.md` and the v4.6.1 release refresh report.
89
+
90
+ ### Preserved
91
+
92
+ - v4.6.0 and older sections remain historical. They were not rewritten as
93
+ v4.6.1 claims.
94
+ - No backend architecture redesign, package publishing, service deployment, or
95
+ registry upload is part of this refresh.
96
+
97
+ ### Artifacts
98
+
99
+ - `dist/ltcai-4.6.1-py3-none-any.whl`
100
+ - `dist/ltcai-4.6.1.tar.gz`
101
+ - `dist/ltcai-4.6.1.vsix`
102
+ - `ltcai-4.6.1.tgz`
103
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.6.1_aarch64.dmg`
104
+
105
+ ## [4.6.x Brain Exploration Update] - 2026-06-14
106
+
107
+ > The Brain is now the true interactive entry point to the user's knowledge.
108
+ > Clicking the living Brain progressively reveals deeper layers of the mind:
109
+ > Level 1 living presence -> memories -> concepts -> relationships -> the
110
+ > emergent full Knowledge Graph. The graph never appears abruptly; it grows out
111
+ > of the Brain as the user travels inward.
112
+
113
+ ### Changed
114
+ - Rebuilt `LivingBrain` as a recognizable anatomical Brain with animated
115
+ hemispheres, folds, memory ripples, thought particles, and state-specific
116
+ responses for listening, recalling, thinking, planning, and acting.
117
+ - BrainHome now manages five progressive depths. Level 1 shows only the living
118
+ Brain; Level 2 reveals memory fragments; Level 3 reveals concepts; Level 4
119
+ reveals relationship threads; Level 5 reveals the searchable Knowledge Graph.
120
+ - Layered emergence uses the existing memory and graph APIs but presents them
121
+ as unfolding layers inside one central Brain experience rather than separate
122
+ pages, tabs, or a bottom depth bar.
123
+ - Level 5 now includes graph nodes, edges, search filtering, and focus details
124
+ in an emergent graph panel.
125
+ - Conversation remains available at every depth; the Brain presence changes
126
+ intensity as the user travels inward or streams a response.
127
+ - Updated visual validation to assert the new depth contract, graph emergence,
128
+ graph search, chat streaming, mobile overflow, and legacy entry compatibility.
129
+
130
+ The user should feel they are moving inward through their own mind, with the graph as the deepest, most structured layer that grew from the living presence.
131
+
132
+ ### Changed (Frontend — full replacement of the previous prototype)
133
+ - The entire post-onboarding surface is now a single immersive "Brain Space". The Brain presence is large, always visible, and the primary emotional and visual object.
134
+ - Conversation is the central, intimate way you live with the Brain. No traditional app chrome, dock, or page shell in the primary experience.
135
+ - LivingBrain component completely rewritten as a reactive, layered, breathing organism with memory ripples, thought particles, state-driven animation, and click-to-respond behavior.
136
+ - Progressive discovery enforced in the UI: from the Brain you gently descend into Memory, Knowledge, Connections, and The Map (the graph). The graph is never the landing experience.
137
+ - Onboarding (ProductFlow) reframed as a quiet, ceremonial awakening ritual with the Brain presence participating at every step.
138
+ - New warm, private, organic visual language (deep ember-gold presence, soft teal memory pulses, generous space, contemplative typography). Old dashboard aesthetics and navigation chrome suppressed on the primary path.
139
+ - Depth chambers are full-bleed, slow, human rooms — not feature pages. A small living trace of the Brain stays visible for continuity.
140
+ - All backend functionality (chat streaming, memory, hybrid search, graph, model prepare/load, portability, agents, etc.) is preserved and reachable. The old navigation remains for deep-link compatibility but is not the product surface.
141
+
142
+ The technology was already a Digital Brain. This release makes the *experience* one.
143
+
6
144
  ## [4.6.0] - 2026-06-13
7
145
 
8
- > Living Brain Experience release after the v4.5.1 product shell reset.
146
+ > Living Brain Experience release after the v4.5.1 product shell reset. (Previous iteration — this RC supersedes the visual and structural approach while keeping the capability foundation.)
9
147
 
10
148
  ### Changed
11
149