ltcai 4.4.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -18
- package/docs/CHANGELOG.md +85 -0
- package/docs/V4_5_0_GEMMA_RUNTIME_COMPATIBILITY_REPORT.md +49 -0
- package/docs/V4_5_0_GRAPH_UX_REPORT.md +34 -0
- package/docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md +40 -0
- package/docs/V4_5_0_ONBOARDING_REPORT.md +31 -0
- package/docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md +49 -0
- package/docs/V4_5_0_VALIDATION_REPORT.md +60 -0
- package/docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md +33 -0
- package/docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md +37 -0
- package/docs/V4_5_1_NAVIGATION_REPORT.md +37 -0
- package/docs/V4_5_1_ONBOARDING_REPORT.md +29 -0
- package/docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md +61 -0
- package/docs/V4_5_1_RC_ARTIFACTS.md +44 -0
- package/docs/V4_5_1_UX_REPORT.md +45 -0
- package/docs/V4_5_1_VALIDATION_REPORT.md +54 -0
- package/docs/V4_5_1_VISUAL_DESIGN_REPORT.md +30 -0
- package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +16 -16
- package/docs/architecture.md +8 -4
- package/frontend/src/App.tsx +152 -91
- package/frontend/src/api/client.ts +83 -1
- package/frontend/src/components/FirstRunGuide.tsx +99 -0
- package/frontend/src/components/primitives.tsx +131 -25
- package/frontend/src/components/ui/badge.tsx +2 -2
- package/frontend/src/components/ui/button.tsx +7 -7
- package/frontend/src/components/ui/card.tsx +5 -5
- package/frontend/src/components/ui/input.tsx +1 -1
- package/frontend/src/components/ui/textarea.tsx +1 -1
- package/frontend/src/pages/Act.tsx +58 -28
- package/frontend/src/pages/Ask.tsx +51 -19
- package/frontend/src/pages/Brain.tsx +60 -42
- package/frontend/src/pages/Capture.tsx +24 -24
- package/frontend/src/pages/Library.tsx +222 -32
- package/frontend/src/pages/System.tsx +56 -34
- package/frontend/src/routes.ts +15 -13
- package/frontend/src/store/appStore.ts +8 -1
- package/frontend/src/styles.css +666 -36
- package/lattice_brain/__init__.py +1 -1
- package/lattice_brain/runtime/multi_agent.py +1 -1
- package/latticeai/__init__.py +1 -1
- package/latticeai/api/models.py +107 -18
- package/latticeai/core/marketplace.py +1 -1
- package/latticeai/core/model_compat.py +250 -0
- package/latticeai/core/workspace_os.py +1 -1
- package/latticeai/models/router.py +136 -32
- package/latticeai/services/model_catalog.py +2 -2
- package/latticeai/services/model_recommendation.py +8 -1
- package/latticeai/services/model_runtime.py +18 -3
- package/package.json +1 -1
- package/scripts/build_frontend_assets.mjs +12 -1
- package/src-tauri/Cargo.lock +1 -1
- package/src-tauri/Cargo.toml +1 -1
- package/src-tauri/tauri.conf.json +1 -1
- package/static/app/asset-manifest.json +5 -5
- package/static/app/assets/index-3G8qcrIS.js +336 -0
- package/static/app/assets/index-3G8qcrIS.js.map +1 -0
- package/static/app/assets/index-C0wYZp7k.css +2 -0
- package/static/app/index.html +2 -2
- package/static/app/assets/index-CHHal8Zl.css +0 -2
- package/static/app/assets/index-pdzil9ac.js +0 -333
- package/static/app/assets/index-pdzil9ac.js.map +0 -1
package/README.md
CHANGED
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
[](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/ci.yml)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
10
|
-
**Lattice AI v4.
|
|
10
|
+
**Lattice AI v4.5.1 is a local-first Digital Brain desktop workspace.** It runs
|
|
11
11
|
as a Tauri desktop app with a localhost FastAPI sidecar, stores the user's brain
|
|
12
12
|
locally by default, and presents the Knowledge Graph as the durable asset.
|
|
13
13
|
|
|
14
|
-
This README describes the v4.
|
|
15
|
-
|
|
14
|
+
This README describes the v4.5.1 release-candidate tree, which preserves the
|
|
15
|
+
v4.4.0 physical `lattice_brain` extraction and v4.5.0 capability recovery while
|
|
16
|
+
reimagining the product surface from first principles: Home, Ask, Add,
|
|
17
|
+
Automate, Library, and Care replace the prior dashboard-style presentation.
|
|
16
18
|
External package registries are owner-published; the badges above link to
|
|
17
19
|
package pages and may show the most recently published owner-controlled registry
|
|
18
20
|
version, which can lag behind the GitHub Release.
|
|
@@ -31,6 +33,13 @@ version, which can lag behind the GitHub Release.
|
|
|
31
33
|
presenting simulation as real success. When no LLM-backed model is loaded,
|
|
32
34
|
deterministic model-free agent simulation is reported honestly and does not call a model.
|
|
33
35
|
- Library shows model/runtime availability honestly.
|
|
36
|
+
- First-run setup guides Make it yours -> Choose a space -> Meet your Mac ->
|
|
37
|
+
Pick a brain -> Install locally -> Try a question -> Set the pace -> Explore
|
|
38
|
+
memory.
|
|
39
|
+
- Gemma 4 MLX models are checked against their local `config.json` before load:
|
|
40
|
+
Gemma 4 12B `gemma4_unified` now shows **Runtime update needed** when the
|
|
41
|
+
installed MLX-VLM lacks `mlx_vlm.models.gemma4_unified`, while Gemma 4 26B
|
|
42
|
+
A4B stays on the working `gemma4` MLX-VLM path.
|
|
34
43
|
- System exposes storage, backup health, archive, Brain Network, device
|
|
35
44
|
identity, and admin status through real APIs.
|
|
36
45
|
- Backup, restore dry-run, archive verify, archive import dry-run, and
|
|
@@ -40,7 +49,7 @@ version, which can lag behind the GitHub Release.
|
|
|
40
49
|
|
|
41
50
|
### Desktop Startup
|
|
42
51
|
|
|
43
|
-
The v4.
|
|
52
|
+
The v4.5.1 DMG build launches a visible Tauri app, starts the FastAPI sidecar on
|
|
44
53
|
localhost, and shuts that sidecar down on normal macOS quit.
|
|
45
54
|
|
|
46
55
|

|
|
@@ -53,9 +62,8 @@ Evidence:
|
|
|
53
62
|
### Brain Graph
|
|
54
63
|
|
|
55
64
|
Brain opens on the graph-first workspace. The graph uses real persisted nodes
|
|
56
|
-
and edges
|
|
57
|
-
|
|
58
|
-
importance filtering.
|
|
65
|
+
and edges, then layers product controls for search, semantic grouping, focus
|
|
66
|
+
neighborhoods, label modes, group collapse/expand, and importance filtering.
|
|
59
67
|
|
|
60
68
|

|
|
61
69
|
|
|
@@ -94,7 +102,10 @@ LLM-backed model is loaded.
|
|
|
94
102
|
|
|
95
103
|
Library shows models, skills, MCP, and marketplace/configuration state with
|
|
96
104
|
availability reported from runtime APIs. Optional model runtimes are not treated
|
|
97
|
-
as loaded unless the runtime is actually available.
|
|
105
|
+
as loaded unless the runtime is actually available. Model setup now follows the
|
|
106
|
+
explicit Environment Analysis -> Recommended Models -> Install -> Download
|
|
107
|
+
Progress -> Validate -> Load -> Ready path, with download/install consent kept
|
|
108
|
+
visible.
|
|
98
109
|
|
|
99
110
|

|
|
100
111
|
|
|
@@ -148,17 +159,19 @@ Archive evidence:
|
|
|
148
159
|
- **Privacy**: local-first by default; cloud models, Telegram, Brain Network,
|
|
149
160
|
Docker, model downloads, and update checks require explicit opt-in paths.
|
|
150
161
|
|
|
151
|
-
See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4
|
|
162
|
+
See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4 architecture. v4.5.1
|
|
163
|
+
does not redesign the v4.4.0 Brain Core extraction, StorageEngine, FastAPI,
|
|
164
|
+
Tauri, backup/restore, or portability architecture.
|
|
152
165
|
|
|
153
166
|
## Installation And Release Artifacts
|
|
154
167
|
|
|
155
|
-
Validated v4.
|
|
168
|
+
Validated v4.5.1 RC artifacts are produced from the product-reimagining tree:
|
|
156
169
|
|
|
157
|
-
- `dist/ltcai-4.
|
|
158
|
-
- `dist/ltcai-4.
|
|
159
|
-
- `ltcai-4.
|
|
160
|
-
- `dist/ltcai-4.
|
|
161
|
-
- `src-tauri/target/release/bundle/dmg/Lattice AI_4.
|
|
170
|
+
- `dist/ltcai-4.5.1-py3-none-any.whl`
|
|
171
|
+
- `dist/ltcai-4.5.1.tar.gz`
|
|
172
|
+
- `ltcai-4.5.1.tgz`
|
|
173
|
+
- `dist/ltcai-4.5.1.vsix`
|
|
174
|
+
- `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
|
|
162
175
|
|
|
163
176
|
For a public release, attach only those exact artifacts to the GitHub Release.
|
|
164
177
|
Package-registry publishing is reserved for the owner.
|
|
@@ -194,7 +207,7 @@ npm run test:unit
|
|
|
194
207
|
LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration
|
|
195
208
|
npm run test:visual
|
|
196
209
|
npm run desktop:tauri:check
|
|
197
|
-
node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-
|
|
210
|
+
node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-X.Y.Z-py3-none-any.whl
|
|
198
211
|
npm pack --dry-run
|
|
199
212
|
```
|
|
200
213
|
|
|
@@ -208,12 +221,14 @@ npm pack --dry-run
|
|
|
208
221
|
- Model downloads and cloud model calls require explicit user action/consent.
|
|
209
222
|
- Ask does not fabricate answers when no model is loaded.
|
|
210
223
|
- Historical artifacts may remain in `dist/`; release uploads must use exact
|
|
211
|
-
v4.
|
|
224
|
+
v4.5.1 filenames for this RC.
|
|
212
225
|
|
|
213
226
|
## Release History
|
|
214
227
|
|
|
215
228
|
| Version | Theme |
|
|
216
229
|
| --- | --- |
|
|
230
|
+
| 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 |
|
|
231
|
+
| 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
232
|
| 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
233
|
| 4.3.3 | Dead-Code Cleanup Release: post-audit cleanup, architecture documentation correction, Vercel/static-docs readiness, README badge restoration, exact-current artifacts |
|
|
219
234
|
| 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 +242,12 @@ npm pack --dry-run
|
|
|
227
242
|
|
|
228
243
|
## Current Documentation
|
|
229
244
|
|
|
230
|
-
- [ARCHITECTURE.md](ARCHITECTURE.md) - v4
|
|
245
|
+
- [ARCHITECTURE.md](ARCHITECTURE.md) - v4 architecture.
|
|
231
246
|
- [FEATURE_STATUS.md](FEATURE_STATUS.md) - current feature status and historical
|
|
232
247
|
status ledger.
|
|
233
248
|
- [RELEASE_NOTES.md](RELEASE_NOTES.md) - current release notes index.
|
|
249
|
+
- [RELEASE_NOTES_v4.5.1.md](RELEASE_NOTES_v4.5.1.md) - v4.5.1 RC release notes.
|
|
250
|
+
- [RELEASE_NOTES_v4.5.0.md](RELEASE_NOTES_v4.5.0.md) - v4.5.0 RC release notes.
|
|
234
251
|
- [RELEASE_NOTES_v4.4.0.md](RELEASE_NOTES_v4.4.0.md) - v4.4.0 release notes.
|
|
235
252
|
- [RELEASE_NOTES_v4.3.3.md](RELEASE_NOTES_v4.3.3.md) - v4.3.3 release notes.
|
|
236
253
|
- [RELEASE.md](RELEASE.md) - release checklist and exact artifact guidance.
|
|
@@ -238,6 +255,17 @@ npm pack --dry-run
|
|
|
238
255
|
- [docs/CHANGELOG.md](docs/CHANGELOG.md) - changelog.
|
|
239
256
|
- [docs/V4_3_2_DEADCODE_AUDIT_REPORT.md](docs/V4_3_2_DEADCODE_AUDIT_REPORT.md) - v4.3.3 cleanup basis.
|
|
240
257
|
- [docs/V4_3_3_VALIDATION_REPORT.md](docs/V4_3_3_VALIDATION_REPORT.md) - v4.3.3 validation report.
|
|
258
|
+
- [docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md](docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md) - v4.5.0 product recovery report.
|
|
259
|
+
- [docs/V4_5_0_VALIDATION_REPORT.md](docs/V4_5_0_VALIDATION_REPORT.md) - v4.5.0 validation report.
|
|
260
|
+
- [docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md](docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md) - v4.5.1 product reimagining report.
|
|
261
|
+
- [docs/V4_5_1_UX_REPORT.md](docs/V4_5_1_UX_REPORT.md) - v4.5.1 UX report.
|
|
262
|
+
- [docs/V4_5_1_VISUAL_DESIGN_REPORT.md](docs/V4_5_1_VISUAL_DESIGN_REPORT.md) - v4.5.1 visual design report.
|
|
263
|
+
- [docs/V4_5_1_NAVIGATION_REPORT.md](docs/V4_5_1_NAVIGATION_REPORT.md) - v4.5.1 navigation report.
|
|
264
|
+
- [docs/V4_5_1_ONBOARDING_REPORT.md](docs/V4_5_1_ONBOARDING_REPORT.md) - v4.5.1 onboarding report.
|
|
265
|
+
- [docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md](docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md) - v4.5.1 model experience report.
|
|
266
|
+
- [docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md](docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md) - v4.5.1 graph experience report.
|
|
267
|
+
- [docs/V4_5_1_VALIDATION_REPORT.md](docs/V4_5_1_VALIDATION_REPORT.md) - v4.5.1 validation report.
|
|
268
|
+
- [docs/V4_5_1_RC_ARTIFACTS.md](docs/V4_5_1_RC_ARTIFACTS.md) - v4.5.1 screenshot, GIF, and RC artifact manifest.
|
|
241
269
|
- [docs/V4_3_2_GRAPH_UX_REPORT.md](docs/V4_3_2_GRAPH_UX_REPORT.md) - graph UX report.
|
|
242
270
|
- [docs/V4_3_2_PRODUCT_POLISH_REPORT.md](docs/V4_3_2_PRODUCT_POLISH_REPORT.md) - product polish report.
|
|
243
271
|
- [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,91 @@
|
|
|
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.5.1] - 2026-06-13
|
|
7
|
+
|
|
8
|
+
> Product Reimagining release candidate after the v4.5.0 capability recovery.
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Replaced the desktop shell with a compact premium chrome, ambient brain
|
|
13
|
+
canvas, command palette, responsive mobile drawer, and six-room product model:
|
|
14
|
+
Home, Ask, Add, Automate, Library, Care.
|
|
15
|
+
- Rewrote first-run onboarding as a non-technical journey: Make it yours ->
|
|
16
|
+
Choose a space -> Meet your Mac -> Pick a brain -> Install locally -> Try a
|
|
17
|
+
question -> Set the pace -> Explore memory.
|
|
18
|
+
- Retained all compatibility hash routes while changing visible navigation,
|
|
19
|
+
information hierarchy, route labels, and page hero language.
|
|
20
|
+
- Replaced the global visual system with a calmer Digital Brain palette,
|
|
21
|
+
fixed-size responsive typography, 8px-or-smaller card radii, and refined
|
|
22
|
+
shared controls.
|
|
23
|
+
|
|
24
|
+
### Preserved
|
|
25
|
+
|
|
26
|
+
- Brain Core, FastAPI APIs, Tauri shell, StorageEngine, backup/restore,
|
|
27
|
+
portability, model runtimes, graph/search/chat/capture/automation/system
|
|
28
|
+
workflows, and route aliases remain capability-compatible.
|
|
29
|
+
|
|
30
|
+
### Validation
|
|
31
|
+
|
|
32
|
+
- Full v4.5.1 RC validation is tracked in
|
|
33
|
+
`docs/V4_5_1_VALIDATION_REPORT.md`.
|
|
34
|
+
|
|
35
|
+
### Artifacts
|
|
36
|
+
|
|
37
|
+
- `dist/ltcai-4.5.1-py3-none-any.whl`
|
|
38
|
+
- `dist/ltcai-4.5.1.tar.gz`
|
|
39
|
+
- `dist/ltcai-4.5.1.vsix`
|
|
40
|
+
- `ltcai-4.5.1.tgz`
|
|
41
|
+
- `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
|
|
42
|
+
|
|
43
|
+
## [4.5.0] - 2026-06-13
|
|
44
|
+
|
|
45
|
+
> Product Experience Recovery release candidate after the v4.4.0 physical Brain
|
|
46
|
+
> extraction.
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
|
|
50
|
+
- Restored the first-run product journey in the desktop shell: Login ->
|
|
51
|
+
Workspace Selection -> Environment Analysis -> Model Recommendation -> Model
|
|
52
|
+
Installation -> Model Validation -> Mode Selection -> Brain Usage.
|
|
53
|
+
- Reworked Library Models around the existing prepare/load stream so model setup
|
|
54
|
+
visibly moves through Environment Analysis, Recommended Models, Install,
|
|
55
|
+
Download Progress, Validate, Load, and Ready.
|
|
56
|
+
- Basic mode now uses friendlier connected/needs-setup status language and
|
|
57
|
+
hides endpoint/module details in the Brain graph, model cards, and computer
|
|
58
|
+
readiness panels while preserving Advanced/Admin inspection detail.
|
|
59
|
+
- Brain graph/search copy now emphasizes ideas, relationships, sources, focus,
|
|
60
|
+
filtering, and readability instead of backend endpoint implementation.
|
|
61
|
+
|
|
62
|
+
### Fixed
|
|
63
|
+
|
|
64
|
+
- Gemma 4 MLX routing now reads local model metadata before load. Gemma 4 12B
|
|
65
|
+
`gemma4_unified` shows **Runtime update needed** when installed MLX-VLM lacks
|
|
66
|
+
`mlx_vlm.models.gemma4_unified`; Gemma 4 26B A4B remains ready on the
|
|
67
|
+
standard `gemma4` MLX-VLM path.
|
|
68
|
+
- Raw loader errors such as `No module named ...gemma4_unified` are converted
|
|
69
|
+
into actionable runtime-update guidance instead of marking the model ready or
|
|
70
|
+
routing it through an incompatible MLX-LM fallback.
|
|
71
|
+
- Workspace selection now persists across reloads so the selected workspace is
|
|
72
|
+
used by API requests after restart.
|
|
73
|
+
|
|
74
|
+
### Validation
|
|
75
|
+
|
|
76
|
+
- Added unit coverage for Gemma 4 12B versus 26B runtime compatibility,
|
|
77
|
+
recommendation state, catalog routing, and the MLX-LM fallback guard.
|
|
78
|
+
- Added Playwright coverage for first-run setup, model setup flow, Gemma
|
|
79
|
+
recovery guidance, and Basic graph developer-leakage prevention.
|
|
80
|
+
- Full v4.5.0 RC validation is tracked in
|
|
81
|
+
`docs/V4_5_0_VALIDATION_REPORT.md`.
|
|
82
|
+
|
|
83
|
+
### Artifacts
|
|
84
|
+
|
|
85
|
+
- `dist/ltcai-4.5.0-py3-none-any.whl`
|
|
86
|
+
- `dist/ltcai-4.5.0.tar.gz`
|
|
87
|
+
- `dist/ltcai-4.5.0.vsix`
|
|
88
|
+
- `ltcai-4.5.0.tgz`
|
|
89
|
+
- `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.0_aarch64.dmg`
|
|
90
|
+
|
|
6
91
|
## [4.4.0] - 2026-06-13
|
|
7
92
|
|
|
8
93
|
> 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`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# v4.5.1 Model Experience Report
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Normal users should be able to install and use a local model without learning
|
|
6
|
+
MLX, MLX-LM, MLX-VLM, Ollama, GGUF, or runtime internals.
|
|
7
|
+
|
|
8
|
+
## Preserved Capability
|
|
9
|
+
|
|
10
|
+
v4.5.1 keeps the v4.5.0 model recommendation and prepare/load stream:
|
|
11
|
+
|
|
12
|
+
- Environment analysis.
|
|
13
|
+
- Recommended model selection.
|
|
14
|
+
- Explicit download/install consent.
|
|
15
|
+
- Progress reporting.
|
|
16
|
+
- Validation.
|
|
17
|
+
- Load/ready state.
|
|
18
|
+
- Compatibility recovery guidance.
|
|
19
|
+
|
|
20
|
+
## Reimagined Presentation
|
|
21
|
+
|
|
22
|
+
The model experience now sits under Library in the new product shell. The first
|
|
23
|
+
session points users to "Pick a brain" and "Install locally" instead of runtime
|
|
24
|
+
labels. Calm mode keeps implementation terms hidden while Deep/Admin retain
|
|
25
|
+
diagnostics.
|
|
26
|
+
|
|
27
|
+
## Non-Goals
|
|
28
|
+
|
|
29
|
+
No model runtime behavior, download policy, local/cloud opt-in policy, or
|
|
30
|
+
compatibility routing was changed in v4.5.1.
|
|
31
|
+
|
|
32
|
+
## Evidence
|
|
33
|
+
|
|
34
|
+
- Model UI: `frontend/src/pages/Library.tsx`
|
|
35
|
+
- Model API client: `frontend/src/api/client.ts`
|
|
36
|
+
- Related historical runtime report:
|
|
37
|
+
`docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md`
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# v4.5.1 Navigation Report
|
|
2
|
+
|
|
3
|
+
## New Navigation Model
|
|
4
|
+
|
|
5
|
+
The primary navigation is now:
|
|
6
|
+
|
|
7
|
+
- Home
|
|
8
|
+
- Ask
|
|
9
|
+
- Add
|
|
10
|
+
- Automate
|
|
11
|
+
- Library
|
|
12
|
+
- Care
|
|
13
|
+
|
|
14
|
+
This replaces the previous product taxonomy without removing compatibility
|
|
15
|
+
routes. Existing paths such as `#/knowledge-graph`, `#/hybrid-search`,
|
|
16
|
+
`#/files`, `#/agents`, `#/workspace-admin`, and admin aliases still route to
|
|
17
|
+
the same capability modules.
|
|
18
|
+
|
|
19
|
+
## Why This Model
|
|
20
|
+
|
|
21
|
+
- Home is the user-facing Digital Brain entry point.
|
|
22
|
+
- Ask is the clearest label for conversational work.
|
|
23
|
+
- Add explains knowledge ingestion without technical vocabulary.
|
|
24
|
+
- Automate explains agents/workflows as supervised outcomes.
|
|
25
|
+
- Library remains clear for models, skills, and connections.
|
|
26
|
+
- Care reframes account, backups, devices, and safety as maintenance.
|
|
27
|
+
|
|
28
|
+
## Implementation
|
|
29
|
+
|
|
30
|
+
- Route compatibility remains in `frontend/src/routes.ts`.
|
|
31
|
+
- The visible dock and mobile drawer are implemented in `frontend/src/App.tsx`.
|
|
32
|
+
- Visual tests now assert the new navigation labels and legacy route behavior.
|
|
33
|
+
|
|
34
|
+
## Evidence
|
|
35
|
+
|
|
36
|
+
- Tests: `tests/visual/v3.spec.js`
|
|
37
|
+
- Code: `frontend/src/routes.ts`, `frontend/src/App.tsx`
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# v4.5.1 Onboarding Report
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Onboarding should make the next action obvious to a first-time, non-technical
|
|
6
|
+
user without documentation.
|
|
7
|
+
|
|
8
|
+
## Reimagined Journey
|
|
9
|
+
|
|
10
|
+
- Make it yours: account/profile setup.
|
|
11
|
+
- Choose a space: personal or organization workspace selection.
|
|
12
|
+
- Meet your Mac: environment analysis.
|
|
13
|
+
- Pick a brain: model recommendation.
|
|
14
|
+
- Install locally: consent-gated model/runtime setup.
|
|
15
|
+
- Try a question: model validation through conversation.
|
|
16
|
+
- Set the pace: Calm, Deep, or Admin mode.
|
|
17
|
+
- Explore memory: open the knowledge map.
|
|
18
|
+
|
|
19
|
+
## Behavior
|
|
20
|
+
|
|
21
|
+
The journey reads real backend state from profile, workspace, models, and model
|
|
22
|
+
recommendation APIs. The guide can be hidden through local storage, but no
|
|
23
|
+
backend state is faked to mark setup complete.
|
|
24
|
+
|
|
25
|
+
## Evidence
|
|
26
|
+
|
|
27
|
+
- Primary component: `frontend/src/components/FirstRunGuide.tsx`
|
|
28
|
+
- Desktop screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
|
|
29
|
+
- Walkthrough GIF: `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
|