ltcai 5.5.0 → 6.0.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 (44) hide show
  1. package/README.md +43 -24
  2. package/docs/CHANGELOG.md +69 -0
  3. package/frontend/openapi.json +716 -3
  4. package/frontend/src/api/client.ts +119 -2
  5. package/frontend/src/api/openapi.ts +621 -4
  6. package/frontend/src/components/FirstRunGuide.tsx +3 -3
  7. package/frontend/src/features/review/ReviewCard.tsx +91 -0
  8. package/frontend/src/features/review/ReviewInbox.tsx +112 -0
  9. package/frontend/src/features/review/reviewHelpers.ts +69 -0
  10. package/frontend/src/i18n.ts +8 -8
  11. package/frontend/src/pages/Act.tsx +28 -3
  12. package/frontend/src/routes.ts +2 -0
  13. package/lattice_brain/__init__.py +1 -1
  14. package/lattice_brain/runtime/multi_agent.py +1 -1
  15. package/latticeai/__init__.py +1 -1
  16. package/latticeai/api/review_queue.py +162 -0
  17. package/latticeai/app_factory.py +235 -456
  18. package/latticeai/core/marketplace.py +1 -1
  19. package/latticeai/core/workspace_os.py +86 -1
  20. package/latticeai/runtime/app_context_runtime.py +13 -0
  21. package/latticeai/runtime/automation_runtime.py +64 -0
  22. package/latticeai/runtime/bootstrap.py +48 -0
  23. package/latticeai/runtime/context_runtime.py +43 -0
  24. package/latticeai/runtime/hooks_runtime.py +77 -0
  25. package/latticeai/runtime/lifespan_runtime.py +138 -0
  26. package/latticeai/runtime/persistence_runtime.py +87 -0
  27. package/latticeai/runtime/platform_services_runtime.py +39 -0
  28. package/latticeai/runtime/router_registration.py +570 -0
  29. package/latticeai/runtime/web_runtime.py +65 -0
  30. package/latticeai/services/review_queue.py +271 -0
  31. package/latticeai/services/run_executor.py +33 -0
  32. package/latticeai/services/triggers.py +30 -1
  33. package/package.json +1 -1
  34. package/src-tauri/Cargo.lock +1 -1
  35. package/src-tauri/Cargo.toml +1 -1
  36. package/src-tauri/tauri.conf.json +1 -1
  37. package/static/app/asset-manifest.json +5 -5
  38. package/static/app/assets/index-D2zafMYb.js +16 -0
  39. package/static/app/assets/index-D2zafMYb.js.map +1 -0
  40. package/static/app/assets/index-xRn29gI8.css +2 -0
  41. package/static/app/index.html +2 -2
  42. package/static/app/assets/index-C7vzwUjU.js +0 -16
  43. package/static/app/assets/index-C7vzwUjU.js.map +0 -1
  44. package/static/app/assets/index-HN4f2wbe.css +0 -2
package/README.md CHANGED
@@ -69,35 +69,42 @@ You need Lattice AI when:
69
69
  Choose the owner of the Brain. The profile is not a SaaS account by default; it
70
70
  is the local identity for the knowledge you keep.
71
71
 
72
- ![Login](output/release/v5.3.0/screenshots/01-login.png)
72
+ ![Login](output/release/v6.0.0/screenshots/01-login.png)
73
73
 
74
74
  ### 2. Environment Analysis
75
75
 
76
76
  See what kind of local AI experience this computer can support before choosing a
77
77
  model.
78
78
 
79
- ![Environment Analysis](output/release/v5.3.0/screenshots/02-environment-analysis.png)
79
+ ![Environment Analysis](output/release/v6.0.0/screenshots/02-environment-analysis.png)
80
80
 
81
81
  ### 3. Recommended Models
82
82
 
83
83
  Start with a short list: safest recommendation, faster model, stronger model.
84
84
  Advanced details stay available without overwhelming first-time users.
85
85
 
86
- ![Recommended Models](output/release/v5.3.0/screenshots/03-recommended-models.png)
86
+ ![Recommended Models](output/release/v6.0.0/screenshots/03-recommended-models.png)
87
87
 
88
88
  ### 4. Install And Load
89
89
 
90
90
  Download and load only after consent. Lattice explains model size, local
91
91
  execution, and network use before work starts.
92
92
 
93
- ![Install and Load](output/release/v5.3.0/screenshots/04-install-load-progress.png)
93
+ ![Install and Load](output/release/v6.0.0/screenshots/04-install-load-progress.png)
94
94
 
95
95
  ### 5. Brain Chat
96
96
 
97
97
  Talk normally. Useful decisions and context become memory, then appear later as
98
98
  topics, relationships, and graph structure.
99
99
 
100
- ![Brain Chat Home](output/release/v5.3.0/screenshots/05-brain-chat-home.png)
100
+ ![Brain Chat Home](output/release/v6.0.0/screenshots/05-brain-chat-home.png)
101
+
102
+ ### 6. Review Center
103
+
104
+ Automation results are staged for review before they become durable decisions.
105
+ Snooze, unsnooze, run now, approve, and dismiss actions stay explicit.
106
+
107
+ ![Review Center](output/release/v6.0.0/screenshots/13-review-center.png)
101
108
 
102
109
  ## Brain Depths
103
110
 
@@ -113,10 +120,10 @@ The user travels inward from everyday memory to deeper structure:
113
120
 
114
121
  Walkthrough:
115
122
 
116
- ![v5.3.0 Living Brain walkthrough](output/release/v5.3.0/gifs/v5.3.0-living-brain-walkthrough.gif)
123
+ ![v6.0.0 Living Brain walkthrough](output/release/v6.0.0/gifs/v6.0.0-living-brain-walkthrough.gif)
117
124
 
118
125
  Screenshot index and capture notes:
119
- [output/release/v5.3.0/SCREENSHOT_INDEX.md](output/release/v5.3.0/SCREENSHOT_INDEX.md)
126
+ [output/release/v6.0.0/SCREENSHOT_INDEX.md](output/release/v6.0.0/SCREENSHOT_INDEX.md)
120
127
 
121
128
  ## Install
122
129
 
@@ -193,23 +200,33 @@ See [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md) for developer workflow details.
193
200
 
194
201
  ## Current Release Preparation
195
202
 
196
- The current development target is **5.5.0 Release Coordination**:
197
-
198
- - Carries forward the v5.4.0 Brain Automation Scheduler as the release-ready
199
- baseline for the 5.5.0 line.
200
- - Keeps consent-first automation, TriggerService dedup/LATTICE_TZ/degraded
201
- behavior, and runtime graph cleanup intact.
202
- - Synchronizes Python, npm, VSIX, Tauri, runtime constants, lockfiles, and static
203
- metadata to 5.5.0.
204
- - Updates release documentation and artifact naming to exact 5.5.0 filenames.
205
-
206
- Expected artifacts for 5.5.0 release must use exact filenames:
207
-
208
- - `dist/ltcai-5.5.0-py3-none-any.whl`
209
- - `dist/ltcai-5.5.0.tar.gz`
210
- - `ltcai-5.5.0.tgz`
211
- - `dist/ltcai-5.5.0.vsix`
212
- - `src-tauri/target/release/bundle/dmg/Lattice AI_5.5.0_aarch64.dmg`
203
+ The current development target is **6.0.0 Product Reset / Review Center Completion**:
204
+
205
+ - Review Center now includes Pending, Snoozed, and All filters so users can find
206
+ deferred automation suggestions without waiting for expiry.
207
+ - `/automation/reviews` adds explicit `unsnooze` support while preserving
208
+ read-time snooze expiry and `run_now != approve` semantics.
209
+ - Review Center frontend code is split into `frontend/src/features/review/`
210
+ modules instead of living inside the Act page.
211
+ - Review item frontend types are derived from regenerated OpenAPI component
212
+ - schemas, and Review Center API calls use generated operation paths for list
213
+ and state-transition actions.
214
+ - `app_factory.py` is decomposed behind runtime seams for session, hooks, web
215
+ shell, persistence, lifespan, automation, context/search, platform services,
216
+ app context, and router registration while preserving the frozen 364-entry
217
+ route/mount snapshot.
218
+ - First-run copy now states the local-first trust boundary more directly:
219
+ knowledge stays on this computer by default, downloads/external transfer start
220
+ only after user action, and models remain replaceable.
221
+ - All package/runtime/static/OpenAPI versions are synchronized to 6.0.0.
222
+
223
+ Expected artifacts for 6.0.0 release must use exact filenames:
224
+
225
+ - `dist/ltcai-6.0.0-py3-none-any.whl`
226
+ - `dist/ltcai-6.0.0.tar.gz`
227
+ - `ltcai-6.0.0.tgz`
228
+ - `dist/ltcai-6.0.0.vsix`
229
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_6.0.0_aarch64.dmg`
213
230
 
214
231
  Do not upload `dist/*`. Package registry publishing remains owner-run.
215
232
 
@@ -228,6 +245,8 @@ Do not upload `dist/*`. Package registry publishing remains owner-run.
228
245
 
229
246
  | Version | Theme |
230
247
  | --- | --- |
248
+ | 6.0.0 | Product Reset / Review Center Completion: Snoozed filter, Unsnooze, OpenAPI-derived Review typing, Review feature extraction, v6 docs and scorecard |
249
+ | 5.6.0 | Brain Automation Review Center: workspace-scoped automation review inbox, source-aware provenance, guarded approve/dismiss/snooze/run_now actions, and Act Review tab |
231
250
  | 5.5.0 | Release Coordination: synchronized package/runtime/static versions and release docs for the 5.5.0 line while preserving v5.4.0 Brain Automation Scheduler behavior |
232
251
  | 5.4.0 | Brain Automation Scheduler: consent-first recipe drafts (Daily/Weekly/Follow-up), TriggerService with dedup/LATTICE_TZ/degraded, runtime graph cleanup, E2E scenarios |
233
252
  | 5.3.0 | Product Clarity and Runtime Cleanup: user-first README/onboarding, unified Digital Brain identity, legacy compatibility map, and app factory runtime seams |
package/docs/CHANGELOG.md CHANGED
@@ -3,6 +3,75 @@
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
+ ## [6.0.0] - 2026-06-15
7
+
8
+ > Product Reset / Review Center Completion. Raises the Review Center from a
9
+ > pending-only inbox into a reversible automation review surface while
10
+ > documenting the v6 quality uplift honestly.
11
+
12
+ ### Added
13
+ - Review Center status filters for Pending, Snoozed, and All.
14
+ - Explicit `POST /automation/reviews/{item_id}/unsnooze` API and backend policy.
15
+ - Frontend Unsnooze action and clear `snoozed_until` presentation.
16
+ - `docs/v6/PLAN.md`, `ARCHITECTURE_REVIEW.md`, `UX_REVIEW.md`, and
17
+ `QUALITY_SCORECARD.md`.
18
+
19
+ ### Changed
20
+ - Review Center frontend moved from `Act.tsx` into
21
+ `frontend/src/features/review/` components and helpers.
22
+ - Review item frontend types now alias generated OpenAPI component schemas.
23
+ - Review Center API calls now use generated OpenAPI operation paths for list,
24
+ approve, dismiss, snooze, unsnooze, and run_now actions.
25
+ - `app_factory.py` runtime assembly moved behind session, hooks, web,
26
+ persistence, lifespan, automation, context/search, platform service, app
27
+ context, and router-registration seams while preserving the frozen 364-entry
28
+ route/mount snapshot.
29
+ - First-run/onboarding copy now states local-first trust boundaries more
30
+ directly: local knowledge by default, explicit downloads, and explicit
31
+ external transfer.
32
+ - README release evidence screenshots and walkthrough GIF are refreshed under
33
+ `output/release/v6.0.0/`, including the Review Center surface.
34
+ - OpenAPI artifacts and synchronized package/runtime/static metadata now target
35
+ `6.0.0`.
36
+
37
+ ### Preserved
38
+ - `run_now` remains preview/regenerate and does not approve.
39
+ - Snooze expiry remains read-time only; explicit unsnooze is the only immediate
40
+ return-to-pending mutation.
41
+ - Package publishing, GitHub Release creation, artifact upload, and merge to
42
+ `main` remain out of scope for this branch.
43
+
44
+ ## [5.6.0] - 2026-06-15
45
+
46
+ > Brain Automation Review Center. Adds a workspace-scoped review inbox for
47
+ > automation output so scheduled runs and Brain-event suggestions land as
48
+ > inspectable items before the user approves, dismisses, snoozes, or reruns
49
+ > them.
50
+
51
+ ### Added
52
+ - Backend Review Queue service, store persistence, and `/automation/reviews`
53
+ API with explicit `source`, `status`, `effective_status`, payload, and
54
+ provenance fields.
55
+ - Review item actions: approve, dismiss, snooze, and run_now. `run_now` is a
56
+ preview/regenerate action and does not mark the item approved.
57
+ - Optional `review_queue: true` opt-in path for TriggerService and RunExecutor
58
+ to enqueue review items without changing legacy scheduler behavior.
59
+ - Act page Review inbox under Runs with source filtering, pending review cards,
60
+ provenance details, and guarded actions.
61
+
62
+ ### Changed
63
+ - Bumped synchronized Python, npm, VSIX, Tauri, runtime constants, lockfiles,
64
+ OpenAPI artifacts, and static metadata to `5.6.0`.
65
+ - Updated release documentation and artifact names for exact 5.6.0 release
66
+ preparation.
67
+
68
+ ### Preserved
69
+ - Snoozed items stay hidden until their `snoozed_until` time expires; expiry is
70
+ interpreted at read time through `effective_status` without scheduler mutation.
71
+ - Existing v5.4/v5.5 automation and workflow behavior remains compatible unless
72
+ a workflow explicitly opts into review queue creation.
73
+ - Package registry publishing and deployment remain owner-run only.
74
+
6
75
  ## [5.5.0] - 2026-06-15
7
76
 
8
77
  > Release Coordination. Synchronized package/runtime/static metadata and release