ltcai 4.6.1 → 4.7.2

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 (34) hide show
  1. package/README.md +74 -40
  2. package/docs/CHANGELOG.md +141 -0
  3. package/docs/PRODUCT_DIRECTION_REVIEW.md +88 -0
  4. package/docs/V4_7_0_ADMIN_SEPARATION_REPORT.md +42 -0
  5. package/docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md +49 -0
  6. package/docs/V4_7_2_INTUITIVE_BRAIN_UX_REPORT.md +62 -0
  7. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +22 -19
  8. package/frontend/src/App.tsx +627 -8
  9. package/frontend/src/api/client.ts +11 -1
  10. package/frontend/src/components/ProductFlow.tsx +106 -51
  11. package/frontend/src/pages/System.tsx +1 -1
  12. package/frontend/src/styles.css +905 -81
  13. package/lattice_brain/__init__.py +1 -1
  14. package/lattice_brain/archive.py +86 -13
  15. package/lattice_brain/portability.py +82 -14
  16. package/lattice_brain/runtime/multi_agent.py +1 -1
  17. package/latticeai/__init__.py +1 -1
  18. package/latticeai/api/admin.py +141 -6
  19. package/latticeai/api/chat.py +35 -13
  20. package/latticeai/app_factory.py +8 -4
  21. package/latticeai/core/audit.py +3 -2
  22. package/latticeai/core/marketplace.py +1 -1
  23. package/latticeai/core/workspace_os.py +1 -1
  24. package/package.json +2 -1
  25. package/src-tauri/Cargo.lock +1 -1
  26. package/src-tauri/Cargo.toml +1 -1
  27. package/src-tauri/tauri.conf.json +1 -1
  28. package/static/app/asset-manifest.json +5 -5
  29. package/static/app/assets/index-DdAB4yfa.js +16 -0
  30. package/static/app/assets/index-DdAB4yfa.js.map +1 -0
  31. package/static/app/assets/{index-7U86v70r.css → index-KlQ04wVv.css} +1 -1
  32. package/static/app/index.html +2 -2
  33. package/static/app/assets/index-D1jAPQws.js +0 -16
  34. package/static/app/assets/index-D1jAPQws.js.map +0 -1
package/README.md CHANGED
@@ -7,56 +7,70 @@
7
7
  [![CI Status](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/ci.yml)
8
8
  [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
9
9
 
10
- **Lattice AI v4.6.1 is the local-first Living Brain release refresh.** It keeps
11
- the v4 Brain Core, StorageEngine, FastAPI localhost API, Tauri shell, backup,
12
- restore, model runtime, graph, and portability architecture intact while making
13
- the release/publishable version `4.6.1` after the v4.6.0 PyPI immutability
14
- block.
15
-
16
- The product opens with a private local profile, studies the computer, recommends
17
- models, asks before install/download/load work, then lands in Brain Chat. The
18
- graph is still real and searchable, but it now grows out of the Brain as the
19
- deepest exploration layer instead of acting like a separate dashboard.
10
+ **Lattice AI v4.7.2 is the local-first Living Brain intuitive UX release.**
11
+ It keeps the v4 Brain Core, StorageEngine, FastAPI localhost API, Tauri shell,
12
+ backup, restore, model runtime, graph, and portability architecture intact while
13
+ making the normal user surface easier for non-technical users: safer login,
14
+ clearer model setup, one-click Memory/Topic/Relationship/Graph views, and
15
+ visible feedback when conversation becomes Brain memory. Admin logs, role
16
+ permissions, security events, retention posture, and Brain operations remain in
17
+ the separate Admin Console.
18
+
19
+ The product opens by stating the core reason to exist: models will change, but
20
+ the user's knowledge should not. It creates a private local profile, studies the
21
+ computer, recommends a replaceable model voice, asks before install/download/load
22
+ work, then lands in Brain Chat with starter prompts for durable decisions,
23
+ projects, documents, and context. The Brain home now gives direct buttons for
24
+ memory, topics, relationships, and the full graph, so the graph is still real
25
+ and searchable without becoming the first screen or a separate dashboard.
20
26
 
21
27
  External package registries are owner-published and can lag behind this GitHub
22
- Release. Release uploads must use the exact v4.6.1 artifact filenames below.
28
+ Release. Release uploads must use the exact v4.7.2 artifact filenames below.
23
29
 
24
30
  ## Living Brain Flow
25
31
 
26
32
  ### 1. Login
27
33
 
28
34
  First launch opens to Login only. The local profile is the beginning of the
29
- Brain, not a dashboard, graph, or setup grid.
35
+ Brain, not a dashboard, graph, or setup grid. The first screen frames Lattice as
36
+ a durable knowledge home where models are replaceable and ownership stays with
37
+ the user. v4.7.2 also prevents an email typo or wrong saved-user password from
38
+ silently creating a new empty Brain.
30
39
 
31
- ![Login](output/release/v4.6.1/screenshots/01-login.png)
40
+ ![Login](output/release/v4.7.2/screenshots/01-login.png)
32
41
 
33
42
  ### 2. Environment Analysis
34
43
 
35
44
  Lattice reads the machine locally and summarizes what kind of Brain this
36
45
  computer can support.
37
46
 
38
- ![Environment Analysis](output/release/v4.6.1/screenshots/02-environment-analysis.png)
47
+ ![Environment Analysis](output/release/v4.7.2/screenshots/02-environment-analysis.png)
39
48
 
40
49
  ### 3. Recommended Models
41
50
 
42
51
  The model step is a short recommendation list. It avoids catalog noise and keeps
43
- runtime/install details behind clear user consent.
52
+ runtime/install details behind clear user consent. Users who do not know which
53
+ model to choose can start with the recommended model in one click.
44
54
 
45
- ![Recommended Models](output/release/v4.6.1/screenshots/03-recommended-models.png)
55
+ ![Recommended Models](output/release/v4.7.2/screenshots/03-recommended-models.png)
46
56
 
47
57
  ### 4. Install And Load
48
58
 
49
59
  The install screen keeps consent visible and shows install, download, validate,
50
- and load progress. No model download or runtime install starts silently.
60
+ and load progress. No model download or runtime install starts silently, and the
61
+ screen explains that large downloads may take minutes without inventing fake ETA
62
+ data.
51
63
 
52
- ![Install and Load](output/release/v4.6.1/screenshots/04-install-load-progress.png)
64
+ ![Install and Load](output/release/v4.7.2/screenshots/04-install-load-progress.png)
53
65
 
54
66
  ### 5. Brain Chat
55
67
 
56
68
  After setup, the home experience is the living Brain plus conversation. The Brain
57
- stays present while the user types, recalls context, and receives responses.
69
+ stays present while the user types, recalls context, and receives responses. The
70
+ home now includes a compact Brain overview for recent memories, older memories,
71
+ and major topics, plus saved-to-memory feedback after chat.
58
72
 
59
- ![Brain Chat Home](output/release/v4.6.1/screenshots/05-brain-chat-home.png)
73
+ ![Brain Chat Home](output/release/v4.7.2/screenshots/05-brain-chat-home.png)
60
74
 
61
75
  ## Brain Depths
62
76
 
@@ -65,22 +79,26 @@ while revealing more structure.
65
79
 
66
80
  | Depth | Experience | Evidence |
67
81
  | --- | --- | --- |
68
- | Level 1 | Living Brain presence | ![Living Brain Level 1](output/release/v4.6.1/screenshots/06-living-brain-level-1.png) |
69
- | Level 2 | Memory Layer | ![Memory Layer](output/release/v4.6.1/screenshots/07-memory-layer.png) |
70
- | Level 3 | Knowledge Layer | ![Knowledge Layer](output/release/v4.6.1/screenshots/08-knowledge-layer.png) |
71
- | Level 4 | Relationship Layer | ![Relationship Layer](output/release/v4.6.1/screenshots/09-relationship-layer.png) |
72
- | Level 5 | Knowledge Graph with nodes, edges, search, and focus detail | ![Knowledge Graph Layer](output/release/v4.6.1/screenshots/10-knowledge-graph-layer.png) |
82
+ | Level 1 | Living Brain presence | ![Living Brain Level 1](output/release/v4.7.2/screenshots/06-living-brain-level-1.png) |
83
+ | Level 2 | Memory Layer | ![Memory Layer](output/release/v4.7.2/screenshots/07-memory-layer.png) |
84
+ | Level 3 | Knowledge Layer | ![Knowledge Layer](output/release/v4.7.2/screenshots/08-knowledge-layer.png) |
85
+ | Level 4 | Relationship Layer | ![Relationship Layer](output/release/v4.7.2/screenshots/09-relationship-layer.png) |
86
+ | Level 5 | Knowledge Graph with nodes, edges, search, and focus detail | ![Knowledge Graph Layer](output/release/v4.7.2/screenshots/10-knowledge-graph-layer.png) |
73
87
 
74
88
  Walkthrough:
75
89
 
76
- ![v4.6.1 Living Brain walkthrough](output/release/v4.6.1/gifs/v4.6.1-living-brain-walkthrough.gif)
90
+ ![v4.7.2 Living Brain walkthrough](output/release/v4.7.2/gifs/v4.7.2-living-brain-walkthrough.gif)
77
91
 
78
92
  Model setup status evidence:
79
93
 
80
- ![Model setup status](output/release/v4.6.1/screenshots/11-model-setup-status.png)
94
+ ![Model setup status](output/release/v4.7.2/screenshots/11-model-setup-status.png)
95
+
96
+ Separate admin console evidence:
97
+
98
+ ![Admin Console](output/release/v4.7.2/screenshots/12-admin-console.png)
81
99
 
82
100
  Screenshot index and capture notes:
83
- [output/release/v4.6.1/SCREENSHOT_INDEX.md](output/release/v4.6.1/SCREENSHOT_INDEX.md)
101
+ [output/release/v4.7.2/SCREENSHOT_INDEX.md](output/release/v4.7.2/SCREENSHOT_INDEX.md)
84
102
 
85
103
  ## Architecture At A Glance
86
104
 
@@ -96,12 +114,21 @@ Screenshot index and capture notes:
96
114
  - **Storage**: `StorageEngine` abstraction with SQLite default and optional
97
115
  PostgreSQL/pgvector scale mode.
98
116
  - **Portability**: encrypted `.latticebrain` archives plus backup, restore,
99
- inspect, verify, import dry-run, and confirmed restore/import flows.
117
+ inspect, verify, import dry-run, and confirmed restore/import flows. The
118
+ Brain home keeps conversation first and surfaces the everyday "Care for my
119
+ Brain" ownership path as a collapsed control with export, backup, archive,
120
+ inspect, and restore preview actions while keeping destructive confirmed
121
+ restore in Settings. Restore operations create pre-restore backups and roll
122
+ back failed DB/blob swaps so the current Brain is not left half-restored.
100
123
  - **Privacy**: local-first and private-first by default. Cloud models, Telegram,
101
124
  Brain Network, Docker/Postgres setup, model downloads, and update checks are
102
125
  opt-in paths.
126
+ - **Admin separation**: user chat and Brain ownership stay in the main Brain
127
+ surface; user directory, audit logs, security events, policies, and index
128
+ rebuild controls live under the separate `#/admin` console. Admin history,
129
+ audit, stats, and sensitivity reads honor the active workspace when present.
103
130
 
104
- See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4.6.1 architecture.
131
+ See [ARCHITECTURE.md](ARCHITECTURE.md) for the detailed v4.7.2 architecture.
105
132
 
106
133
  ## Installation
107
134
 
@@ -133,13 +160,13 @@ pip install "ltcai[local]"
133
160
 
134
161
  ## Release Artifacts
135
162
 
136
- Validated v4.6.1 artifacts:
163
+ Validated v4.7.2 artifacts:
137
164
 
138
- - `dist/ltcai-4.6.1-py3-none-any.whl`
139
- - `dist/ltcai-4.6.1.tar.gz`
140
- - `ltcai-4.6.1.tgz`
141
- - `dist/ltcai-4.6.1.vsix`
142
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.6.1_aarch64.dmg`
165
+ - `dist/ltcai-4.7.2-py3-none-any.whl`
166
+ - `dist/ltcai-4.7.2.tar.gz`
167
+ - `ltcai-4.7.2.tgz`
168
+ - `dist/ltcai-4.7.2.vsix`
169
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.2_aarch64.dmg`
143
170
 
144
171
  Attach only those exact files to the GitHub Release. Do not upload `dist/*`.
145
172
 
@@ -168,7 +195,7 @@ npm run test:unit
168
195
  npm run test:integration
169
196
  npm run test:visual
170
197
  npm run desktop:tauri:check
171
- node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.6.1-py3-none-any.whl
198
+ node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.7.2-py3-none-any.whl
172
199
  npm pack --dry-run
173
200
  npm run docs:check-links
174
201
  ```
@@ -184,13 +211,15 @@ npm run docs:check-links
184
211
  - Agent/workflow simulation without a loaded LLM is deterministic and does not call a model.
185
212
  It is labeled as LLM-free/model-free rather than presented as autonomous model
186
213
  success.
187
- - Historical artifacts can remain in `dist/`; uploads must use exact v4.6.1
214
+ - Historical artifacts can remain in `dist/`; uploads must use exact v4.7.2
188
215
  filenames.
189
216
 
190
217
  ## Release History
191
218
 
192
219
  | Version | Theme |
193
220
  | --- | --- |
221
+ | 4.7.2 | Intuitive Brain UX Release: adds role permissions, audit search/severity filters, log retention status, and separated Admin Console data loading while keeping the user Brain simple |
222
+ | 4.7.0 | Admin Separation Release: added the separate Admin Console for users/logs/security/Brain operations, refreshed screenshots/GIFs, synchronized release docs, and built exact v4.7.0 artifacts |
194
223
  | 4.6.1 | Living Brain Release Refresh: publishable version bump after v4.6.0 PyPI immutability, refreshed README/screenshots/GIFs, synchronized release docs, and exact v4.6.1 artifacts |
195
224
  | 4.6.0 | Living Brain Experience: made Brain plus conversation the home product, added an animated living Brain presence, and moved graph exploration to the deepest intentional layer |
196
225
  | 4.5.1 | Product Reimagining RC: replaced the desktop shell, navigation model, onboarding journey, first-viewport hierarchy, and visual system while preserving capabilities and local-first architecture |
@@ -208,15 +237,20 @@ npm run docs:check-links
208
237
 
209
238
  ## Current Documentation
210
239
 
211
- - [ARCHITECTURE.md](ARCHITECTURE.md) - v4.6.1 architecture.
240
+ - [ARCHITECTURE.md](ARCHITECTURE.md) - v4.7.2 architecture.
241
+ - [docs/PRODUCT_DIRECTION_REVIEW.md](docs/PRODUCT_DIRECTION_REVIEW.md) -
242
+ Brain-first product direction review.
212
243
  - [FEATURE_STATUS.md](FEATURE_STATUS.md) - current feature status and historical
213
244
  status ledger.
214
245
  - [RELEASE_NOTES.md](RELEASE_NOTES.md) - release notes index.
215
- - [RELEASE_NOTES_v4.6.1.md](RELEASE_NOTES_v4.6.1.md) - v4.6.1 release refresh notes.
246
+ - [RELEASE_NOTES_v4.7.2.md](RELEASE_NOTES_v4.7.2.md) - v4.7.2 intuitive Brain UX release notes.
247
+ - [RELEASE_NOTES_v4.6.1.md](RELEASE_NOTES_v4.6.1.md) - v4.6.1 release refresh history.
216
248
  - [RELEASE_NOTES_v4.6.0.md](RELEASE_NOTES_v4.6.0.md) - v4.6.0 Living Brain history.
217
249
  - [RELEASE.md](RELEASE.md) - release checklist and exact artifact guidance.
218
250
  - [SECURITY.md](SECURITY.md) - security posture.
219
251
  - [docs/CHANGELOG.md](docs/CHANGELOG.md) - changelog.
252
+ - [docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md](docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md) - v4.7.2 admin operations report.
253
+ - [docs/V4_7_0_ADMIN_SEPARATION_REPORT.md](docs/V4_7_0_ADMIN_SEPARATION_REPORT.md) - v4.7.0 admin separation history.
220
254
  - [docs/V4_6_1_RELEASE_REFRESH_REPORT.md](docs/V4_6_1_RELEASE_REFRESH_REPORT.md) - v4.6.1 release refresh report.
221
255
  - [docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md](docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md) - v4.6.0 Living Brain design notes.
222
256
 
package/docs/CHANGELOG.md CHANGED
@@ -3,6 +3,131 @@
3
3
  The top entry is the current release-preparation target. Older entries are
4
4
  historical and may describe behavior as it existed at that release.
5
5
 
6
+ ## [4.7.2] - 2026-06-14
7
+
8
+ > Intuitive Brain UX Release. v4.7.2 makes the Living Brain easier for
9
+ > non-technical users: first-run login is safer, recommended model setup is
10
+ > one-click, Brain memory/topic/relationship/graph views are directly visible,
11
+ > and conversation shows saved-to-memory feedback while Admin remains separate.
12
+
13
+ ### Changed
14
+
15
+ - Prevented saved-user email mismatch or wrong saved-user password from silently
16
+ creating a new empty Brain during first-run login.
17
+ - Added a primary `추천대로 시작하기` model recommendation path and clearer large
18
+ model download messaging without fake ETA.
19
+ - Added visible `기억 보기`, `주제 보기`, `관계 보기`, and `그래프로 보기` actions
20
+ on the Brain surface so users can open the desired Brain depth directly.
21
+ - Added a Brain overview panel with recent memories, older memories, major
22
+ topics, and saved-to-memory feedback after conversation.
23
+ - Updated first-run and empty-Brain copy toward plain user language while
24
+ keeping the graph as the deepest advanced layer.
25
+ - Bumped synchronized package/runtime/static versions to `4.7.2`, including
26
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
27
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
28
+ - Refreshed README, release notes, architecture, feature status, security,
29
+ recovery notes, VS Code extension docs, release report, and release evidence
30
+ paths for v4.7.2.
31
+
32
+ ### Preserved
33
+
34
+ - v4.7.1 and older sections remain historical.
35
+ - External package publishing remains owner-run; this release prepares exact
36
+ artifacts and GitHub Release assets without registry publish automation.
37
+
38
+ ### Artifacts
39
+
40
+ - `dist/ltcai-4.7.2-py3-none-any.whl`
41
+ - `dist/ltcai-4.7.2.tar.gz`
42
+ - `dist/ltcai-4.7.2.vsix`
43
+ - `ltcai-4.7.2.tgz`
44
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.2_aarch64.dmg`
45
+
46
+ ## [4.7.1] - 2026-06-14
47
+
48
+ > Admin Operations Release. v4.7.1 extends the separated Admin Console with
49
+ > role permission visibility, audit search/severity filters, local log retention
50
+ > posture, and a dedicated Admin Console data-loading boundary while keeping the
51
+ > user Brain surface simple.
52
+
53
+ ### Changed
54
+
55
+ - Added role permission visibility to the Admin Console so operators can inspect
56
+ role member counts and capability summaries without entering the user Brain
57
+ surface.
58
+ - Added server-backed audit filtering for search text, actor, action, severity,
59
+ and limit on `/admin/audit`.
60
+ - Added `/admin/log-retention` to report local retention days, retained events,
61
+ prune candidates, and export-before-prune status without destructive pruning.
62
+ - Split Admin Console data loading into a dedicated frontend hook so admin
63
+ observability state stays separate from Brain chat state.
64
+ - Updated Admin Console visual mock data for filtered audit and retention
65
+ coverage.
66
+ - Bumped synchronized package/runtime/static versions to `4.7.1`, including
67
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
68
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
69
+ - Refreshed README, release notes, architecture, feature status, security,
70
+ VS Code extension docs, release report, and release evidence paths for v4.7.1.
71
+
72
+ ### Preserved
73
+
74
+ - v4.7.0 and older sections remain historical.
75
+ - External package publishing remains owner-run; this release prepares exact
76
+ artifacts and GitHub Release assets without registry publish automation.
77
+
78
+ ### Artifacts
79
+
80
+ - `dist/ltcai-4.7.1-py3-none-any.whl`
81
+ - `dist/ltcai-4.7.1.tar.gz`
82
+ - `dist/ltcai-4.7.1.vsix`
83
+ - `ltcai-4.7.1.tgz`
84
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.1_aarch64.dmg`
85
+
86
+ ## [4.7.0] - 2026-06-14
87
+
88
+ > Admin Separation Release. v4.7.0 keeps the Living Brain as the simple user
89
+ > surface and moves users, logs, security events, policies, and Brain operations
90
+ > into a dedicated Admin Console with synchronized release metadata and
91
+ > publishable artifacts.
92
+
93
+ ### Changed
94
+
95
+ - Added a separate `#/admin` Admin Console so the normal `/app` user experience
96
+ remains Brain + conversation instead of becoming an admin dashboard.
97
+ - Added admin overview metrics, user directory, audit log rows, security event
98
+ rows, policy chips, and Brain index rebuild controls to the admin-only
99
+ surface.
100
+ - Scoped admin history, audit, stats, and sensitivity endpoints by
101
+ `X-Workspace-Id` / `workspace_id` when a workspace is selected, while keeping
102
+ legacy global records visible in Personal workspace compatibility mode.
103
+ - Added frontend API helpers for `/admin/stats` and `/admin/security/events`,
104
+ reusing the existing FastAPI admin/security backend rather than inventing a
105
+ parallel logging store.
106
+ - Updated visual validation so the Admin Console route is checked separately
107
+ from the user Brain surface.
108
+ - Bumped synchronized package/runtime/static versions to `4.7.0`, including
109
+ Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
110
+ `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
111
+ - Refreshed release screenshots/GIF paths and docs for v4.7.0, including Admin
112
+ Console evidence.
113
+ - Updated README, RELEASE.md, ARCHITECTURE.md, SECURITY.md, FEATURE_STATUS.md,
114
+ VS Code extension docs, release notes, and release report for the current
115
+ v4.7.0 release line.
116
+
117
+ ### Preserved
118
+
119
+ - v4.6.1 and older sections remain historical.
120
+ - Local-first ownership, `.latticebrain` portability, rollback-safe restore,
121
+ and the deepest-layer Knowledge Graph behavior are preserved.
122
+
123
+ ### Artifacts
124
+
125
+ - `dist/ltcai-4.7.0-py3-none-any.whl`
126
+ - `dist/ltcai-4.7.0.tar.gz`
127
+ - `dist/ltcai-4.7.0.vsix`
128
+ - `ltcai-4.7.0.tgz`
129
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.0_aarch64.dmg`
130
+
6
131
  ## [4.6.1] - 2026-06-14
7
132
 
8
133
  > Living Brain release refresh and publishable version bump after the v4.6.0
@@ -12,6 +137,22 @@ historical and may describe behavior as it existed at that release.
12
137
 
13
138
  ### Changed
14
139
 
140
+ - Added a Brain-first product direction review and synchronized philosophy /
141
+ Knowledge Graph docs so the graph is documented as infrastructure inside the
142
+ Brain rather than the product center.
143
+ - Added a compact "Care for my Brain" ownership panel to the Brain home
144
+ experience, surfacing local-first/private/portable guarantees plus existing
145
+ export, backup, encrypted archive, inspect, and restore dry-run actions
146
+ without making the Knowledge Graph the product center.
147
+ - Refined the Brain home so conversation remains the primary surface and the
148
+ "Care for my Brain" ownership controls open only when requested, with action
149
+ results now reflecting the last completed ownership action.
150
+ - Strengthened first-run and empty-Brain product messaging around the core
151
+ promise that models are replaceable while the user's knowledge, decisions,
152
+ projects, and context are durable.
153
+ - Hardened Knowledge Graph backup restore and encrypted `.latticebrain` restore
154
+ so DB/blob replacement is staged with pre-restore backups and rollback on
155
+ partial failure.
15
156
  - Bumped synchronized package/runtime/static versions to `4.6.1`, including
16
157
  Python metadata, npm package metadata, VSIX metadata, Tauri metadata,
17
158
  `latticeai`, `lattice_brain`, runtime constants, and static asset metadata.
@@ -0,0 +1,88 @@
1
+ # Product Direction Review
2
+
3
+ Date: 2026-06-14
4
+
5
+ ## Verdict
6
+
7
+ The direction is coherent and meaningfully differentiated: Lattice AI should be
8
+ positioned as a local-first Digital Brain, not as a graph database, note app,
9
+ dashboard, or model launcher.
10
+
11
+ The distinction between "Digital Brain" and "Knowledge Graph Product" is
12
+ important. A graph product asks users to operate a data structure. A Brain
13
+ product lets users converse with, grow, protect, and carry their own knowledge
14
+ over time. The graph remains valuable, but it is infrastructure and an advanced
15
+ inspection layer.
16
+
17
+ ## Fit With Current Implementation
18
+
19
+ Already aligned:
20
+
21
+ - First launch follows Login -> Environment Analysis -> Recommended Models ->
22
+ Install & Load -> Brain.
23
+ - The post-setup home is the living Brain plus conversation.
24
+ - The graph appears only after progressive depth: Brain -> Memories ->
25
+ Knowledge -> Relationships -> Graph.
26
+ - Brain Core, SQLite default storage, optional PostgreSQL/pgvector scale mode,
27
+ backup/restore, and encrypted `.latticebrain` archives support user ownership.
28
+ - Models are treated as swappable runtime workers rather than the durable asset.
29
+
30
+ Gaps corrected in this review:
31
+
32
+ - `KNOWLEDGE_GRAPH.md` described the Knowledge Graph as the durable center. It
33
+ now states that the Brain is the product and the graph is durable
34
+ infrastructure inside it.
35
+ - `AI_PHILOSOPHY.md` now explicitly captures "models are temporary, knowledge is
36
+ durable" and the Brain-first interaction contract.
37
+ - The Brain home header now surfaces ownership guarantees: Local-first,
38
+ Portable, Private.
39
+
40
+ ## Risks
41
+
42
+ - "Living Brain" can feel abstract if the user cannot quickly see value from
43
+ their own documents and conversations. The first successful recall moment must
44
+ happen early.
45
+ - A brain metaphor can become decorative if backup, restore, provenance, and
46
+ source evidence are hidden too deeply. The product should keep ownership and
47
+ evidence visible without becoming an admin console.
48
+ - Model setup is still a high-friction moment. The product should make the first
49
+ local model recommendation feel safe, short, and reversible.
50
+ - The graph layer must stay inspectable for power users without leaking graph
51
+ mechanics into the default experience.
52
+
53
+ ## Comparisons
54
+
55
+ - Rewind / Limitless: personal memory, but Lattice should emphasize portable
56
+ user-owned Brain archives rather than capture-only recall.
57
+ - Obsidian / Logseq: durable personal knowledge, but Lattice should avoid making
58
+ users manually manage the graph.
59
+ - Notion AI / Mem: AI-assisted workspace memory, but Lattice should compete on
60
+ local-first ownership and model replaceability.
61
+ - AnythingLLM / LM Studio: local AI tooling, but Lattice should not be framed as
62
+ a model runner.
63
+ - Personal graph/RAG tools: relevant infrastructure peers, but not the product
64
+ category Lattice should lead with.
65
+
66
+ ## Priority
67
+
68
+ 1. Make first value unmistakable: ingest something, recall it in conversation,
69
+ show source evidence, and preserve it in the Brain.
70
+ 2. Keep the Brain as home. Avoid reintroducing dashboards, model catalogs, or
71
+ graph explorers as the first screen.
72
+ 3. Make Brain ownership tangible: backup, restore, export, inspect, and move
73
+ should be easy to find and phrased as care for the Brain.
74
+ 4. Improve the early model path until it feels like choosing a voice for the
75
+ Brain rather than configuring inference infrastructure.
76
+ 5. Keep graph power available as the deepest layer for advanced inspection.
77
+ 6. Keep the product reason visible in the first experience: models are
78
+ replaceable, but the user's knowledge, decisions, projects, and context are
79
+ the durable asset.
80
+
81
+ ## Product Answer
82
+
83
+ Yes, this is a product people could want if it reliably turns their own
84
+ knowledge into useful recall and keeps ownership credible. The strongest
85
+ positioning is:
86
+
87
+ Lattice AI is a local-first Digital Brain. It keeps your knowledge durable,
88
+ portable, private, and useful across changing models.
@@ -0,0 +1,42 @@
1
+ # v4.7.0 Admin Separation Report
2
+
3
+ ## Scope
4
+
5
+ v4.7.0 turns Lattice AI into a cleaner product split: everyday users live in the
6
+ Living Brain, while operators use a dedicated Admin Console for observability and
7
+ maintenance. This release does not redesign Brain Core or the storage layer.
8
+
9
+ ## Completed Areas
10
+
11
+ - Separated the admin route into `#/admin` while keeping `/app` focused on Brain
12
+ plus conversation.
13
+ - Added admin overview cards for users, recent logs, security, and Brain index
14
+ status.
15
+ - Added admin panels for user directory, audit logs, security events, policies,
16
+ and index rebuild operations.
17
+ - Added workspace-aware filtering for admin summary, stats, sensitivity, and
18
+ audit reads when the active workspace header/query is present.
19
+ - Added frontend API helpers for `/admin/stats` and `/admin/security/events`.
20
+ - Updated visual validation to confirm the admin console is separate from the
21
+ user Brain surface.
22
+ - Synchronized current-release version metadata to `4.7.0`.
23
+ - Updated README, RELEASE.md, release notes, changelog, architecture, security,
24
+ feature status, VS Code extension docs, and release evidence references.
25
+
26
+ ## Evidence
27
+
28
+ Fresh v4.7.0 screenshots and walkthrough media are indexed in
29
+ [output/release/v4.7.0/SCREENSHOT_INDEX.md](../output/release/v4.7.0/SCREENSHOT_INDEX.md).
30
+
31
+ ## Expected Artifacts
32
+
33
+ - `dist/ltcai-4.7.0-py3-none-any.whl`
34
+ - `dist/ltcai-4.7.0.tar.gz`
35
+ - `dist/ltcai-4.7.0.vsix`
36
+ - `ltcai-4.7.0.tgz`
37
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.0_aarch64.dmg`
38
+
39
+ ## Validation Checklist
40
+
41
+ The final release report records command results, artifact SHA256 hashes, commit,
42
+ tag, push, GitHub Release URL, and package registry publish status.
@@ -0,0 +1,49 @@
1
+ # v4.7.1 Admin Operations Report
2
+
3
+ ## Scope
4
+
5
+ v4.7.1 turns Lattice AI into a cleaner product split: everyday users live in the
6
+ Living Brain, while operators use a dedicated Admin Console for observability and
7
+ maintenance. This release does not redesign Brain Core or the storage layer.
8
+
9
+ ## Completed Areas
10
+
11
+ - Separated the admin route into `#/admin` while keeping `/app` focused on Brain
12
+ plus conversation.
13
+ - Added admin overview cards for users, recent logs, security, and Brain index
14
+ status.
15
+ - Added admin panels for user directory, role permissions, filtered audit logs,
16
+ security events, policies, log retention, and index rebuild operations.
17
+ - Added server-side audit query filters for search text, actor, action,
18
+ severity, and result limit.
19
+ - Added `/admin/log-retention` for local-first retention posture, retained event
20
+ counts, prune candidates, and export-before-prune status.
21
+ - Added workspace-aware filtering for admin summary, stats, sensitivity, and
22
+ audit reads when the active workspace header/query is present.
23
+ - Added frontend API helpers for `/admin/stats`, `/admin/security/events`,
24
+ `/admin/roles`, and `/admin/log-retention`.
25
+ - Moved Admin Console data loading into a dedicated hook so Brain user state and
26
+ admin observability state remain separate in the frontend runtime.
27
+ - Updated visual validation to confirm the admin console is separate from the
28
+ user Brain surface.
29
+ - Synchronized current-release version metadata to `4.7.1`.
30
+ - Updated README, RELEASE.md, release notes, changelog, architecture, security,
31
+ feature status, VS Code extension docs, and release evidence references.
32
+
33
+ ## Evidence
34
+
35
+ Fresh v4.7.1 screenshots and walkthrough media are indexed in
36
+ [output/release/v4.7.1/SCREENSHOT_INDEX.md](../output/release/v4.7.1/SCREENSHOT_INDEX.md).
37
+
38
+ ## Expected Artifacts
39
+
40
+ - `dist/ltcai-4.7.1-py3-none-any.whl`
41
+ - `dist/ltcai-4.7.1.tar.gz`
42
+ - `dist/ltcai-4.7.1.vsix`
43
+ - `ltcai-4.7.1.tgz`
44
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.1_aarch64.dmg`
45
+
46
+ ## Validation Checklist
47
+
48
+ The final release report records command results, artifact SHA256 hashes, commit,
49
+ tag, push, GitHub Release URL, and package registry publish status.
@@ -0,0 +1,62 @@
1
+ # v4.7.2 Intuitive Brain UX Report
2
+
3
+ ## Scope
4
+
5
+ v4.7.2 focuses on the product question: can a normal user understand why Lattice
6
+ AI exists and operate the Brain without learning database, graph, or admin
7
+ jargon? The release does not redesign Brain Core, storage, APIs, model runtime,
8
+ backup/restore, portability, or the separated Admin Console.
9
+
10
+ ## Product Changes
11
+
12
+ - First-run login no longer auto-registers a new local account when the saved
13
+ Brain email differs or when the saved email has a wrong password.
14
+ - Recommended model setup now has a single primary action for users who do not
15
+ know which model to choose.
16
+ - Install/download messaging explains long-running model downloads honestly
17
+ without fabricated ETA.
18
+ - Brain home now exposes direct Memory, Topic, Relationship, and Graph actions.
19
+ - Brain Chat shows recent memories, older memories, major topics, and
20
+ saved-to-memory feedback after chat.
21
+
22
+ ## Collaboration Summary
23
+
24
+ pts_claudecode identified the highest-risk product gaps: empty-Brain creation
25
+ from login typo, graph-first mental model leakage, lack of direct topic/time
26
+ visibility, and model download trust problems. v4.7.2 addresses the parts that
27
+ fit a scoped release: safer login, direct Brain views, topic/memory overview,
28
+ and honest model setup copy. pts_grok did not return a channel review before
29
+ completion.
30
+
31
+ ## Evidence
32
+
33
+ Fresh v4.7.2 screenshots and walkthrough media are indexed in
34
+ [output/release/v4.7.2/SCREENSHOT_INDEX.md](../output/release/v4.7.2/SCREENSHOT_INDEX.md).
35
+
36
+ ## Validation Targets
37
+
38
+ - `npm run typecheck:frontend`
39
+ - `npm run lint`
40
+ - `npm run test:visual`
41
+ - `npm run test:unit`
42
+ - `npm run test:integration`
43
+ - `npm run release:artifacts`
44
+ - `npm run release:validate`
45
+
46
+ ## Expected Artifacts
47
+
48
+ - `dist/ltcai-4.7.2-py3-none-any.whl`
49
+ - `dist/ltcai-4.7.2.tar.gz`
50
+ - `dist/ltcai-4.7.2.vsix`
51
+ - `ltcai-4.7.2.tgz`
52
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.7.2_aarch64.dmg`
53
+
54
+ ## Remaining Technical Debt
55
+
56
+ - Admin Console still needs deeper role-based authorization workflows and
57
+ configurable log retention UI.
58
+ - Brain topic grouping is now visible, but backend topic clustering and a true
59
+ time-axis memory view should be promoted into first-class APIs next.
60
+ - AgentRuntime extraction should continue so user Brain state and admin
61
+ observability state remain architecturally separate beyond the frontend layer.
62
+