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