ltcai 4.4.0 → 4.6.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 (67) hide show
  1. package/README.md +77 -33
  2. package/docs/CHANGELOG.md +128 -0
  3. package/docs/V4_5_0_GEMMA_RUNTIME_COMPATIBILITY_REPORT.md +49 -0
  4. package/docs/V4_5_0_GRAPH_UX_REPORT.md +34 -0
  5. package/docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md +40 -0
  6. package/docs/V4_5_0_ONBOARDING_REPORT.md +31 -0
  7. package/docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md +49 -0
  8. package/docs/V4_5_0_VALIDATION_REPORT.md +60 -0
  9. package/docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md +33 -0
  10. package/docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md +37 -0
  11. package/docs/V4_5_1_NAVIGATION_REPORT.md +37 -0
  12. package/docs/V4_5_1_ONBOARDING_REPORT.md +29 -0
  13. package/docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md +61 -0
  14. package/docs/V4_5_1_RC_ARTIFACTS.md +44 -0
  15. package/docs/V4_5_1_UX_REPORT.md +45 -0
  16. package/docs/V4_5_1_VALIDATION_REPORT.md +54 -0
  17. package/docs/V4_5_1_VISUAL_DESIGN_REPORT.md +30 -0
  18. package/docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md +58 -0
  19. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +18 -17
  20. package/docs/architecture.md +8 -4
  21. package/frontend/index.html +2 -2
  22. package/frontend/src/App.tsx +120 -98
  23. package/frontend/src/api/client.ts +84 -1
  24. package/frontend/src/components/BrainConversation.tsx +301 -0
  25. package/frontend/src/components/FirstRunGuide.tsx +99 -0
  26. package/frontend/src/components/LivingBrain.tsx +121 -0
  27. package/frontend/src/components/ProductFlow.tsx +596 -0
  28. package/frontend/src/components/primitives.tsx +131 -25
  29. package/frontend/src/components/ui/badge.tsx +2 -2
  30. package/frontend/src/components/ui/button.tsx +7 -7
  31. package/frontend/src/components/ui/card.tsx +5 -5
  32. package/frontend/src/components/ui/input.tsx +1 -1
  33. package/frontend/src/components/ui/textarea.tsx +1 -1
  34. package/frontend/src/pages/Act.tsx +58 -28
  35. package/frontend/src/pages/Ask.tsx +2 -197
  36. package/frontend/src/pages/Brain.tsx +108 -71
  37. package/frontend/src/pages/Capture.tsx +24 -24
  38. package/frontend/src/pages/Library.tsx +222 -32
  39. package/frontend/src/pages/System.tsx +56 -34
  40. package/frontend/src/routes.ts +16 -25
  41. package/frontend/src/store/appStore.ts +8 -1
  42. package/frontend/src/styles.css +1663 -36
  43. package/lattice_brain/__init__.py +1 -1
  44. package/lattice_brain/runtime/multi_agent.py +1 -1
  45. package/latticeai/__init__.py +1 -1
  46. package/latticeai/api/models.py +107 -18
  47. package/latticeai/core/marketplace.py +1 -1
  48. package/latticeai/core/model_compat.py +250 -0
  49. package/latticeai/core/workspace_os.py +1 -1
  50. package/latticeai/models/router.py +136 -32
  51. package/latticeai/services/model_catalog.py +2 -2
  52. package/latticeai/services/model_recommendation.py +8 -1
  53. package/latticeai/services/model_runtime.py +18 -3
  54. package/package.json +2 -2
  55. package/scripts/build_frontend_assets.mjs +12 -1
  56. package/src-tauri/Cargo.lock +1 -1
  57. package/src-tauri/Cargo.toml +1 -1
  58. package/src-tauri/tauri.conf.json +1 -1
  59. package/static/app/asset-manifest.json +5 -5
  60. package/static/app/assets/index-By-G-Kay.css +2 -0
  61. package/static/app/assets/index-CJx6WuQH.js +336 -0
  62. package/static/app/assets/index-CJx6WuQH.js.map +1 -0
  63. package/static/app/index.html +4 -4
  64. package/static/manifest.json +1 -1
  65. package/static/app/assets/index-CHHal8Zl.css +0 -2
  66. package/static/app/assets/index-pdzil9ac.js +0 -333
  67. package/static/app/assets/index-pdzil9ac.js.map +0 -1
package/README.md CHANGED
@@ -7,12 +7,18 @@
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.4.0 is a local-first Digital Brain desktop workspace.** It runs
10
+ **Lattice AI v4.6.0 is a local-first Living Brain desktop workspace.** It runs
11
11
  as a Tauri desktop app with a localhost FastAPI sidecar, stores the user's brain
12
- locally by default, and presents the Knowledge Graph as the durable asset.
13
-
14
- This README describes the v4.4.0 release tree, which completes the physical
15
- extraction of the Brain Core into the standalone `lattice_brain` package.
12
+ locally by default, and makes the Brain plus conversation the primary product
13
+ experience.
14
+
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.
16
22
  External package registries are owner-published; the badges above link to
17
23
  package pages and may show the most recently published owner-controlled registry
18
24
  version, which can lag behind the GitHub Release.
@@ -21,16 +27,27 @@ version, which can lag behind the GitHub Release.
21
27
 
22
28
  - Desktop app starts and serves the React/Vite product shell from the FastAPI
23
29
  sidecar.
24
- - Brain graph renders persisted local graph data with search, groups, focus,
25
- filtering, and hybrid-search results.
26
- - Ask displays durable conversations, graph context, and honest unavailable
27
- state when no model is loaded.
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.
28
40
  - Capture uploads a document through `/upload/document` and shows indexed
29
41
  documents from the backend.
30
42
  - Act exposes workflow create/run surfaces and agent runtime status without
31
43
  presenting simulation as real success. When no LLM-backed model is loaded,
32
44
  deterministic model-free agent simulation is reported honestly and does not call a model.
33
- - Library shows model/runtime availability honestly.
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.
34
51
  - System exposes storage, backup health, archive, Brain Network, device
35
52
  identity, and admin status through real APIs.
36
53
  - Backup, restore dry-run, archive verify, archive import dry-run, and
@@ -40,7 +57,7 @@ version, which can lag behind the GitHub Release.
40
57
 
41
58
  ### Desktop Startup
42
59
 
43
- The v4.4.0 DMG build launches a visible Tauri app, starts the FastAPI sidecar on
60
+ The v4.6.0 DMG build launches a visible Tauri app, starts the FastAPI sidecar on
44
61
  localhost, and shuts that sidecar down on normal macOS quit.
45
62
 
46
63
  ![Desktop startup and local sidecar](output/audits/v4.3.2-rc/screenshots/13-desktop-sidecar-startup.png)
@@ -50,24 +67,28 @@ Evidence:
50
67
  - Health log: `output/audits/v4.3.2-rc/logs/desktop-sidecar-health-after-shutdown-fix.json`
51
68
  - Shutdown log: `output/audits/v4.3.2-rc/logs/desktop-shutdown-after-fix.txt`
52
69
 
53
- ### Brain Graph
70
+ ### Living Brain
71
+
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.
54
76
 
55
- Brain opens on the graph-first workspace. The graph uses real persisted nodes
56
- and edges from `/knowledge-graph/graph`, then layers product controls for search,
57
- semantic grouping, focus neighborhoods, label modes, group collapse/expand, and
58
- importance filtering.
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.
59
80
 
60
81
  ![Brain graph explorer](output/audits/v4.3.2-rc/screenshots/02-graph-explorer-before.png)
61
82
 
62
83
  ![Graph product walkthrough](output/audits/v4.3.2-rc/gifs/graph-product-walkthrough.gif)
63
84
 
64
- ### Ask
85
+ ### Conversation
65
86
 
66
- Ask uses backend conversation, model, and graph context APIs. In the audited
67
- state no model was loaded, so the UI showed a ready/unavailable state instead of
68
- fabricating an answer while still surfacing graph context from local data.
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.
69
90
 
70
- ![Ask with graph context and no-model honesty](output/audits/v4.3.2-rc/screenshots/14-ask-context.png)
91
+ ![Conversation with context and no-model honesty](output/audits/v4.3.2-rc/screenshots/14-ask-context.png)
71
92
 
72
93
  ### Capture
73
94
 
@@ -94,7 +115,10 @@ LLM-backed model is loaded.
94
115
 
95
116
  Library shows models, skills, MCP, and marketplace/configuration state with
96
117
  availability reported from runtime APIs. Optional model runtimes are not treated
97
- as loaded unless the runtime is actually available.
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.
98
122
 
99
123
  ![Library model status](output/audits/v4.3.2-rc/screenshots/12-library-model-status.png)
100
124
 
@@ -148,17 +172,19 @@ Archive evidence:
148
172
  - **Privacy**: local-first by default; cloud models, Telegram, Brain Network,
149
173
  Docker, model downloads, and update checks require explicit opt-in paths.
150
174
 
151
- See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4.4.0 architecture.
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.
152
178
 
153
179
  ## Installation And Release Artifacts
154
180
 
155
- Validated v4.4.0 artifacts are produced from the extraction tree:
181
+ Validated v4.6.0 artifacts are produced from the Living Brain tree:
156
182
 
157
- - `dist/ltcai-4.4.0-py3-none-any.whl`
158
- - `dist/ltcai-4.4.0.tar.gz`
159
- - `ltcai-4.4.0.tgz`
160
- - `dist/ltcai-4.4.0.vsix`
161
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.4.0_aarch64.dmg`
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`
162
188
 
163
189
  For a public release, attach only those exact artifacts to the GitHub Release.
164
190
  Package-registry publishing is reserved for the owner.
@@ -194,7 +220,7 @@ npm run test:unit
194
220
  LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration
195
221
  npm run test:visual
196
222
  npm run desktop:tauri:check
197
- node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.4.0-py3-none-any.whl
223
+ node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-X.Y.Z-py3-none-any.whl
198
224
  npm pack --dry-run
199
225
  ```
200
226
 
@@ -206,14 +232,17 @@ npm pack --dry-run
206
232
  local use.
207
233
  - Docker is never auto-started by default.
208
234
  - Model downloads and cloud model calls require explicit user action/consent.
209
- - Ask does not fabricate answers when no model is loaded.
235
+ - Conversation does not fabricate answers when no model is loaded.
210
236
  - Historical artifacts may remain in `dist/`; release uploads must use exact
211
- v4.4.0 filenames.
237
+ v4.6.0 filenames for this release.
212
238
 
213
239
  ## Release History
214
240
 
215
241
  | Version | Theme |
216
242
  | --- | --- |
243
+ | 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
+ | 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
+ | 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 |
217
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 |
218
247
  | 4.3.3 | Dead-Code Cleanup Release: post-audit cleanup, architecture documentation correction, Vercel/static-docs readiness, README badge restoration, exact-current artifacts |
219
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 |
@@ -227,10 +256,13 @@ npm pack --dry-run
227
256
 
228
257
  ## Current Documentation
229
258
 
230
- - [ARCHITECTURE.md](ARCHITECTURE.md) - v4.4.0 architecture.
259
+ - [ARCHITECTURE.md](ARCHITECTURE.md) - v4 architecture.
231
260
  - [FEATURE_STATUS.md](FEATURE_STATUS.md) - current feature status and historical
232
261
  status ledger.
233
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.
234
266
  - [RELEASE_NOTES_v4.4.0.md](RELEASE_NOTES_v4.4.0.md) - v4.4.0 release notes.
235
267
  - [RELEASE_NOTES_v4.3.3.md](RELEASE_NOTES_v4.3.3.md) - v4.3.3 release notes.
236
268
  - [RELEASE.md](RELEASE.md) - release checklist and exact artifact guidance.
@@ -238,6 +270,18 @@ npm pack --dry-run
238
270
  - [docs/CHANGELOG.md](docs/CHANGELOG.md) - changelog.
239
271
  - [docs/V4_3_2_DEADCODE_AUDIT_REPORT.md](docs/V4_3_2_DEADCODE_AUDIT_REPORT.md) - v4.3.3 cleanup basis.
240
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.
241
285
  - [docs/V4_3_2_GRAPH_UX_REPORT.md](docs/V4_3_2_GRAPH_UX_REPORT.md) - graph UX report.
242
286
  - [docs/V4_3_2_PRODUCT_POLISH_REPORT.md](docs/V4_3_2_PRODUCT_POLISH_REPORT.md) - product polish report.
243
287
  - [docs/V4_3_2_SELF_AUDIT_REPORT.md](docs/V4_3_2_SELF_AUDIT_REPORT.md) - self-audit evidence.
package/docs/CHANGELOG.md CHANGED
@@ -3,6 +3,134 @@
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.6.0] - 2026-06-13
7
+
8
+ > Living Brain Experience release after the v4.5.1 product shell reset.
9
+
10
+ ### Changed
11
+
12
+ - Added the required first-launch product flow: Login -> Environment Analysis
13
+ -> Recommended Models -> Install & Load -> Brain.
14
+ - Made Brain plus conversation the post-model-load `/app` and `/app#/brain`
15
+ experience.
16
+ - Added an animated living Brain presence that reacts to listening, memory
17
+ recall, streaming/thinking, and agent/workflow activity.
18
+ - Centralized chat streaming, model status, image attachment, conversation
19
+ history, and memory previews in a reusable Brain conversation component.
20
+ - Reduced visible primary navigation to Brain, Memory, Files, Automations,
21
+ Models, and Settings;
22
+ `/ask` and `/chat` remain route-compatible aliases into Brain.
23
+ - Reordered Brain layers as Brain -> Memories -> Knowledge -> Relationships ->
24
+ Graph, moving graph exploration to the deepest intentional layer.
25
+ - Updated visual palette and copy so the product reads as a living digital
26
+ Brain rather than a graph tool or dashboard.
27
+ - Removed the first-run dashboard/setup-card panel from the app shell; setup is
28
+ now a full-screen product sequence before the Brain opens.
29
+
30
+ ### Preserved
31
+
32
+ - Brain Core, FastAPI APIs, Tauri shell, StorageEngine, backup/restore,
33
+ portability, model runtimes, graph/search/chat/capture/automation/system
34
+ workflows, and route aliases remain capability-compatible.
35
+
36
+ ### Validation
37
+
38
+ - v4.6.0 validation scope is tracked in
39
+ `docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md`.
40
+
41
+ ### Artifacts
42
+
43
+ - `dist/ltcai-4.6.0-py3-none-any.whl`
44
+ - `dist/ltcai-4.6.0.tar.gz`
45
+ - `dist/ltcai-4.6.0.vsix`
46
+ - `ltcai-4.6.0.tgz`
47
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.6.0_aarch64.dmg`
48
+
49
+ ## [4.5.1] - 2026-06-13
50
+
51
+ > Product Reimagining release candidate after the v4.5.0 capability recovery.
52
+
53
+ ### Changed
54
+
55
+ - Replaced the desktop shell with a compact premium chrome, ambient brain
56
+ canvas, command palette, responsive mobile drawer, and six-room product model:
57
+ Home, Ask, Add, Automate, Library, Care.
58
+ - Rewrote first-run onboarding as a non-technical journey: Make it yours ->
59
+ Choose a space -> Meet your Mac -> Pick a brain -> Install locally -> Try a
60
+ question -> Set the pace -> Explore memory.
61
+ - Retained all compatibility hash routes while changing visible navigation,
62
+ information hierarchy, route labels, and page hero language.
63
+ - Replaced the global visual system with a calmer Digital Brain palette,
64
+ fixed-size responsive typography, 8px-or-smaller card radii, and refined
65
+ shared controls.
66
+
67
+ ### Preserved
68
+
69
+ - Brain Core, FastAPI APIs, Tauri shell, StorageEngine, backup/restore,
70
+ portability, model runtimes, graph/search/chat/capture/automation/system
71
+ workflows, and route aliases remain capability-compatible.
72
+
73
+ ### Validation
74
+
75
+ - Full v4.5.1 RC validation is tracked in
76
+ `docs/V4_5_1_VALIDATION_REPORT.md`.
77
+
78
+ ### Artifacts
79
+
80
+ - `dist/ltcai-4.5.1-py3-none-any.whl`
81
+ - `dist/ltcai-4.5.1.tar.gz`
82
+ - `dist/ltcai-4.5.1.vsix`
83
+ - `ltcai-4.5.1.tgz`
84
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
85
+
86
+ ## [4.5.0] - 2026-06-13
87
+
88
+ > Product Experience Recovery release candidate after the v4.4.0 physical Brain
89
+ > extraction.
90
+
91
+ ### Changed
92
+
93
+ - Restored the first-run product journey in the desktop shell: Login ->
94
+ Workspace Selection -> Environment Analysis -> Model Recommendation -> Model
95
+ Installation -> Model Validation -> Mode Selection -> Brain Usage.
96
+ - Reworked Library Models around the existing prepare/load stream so model setup
97
+ visibly moves through Environment Analysis, Recommended Models, Install,
98
+ Download Progress, Validate, Load, and Ready.
99
+ - Basic mode now uses friendlier connected/needs-setup status language and
100
+ hides endpoint/module details in the Brain graph, model cards, and computer
101
+ readiness panels while preserving Advanced/Admin inspection detail.
102
+ - Brain graph/search copy now emphasizes ideas, relationships, sources, focus,
103
+ filtering, and readability instead of backend endpoint implementation.
104
+
105
+ ### Fixed
106
+
107
+ - Gemma 4 MLX routing now reads local model metadata before load. Gemma 4 12B
108
+ `gemma4_unified` shows **Runtime update needed** when installed MLX-VLM lacks
109
+ `mlx_vlm.models.gemma4_unified`; Gemma 4 26B A4B remains ready on the
110
+ standard `gemma4` MLX-VLM path.
111
+ - Raw loader errors such as `No module named ...gemma4_unified` are converted
112
+ into actionable runtime-update guidance instead of marking the model ready or
113
+ routing it through an incompatible MLX-LM fallback.
114
+ - Workspace selection now persists across reloads so the selected workspace is
115
+ used by API requests after restart.
116
+
117
+ ### Validation
118
+
119
+ - Added unit coverage for Gemma 4 12B versus 26B runtime compatibility,
120
+ recommendation state, catalog routing, and the MLX-LM fallback guard.
121
+ - Added Playwright coverage for first-run setup, model setup flow, Gemma
122
+ recovery guidance, and Basic graph developer-leakage prevention.
123
+ - Full v4.5.0 RC validation is tracked in
124
+ `docs/V4_5_0_VALIDATION_REPORT.md`.
125
+
126
+ ### Artifacts
127
+
128
+ - `dist/ltcai-4.5.0-py3-none-any.whl`
129
+ - `dist/ltcai-4.5.0.tar.gz`
130
+ - `dist/ltcai-4.5.0.vsix`
131
+ - `ltcai-4.5.0.tgz`
132
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.0_aarch64.dmg`
133
+
6
134
  ## [4.4.0] - 2026-06-13
7
135
 
8
136
  > Brain Engine Extraction release: the Brain Core implementation physically
@@ -0,0 +1,49 @@
1
+ # v4.5.0 Gemma Runtime Compatibility Report
2
+
3
+ Date: 2026-06-13
4
+
5
+ ## Regression
6
+
7
+ Gemma 4 12B Instruct and Gemma 4 26B A4B were both presented as local Gemma 4
8
+ models, but they do not enter the same loader path. The first real divergence is
9
+ the local `config.json`: 12B declares `model_type: gemma4_unified`, while 26B
10
+ A4B declares `model_type: gemma4`. Installed MLX-VLM 0.5.0 can load the 26B
11
+ standard `gemma4` path, but it lacks `mlx_vlm.models.gemma4_unified`, and
12
+ MLX-LM does not provide a `gemma4_unified` loader either.
13
+
14
+ ## Fix
15
+
16
+ - `latticeai.core.model_compat` reads the local model metadata before load and
17
+ reports `runtime_update_needed` for 12B `gemma4_unified` when
18
+ `mlx_vlm.models.gemma4_unified` is absent.
19
+ - `latticeai.models.router` keeps the v3 MLX-VLM path first and only retries
20
+ MLX-LM for standard Gemma 4 metadata. It does not route `gemma4_unified`
21
+ through the incompatible MLX-LM fallback.
22
+ - `/models` preserves pulled/ready state for no-alias local MLX models, so 26B
23
+ A4B stays ready while 12B shows the honest runtime-update state.
24
+ - Generic loader failures are converted into friendly recovery payloads without
25
+ hiding the root cause.
26
+ - Recommendation classification marks the 12B MLX snapshot not recommended until
27
+ the installed runtime can load it, while the 26B A4B path remains recommended.
28
+
29
+ ## User Guidance
30
+
31
+ The UI recommends:
32
+
33
+ - update MLX-VLM to a version with `mlx_vlm.models.gemma4_unified`
34
+ (`mlx-vlm>=0.6.3`) before loading the 12B MLX snapshot,
35
+ - use Gemma 4 26B A4B locally while the 12B runtime update is pending,
36
+ - use Gemma 4 12B GGUF through Ollama, LM Studio, or llama.cpp as a local-server
37
+ alternative.
38
+
39
+ ## Tests
40
+
41
+ - `tests/unit/test_model_compat.py`
42
+ - `tests/unit/test_model_recommendation.py`
43
+ - `tests/unit/test_mlx_router_gemma4_fallback.py`
44
+ - `tests/unit/test_models_api_runtime_routing.py`
45
+ - `tests/visual/v3.spec.js`
46
+
47
+ ## Evidence
48
+
49
+ Screenshot: `output/audits/v4.5.0-rc/screenshots/03-gemma-runtime-recovery.png`
@@ -0,0 +1,34 @@
1
+ # v4.5.0 Graph UX Report
2
+
3
+ Date: 2026-06-13
4
+
5
+ ## Goal
6
+
7
+ Improve discoverability, readability, focus, searching, and filtering without
8
+ redesigning the graph architecture.
9
+
10
+ ## Changes
11
+
12
+ - Graph copy now describes ideas, relationships, sources, and saved items
13
+ instead of backend endpoints.
14
+ - Basic mode hides raw node IDs in the focus panel and shows connections/source
15
+ instead.
16
+ - Search placeholder is product-oriented in Basic mode.
17
+ - Brain search copy explains unified memory/graph/document search without
18
+ exposing endpoint mechanics.
19
+ - Advanced/Admin retain structured inspection where useful.
20
+
21
+ ## Existing Capabilities Preserved
22
+
23
+ - Cytoscape graph rendering
24
+ - semantic groups
25
+ - search
26
+ - label modes
27
+ - importance filter
28
+ - focus neighborhoods
29
+ - group collapse/expand
30
+ - backend hybrid search
31
+
32
+ ## Evidence
33
+
34
+ Screenshot: `output/audits/v4.5.0-rc/screenshots/04-graph-basic-focus.png`
@@ -0,0 +1,40 @@
1
+ # v4.5.0 Model Runtime UX Report
2
+
3
+ Date: 2026-06-13
4
+
5
+ ## Restored Flow
6
+
7
+ Library Models now presents the intended model flow:
8
+
9
+ 1. Environment Analysis
10
+ 2. Recommended Models
11
+ 3. Install
12
+ 4. Download Progress
13
+ 5. Validate
14
+ 6. Load
15
+ 7. Ready
16
+
17
+ ## Implementation
18
+
19
+ - Frontend uses the existing `/engines/prepare-model/stream` API for progress.
20
+ - The consent checkbox is required before a setup action may install a runtime
21
+ or download model files.
22
+ - Current model, top pick, computer readiness, and compatibility validation are
23
+ visible in one workflow.
24
+ - Advanced/Admin modes show load IDs and engine details; Basic mode shows
25
+ product-level status and recovery.
26
+
27
+ ## Failure UX
28
+
29
+ Runtime failures show:
30
+
31
+ - a clear actionable state such as runtime update, repair, download, fallback,
32
+ or unsupported format,
33
+ - friendly explanation,
34
+ - recovery guidance,
35
+ - alternatives,
36
+ - no raw Python module exception in Basic mode.
37
+
38
+ ## Evidence
39
+
40
+ Screenshot: `output/audits/v4.5.0-rc/screenshots/02-model-setup-flow.png`
@@ -0,0 +1,31 @@
1
+ # v4.5.0 Onboarding Report
2
+
3
+ Date: 2026-06-13
4
+
5
+ ## Restored Surface
6
+
7
+ The desktop shell now shows a first-run setup guide unless the user dismisses it
8
+ locally. It is also discoverable from the command palette as First-run Setup.
9
+
10
+ ## Covered Steps
11
+
12
+ - Login: opens System -> Account.
13
+ - Workspace Selection: opens System -> Workspaces.
14
+ - Environment Analysis: opens Library -> Models and uses model recommendation
15
+ data from `/models/recommendations`.
16
+ - Model Recommendation: surfaces the top recommended local model.
17
+ - Model Installation: keeps runtime install/model download consent visible.
18
+ - Model Validation: shows compatibility profile results after load.
19
+ - Mode Selection: links to System -> Settings and preserves Basic/Advanced/Admin.
20
+ - Brain Usage: opens the graph-first Brain surface.
21
+
22
+ ## Privacy Behavior
23
+
24
+ No external model download, runtime install, or cloud call starts from
25
+ onboarding. Downloads and installs require the visible Library consent checkbox.
26
+
27
+ ## Evidence
28
+
29
+ Primary screenshot: `output/audits/v4.5.0-rc/screenshots/01-first-run-setup.png`
30
+
31
+ Walkthrough GIF: `output/audits/v4.5.0-rc/gifs/v4.5.0-first-run-walkthrough.gif`
@@ -0,0 +1,49 @@
1
+ # v4.5.0 Product Experience Recovery Report
2
+
3
+ Date: 2026-06-13
4
+
5
+ ## Scope
6
+
7
+ v4.5.0 restores the product experience on `main` after v4.4.0. It does not
8
+ redesign `lattice_brain`, StorageEngine, FastAPI, Tauri, backup/restore, or
9
+ portability architecture.
10
+
11
+ ## Restored Journey
12
+
13
+ Before v4.5.0, account, workspace, setup, environment analysis, model setup, and
14
+ mode selection existed but were scattered inside System/Library surfaces.
15
+
16
+ After v4.5.0, the first-run path is visible from the app shell:
17
+
18
+ 1. Login
19
+ 2. Workspace Selection
20
+ 3. Environment Analysis
21
+ 4. Model Recommendation
22
+ 5. Model Installation
23
+ 6. Model Validation
24
+ 7. Mode Selection
25
+ 8. Brain Usage
26
+
27
+ ## Product Changes
28
+
29
+ - Added a first-run guide in the desktop app shell with direct actions for
30
+ account, workspace, model setup, mode choice, and Brain entry.
31
+ - Persisted the selected workspace across reloads so the chosen workspace is
32
+ used by API requests after restart.
33
+ - Reworked Library Models around the existing streamed prepare/load path.
34
+ - Kept model downloads and runtime installs behind explicit consent.
35
+ - Added Gemma 4 MLX runtime metadata checks so 12B `gemma4_unified` shows
36
+ runtime update guidance while 26B A4B remains ready on the working path.
37
+ - Reduced Basic-mode developer leakage while keeping Advanced/Admin detail.
38
+ - Updated graph/search copy for readability, focus, and source clarity.
39
+
40
+ ## Evidence
41
+
42
+ - Screenshots: `output/audits/v4.5.0-rc/screenshots/`
43
+ - GIFs: `output/audits/v4.5.0-rc/gifs/`
44
+ - Validation: `docs/V4_5_0_VALIDATION_REPORT.md`
45
+
46
+ ## No-Redesign Confirmation
47
+
48
+ No storage migrations, archive format changes, FastAPI architecture changes,
49
+ Tauri shell redesign, or Brain Core extraction changes were introduced.
@@ -0,0 +1,60 @@
1
+ # v4.5.0 Validation Report
2
+
3
+ Date: 2026-06-13
4
+
5
+ ## Status
6
+
7
+ Local RC validation passed on macOS using Python 3.12.13
8
+ (`/tmp/ltcai-v450-py312/bin/python`).
9
+
10
+ ## Required Matrix
11
+
12
+ | Check | Result |
13
+ | --- | --- |
14
+ | Python compile | PASS: `npm run check:python` |
15
+ | Ruff | PASS: `python -m ruff check .` |
16
+ | Unit tests | PASS: `npm run test:unit` (`607 passed`) |
17
+ | Integration tests | PASS: `npm run test:integration` against a live local server (`9 passed`, `1 skipped`) |
18
+ | `lattice_brain` isolation tests | PASS: `tests/unit/test_lattice_brain_isolation.py` |
19
+ | no `lattice_brain` -> `latticeai` import test | PASS: isolation import guard |
20
+ | graph/search/ingestion tests | PASS: focused graph, search, and ingestion suite (`79 passed`) |
21
+ | backup/restore tests | PASS: `tests/unit/test_kg_portability.py`, `tests/unit/test_v42_brain_storage.py` |
22
+ | `.latticebrain` archive tests | PASS: encrypted archive round trip, tamper rejection, dry-run restore |
23
+ | frontend lint/typecheck | PASS: `npm run lint`, `npm run typecheck` |
24
+ | Playwright | PASS: `npm run test:visual` (`14 passed`) |
25
+ | Tauri cargo check | PASS: `npm run desktop:tauri:check` |
26
+ | Tauri DMG build | PASS: `npm run release:artifacts` |
27
+ | release artifact validation | PASS: `npm run release:validate` |
28
+ | wheel smoke | PASS: `scripts/wheel_smoke.py --wheel dist/ltcai-4.5.0-py3-none-any.whl` |
29
+ | npm pack dry-run | PASS: `npm pack --dry-run` |
30
+ | onboarding/model/Gemma/first-run validation | PASS: Playwright coverage plus screenshots/GIF evidence |
31
+
32
+ ## Notes
33
+
34
+ - The first integration run was executed without the live local server and
35
+ failed with connection-refused setup errors. It was rerun against
36
+ `http://127.0.0.1:8899` and passed.
37
+ - The Postgres live migration integration test remains skipped unless the
38
+ dedicated Postgres fixture is available.
39
+ - Vite reports the existing large frontend bundle warning during production
40
+ builds.
41
+ - Tauri/Rust reports an upstream future-incompatibility warning for
42
+ `block v0.1.6`.
43
+ - SHA-256 artifact hashes were captured after the final local artifact rebuild
44
+ so this report can be packaged without creating self-referential hash churn.
45
+
46
+ ## Evidence
47
+
48
+ - Screenshots: `output/audits/v4.5.0-rc/screenshots/`
49
+ - Walkthrough GIF: `output/audits/v4.5.0-rc/gifs/v4.5.0-first-run-walkthrough.gif`
50
+ - Validated artifacts:
51
+ - `dist/ltcai-4.5.0-py3-none-any.whl`
52
+ - `dist/ltcai-4.5.0.tar.gz`
53
+ - `ltcai-4.5.0.tgz`
54
+ - `dist/ltcai-4.5.0.vsix`
55
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.0_aarch64.dmg`
56
+
57
+ ## External Publishing
58
+
59
+ No PyPI, npm Registry, VS Code Marketplace, or Open VSX publish command is part
60
+ of this RC validation.
@@ -0,0 +1,33 @@
1
+ # v4.5.1 Graph Experience Report
2
+
3
+ ## Goal
4
+
5
+ Knowledge exploration should feel like using a Digital Brain, not inspecting a
6
+ database viewer.
7
+
8
+ ## Reimagined Entry Point
9
+
10
+ Brain is now presented as Home. The default tab is Today, with the map still one
11
+ click away. The first-viewport language now explains that Lattice turns added
12
+ material into a living memory map and keeps every answer tied to its source.
13
+
14
+ ## Preserved Capability
15
+
16
+ - Cytoscape graph explorer.
17
+ - Semantic groups.
18
+ - Search, focus, label modes, group collapse, and importance filtering.
19
+ - Provenance coverage.
20
+ - Hybrid search.
21
+ - Portability and backup controls.
22
+
23
+ ## Presentation Changes
24
+
25
+ - Page copy avoids endpoint/framework language in Calm mode.
26
+ - Graph remains real and API-backed.
27
+ - Existing graph route aliases still open the map directly.
28
+
29
+ ## Evidence
30
+
31
+ - Graph UI: `frontend/src/pages/Brain.tsx`
32
+ - Visual test: `knowledge graph renders a Cytoscape canvas and provenance coverage`
33
+ - Related historical report: `docs/V4_5_0_GRAPH_UX_REPORT.md`