ltcai 8.0.0 → 8.2.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 (183) hide show
  1. package/README.md +33 -72
  2. package/docs/CHANGELOG.md +52 -874
  3. package/docs/DEVELOPMENT.md +26 -3
  4. package/docs/LEGACY_COMPATIBILITY.md +3 -1
  5. package/docs/TRUST_MODEL.md +26 -26
  6. package/docs/WHY_LATTICE.md +28 -25
  7. package/docs/kg-schema.md +6 -4
  8. package/lattice_brain/__init__.py +1 -1
  9. package/lattice_brain/embeddings.py +9 -1
  10. package/lattice_brain/graph/schema.py +6 -0
  11. package/lattice_brain/runtime/multi_agent.py +1 -1
  12. package/latticeai/__init__.py +1 -1
  13. package/latticeai/api/computer_use.py +2 -0
  14. package/latticeai/api/memory.py +13 -0
  15. package/latticeai/app_factory.py +43 -162
  16. package/latticeai/brain/__init__.py +1 -1
  17. package/latticeai/core/config.py +10 -0
  18. package/latticeai/core/local_embeddings.py +8 -0
  19. package/latticeai/core/marketplace.py +1 -1
  20. package/latticeai/core/mcp_registry.py +140 -1
  21. package/latticeai/core/tool_registry.py +10 -0
  22. package/latticeai/core/workspace_graph_trace.py +132 -0
  23. package/latticeai/core/workspace_memory.py +75 -0
  24. package/latticeai/core/workspace_os.py +135 -1283
  25. package/latticeai/core/workspace_os_utils.py +132 -0
  26. package/latticeai/core/workspace_permissions.py +99 -0
  27. package/latticeai/core/workspace_plugins.py +97 -0
  28. package/latticeai/core/workspace_runs.py +612 -0
  29. package/latticeai/core/workspace_skills.py +114 -0
  30. package/latticeai/core/workspace_snapshots.py +195 -0
  31. package/latticeai/core/workspace_timeline.py +107 -0
  32. package/latticeai/runtime/audit_runtime.py +64 -0
  33. package/latticeai/runtime/config_runtime.py +4 -0
  34. package/latticeai/runtime/sso_runtime.py +52 -0
  35. package/latticeai/services/architecture_readiness.py +6 -5
  36. package/latticeai/services/memory_service.py +215 -7
  37. package/latticeai/services/model_capability_registry.py +68 -0
  38. package/latticeai/services/model_engines.py +603 -0
  39. package/latticeai/services/model_loading.py +482 -0
  40. package/latticeai/services/model_recommendation.py +5 -0
  41. package/latticeai/services/model_runtime.py +146 -837
  42. package/latticeai/services/product_readiness.py +19 -18
  43. package/package.json +2 -2
  44. package/scripts/build_frontend_assets.mjs +11 -2
  45. package/src-tauri/Cargo.lock +1 -1
  46. package/src-tauri/Cargo.toml +1 -1
  47. package/src-tauri/tauri.conf.json +1 -1
  48. package/static/app/asset-manifest.json +11 -102
  49. package/static/app/assets/Act-D9jIknFd.js +1 -0
  50. package/static/app/assets/Brain-CFOtWbPN.js +321 -0
  51. package/static/app/assets/{Capture-B9Tlhzqr.js → Capture-Q4WYzwr5.js} +1 -2
  52. package/static/app/assets/Library-C5Q2yWee.js +1 -0
  53. package/static/app/assets/System-BLbjdr1_.js +1 -0
  54. package/static/app/assets/core-CwxXejkd.js +1 -2
  55. package/static/app/assets/index-BqammyNu.js +16 -0
  56. package/static/app/assets/index-ty1iGgZu.css +2 -0
  57. package/static/app/assets/primitives-Br8uSfZ4.js +1 -0
  58. package/static/app/assets/{textarea-BZk6ybp5.js → textarea-BnhNs1_X.js} +1 -2
  59. package/static/app/index.html +3 -10
  60. package/static/app/theme-boot.js +8 -0
  61. package/static/sw.js +1 -1
  62. package/tools/__init__.py +2 -1
  63. package/tools/computer.py +21 -0
  64. package/docs/CARRYOVER_AUDIT_v3.6.0.md +0 -61
  65. package/docs/HANDOVER_v3.6.0.md +0 -46
  66. package/docs/RUNTIME_HOOK_COVERAGE_v3.5.0.md +0 -56
  67. package/docs/RUNTIME_HOOK_COVERAGE_v3.6.0.md +0 -49
  68. package/docs/V2_ARCHITECTURE.md +0 -561
  69. package/docs/V3_2_AUDIT.md +0 -82
  70. package/docs/V3_BACKEND_ARCHITECTURE.md +0 -138
  71. package/docs/V3_FRONTEND.md +0 -140
  72. package/docs/V4_1_FRONTEND_ARCHITECTURE_REVIEW.md +0 -65
  73. package/docs/V4_1_FRONTEND_MIGRATION_REPORT.md +0 -70
  74. package/docs/V4_1_VALIDATION_REPORT.md +0 -47
  75. package/docs/V4_2_BRAIN_CORE_ARCHITECTURE.md +0 -97
  76. package/docs/V4_2_STORAGE_MIGRATION_REPORT.md +0 -91
  77. package/docs/V4_2_VALIDATION_REPORT.md +0 -89
  78. package/docs/V4_3_2_DEADCODE_AUDIT_REPORT.md +0 -174
  79. package/docs/V4_3_2_DOCUMENTATION_CLEANUP_REPORT.md +0 -81
  80. package/docs/V4_3_2_GITHUB_VERCEL_CHECK_REPORT.md +0 -75
  81. package/docs/V4_3_2_GRAPH_UX_REPORT.md +0 -48
  82. package/docs/V4_3_2_INDEPENDENT_AUDIT_PACKAGE.md +0 -209
  83. package/docs/V4_3_2_PRODUCT_POLISH_REPORT.md +0 -57
  84. package/docs/V4_3_2_SELF_AUDIT_REPORT.md +0 -63
  85. package/docs/V4_3_2_VALIDATION_REPORT.md +0 -97
  86. package/docs/V4_3_3_VALIDATION_REPORT.md +0 -46
  87. package/docs/V4_3_PORTABILITY_ARCHITECTURE.md +0 -69
  88. package/docs/V4_3_PRIVACY_AUDIT.md +0 -60
  89. package/docs/V4_3_PRODUCT_HARDENING_REPORT.md +0 -53
  90. package/docs/V4_3_VALIDATION_REPORT.md +0 -58
  91. package/docs/V4_4_0_EXTRACTION_REPORT.md +0 -239
  92. package/docs/V4_5_0_GEMMA_RUNTIME_COMPATIBILITY_REPORT.md +0 -49
  93. package/docs/V4_5_0_GRAPH_UX_REPORT.md +0 -34
  94. package/docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md +0 -40
  95. package/docs/V4_5_0_ONBOARDING_REPORT.md +0 -31
  96. package/docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md +0 -49
  97. package/docs/V4_5_0_VALIDATION_REPORT.md +0 -60
  98. package/docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md +0 -33
  99. package/docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md +0 -37
  100. package/docs/V4_5_1_NAVIGATION_REPORT.md +0 -37
  101. package/docs/V4_5_1_ONBOARDING_REPORT.md +0 -29
  102. package/docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md +0 -61
  103. package/docs/V4_5_1_RC_ARTIFACTS.md +0 -44
  104. package/docs/V4_5_1_UX_REPORT.md +0 -45
  105. package/docs/V4_5_1_VALIDATION_REPORT.md +0 -55
  106. package/docs/V4_5_1_VISUAL_DESIGN_REPORT.md +0 -30
  107. package/docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md +0 -72
  108. package/docs/V4_6_1_RELEASE_REFRESH_REPORT.md +0 -42
  109. package/docs/V4_7_0_ADMIN_SEPARATION_REPORT.md +0 -42
  110. package/docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md +0 -49
  111. package/docs/V4_7_2_INTUITIVE_BRAIN_UX_REPORT.md +0 -62
  112. package/docs/V4_BRAIN_ARCHITECTURE.md +0 -322
  113. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +0 -555
  114. package/docs/V4_IMPLEMENTATION_PLAN.md +0 -470
  115. package/frontend/index.html +0 -24
  116. package/frontend/openapi.json +0 -15425
  117. package/frontend/src/App.tsx +0 -243
  118. package/frontend/src/api/client.ts +0 -580
  119. package/frontend/src/api/openapi.ts +0 -17892
  120. package/frontend/src/components/AdminAccessGate.tsx +0 -70
  121. package/frontend/src/components/FeedbackState.tsx +0 -45
  122. package/frontend/src/components/LanguageSwitcher.tsx +0 -23
  123. package/frontend/src/components/LivingBrain.tsx +0 -220
  124. package/frontend/src/components/ProductFlow.tsx +0 -171
  125. package/frontend/src/components/WorkspaceProfileSwitcher.tsx +0 -176
  126. package/frontend/src/components/onboarding/AnalysisScreen.tsx +0 -135
  127. package/frontend/src/components/onboarding/DownloadConsentPanel.tsx +0 -29
  128. package/frontend/src/components/onboarding/InstallScreen.tsx +0 -263
  129. package/frontend/src/components/onboarding/LanguageChooser.tsx +0 -23
  130. package/frontend/src/components/onboarding/LoginScreen.tsx +0 -131
  131. package/frontend/src/components/onboarding/ProductFlowScreens.tsx +0 -13
  132. package/frontend/src/components/onboarding/RecommendationScreen.tsx +0 -116
  133. package/frontend/src/components/onboarding/recommendationModel.ts +0 -189
  134. package/frontend/src/components/primitives.tsx +0 -392
  135. package/frontend/src/components/ui/badge.tsx +0 -27
  136. package/frontend/src/components/ui/button.tsx +0 -37
  137. package/frontend/src/components/ui/card.tsx +0 -22
  138. package/frontend/src/components/ui/input.tsx +0 -16
  139. package/frontend/src/components/ui/textarea.tsx +0 -16
  140. package/frontend/src/features/admin/AdminConsole.tsx +0 -334
  141. package/frontend/src/features/brain/BrainCarePanel.tsx +0 -254
  142. package/frontend/src/features/brain/BrainComposer.tsx +0 -85
  143. package/frontend/src/features/brain/BrainConversation.tsx +0 -688
  144. package/frontend/src/features/brain/BrainGraphLayer.tsx +0 -365
  145. package/frontend/src/features/brain/BrainHome.tsx +0 -624
  146. package/frontend/src/features/brain/BrainMemoryLayer.tsx +0 -45
  147. package/frontend/src/features/brain/BrainOverviewPanel.tsx +0 -149
  148. package/frontend/src/features/brain/BrainRelationshipLayer.tsx +0 -43
  149. package/frontend/src/features/brain/DepthEmergence.tsx +0 -53
  150. package/frontend/src/features/brain/brainData.ts +0 -246
  151. package/frontend/src/features/brain/graphLayout.ts +0 -37
  152. package/frontend/src/features/brain/types.ts +0 -150
  153. package/frontend/src/features/review/ReviewCard.tsx +0 -100
  154. package/frontend/src/features/review/ReviewInbox.tsx +0 -127
  155. package/frontend/src/features/review/reviewHelpers.ts +0 -69
  156. package/frontend/src/i18n.ts +0 -1303
  157. package/frontend/src/lib/utils.ts +0 -33
  158. package/frontend/src/main.tsx +0 -23
  159. package/frontend/src/pages/Act.tsx +0 -458
  160. package/frontend/src/pages/Ask.tsx +0 -14
  161. package/frontend/src/pages/Brain.tsx +0 -914
  162. package/frontend/src/pages/Capture.tsx +0 -258
  163. package/frontend/src/pages/Library.tsx +0 -486
  164. package/frontend/src/pages/System.tsx +0 -621
  165. package/frontend/src/routes.ts +0 -92
  166. package/frontend/src/store/appStore.ts +0 -94
  167. package/frontend/src/styles.css +0 -6579
  168. package/static/app/assets/Act-DOvf59ru.js +0 -2
  169. package/static/app/assets/Act-DOvf59ru.js.map +0 -1
  170. package/static/app/assets/Brain-C7_0mEiI.js +0 -322
  171. package/static/app/assets/Brain-C7_0mEiI.js.map +0 -1
  172. package/static/app/assets/Capture-B9Tlhzqr.js.map +0 -1
  173. package/static/app/assets/Library-BJPEEm5O.js +0 -2
  174. package/static/app/assets/Library-BJPEEm5O.js.map +0 -1
  175. package/static/app/assets/System-D6t9jo9V.js +0 -2
  176. package/static/app/assets/System-D6t9jo9V.js.map +0 -1
  177. package/static/app/assets/core-CwxXejkd.js.map +0 -1
  178. package/static/app/assets/index-C7g26IF6.css +0 -2
  179. package/static/app/assets/index-DbcEYJQ2.js +0 -17
  180. package/static/app/assets/index-DbcEYJQ2.js.map +0 -1
  181. package/static/app/assets/primitives-CD38lt4n.js +0 -2
  182. package/static/app/assets/primitives-CD38lt4n.js.map +0 -1
  183. package/static/app/assets/textarea-BZk6ybp5.js.map +0 -1
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,42 @@ existed at that release.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ No unreleased changes.
10
+
11
+ ## [8.2.0] - 2026-06-27
12
+
13
+ ### Added
14
+ - Added an evidence-backed Brain Brief to Brain Home so users can see what to
15
+ notice, what evidence supports it, and what action to take next.
16
+ - Added `GET /api/memory/brain-brief`, backed by `MemoryService.brain_brief()`,
17
+ with honest empty-state guidance and recall/graph/model-proof actions.
18
+ - Added unit coverage for Brain Brief service behavior and the memory API route.
19
+
20
+ ### Changed
21
+ - Completed the remaining model loading/runtime extraction into
22
+ `model_loading.py` and `model_engines.py` while preserving compatibility
23
+ delegations from `model_runtime.py`.
24
+ - Extracted WorkspaceOS graph trace, agent/workflow run, skill, and snapshot
25
+ comparison ownership into focused manager modules.
26
+ - Wired Knowledge Graph embedding dimensions from the central resolved `Config`
27
+ embedder at app startup.
28
+ - Synchronized Python, npm, VS Code extension, Tauri, workspace, readiness,
29
+ static asset, and current-release documentation versions to 8.2.0.
30
+
31
+ ## [8.1.0] - 2026-06-27
32
+
33
+ ### Changed
34
+ - Rebuilt Brain Home around an intuitive first screen with LivingBrain, recent
35
+ memory, connected topic, next-best action, and the composer visible together.
36
+ - Replaced dashboard-style Brain growth metrics with narrative, product-facing
37
+ copy and focused primary actions.
38
+ - Tightened mobile and narrow viewport behavior so the Brain and composer remain
39
+ visible without horizontal overflow.
40
+ - Refreshed release screenshots, walkthrough GIF/WebM, static app assets, and
41
+ exact 8.1.0 artifact metadata.
42
+ - Synchronized Python, npm, VS Code extension, Tauri, workspace, readiness, and
43
+ current-release documentation versions to 8.1.0.
44
+
9
45
  ## [8.0.0] - 2026-06-24
10
46
 
11
47
  ### Changed
@@ -246,877 +282,19 @@ Package metadata, Tauri, frontend, Python all aligned to 7.7.0. UI/UX microcopy
246
282
  - Package/runtime/static metadata is synchronized to 7.0.0; package publish and
247
283
  deployment remain owner-run only.
248
284
 
249
- ## [6.7.0] - 2026-06-18
250
-
251
- > Brain IA Cleanup. Makes rich product pages reachable from Brain Home,
252
- > separates visible product IA from legacy compatibility aliases, and
253
- > code-splits heavy pages out of the first Brain bundle.
254
-
255
- ### Changed
256
- - Brain Home now exposes direct action routes for adding documents, searching
257
- the knowledge graph, changing models, and opening settings, so the rich
258
- Capture, Brain explorer, Library, and System pages are reachable from the
259
- first Brain flow.
260
- - The post-onboarding app shell now mounts Capture, Brain explorer/graph,
261
- Library, System, and Act pages inside a shared Brain shell navigation instead
262
- of leaving those rich pages as compatibility-only routes.
263
- - `routes.ts` now keeps product shell routes and compatibility aliases in
264
- separate maps while preserving old hash/entry URLs.
265
- - Rich pages now load through `React.lazy`, splitting Brain explorer, Capture,
266
- Library, System, and Act chunks away from the initial Brain Home bundle.
267
- - Package/runtime/static metadata is synchronized to 6.7.0; package publish and
268
- deployment remain owner-run only.
269
-
270
- ## [6.6.0] - 2026-06-18
271
-
272
- > Brain Proof Runtime. Makes the first-five-minute Brain value visible by
273
- > showing backend-owned evidence that saved context can be recalled and survives
274
- > model changes.
275
-
276
- ### Added
277
- - `/api/memory/brain-proof`, backed by `MemoryService.brain_proof()`, combining
278
- Brain readiness, durable memory counts, graph/vector depth, active model id,
279
- and a unified recall sample.
280
- - Brain Home proof strip for recallable context, model-continuity, and
281
- knowledge-store state.
282
- - Recent recall proof card that surfaces the latest memory/item the Brain can
283
- bring back after a useful exchange.
284
- - Brain Home document upload CTA in the empty state and composer, giving the
285
- first session a direct way to grow the Brain with files.
286
- - Refreshed README-linked release evidence under `output/release/v6.6.0/`.
287
- - Unit coverage for model-independent Brain proof recall behavior.
288
- - Honest empty-state Brain proof: model-independent capability remains visible,
289
- but continuity is only marked proven after durable evidence exists.
290
-
291
- ### Changed
292
- - Interaction router runtime context now carries an active-model getter into
293
- the Memory router, reducing app-factory inline wiring while preserving route
294
- order.
295
- - Default Brain proof recall seeding is scoped to the current user/workspace
296
- before falling back to conversation memory.
297
- - Chat-to-Knowledge-Graph ingestion now carries workspace scope into projected
298
- graph nodes, and Brain proof conversation counts use scoped conversations so
299
- another user/workspace cannot make an empty Brain look proven.
300
- - Direct Knowledge Graph ingest and document upload ingestion now resolve the
301
- request workspace and project that scope into graph/source/document nodes.
302
- - Package/runtime/static metadata is synchronized to 6.6.0; package publish and
303
- deployment remain owner-run only.
304
-
305
- ## [6.5.0] - 2026-06-18
306
-
307
- > Brain Experience Readiness. Uses the 6.4.0 quality baseline to improve what
308
- > normal users can understand: how alive the Brain is, where they are in the
309
- > memory-to-graph journey, and what changed after a useful exchange is saved.
310
-
311
- ### Added
312
- - Brain Home readiness strip that classifies the current Brain as waiting for
313
- its first memory, forming topics, or ready for map exploration.
314
- - Backend-owned Brain readiness summary from `MemoryService`, exposed through
315
- `/api/memory/manager` and `/api/memory/brain-quality`, so the UI no longer
316
- has to infer Brain growth from local fragments.
317
- - Persistent depth progress rail across the Living Brain surface so the
318
- memory -> topics -> relationships -> graph journey is visible and reversible.
319
- - Source-aware memory-save detail under chat feedback, making the recall loop
320
- explicit after a conversation enriches the Brain.
321
- - Visual regression assertions for Brain readiness, depth progress, and
322
- source-aware memory-save feedback.
323
-
324
- ### Changed
325
- - Brain overview empty states now guide first-memory use without exposing graph
326
- internals or administrator language.
327
- - Brain readiness now uses the same memory, graph, relationship, and source
328
- health signals that the Memory Manager reports, keeping product UX aligned
329
- with backend Brain state.
330
- - Package/runtime/static metadata is synchronized to 6.5.0; package publish and
331
- deployment remain owner-run only.
332
-
333
- ## [6.4.0] - 2026-06-17
334
-
335
- > Digital Brain Quality Hardening. Tightens workspace-scoped Brain retrieval
336
- > and memory mutation boundaries while adding non-destructive quality primitives
337
- > for embeddings, retrieval, memory, graph validation, context assembly, and
338
- > benchmarks.
339
-
340
- ### Added
341
- - `lattice_brain.quality` with embedding fallback labelling, drift/re-index
342
- planning, BM25 lexical scoring, hybrid fusion, reranker fallback contracts,
343
- memory candidate scoring/deduplication/conflict/retention helpers, graph edge
344
- confidence/evidence metrics, structured context guardrails, and retrieval
345
- benchmark metric calculation.
346
- - `docs/v6.4/BRAIN_QUALITY_BASELINE.md` documenting the 6.4.0 Digital Brain
347
- quality baseline, risk register, validation items, and deferred work.
348
- - Refreshed README release evidence screenshots and walkthrough GIF under
349
- `output/release/v6.4.0/`.
350
- - Unit coverage for Brain quality primitives and workspace-scoped graph/search
351
- and memory-manager mutation boundaries.
352
-
353
- ### Changed
354
- - `/api/graph*`, `/knowledge-graph/*`, and hybrid-search service paths now
355
- preserve workspace scope across graph, node, neighborhood, relationship,
356
- keyword, vector, graph, and hybrid retrieval.
357
- - Memory Manager prune, compact, and clear operations now intersect requested
358
- ids/kinds with the caller's scoped memory set.
359
- - Memory Manager graph clear is blocked because the existing graph clear path
360
- is not workspace-scoped.
361
- - Package/runtime/static metadata is synchronized to 6.4.0; package publish and
362
- deployment remain owner-run only.
363
-
364
- ## [6.3.1] - 2026-06-17
365
-
366
- > Access Runtime / i18n Follow-up. Closes the next app-factory decomposition
367
- > slice and finishes Capture/Review Center localization coverage on top of the
368
- > v6.3.0 product-hardening line.
369
-
370
- ### Changed
371
- - Moved app-factory access-control helper closures into
372
- `latticeai.runtime.access_runtime` while preserving role lookup, token
373
- extraction, user enforcement, admin enforcement, and public user projection
374
- call signatures.
375
- - Capture tabs, headings, placeholders, action labels, upload details, folder
376
- connection copy, browser capture copy, and pipeline controls now use the
377
- shared Korean/English i18n map.
378
- - Review Center inbox/card copy, status badges, empty states, Run Now feedback,
379
- snooze/unsnooze labels, and action aria labels now use the shared i18n map.
380
- - README release evidence screenshots and walkthrough GIF are refreshed under
381
- `output/release/v6.3.1/`.
382
- - Package/runtime/static metadata is synchronized to 6.3.1; package publish and
383
- deployment remain owner-run only.
384
-
385
- ### Added
386
- - Focused unit coverage for the extracted access runtime auth/admin behavior.
387
-
388
- ## [6.3.0] - 2026-06-16
389
-
390
- > Product Hardening Completion. Completes the 6.2 decomposition follow-up by
391
- > tightening Brain archive, provenance, ingestion, Review Center, local model
392
- > runtime, app-factory wiring, compatibility shim, i18n, and release-validation
393
- > surfaces.
394
-
395
- ### Changed
396
- - Brain Home and onboarding screens are split into finer feature-owned modules
397
- while preserving the existing routes, CSS surface, and visual behavior.
398
- - Platform and automation runtime wiring moved behind a dedicated app-factory
399
- seam, keeping construction side-effect free and route order unchanged.
400
- - Admin, Brain, and onboarding localized aria/placeholder surfaces now use the
401
- shared i18n map.
402
- - Brain archive care now validates archive paths, confirms passphrases, gives
403
- strength guidance, and summarizes inspect/restore-preview results without
404
- dumping raw JSON.
405
- - Document capture now exposes a drop/choose ingest queue with progress,
406
- failure reason, retry, source metadata, and post-ingest Brain/Graph
407
- confirmation.
408
- - Brain memory and graph surfaces now show provenance/source type, created time,
409
- source path/title/conversation fallback, and copy-source affordances.
410
- - Review Center cards now keep visible action result/error feedback for
411
- run-now/approve/dismiss/snooze flows while preserving run-now as
412
- preview/regenerate rather than approval.
413
- - Local model setup now reports loaded model, engine state, cache/storage path,
414
- download/load progress, reload/unload controls, and an honest no-model state.
415
- - App factory model/chat/review-tail wiring moved into focused runtime wiring
416
- modules while preserving route order.
417
- - Review Center run-now backend wiring moved into `latticeai.runtime.review_wiring`
418
- and is covered by scoped runner/status-preservation tests.
419
- - Legacy root shim import smoke now covers server, knowledge graph, CLI,
420
- Telegram, and P-Reinforce compatibility paths.
421
- - Package/runtime/static metadata is synchronized to 6.3.0; package publish and
422
- deployment remain owner-run only.
423
-
424
- ### Added
425
- - Frontend i18n literal check for localized aria/placeholder props in Brain,
426
- Admin, and onboarding TSX surfaces.
427
- - Focused runtime wiring modules for model runtime, chat/interaction contexts,
428
- and review/Brain tail registration.
429
-
430
- ## [6.2.0] - 2026-06-16
431
-
432
- > Product Decomposition / Release Smoke Automation. Splits the largest product
433
- > surfaces into feature modules, strengthens consent/i18n coverage, shrinks
434
- > legacy root modules, and automates release smoke validation.
435
-
436
- ### Added
437
- - Feature-owned Brain Home and Admin Console modules behind the existing app
438
- shell route surface.
439
- - Onboarding screen components for ProductFlow, backed by design-system CSS
440
- instead of inline style layout.
441
- - Model download consent details for size, storage location, external target,
442
- and a "do later" path.
443
- - Typed tool and interaction router context objects for app-factory route
444
- registration without changing route order.
445
- - `npm run release:smoke` covering wheel install, npm tgz contents, static
446
- assets, and Tauri artifact checks.
447
-
448
- ### Changed
449
- - Historical root modules for CLI, Telegram, and P-Reinforce now delegate to
450
- package modules while preserving import and script compatibility.
451
- - Admin Console and onboarding user-facing copy now route through shared i18n
452
- keys for Korean/English coverage.
453
- - Package/runtime/static metadata is synchronized to 6.2.0; package publish
454
- and deployment remain owner-run only.
455
- - README release evidence screenshots and walkthrough GIF are refreshed under
456
- `output/release/v6.2.0/`.
457
-
458
- ### Preserved
459
- - v6.1 screenshots and validation reports remain historical evidence.
460
- - Package publish and deploy commands continue to require exact artifact names.
461
-
462
- ## [6.1.0] - 2026-06-16
463
-
464
- > Product Hardening / Digital Brain Completion. Tightens the local-first Brain
465
- > flow, Brain Core boundary, backend trust gates, and release documentation
466
- > without adding broad new product surfaces.
467
-
468
- ### Added
469
- - First-run path to open the Brain without installing or loading a model first.
470
- - Brain Home empty-state loop that shows first memory save, Brain state return,
471
- and backup ownership.
472
- - AST import guard proving `lattice_brain` does not import `latticeai` or
473
- `ltcai`.
474
- - Unit coverage for model download consent blocking in `model_runtime`.
475
- - `latticeai.cli.runtime` for pure CLI runtime helpers while preserving the root
476
- `ltcai_cli.py` entrypoint.
477
- - v6.1 baseline, frontend UX, backend hardening, and instruction documents under
478
- `docs/v6.1/`.
479
-
480
- ### Changed
481
- - Review Center cards clarify that Run now previews/executes without approval.
482
- - Static app assets are refreshed for the v6.1 frontend hardening changes.
483
- - Tool dispatch authorization now uses an injectable service boundary around
484
- the shared ToolRegistry while preserving the legacy module-level API.
485
- - Chat agent runtime construction moved out of `create_chat_router` for
486
- production app assembly and is now injected through `AppContext`.
487
- - README release evidence screenshots and walkthrough GIF are refreshed under
488
- `output/release/v6.1.0/`, including the Review Center surface.
489
- - README and release notes described v6.1.0 as the then-current hardening target
490
- with exact expected artifact filenames.
491
-
492
- ### Preserved
493
- - Package publish, deployment, tag creation, and main merge remain out of scope
494
- unless explicitly requested.
495
- - Package/runtime version metadata is synchronized to 6.1.0; package publish,
496
- deployment, tag creation, and main merge remain owner-run only.
497
-
498
- ## [6.0.0] - 2026-06-15
499
-
500
- > Product Reset / Review Center Completion. Raises the Review Center from a
501
- > pending-only inbox into a reversible automation review surface while
502
- > documenting the v6 quality uplift honestly.
503
-
504
- ### Added
505
- - Review Center status filters for Pending, Snoozed, and All.
506
- - Explicit `POST /automation/reviews/{item_id}/unsnooze` API and backend policy.
507
- - Frontend Unsnooze action and clear `snoozed_until` presentation.
508
- - `docs/v6/PLAN.md`, `ARCHITECTURE_REVIEW.md`, `UX_REVIEW.md`, and
509
- `QUALITY_SCORECARD.md`.
510
-
511
- ### Changed
512
- - Review Center frontend moved from `Act.tsx` into
513
- `frontend/src/features/review/` components and helpers.
514
- - Review item frontend types now alias generated OpenAPI component schemas.
515
- - Review Center API calls now use generated OpenAPI operation paths for list,
516
- approve, dismiss, snooze, unsnooze, and run_now actions.
517
- - `app_factory.py` runtime assembly moved behind session, hooks, web,
518
- persistence, lifespan, automation, context/search, platform service, app
519
- context, and router-registration seams while preserving the frozen 364-entry
520
- route/mount snapshot.
521
- - First-run/onboarding copy now states local-first trust boundaries more
522
- directly: local knowledge by default, explicit downloads, and explicit
523
- external transfer.
524
- - README release evidence screenshots and walkthrough GIF are refreshed under
525
- `output/release/v6.0.0/`, including the Review Center surface.
526
- - OpenAPI artifacts and synchronized package/runtime/static metadata now target
527
- `6.0.0`.
528
-
529
- ### Preserved
530
- - `run_now` remains preview/regenerate and does not approve.
531
- - Snooze expiry remains read-time only; explicit unsnooze is the only immediate
532
- return-to-pending mutation.
533
- - Package publishing, GitHub Release creation, artifact upload, and merge to
534
- `main` remain out of scope for this branch.
535
-
536
- ## [5.6.0] - 2026-06-15
537
-
538
- > Brain Automation Review Center. Adds a workspace-scoped review inbox for
539
- > automation output so scheduled runs and Brain-event suggestions land as
540
- > inspectable items before the user approves, dismisses, snoozes, or reruns
541
- > them.
542
-
543
- ### Added
544
- - Backend Review Queue service, store persistence, and `/automation/reviews`
545
- API with explicit `source`, `status`, `effective_status`, payload, and
546
- provenance fields.
547
- - Review item actions: approve, dismiss, snooze, and run_now. `run_now` is a
548
- preview/regenerate action and does not mark the item approved.
549
- - Optional `review_queue: true` opt-in path for TriggerService and RunExecutor
550
- to enqueue review items without changing legacy scheduler behavior.
551
- - Act page Review inbox under Runs with source filtering, pending review cards,
552
- provenance details, and guarded actions.
553
-
554
- ### Changed
555
- - Bumped synchronized Python, npm, VSIX, Tauri, runtime constants, lockfiles,
556
- OpenAPI artifacts, and static metadata to `5.6.0`.
557
- - Updated release documentation and artifact names for exact 5.6.0 release
558
- preparation.
559
-
560
- ### Preserved
561
- - Snoozed items stay hidden until their `snoozed_until` time expires; expiry is
562
- interpreted at read time through `effective_status` without scheduler mutation.
563
- - Existing v5.4/v5.5 automation and workflow behavior remains compatible unless
564
- a workflow explicitly opts into review queue creation.
565
- - Package registry publishing and deployment remain owner-run only.
566
-
567
- ## [5.5.0] - 2026-06-15
568
-
569
- > Release Coordination. Synchronized package/runtime/static metadata and release
570
- > documentation for the 5.5.0 line while preserving v5.4.0 Brain Automation
571
- > Scheduler behavior.
572
-
573
- ### Changed
574
- - Bumped synchronized Python, npm, VSIX, Tauri, runtime constants, lockfiles, and
575
- static asset manifest metadata to `5.5.0`.
576
- - Updated README, RELEASE.md, RELEASE_NOTES.md, FEATURE_STATUS.md,
577
- vscode-extension/README.md, and this changelog so current-release references
578
- and expected artifact names point at exact 5.5.0 filenames.
579
-
580
- ### Preserved
581
- - v5.4.0 consent-first Brain automation recipes, TriggerService dedup,
582
- LATTICE_TZ, degraded status, enabled:false disarming, runtime graph cleanup,
583
- and E2E scenario coverage remain the functional baseline.
584
- - Package registry publishing and deployment remain owner-run only.
585
-
586
- ## [5.4.0] - 2026-06-15
587
-
588
- > Brain Automation Scheduler. Consent-first recipe drafts (Daily Memory Digest,
589
- > Weekly Project Review, Follow-up Radar) install as disabled workflows.
590
- > Scheduler triggers (TriggerService) with dedup, LATTICE_TZ, degraded status,
591
- > and runtime graph cleanup.
592
-
593
- ### Added
594
- - Consent-first Brain automation recipe drafts for Daily Memory Digest, Weekly
595
- Project Review, and Follow-up Radar. Recipes install as disabled workflows so
596
- users can inspect them before any scheduler or Brain-event trigger fires.
597
-
598
- ### Changed
599
- - Workflow trigger scanning now treats explicit `enabled: false` trigger config
600
- as disarmed while preserving legacy behavior for existing workflows that do
601
- not include an `enabled` field.
602
- - The Automate page now surfaces Brain automation recipe cards with local-only,
603
- review-before-run consent copy.
604
- - Recipe install UX: success feedback on "Create reviewable draft", install-time
605
- button disabled to block duplicates clicks, and if same recipe draft already
606
- exists (by metadata), button state changes + guide text instead of re-creating.
607
- - lattice_brain/runtime dependency/responsibility graph 정리 + 실제 진입점 매핑 문서화 (runtime/* 모듈 헤더 + app_factory 주석). AgentRuntime (lattice_brain facade) vs latticeai/core/agent (single-agent state/plan/transcript) 분리 명확화.
608
- - TriggerService 스케줄러 엣지케이스 보강: LATTICE_TZ env 지원 (describe() 노출), last_attempt_at + cooldown dedup 가드로 중복 실행 방지 (interval/brain_event), consecutive_failures + "degraded" status per-trigger 서페이싱.
609
- - A방향 E2E 시나리오 초안 brain_automation.py 에 작성 (draft install, dedup, consent-first, trigger fire with provenance, LATTICE_TZ, degraded, review flow, RunExecutor 경로).
610
-
611
- ## Unreleased
612
-
613
- ## [5.3.0] - 2026-06-14
614
-
615
- > Product Clarity and Runtime Cleanup. Lattice AI is now presented consistently
616
- > as a local-first Digital Brain that keeps user knowledge durable across any AI
617
- > model, while the first runtime extraction seams move out of `app_factory.py`.
618
-
619
- ### Added
620
- - `docs/DEVELOPMENT.md` for contributor setup, validation gates, runtime
621
- assembly expectations, and documentation sync rules.
622
- - `docs/LEGACY_COMPATIBILITY.md` to explain root compatibility modules, their
623
- current homes, why they remain packaged, and the safe removal checklist.
624
- - v5.3.0 release evidence index and copied screenshot/GIF paths under
625
- `output/release/v5.3.0/`.
626
-
627
- ### Changed
628
- - Reorganized README around product identity, user need, user actions,
629
- one-minute flow, screenshots, installation, architecture, and release
630
- preparation. Release artifacts no longer interrupt the first screen.
631
- - Unified public descriptions in README, package metadata, pyproject, feature
632
- status, architecture, release notes, and VS Code extension docs.
633
- - Improved onboarding and model setup copy around local ownership, explicit
634
- consent, model-as-voice, Brain-as-asset, and what happens before download/load.
635
- - Simplified Basic model setup to a shorter recommendation set while Advanced
636
- keeps hardware, verification, load strategy, license, and safety detail.
637
- - Moved config, security, and Brain runtime builders from `latticeai.app_factory`
638
- into `latticeai.runtime` modules while preserving lazy import compatibility.
639
- - Bumped synchronized package/runtime/static versions to `5.3.0`.
640
-
641
- ### Preserved
642
- - No package registry publishing automation.
643
- - Local-first defaults and explicit consent gates for downloads, cloud calls,
644
- Telegram, Brain Network, Docker/Postgres setup, and update checks.
645
- - `server_app.__getattr__` lazy compatibility and app factory import side-effect
646
- boundaries.
647
-
648
- ## [5.2.0] - 2026-06-14
649
-
650
- > Lattice AI 5.2.0 — Aggressive User-Focused Model Transformation. Transparent
651
- > structured capability registry, automated HF verification, modern multimodal
652
- > additions, download/load strategy exposure, hardware notes, verified status,
653
- > and updated UI/backend flows so users see exactly what they get before consent.
654
-
655
- ### Added
656
- - Structured `ModelCapabilityRegistry` (latticeai/services/model_capability_registry.py) with dataclass fields for provider/hf_repo_id, modality, quantization, download_strategy, load_strategy, hardware (min/recommended RAM, Apple/CUDA prefs, notes), license, safety_notes, and rich VerificationStatus (hf_exists, has_config, has_tokenizer, pipeline, last_checked, notes).
657
- - Modern multimodal candidates (Gemma 3 4B/12B, Qwen2.5-VL-7B, Llama-3.2-11B-Vision, Pixtral-12B) in the structured registry for HF verification transparency, alongside the user-facing Gemma-4 / Qwen3-VL / Llama-4 load-ready family.
658
- - Automated verification script: `scripts/verify_hf_model_registry.py` (lightweight HF API + restricted snapshot for config/tokenizer; optional --test-load for small models; explicit LARGE_MODEL notes; writes verification_report.json).
659
- - Registry info exposed via `/models` and `/models/recommendations` (registry.verified_count, verification dicts, hardware, strategies).
660
- - New unit tests: `tests/unit/test_model_capability_registry.py` (5 tests covering registry, legacy shape, rec payload, report, roundtrips).
661
-
662
- ### Changed
663
- - `model_catalog.py` now sources ENGINE_MODEL_CATALOG + aliases from the capability registry (single source of truth), preserves legacy shapes + reexports, and finalizes the user-facing catalog to current load-ready families so lower-generation or non-load-verified candidates do not become noisy primary choices.
664
- - `model_recommendation.py` `_classify_one` now forwards 5.2 fields (hf_repo, verification, hardware, load_strategy, license, safety, recommended_default).
665
- - `verification.verified` and verified-model API lists now require HF presence plus config and tokenizer hints, with weights-hint detail exposed separately, so the UI badge matches the actual load-readiness contract.
666
- - Marketplace template installs now keep registry entries scoped per workspace, and `/marketplace/templates/registry` returns only the authorized workspace scope.
667
- - SQLite restore now checkpoints WAL state before taking the pre-restore backup, keeping failed blob restores rollback-safe on Linux/Python 3.12 CI and local builds.
668
- - Backend model APIs return rich fields; frontend can render verified badges, modality, hardware notes, strategies.
669
- - Library.tsx (ModelsPanel): added "multimodal" + "✓ HF" verified badges, recommended_default support, hardware notes line, load_strategy plus license/safety notes in advanced detail, updated guided setup copy for transparency and consent.
670
- - All registry HF ids confirmed present via HF API on 2026-06-14; 15/16 expose config/tokenizer hints, Pixtral remains available-but-not-local-load-verified, and large models are flagged with explicit limitations.
671
- - Version bumped to 5.2.0 everywhere (pyproject, __init__, package.json, vscode-extension).
672
-
673
- ### Preserved
674
- - Exact public API shapes, recommendation tri-state logic, engine aliases, family de-dup, download consent gates, no silent downloads.
675
- - Historical changelog entries for 5.1.0 and prior.
676
-
677
- ## [5.1.0] - 2026-06-14
678
-
679
- > Product Trust & Clarity Release. v5.1.0 clarifies Lattice AI as a
680
- > local-first private AI memory layer / Digital Brain, then adds security,
681
- > privacy, honesty, and architecture gates so the product does not overclaim.
682
-
683
- ### Changed
684
-
685
- - Rewrote the README first screen around the positioning lines
686
- `Your private AI memory layer. Keep your knowledge. Switch any model.` and
687
- `모델은 바꿔도, 내 지식은 남는 로컬 AI 브레인.`
688
- - Added practical use cases for preserving project decisions, switching models,
689
- connecting documents/conversations/files/notes/decisions, encrypted Brain
690
- archive portability, cloud lock-in avoidance, and honest no-model states.
691
- - Added and refreshed trust documentation: `PRIVACY.md`, `docs/WHY_LATTICE.md`,
692
- `docs/TRUST_MODEL.md`, `SECURITY.md`, `ARCHITECTURE.md`, and
693
- `FEATURE_STATUS.md`.
694
- - Removed `csp:null` from Tauri production config and added an app-shell CSP
695
- response header.
696
- - Centralized secret redaction for logs, audit payloads, security exports, and
697
- builtin hook packets.
698
- - Changed chat auto-file handling so `LATTICEAI_AUTO_READ_CHAT_PATHS` remains
699
- off by default and does not silently read arbitrary local paths even if
700
- enabled.
701
- - Added explicit `allow_download=true` consent for model download requests.
702
- - Added config, security, and Brain runtime builder seams in `app_factory.py`
703
- while preserving the existing API shape.
704
- - Hardened release artifact cleanup so `release:artifacts` removes stale
705
- `dist/ltcai-*` and root `ltcai-*.tgz` files before rebuilding exact v5.1.0
706
- artifacts only.
707
- - Made `npm run test:integration` self-contained by starting a local uvicorn
708
- server, waiting for `/health`, running the integration suite, and shutting the
709
- server down.
710
- - Fixed a SQLite Brain restore TOCTOU race where transient `-wal` / `-shm`
711
- siblings could disappear between probe and copy during archive restore.
712
- - Bumped synchronized package/runtime/static versions to `5.1.0`, including
713
- Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
714
- `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
715
-
716
- ### Added
717
-
718
- - v5.1 trust validation tests for CSP, secret redaction, audit redaction,
719
- auto-file-read blocking, public/network auth posture, `shell=True`
720
- production-path scanning, and Brain Core import isolation.
721
- - A deterministic regression test for restore-time WAL sibling disappearance.
722
- - v5.1 release evidence paths under `output/release/v5.1.0`.
723
-
724
- ### Preserved
725
-
726
- - Tracked release-note history now starts at v4.5.0; older release-note files
727
- are hidden from the Git tree.
728
- - External package publishing remains owner-run; this release prepares exact
729
- artifacts and GitHub Release assets without registry publish automation.
730
-
731
- ### Artifacts
732
-
733
- - `dist/ltcai-5.1.0-py3-none-any.whl`
734
- - `dist/ltcai-5.1.0.tar.gz`
735
- - `dist/ltcai-5.1.0.vsix`
736
- - `ltcai-5.1.0.tgz`
737
- - `src-tauri/target/release/bundle/dmg/Lattice AI_5.1.0_aarch64.dmg`
738
-
739
- ## [5.0.0] - 2026-06-14
740
-
741
- > Multilingual Brain Foundation Release. v5.0.0 starts the major-version cleanup
742
- > line by preserving the existing AgentRuntime, ToolRegistry, Brain Core, Admin
743
- > Console, and graph foundations while making the product usable in Korean or
744
- > English from first launch through Brain exploration.
745
-
746
- ### Changed
747
-
748
- - Added a persisted `lattice.language` preference with Korean and English
749
- choices available on first-run onboarding, the Brain home, and the separated
750
- Admin Console header.
751
- - Localized first-run login, environment analysis, model recommendation,
752
- install/download/load status, Brain quick views, starter prompts, memory save
753
- feedback, overview panels, and graph focus fallback copy.
754
- - Updated visual tests so the Korean path is explicitly selected before running
755
- existing first-run and Brain depth assertions.
756
- - Bumped synchronized package/runtime/static versions to `5.0.0`, including
757
- Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
758
- `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
759
- - Captured collaboration guidance from pts_claudecode and pts_grok: the next
760
- technical refactor order is config centralization, KG stabilization,
761
- ToolRegistry characterization, AgentRuntime extraction, then app factory
762
- decomposition.
763
-
764
- ### Preserved
765
-
766
- - Tracked release-note history remains visible from v4.5.0 through v5.1.0.
767
- - External package publishing remains owner-run; this release prepares exact
768
- artifacts and GitHub Release assets without registry publish automation.
769
-
770
- ### Artifacts
771
-
772
- - `dist/ltcai-5.0.0-py3-none-any.whl`
773
- - `dist/ltcai-5.0.0.tar.gz`
774
- - `dist/ltcai-5.0.0.vsix`
775
- - `ltcai-5.0.0.tgz`
776
- - `src-tauri/target/release/bundle/dmg/Lattice AI_5.0.0_aarch64.dmg`
777
-
778
- ## [4.7.2] - 2026-06-14
779
-
780
- > Intuitive Brain UX Release. v4.7.2 makes the Living Brain easier for
781
- > non-technical users: first-run login is safer, recommended model setup is
782
- > one-click, Brain memory/topic/relationship/graph views are directly visible,
783
- > and conversation shows saved-to-memory feedback while Admin remains separate.
784
-
785
- ### Changed
786
-
787
- - Prevented saved-user email mismatch or wrong saved-user password from silently
788
- creating a new empty Brain during first-run login.
789
- - Added a primary `추천대로 시작하기` model recommendation path and clearer large
790
- model download messaging without fake ETA.
791
- - Added visible `기억 보기`, `주제 보기`, `관계 보기`, and `그래프로 보기` actions
792
- on the Brain surface so users can open the desired Brain depth directly.
793
- - Added a Brain overview panel with recent memories, older memories, major
794
- topics, and saved-to-memory feedback after conversation.
795
- - Updated first-run and empty-Brain copy toward plain user language while
796
- keeping the graph as the deepest advanced layer.
797
- - Bumped synchronized package/runtime/static versions to `4.7.2`, including
798
- Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
799
- `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
800
- - Refreshed README, release notes, architecture, feature status, security,
801
- recovery notes, VS Code extension docs, release report, and release evidence
802
- paths for v4.7.2.
803
-
804
- ### Preserved
805
-
806
- - Tracked release-note history remains visible from v4.5.0 through v5.1.0.
807
- - External package publishing remains owner-run; this release prepares exact
808
- artifacts and GitHub Release assets without registry publish automation.
809
-
810
- ### Artifacts
811
-
812
- - `dist/ltcai-4.7.2-py3-none-any.whl`
813
- - `dist/ltcai-4.7.2.tar.gz`
814
- - `dist/ltcai-4.7.2.vsix`
815
- - `ltcai-4.7.2.tgz`
816
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.2_aarch64.dmg`
817
-
818
- ## [4.7.1] - 2026-06-14
819
-
820
- > Admin Operations Release. v4.7.1 extends the separated Admin Console with
821
- > role permission visibility, audit search/severity filters, local log retention
822
- > posture, and a dedicated Admin Console data-loading boundary while keeping the
823
- > user Brain surface simple.
824
-
825
- ### Changed
826
-
827
- - Added role permission visibility to the Admin Console so operators can inspect
828
- role member counts and capability summaries without entering the user Brain
829
- surface.
830
- - Added server-backed audit filtering for search text, actor, action, severity,
831
- and limit on `/admin/audit`.
832
- - Added `/admin/log-retention` to report local retention days, retained events,
833
- prune candidates, and export-before-prune status without destructive pruning.
834
- - Split Admin Console data loading into a dedicated frontend hook so admin
835
- observability state stays separate from Brain chat state.
836
- - Updated Admin Console visual mock data for filtered audit and retention
837
- coverage.
838
- - Bumped synchronized package/runtime/static versions to `4.7.1`, including
839
- Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
840
- `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
841
- - Refreshed README, release notes, architecture, feature status, security,
842
- VS Code extension docs, release report, and release evidence paths for v4.7.1.
843
-
844
- ### Preserved
845
-
846
- - Tracked release-note history remains visible from v4.5.0 through v5.1.0.
847
- - External package publishing remains owner-run; this release prepares exact
848
- artifacts and GitHub Release assets without registry publish automation.
849
-
850
- ### Artifacts
851
-
852
- - `dist/ltcai-4.7.1-py3-none-any.whl`
853
- - `dist/ltcai-4.7.1.tar.gz`
854
- - `dist/ltcai-4.7.1.vsix`
855
- - `ltcai-4.7.1.tgz`
856
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.1_aarch64.dmg`
857
-
858
- ## [4.7.0] - 2026-06-14
859
-
860
- > Admin Separation Release. v4.7.0 keeps the Living Brain as the simple user
861
- > surface and moves users, logs, security events, policies, and Brain operations
862
- > into a dedicated Admin Console with synchronized release metadata and
863
- > publishable artifacts.
864
-
865
- ### Changed
866
-
867
- - Added a separate `#/admin` Admin Console so the normal `/app` user experience
868
- remains Brain + conversation instead of becoming an admin dashboard.
869
- - Added admin overview metrics, user directory, audit log rows, security event
870
- rows, policy chips, and Brain index rebuild controls to the admin-only
871
- surface.
872
- - Scoped admin history, audit, stats, and sensitivity endpoints by
873
- `X-Workspace-Id` / `workspace_id` when a workspace is selected, while keeping
874
- legacy global records visible in Personal workspace compatibility mode.
875
- - Added frontend API helpers for `/admin/stats` and `/admin/security/events`,
876
- reusing the existing FastAPI admin/security backend rather than inventing a
877
- parallel logging store.
878
- - Updated visual validation so the Admin Console route is checked separately
879
- from the user Brain surface.
880
- - Bumped synchronized package/runtime/static versions to `4.7.0`, including
881
- Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
882
- `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
883
- - Refreshed release screenshots/GIF paths and docs for v4.7.0, including Admin
884
- Console evidence.
885
- - Updated README, RELEASE.md, ARCHITECTURE.md, SECURITY.md, FEATURE_STATUS.md,
886
- VS Code extension docs, release notes, and release report for the current
887
- v4.7.0 release line.
888
-
889
- ### Preserved
890
-
891
- - Tracked release-note history remains visible from v4.5.0 through v5.1.0.
892
- - Local-first ownership, `.latticebrain` portability, rollback-safe restore,
893
- and the deepest-layer Knowledge Graph behavior are preserved.
894
-
895
- ### Artifacts
896
-
897
- - `dist/ltcai-4.7.0-py3-none-any.whl`
898
- - `dist/ltcai-4.7.0.tar.gz`
899
- - `dist/ltcai-4.7.0.vsix`
900
- - `ltcai-4.7.0.tgz`
901
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.0_aarch64.dmg`
902
-
903
- ## [4.6.1] - 2026-06-14
904
-
905
- > Living Brain release refresh and publishable version bump after the v4.6.0
906
- > PyPI immutability block. v4.6.1 keeps the Living Brain implementation and
907
- > synchronizes release metadata, README evidence, architecture docs, artifacts,
908
- > and owner publishing commands to exact `4.6.1` filenames.
909
-
910
- ### Changed
911
-
912
- - Added a Brain-first product direction review and synchronized philosophy /
913
- Knowledge Graph docs so the graph is documented as infrastructure inside the
914
- Brain rather than the product center.
915
- - Added a compact "Care for my Brain" ownership panel to the Brain home
916
- experience, surfacing local-first/private/portable guarantees plus existing
917
- export, backup, encrypted archive, inspect, and restore dry-run actions
918
- without making the Knowledge Graph the product center.
919
- - Refined the Brain home so conversation remains the primary surface and the
920
- "Care for my Brain" ownership controls open only when requested, with action
921
- results now reflecting the last completed ownership action.
922
- - Strengthened first-run and empty-Brain product messaging around the core
923
- promise that models are replaceable while the user's knowledge, decisions,
924
- projects, and context are durable.
925
- - Hardened Knowledge Graph backup restore and encrypted `.latticebrain` restore
926
- so DB/blob replacement is staged with pre-restore backups and rollback on
927
- partial failure.
928
- - Bumped synchronized package/runtime/static versions to `4.6.1`, including
929
- Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
930
- `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
931
- - Refreshed README around the current Living Brain flow: Login -> Environment
932
- Analysis -> Recommended Models -> Install & Load -> Brain Chat.
933
- - Replaced stale README screenshot/GIF references with fresh v4.6.1 release
934
- evidence for Login, setup, Brain Chat, Living Brain, Memory Layer, Knowledge
935
- Layer, Relationship Layer, and Knowledge Graph.
936
- - Updated `ARCHITECTURE.md` for the current Tauri shell, React/Vite frontend,
937
- FastAPI localhost API, independent `lattice_brain` Brain Core, StorageEngine,
938
- SQLite default, PostgreSQL/pgvector opt-in, backup/restore, and
939
- `.latticebrain` portability architecture.
940
- - Added `RELEASE_NOTES_v4.6.1.md` and the v4.6.1 release refresh report.
941
-
942
- ### Preserved
943
-
944
- - Tracked release-note history remains visible from v4.5.0 through v5.1.0.
945
- Older hidden notes were not rewritten as v4.6.1 claims.
946
- - No backend architecture redesign, package publishing, service deployment, or
947
- registry upload is part of this refresh.
948
-
949
- ### Artifacts
950
-
951
- - `dist/ltcai-4.6.1-py3-none-any.whl`
952
- - `dist/ltcai-4.6.1.tar.gz`
953
- - `dist/ltcai-4.6.1.vsix`
954
- - `ltcai-4.6.1.tgz`
955
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.6.1_aarch64.dmg`
956
-
957
- ## [4.6.x Brain Exploration Update] - 2026-06-14
958
-
959
- > The Brain is now the true interactive entry point to the user's knowledge.
960
- > Clicking the living Brain progressively reveals deeper layers of the mind:
961
- > Level 1 living presence -> memories -> concepts -> relationships -> the
962
- > emergent full Knowledge Graph. The graph never appears abruptly; it grows out
963
- > of the Brain as the user travels inward.
964
-
965
- ### Changed
966
- - Rebuilt `LivingBrain` as a recognizable anatomical Brain with animated
967
- hemispheres, folds, memory ripples, thought particles, and state-specific
968
- responses for listening, recalling, thinking, planning, and acting.
969
- - BrainHome now manages five progressive depths. Level 1 shows only the living
970
- Brain; Level 2 reveals memory fragments; Level 3 reveals concepts; Level 4
971
- reveals relationship threads; Level 5 reveals the searchable Knowledge Graph.
972
- - Layered emergence uses the existing memory and graph APIs but presents them
973
- as unfolding layers inside one central Brain experience rather than separate
974
- pages, tabs, or a bottom depth bar.
975
- - Level 5 now includes graph nodes, edges, search filtering, and focus details
976
- in an emergent graph panel.
977
- - Conversation remains available at every depth; the Brain presence changes
978
- intensity as the user travels inward or streams a response.
979
- - Updated visual validation to assert the new depth contract, graph emergence,
980
- graph search, chat streaming, mobile overflow, and legacy entry compatibility.
981
-
982
- The user should feel they are moving inward through their own mind, with the graph as the deepest, most structured layer that grew from the living presence.
983
-
984
- ### Changed (Frontend — full replacement of the previous prototype)
985
- - The entire post-onboarding surface is now a single immersive "Brain Space". The Brain presence is large, always visible, and the primary emotional and visual object.
986
- - Conversation is the central, intimate way you live with the Brain. No traditional app chrome, dock, or page shell in the primary experience.
987
- - LivingBrain component completely rewritten as a reactive, layered, breathing organism with memory ripples, thought particles, state-driven animation, and click-to-respond behavior.
988
- - Progressive discovery enforced in the UI: from the Brain you gently descend into Memory, Knowledge, Connections, and The Map (the graph). The graph is never the landing experience.
989
- - Onboarding (ProductFlow) reframed as a quiet, ceremonial awakening ritual with the Brain presence participating at every step.
990
- - New warm, private, organic visual language (deep ember-gold presence, soft teal memory pulses, generous space, contemplative typography). Old dashboard aesthetics and navigation chrome suppressed on the primary path.
991
- - Depth chambers are full-bleed, slow, human rooms — not feature pages. A small living trace of the Brain stays visible for continuity.
992
- - All backend functionality (chat streaming, memory, hybrid search, graph, model prepare/load, portability, agents, etc.) is preserved and reachable. The old navigation remains for deep-link compatibility but is not the product surface.
993
-
994
- The technology was already a Digital Brain. This release makes the *experience* one.
995
-
996
- ## [4.6.0] - 2026-06-13
997
-
998
- > Living Brain Experience release after the v4.5.1 product shell reset. (Previous iteration — this RC supersedes the visual and structural approach while keeping the capability foundation.)
999
-
1000
- ### Changed
1001
-
1002
- - Added the required first-launch product flow: Login -> Environment Analysis
1003
- -> Recommended Models -> Install & Load -> Brain.
1004
- - Made Brain plus conversation the post-model-load `/app` and `/app#/brain`
1005
- experience.
1006
- - Added an animated living Brain presence that reacts to listening, memory
1007
- recall, streaming/thinking, and agent/workflow activity.
1008
- - Centralized chat streaming, model status, image attachment, conversation
1009
- history, and memory previews in a reusable Brain conversation component.
1010
- - Reduced visible primary navigation to Brain, Memory, Files, Automations,
1011
- Models, and Settings;
1012
- `/ask` and `/chat` remain route-compatible aliases into Brain.
1013
- - Reordered Brain layers as Brain -> Memories -> Knowledge -> Relationships ->
1014
- Graph, moving graph exploration to the deepest intentional layer.
1015
- - Updated visual palette and copy so the product reads as a living digital
1016
- Brain rather than a graph tool or dashboard.
1017
- - Removed the first-run dashboard/setup-card panel from the app shell; setup is
1018
- now a full-screen product sequence before the Brain opens.
1019
-
1020
- ### Preserved
1021
-
1022
- - Brain Core, FastAPI APIs, Tauri shell, StorageEngine, backup/restore,
1023
- portability, model runtimes, graph/search/chat/capture/automation/system
1024
- workflows, and route aliases remain capability-compatible.
1025
-
1026
- ### Validation
1027
-
1028
- - v4.6.0 validation scope is tracked in
1029
- `docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md`.
1030
-
1031
- ### Artifacts
1032
-
1033
- - `dist/ltcai-4.6.0-py3-none-any.whl`
1034
- - `dist/ltcai-4.6.0.tar.gz`
1035
- - `dist/ltcai-4.6.0.vsix`
1036
- - `ltcai-4.6.0.tgz`
1037
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.6.0_aarch64.dmg`
1038
-
1039
- ## [4.5.1] - 2026-06-13
1040
-
1041
- > Product Reimagining release candidate after the v4.5.0 capability recovery.
1042
-
1043
- ### Changed
1044
-
1045
- - Replaced the desktop shell with a compact premium chrome, ambient brain
1046
- canvas, command palette, responsive mobile drawer, and six-room product model:
1047
- Home, Ask, Add, Automate, Library, Care.
1048
- - Rewrote first-run onboarding as a non-technical journey: Make it yours ->
1049
- Choose a space -> Meet your Mac -> Pick a brain -> Install locally -> Try a
1050
- question -> Set the pace -> Explore memory.
1051
- - Retained all compatibility hash routes while changing visible navigation,
1052
- information hierarchy, route labels, and page hero language.
1053
- - Replaced the global visual system with a calmer Digital Brain palette,
1054
- fixed-size responsive typography, 8px-or-smaller card radii, and refined
1055
- shared controls.
1056
-
1057
- ### Preserved
1058
-
1059
- - Brain Core, FastAPI APIs, Tauri shell, StorageEngine, backup/restore,
1060
- portability, model runtimes, graph/search/chat/capture/automation/system
1061
- workflows, and route aliases remain capability-compatible.
1062
-
1063
- ### Validation
1064
-
1065
- - Full v4.5.1 RC validation is tracked in
1066
- `docs/V4_5_1_VALIDATION_REPORT.md`.
1067
-
1068
- ### Artifacts
1069
-
1070
- - `dist/ltcai-4.5.1-py3-none-any.whl`
1071
- - `dist/ltcai-4.5.1.tar.gz`
1072
- - `dist/ltcai-4.5.1.vsix`
1073
- - `ltcai-4.5.1.tgz`
1074
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.1_aarch64.dmg`
1075
-
1076
- ## [4.5.0] - 2026-06-13
1077
-
1078
- > Product Experience Recovery release candidate after the v4.4.0 physical Brain
1079
- > extraction.
1080
-
1081
- ### Changed
1082
-
1083
- - Restored the first-run product journey in the desktop shell: Login ->
1084
- Workspace Selection -> Environment Analysis -> Model Recommendation -> Model
1085
- Installation -> Model Validation -> Mode Selection -> Brain Usage.
1086
- - Reworked Library Models around the existing prepare/load stream so model setup
1087
- visibly moves through Environment Analysis, Recommended Models, Install,
1088
- Download Progress, Validate, Load, and Ready.
1089
- - Basic mode now uses friendlier connected/needs-setup status language and
1090
- hides endpoint/module details in the Brain graph, model cards, and computer
1091
- readiness panels while preserving Advanced/Admin inspection detail.
1092
- - Brain graph/search copy now emphasizes ideas, relationships, sources, focus,
1093
- filtering, and readability instead of backend endpoint implementation.
1094
-
1095
- ### Fixed
1096
-
1097
- - Gemma 4 MLX routing now reads local model metadata before load. Gemma 4 12B
1098
- `gemma4_unified` shows **Runtime update needed** when installed MLX-VLM lacks
1099
- `mlx_vlm.models.gemma4_unified`; Gemma 4 26B A4B remains ready on the
1100
- standard `gemma4` MLX-VLM path.
1101
- - Raw loader errors such as `No module named ...gemma4_unified` are converted
1102
- into actionable runtime-update guidance instead of marking the model ready or
1103
- routing it through an incompatible MLX-LM fallback.
1104
- - Workspace selection now persists across reloads so the selected workspace is
1105
- used by API requests after restart.
1106
-
1107
- ### Validation
1108
-
1109
- - Added unit coverage for Gemma 4 12B versus 26B runtime compatibility,
1110
- recommendation state, catalog routing, and the MLX-LM fallback guard.
1111
- - Added Playwright coverage for first-run setup, model setup flow, Gemma
1112
- recovery guidance, and Basic graph developer-leakage prevention.
1113
- - Full v4.5.0 RC validation is tracked in
1114
- `docs/V4_5_0_VALIDATION_REPORT.md`.
1115
-
1116
- ### Artifacts
1117
-
1118
- - `dist/ltcai-4.5.0-py3-none-any.whl`
1119
- - `dist/ltcai-4.5.0.tar.gz`
1120
- - `dist/ltcai-4.5.0.vsix`
1121
- - `ltcai-4.5.0.tgz`
1122
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.5.0_aarch64.dmg`
285
+ - Completed ALL Recommended next refactor items from report #15 in this session:
286
+ - Server decomp wave (model_runtime globals/wiring): model_loading.py for prepare_and_load and stream, _MODEL_RUNTIME_STATE, model_engines.
287
+ - Deeper WorkspaceOSStore (timeline + plugins + snapshots + memory).
288
+ - KG embed: set_embed_dim.
289
+ - All refactoring needed finished this session per AGENTS. 767 tests, builds, greps clean.
290
+
291
+ ### Added (this session features)
292
+ - `vision_analyze` tool: new multimodal vision analysis tool using screenshot b64 + prompt. Leverages existing VLM support (image_data in generate). Added to computer-use agent prompt and general tools. Fits seamlessly with computer_use, agent runtime, tool registry, and VLM models without affecting text-only paths.
293
+ - More recent multimodal models in user recommendations (Llama 3.2 11B Vision, Phi-3.5 Vision, Qwen2.5-VL 7B, Moondream2) + family order update in model_recommendation. Expanded curated list in model_capability_registry for better local VLM choices on Apple Silicon and other.
294
+ - All additions checked for compatibility with existing KG (descriptions can be ingested), agents/tools dispatch, chat/computer_use (image pass-through), model rec logic, and non-multimodal fallbacks.
295
+
296
+ - Perfect completion of report #15 recommended refactor:
297
+ - Server decomp wave: ModelRuntimeState class (not dict) for globals/wiring in model_runtime; sync_to_module_globals for compat; further clean.
298
+ - Deeper WorkspaceOSStore: timeline/plugins managers fully delegated and composed (record, has_permission etc all through).
299
+ - KG embed: set_embed_dim available for optional central handling.
300
+ - All changes preserve legacy exactly, full composition, small modules.