ltcai 4.3.3 → 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.
Files changed (138) hide show
  1. package/README.md +53 -20
  2. package/docs/CHANGELOG.md +122 -0
  3. package/docs/V4_4_0_EXTRACTION_REPORT.md +239 -0
  4. package/docs/V4_5_0_GEMMA_RUNTIME_COMPATIBILITY_REPORT.md +49 -0
  5. package/docs/V4_5_0_GRAPH_UX_REPORT.md +34 -0
  6. package/docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md +40 -0
  7. package/docs/V4_5_0_ONBOARDING_REPORT.md +31 -0
  8. package/docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md +49 -0
  9. package/docs/V4_5_0_VALIDATION_REPORT.md +60 -0
  10. package/docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md +33 -0
  11. package/docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md +37 -0
  12. package/docs/V4_5_1_NAVIGATION_REPORT.md +37 -0
  13. package/docs/V4_5_1_ONBOARDING_REPORT.md +29 -0
  14. package/docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md +61 -0
  15. package/docs/V4_5_1_RC_ARTIFACTS.md +44 -0
  16. package/docs/V4_5_1_UX_REPORT.md +45 -0
  17. package/docs/V4_5_1_VALIDATION_REPORT.md +54 -0
  18. package/docs/V4_5_1_VISUAL_DESIGN_REPORT.md +30 -0
  19. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +16 -16
  20. package/docs/architecture.md +8 -4
  21. package/frontend/src/App.tsx +152 -91
  22. package/frontend/src/api/client.ts +83 -1
  23. package/frontend/src/components/FirstRunGuide.tsx +99 -0
  24. package/frontend/src/components/primitives.tsx +131 -25
  25. package/frontend/src/components/ui/badge.tsx +2 -2
  26. package/frontend/src/components/ui/button.tsx +7 -7
  27. package/frontend/src/components/ui/card.tsx +5 -5
  28. package/frontend/src/components/ui/input.tsx +1 -1
  29. package/frontend/src/components/ui/textarea.tsx +1 -1
  30. package/frontend/src/pages/Act.tsx +58 -28
  31. package/frontend/src/pages/Ask.tsx +51 -19
  32. package/frontend/src/pages/Brain.tsx +60 -42
  33. package/frontend/src/pages/Capture.tsx +24 -24
  34. package/frontend/src/pages/Library.tsx +222 -32
  35. package/frontend/src/pages/System.tsx +56 -34
  36. package/frontend/src/routes.ts +15 -13
  37. package/frontend/src/store/appStore.ts +8 -1
  38. package/frontend/src/styles.css +666 -36
  39. package/lattice_brain/__init__.py +38 -23
  40. package/lattice_brain/_kg_common.py +11 -1
  41. package/lattice_brain/context.py +212 -2
  42. package/lattice_brain/conversations.py +234 -1
  43. package/lattice_brain/discovery.py +11 -1
  44. package/lattice_brain/documents.py +11 -1
  45. package/lattice_brain/graph/__init__.py +28 -0
  46. package/lattice_brain/graph/_kg_common.py +1123 -0
  47. package/lattice_brain/graph/curator.py +473 -0
  48. package/lattice_brain/graph/discovery.py +1455 -0
  49. package/lattice_brain/graph/documents.py +218 -0
  50. package/lattice_brain/graph/identity.py +175 -0
  51. package/lattice_brain/graph/ingest.py +644 -0
  52. package/lattice_brain/graph/network.py +205 -0
  53. package/lattice_brain/graph/projection.py +571 -0
  54. package/lattice_brain/graph/provenance.py +401 -0
  55. package/lattice_brain/graph/retrieval.py +1341 -0
  56. package/lattice_brain/graph/schema.py +640 -0
  57. package/lattice_brain/graph/store.py +237 -0
  58. package/lattice_brain/graph/write_master.py +225 -0
  59. package/lattice_brain/identity.py +11 -13
  60. package/lattice_brain/ingest.py +11 -1
  61. package/lattice_brain/ingestion.py +318 -0
  62. package/lattice_brain/memory.py +100 -1
  63. package/lattice_brain/network.py +11 -1
  64. package/lattice_brain/portability.py +431 -0
  65. package/lattice_brain/projection.py +11 -1
  66. package/lattice_brain/provenance.py +11 -1
  67. package/lattice_brain/retrieval.py +11 -1
  68. package/lattice_brain/runtime/__init__.py +32 -0
  69. package/lattice_brain/runtime/agent_runtime.py +569 -0
  70. package/lattice_brain/runtime/hooks.py +754 -0
  71. package/lattice_brain/runtime/multi_agent.py +795 -0
  72. package/lattice_brain/schema.py +11 -1
  73. package/lattice_brain/store.py +10 -2
  74. package/lattice_brain/workflow.py +461 -0
  75. package/lattice_brain/write_master.py +11 -1
  76. package/latticeai/__init__.py +1 -1
  77. package/latticeai/api/agents.py +2 -2
  78. package/latticeai/api/browser.py +1 -1
  79. package/latticeai/api/chat.py +1 -1
  80. package/latticeai/api/computer_use.py +1 -1
  81. package/latticeai/api/hooks.py +2 -2
  82. package/latticeai/api/mcp.py +1 -1
  83. package/latticeai/api/models.py +107 -18
  84. package/latticeai/api/tools.py +1 -1
  85. package/latticeai/api/workflow_designer.py +2 -2
  86. package/latticeai/app_factory.py +4 -4
  87. package/latticeai/brain/__init__.py +24 -6
  88. package/latticeai/brain/_kg_common.py +11 -1117
  89. package/latticeai/brain/context.py +12 -208
  90. package/latticeai/brain/conversations.py +12 -231
  91. package/latticeai/brain/discovery.py +13 -1451
  92. package/latticeai/brain/documents.py +13 -214
  93. package/latticeai/brain/identity.py +11 -169
  94. package/latticeai/brain/ingest.py +13 -640
  95. package/latticeai/brain/memory.py +12 -97
  96. package/latticeai/brain/network.py +12 -200
  97. package/latticeai/brain/projection.py +13 -567
  98. package/latticeai/brain/provenance.py +13 -397
  99. package/latticeai/brain/retrieval.py +13 -1337
  100. package/latticeai/brain/schema.py +12 -635
  101. package/latticeai/brain/store.py +13 -233
  102. package/latticeai/brain/write_master.py +13 -221
  103. package/latticeai/core/agent.py +1 -1
  104. package/latticeai/core/agent_registry.py +2 -2
  105. package/latticeai/core/builtin_hooks.py +2 -2
  106. package/latticeai/core/graph_curator.py +6 -468
  107. package/latticeai/core/hooks.py +6 -749
  108. package/latticeai/core/marketplace.py +1 -1
  109. package/latticeai/core/model_compat.py +250 -0
  110. package/latticeai/core/multi_agent.py +6 -790
  111. package/latticeai/core/workflow_engine.py +6 -456
  112. package/latticeai/core/workspace_os.py +1 -1
  113. package/latticeai/models/router.py +136 -32
  114. package/latticeai/services/agent_runtime.py +6 -564
  115. package/latticeai/services/ingestion.py +6 -313
  116. package/latticeai/services/kg_portability.py +6 -426
  117. package/latticeai/services/model_catalog.py +2 -2
  118. package/latticeai/services/model_recommendation.py +8 -1
  119. package/latticeai/services/model_runtime.py +18 -3
  120. package/latticeai/services/platform_runtime.py +3 -3
  121. package/latticeai/services/run_executor.py +1 -1
  122. package/latticeai/services/upload_service.py +1 -1
  123. package/p_reinforce.py +1 -1
  124. package/package.json +1 -1
  125. package/scripts/build_frontend_assets.mjs +12 -1
  126. package/scripts/bump_version.py +1 -1
  127. package/scripts/wheel_smoke.py +7 -0
  128. package/src-tauri/Cargo.lock +1 -1
  129. package/src-tauri/Cargo.toml +1 -1
  130. package/src-tauri/tauri.conf.json +1 -1
  131. package/static/app/asset-manifest.json +5 -5
  132. package/static/app/assets/index-3G8qcrIS.js +336 -0
  133. package/static/app/assets/index-3G8qcrIS.js.map +1 -0
  134. package/static/app/assets/index-C0wYZp7k.css +2 -0
  135. package/static/app/index.html +2 -2
  136. package/static/app/assets/index-CHHal8Zl.css +0 -2
  137. package/static/app/assets/index-pdzil9ac.js +0 -333
  138. package/static/app/assets/index-pdzil9ac.js.map +0 -1
@@ -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`
@@ -0,0 +1,61 @@
1
+ # v4.5.1 Product Reimagining Report
2
+
3
+ Release date: 2026-06-13
4
+
5
+ ## Objective
6
+
7
+ v4.5.1 treats the previous desktop product surface as non-authoritative. The
8
+ goal was not to polish the v4.5.0 recovery UI; it was to relaunch Lattice AI as
9
+ a premium local-first Digital Brain while preserving all capabilities,
10
+ workflows, data contracts, storage, FastAPI APIs, Tauri shell behavior, Brain
11
+ Core, model runtimes, backup/restore, and portability.
12
+
13
+ ## Product Decision
14
+
15
+ The product is now organized around six user-facing rooms:
16
+
17
+ - Home: the living shape of what Lattice knows.
18
+ - Ask: thinking with remembered context.
19
+ - Add: files, folders, and pages entering memory.
20
+ - Automate: supervised goals, runs, workflows, approvals, hooks, and tools.
21
+ - Library: models, skills, marketplace, and tool connections.
22
+ - Care: account, spaces, backups, devices, settings, and admin safety.
23
+
24
+ Legacy hash routes still resolve into the SPA, but they no longer dictate the
25
+ visible product model.
26
+
27
+ ## What Changed
28
+
29
+ - Replaced the fixed left rail with compact desktop chrome and a centered
30
+ navigation dock.
31
+ - Added a command palette and responsive mobile drawer.
32
+ - Added an ambient brain canvas so the first viewport reads as a thinking
33
+ environment rather than a dashboard.
34
+ - Replaced the first-run checklist with a first-session journey.
35
+ - Reworked route labels and page hero copy across Brain, Ask, Capture, Act,
36
+ Library, and System.
37
+ - Rebuilt global styling around calmer surfaces, fixed responsive type sizes,
38
+ and restrained accents.
39
+
40
+ ## What Was Preserved
41
+
42
+ - FastAPI and generated OpenAPI client.
43
+ - Tauri desktop shell and sidecar behavior.
44
+ - `lattice_brain` package boundary.
45
+ - StorageEngine, SQLite default, optional PostgreSQL scale mode.
46
+ - Backup/restore and `.latticebrain` portability.
47
+ - Model recommendation, prepare/load stream, and consent-gated downloads.
48
+ - Knowledge graph, hybrid search, chat, capture, workflow, agent, system, and
49
+ admin APIs.
50
+
51
+ ## Self Review
52
+
53
+ The redesigned first viewport immediately reads as a different product:
54
+ Lattice branding, Home/Ask/Add/Automate/Library/Care navigation, first-session
55
+ journey, and premium desktop chrome replace the old dashboard hierarchy.
56
+
57
+ ## Evidence
58
+
59
+ - Desktop screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
60
+ - Mobile screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
61
+ - Walkthrough GIF: `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
@@ -0,0 +1,44 @@
1
+ # v4.5.1 RC Artifact Manifest
2
+
3
+ Release date: 2026-06-13
4
+
5
+ ## Screenshots
6
+
7
+ - `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
8
+ - `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
9
+ - `output/audits/v4.5.1-reimagining/screenshots/memory-map.png`
10
+ - `output/audits/v4.5.1-reimagining/screenshots/library-models.png`
11
+
12
+ ## GIFs
13
+
14
+ - `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
15
+
16
+ ## Release Artifacts
17
+
18
+ - `dist/ltcai-4.5.1-py3-none-any.whl`
19
+ - `dist/ltcai-4.5.1.tar.gz`
20
+ - `ltcai-4.5.1.tgz`
21
+ - `dist/ltcai-4.5.1.vsix`
22
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
23
+
24
+ ## SHA-256
25
+
26
+ | Artifact | SHA-256 |
27
+ | --- | --- |
28
+ | `dist/ltcai-4.5.1-py3-none-any.whl` | `3d5ce1a0a85f7aba1f78587cd7e4a66c63dd5c03ddde7cee57624ec3f487899b` |
29
+ | `dist/ltcai-4.5.1.tar.gz` | `62f0e05ff32554cf599b76678de3136bc02e5af4775144e7347182eed0fb4675` |
30
+ | `ltcai-4.5.1.tgz` | `e755f40f87484d8a6e3f6bc95f48f0f78e1d0fcde3af8b14c709cf7fa71b2e4b` |
31
+ | `dist/ltcai-4.5.1.vsix` | `3badc5915dc31425fa383d5946f78e0914497aa9e523cb7fbdc81a295b8f4a2f` |
32
+ | `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg` | `689ffc9553facf3987a5d57016dfd24fc3872f9c0810e28621f96b340ca38ce0` |
33
+
34
+ ## Validation
35
+
36
+ `npm run release:validate` passed for the exact v4.5.1 artifact set. Historical
37
+ files remain in `dist/` for prior releases, so all publish or upload steps must
38
+ use exact v4.5.1 filenames only.
39
+
40
+ ## Notes
41
+
42
+ The artifact list is exact-version only. Publishing remains out of scope for
43
+ this RC unless the repository owner explicitly performs the manual registry
44
+ publish steps.
@@ -0,0 +1,45 @@
1
+ # v4.5.1 UX Report
2
+
3
+ ## UX Principle
4
+
5
+ v4.5.1 designs for non-technical users who should understand what Lattice AI is,
6
+ what to do next, how to add knowledge, how to use the brain, how to install a
7
+ model, and how to automate work without reading the README.
8
+
9
+ ## Primary Flow
10
+
11
+ The first-session journey is:
12
+
13
+ 1. Make it yours.
14
+ 2. Choose a space.
15
+ 3. Meet your Mac.
16
+ 4. Pick a brain.
17
+ 5. Install locally.
18
+ 6. Try a question.
19
+ 7. Set the pace.
20
+ 8. Explore memory.
21
+
22
+ This replaces implementation-facing setup labels with user outcomes while still
23
+ driving the same account, workspace, model recommendation, model setup, mode,
24
+ and graph routes.
25
+
26
+ ## Screen Inventory Decision
27
+
28
+ - Brain became Home, emphasizing the shape of work rather than a graph tool.
29
+ - Capture became Add, emphasizing the act of feeding memory.
30
+ - Act became Automate, emphasizing supervised work instead of an agent console.
31
+ - System became Care, emphasizing trust, portability, and maintenance.
32
+ - Ask and Library survived because their user intent is direct and legible.
33
+
34
+ ## Interaction Notes
35
+
36
+ - Command palette remains available with Cmd/Ctrl+K.
37
+ - Mode switching is visible as Calm, Deep, and Admin instead of Basic,
38
+ Advanced, and Admin in the first viewport.
39
+ - Mobile navigation opens as a room chooser and preserves no-horizontal-overflow
40
+ behavior at 390px width.
41
+
42
+ ## Evidence
43
+
44
+ - Playwright visual coverage: `tests/visual/v3.spec.js`
45
+ - Screenshots: `output/audits/v4.5.1-reimagining/screenshots/`
@@ -0,0 +1,54 @@
1
+ # v4.5.1 Validation Report
2
+
3
+ Release date: 2026-06-13
4
+
5
+ ## Scope
6
+
7
+ Validation covers the v4.5.1 product reimagining, version sync, frontend visual
8
+ changes, release artifacts, and compatibility preservation.
9
+
10
+ ## Command Matrix
11
+
12
+ | Check | Result |
13
+ | --- | --- |
14
+ | Python compile | PASS: `npm run check:python` compiled 775 modules |
15
+ | Ruff | PASS: `node scripts/run_python.mjs -m ruff check .` |
16
+ | Unit tests | PASS: `npm run test:unit` - 616 passed, 2 warnings |
17
+ | Integration tests | PASS: `LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration` - 9 passed, 1 skipped |
18
+ | Frontend lint | PASS: `npm run lint` |
19
+ | TypeScript typecheck | PASS: `npm run typecheck` and `npm run typecheck:frontend` |
20
+ | Playwright | PASS: `npm run test:visual` - 14 passed |
21
+ | Tauri check/build | PASS: `npm run desktop:tauri:check`; PASS via `npm run release:artifacts` for the Tauri app and DMG build |
22
+ | Release artifact validation | PASS: `npm run release:validate` |
23
+ | Wheel smoke | PASS: `node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.5.1-py3-none-any.whl` |
24
+ | npm pack dry-run | PASS: `npm pack --dry-run` |
25
+
26
+ ## Browser Evidence
27
+
28
+ - Desktop screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
29
+ - Mobile screenshot: `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
30
+ - Walkthrough GIF: `output/audits/v4.5.1-reimagining/gifs/v4.5.1-reimagining-walkthrough.gif`
31
+
32
+ ## RC Artifacts
33
+
34
+ Expected exact-version artifacts:
35
+
36
+ - `dist/ltcai-4.5.1-py3-none-any.whl`
37
+ - `dist/ltcai-4.5.1.tar.gz`
38
+ - `ltcai-4.5.1.tgz`
39
+ - `dist/ltcai-4.5.1.vsix`
40
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
41
+
42
+ ## Artifact Hashes
43
+
44
+ | Artifact | SHA-256 |
45
+ | --- | --- |
46
+ | `dist/ltcai-4.5.1-py3-none-any.whl` | `3d5ce1a0a85f7aba1f78587cd7e4a66c63dd5c03ddde7cee57624ec3f487899b` |
47
+ | `dist/ltcai-4.5.1.tar.gz` | `62f0e05ff32554cf599b76678de3136bc02e5af4775144e7347182eed0fb4675` |
48
+ | `ltcai-4.5.1.tgz` | `e755f40f87484d8a6e3f6bc95f48f0f78e1d0fcde3af8b14c709cf7fa71b2e4b` |
49
+ | `dist/ltcai-4.5.1.vsix` | `3badc5915dc31425fa383d5946f78e0914497aa9e523cb7fbdc81a295b8f4a2f` |
50
+ | `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg` | `689ffc9553facf3987a5d57016dfd24fc3872f9c0810e28621f96b340ca38ce0` |
51
+
52
+ `npm run release:validate` confirmed all exact-version RC artifacts are present.
53
+ It also warned that historical artifacts remain in `dist/`, so publish commands
54
+ must continue to use explicit v4.5.1 filenames rather than a `dist/*` glob.
@@ -0,0 +1,30 @@
1
+ # v4.5.1 Visual Design Report
2
+
3
+ ## Direction
4
+
5
+ The visual language targets a calm premium desktop product rather than a
6
+ developer/admin dashboard. The palette uses a carbon and warm-white base with
7
+ jade, amber, violet, blue, and coral accents so the UI is not dominated by a
8
+ single hue family.
9
+
10
+ ## System Changes
11
+
12
+ - New sticky desktop chrome and centered dock.
13
+ - Ambient brain canvas built from grid, line, and tile motifs.
14
+ - Fixed responsive typography with media-query breakpoints, avoiding viewport
15
+ width font scaling.
16
+ - Cards remain at 8px radius or less.
17
+ - Shared buttons and badges were tightened for stable sizing and text fit.
18
+ - Light theme retains the same hierarchy with warmer surfaces.
19
+
20
+ ## Accessibility And Layout
21
+
22
+ - Primary navigation has an explicit `Primary navigation` label.
23
+ - The command palette exposes a dialog label.
24
+ - Mode switch has `Experience mode` semantics and pressed states.
25
+ - Mobile layout was checked at 390x780 with zero horizontal overflow.
26
+
27
+ ## Evidence
28
+
29
+ - Desktop visual pass: `output/audits/v4.5.1-reimagining/screenshots/home-desktop.png`
30
+ - Mobile visual pass: `output/audits/v4.5.1-reimagining/screenshots/home-mobile.png`
@@ -5,21 +5,21 @@
5
5
  > completed analysis. **Update this file before ending any phase and before any
6
6
  > likely session/context/usage limit.**
7
7
  >
8
- > Last updated: 2026-06-13 — v4.3.3 Dead-Code Cleanup Release; Remaining Gaps remain empty
8
+ > Last updated: 2026-06-13 — v4.5.1 Product Reimagining RC; Remaining Gaps remain empty
9
9
 
10
10
  ---
11
11
 
12
- ## 0. RELEASE STATUS (v4.3.3)
13
-
14
- **v4.3.3 promotes the post-cleanup main tree after the independent dead-code,
15
- architecture, and runtime audit without redesigning the Digital Brain frontend,
16
- Brain Core, storage, or agent/workflow architecture.** Latest implementation
17
- milestone: v4.3.2 product polish plus post-audit cleanup, architecture
18
- documentation correction, Vercel/static-docs readiness, README badge
19
- restoration, and exact-current-main release artifacts.
20
- The v4.3.3 process creates a GitHub Release from locally validated artifacts.
21
- PyPI, npm Registry, VS Code Marketplace, Open VSX, and production deployments
22
- remain owner-only external publishing steps.
12
+ ## 0. RELEASE STATUS (v4.5.1)
13
+
14
+ **v4.5.1 reimagines the desktop product surface after the v4.5.0 capability
15
+ recovery without changing Brain Core, storage, API, model runtime, backup,
16
+ portability, or agent/workflow behavior.** Current implementation milestone:
17
+ new Home/Ask/Add/Automate/Library/Care navigation, compact desktop chrome,
18
+ first-session journey, command palette, responsive mobile drawer, and refreshed
19
+ Digital Brain visual system.
20
+ The v4.5.1 RC process builds locally validated artifacts only. Tagging, GitHub
21
+ Release creation, PyPI, npm Registry, VS Code Marketplace, Open VSX, and
22
+ production deployments remain out of scope for this RC.
23
23
  Remaining implementation gaps: **none**.
24
24
  Owner-only blockers: pptx history rewrite (requires force-push/owner decision)
25
25
  and consent-gated production embedder provisioning (silent default download is
@@ -27,11 +27,11 @@ not permitted).
27
27
 
28
28
  ## Remaining Gaps
29
29
 
30
- None. v4.3.3 preserves the already-empty v4.3.2 gap list and promotes the
31
- post-cleanup tree: Brain graph exploration remains real and API-backed, raw
32
- product JSON dumps remain replaced with readable state, archive import/restore
30
+ None. v4.5.1 preserves the already-empty v4.3.2/v4.3.3/v4.5.0 gap list and
31
+ promotes the product-reimagining tree: Brain graph exploration remains real and
32
+ API-backed, readable product state remains in place, archive import/restore
33
33
  flows remain exposed through existing APIs, desktop sidecar behavior remains
34
- validated, and exact v4.3.3 release artifacts are the release target.
34
+ validated, and exact v4.5.1 RC artifacts are the validation target.
35
35
  Owner-only blockers above are intentionally not implementation gaps.
36
36
 
37
37
  ## 1. Program Charter (from the user's v4.0.0 directive)
@@ -88,13 +88,17 @@ work on them.
88
88
 
89
89
  Local recommended models must be multimodal. The v2.2 local model workflow policy is:
90
90
 
91
- - macOS Apple Silicon: MLX-VLM first
91
+ - macOS Apple Silicon: MLX-VLM first, with MLX-LM retained as a Gemma 4 text
92
+ fallback only for standard Gemma 4 metadata. Gemma 4 12B `gemma4_unified`
93
+ requires an MLX-VLM runtime that includes `mlx_vlm.models.gemma4_unified`.
92
94
  - Windows: llama.cpp multimodal path, with LM Studio as a user-friendly option
93
95
  - Linux: llama.cpp or vLLM multimodal path depending on GPU support
94
96
  - Ollama: kept as an option, not the default priority
95
97
 
96
- The removed path is the old text-only MLX-LM recommendation route. Low-spec
97
- machines use smaller or quantized multimodal models.
98
+ The removed path is the old text-only MLX-LM recommendation lane for ordinary
99
+ model selection. MLX-LM remains available as a targeted recovery path for
100
+ standard Gemma 4 metadata, but it is not used for `gemma4_unified`.
101
+ Low-spec machines use smaller or quantized multimodal models.
98
102
 
99
103
  ## Model Source Disclosure
100
104
 
@@ -140,7 +144,7 @@ Basic mode and advanced mode have the same feature access.
140
144
  | `latticeai/services/model_catalog.py` | Multimodal model catalog, source metadata, aliases |
141
145
  | `latticeai/services/model_recommendation.py` | Hardware-aware multimodal recommendation |
142
146
  | `latticeai/services/model_runtime.py` | Download, load, server, and model workflow orchestration |
143
- | `llm_router.py` | MLX-VLM and OpenAI-compatible model routing |
147
+ | `llm_router.py` | MLX-VLM/MLX-LM and OpenAI-compatible model routing |
144
148
  | `knowledge_graph.py` | Graph storage, extraction, local folder knowledge graph context |
145
149
  | `latticeai/core/context_builder.py` | Graph context for generation |
146
150
  | `latticeai/core/workspace_os.py` | Workspace state, timeline, snapshots, durable context |