ltcai 8.0.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/README.md +33 -72
  2. package/docs/CHANGELOG.md +52 -874
  3. package/docs/DEVELOPMENT.md +26 -3
  4. package/docs/LEGACY_COMPATIBILITY.md +3 -1
  5. package/docs/TRUST_MODEL.md +26 -26
  6. package/docs/WHY_LATTICE.md +28 -25
  7. package/docs/kg-schema.md +6 -4
  8. package/lattice_brain/__init__.py +1 -1
  9. package/lattice_brain/embeddings.py +9 -1
  10. package/lattice_brain/graph/schema.py +6 -0
  11. package/lattice_brain/runtime/multi_agent.py +1 -1
  12. package/latticeai/__init__.py +1 -1
  13. package/latticeai/api/computer_use.py +2 -0
  14. package/latticeai/api/memory.py +13 -0
  15. package/latticeai/app_factory.py +43 -162
  16. package/latticeai/brain/__init__.py +1 -1
  17. package/latticeai/core/config.py +10 -0
  18. package/latticeai/core/local_embeddings.py +8 -0
  19. package/latticeai/core/marketplace.py +1 -1
  20. package/latticeai/core/mcp_registry.py +140 -1
  21. package/latticeai/core/tool_registry.py +10 -0
  22. package/latticeai/core/workspace_graph_trace.py +132 -0
  23. package/latticeai/core/workspace_memory.py +75 -0
  24. package/latticeai/core/workspace_os.py +135 -1283
  25. package/latticeai/core/workspace_os_utils.py +132 -0
  26. package/latticeai/core/workspace_permissions.py +99 -0
  27. package/latticeai/core/workspace_plugins.py +97 -0
  28. package/latticeai/core/workspace_runs.py +612 -0
  29. package/latticeai/core/workspace_skills.py +114 -0
  30. package/latticeai/core/workspace_snapshots.py +195 -0
  31. package/latticeai/core/workspace_timeline.py +107 -0
  32. package/latticeai/runtime/audit_runtime.py +64 -0
  33. package/latticeai/runtime/config_runtime.py +4 -0
  34. package/latticeai/runtime/sso_runtime.py +52 -0
  35. package/latticeai/services/architecture_readiness.py +6 -5
  36. package/latticeai/services/memory_service.py +215 -7
  37. package/latticeai/services/model_capability_registry.py +68 -0
  38. package/latticeai/services/model_engines.py +603 -0
  39. package/latticeai/services/model_loading.py +482 -0
  40. package/latticeai/services/model_recommendation.py +5 -0
  41. package/latticeai/services/model_runtime.py +146 -837
  42. package/latticeai/services/product_readiness.py +19 -18
  43. package/package.json +2 -2
  44. package/scripts/build_frontend_assets.mjs +11 -2
  45. package/src-tauri/Cargo.lock +1 -1
  46. package/src-tauri/Cargo.toml +1 -1
  47. package/src-tauri/tauri.conf.json +1 -1
  48. package/static/app/asset-manifest.json +11 -102
  49. package/static/app/assets/Act-D9jIknFd.js +1 -0
  50. package/static/app/assets/Brain-CFOtWbPN.js +321 -0
  51. package/static/app/assets/{Capture-B9Tlhzqr.js → Capture-Q4WYzwr5.js} +1 -2
  52. package/static/app/assets/Library-C5Q2yWee.js +1 -0
  53. package/static/app/assets/System-BLbjdr1_.js +1 -0
  54. package/static/app/assets/core-CwxXejkd.js +1 -2
  55. package/static/app/assets/index-BqammyNu.js +16 -0
  56. package/static/app/assets/index-ty1iGgZu.css +2 -0
  57. package/static/app/assets/primitives-Br8uSfZ4.js +1 -0
  58. package/static/app/assets/{textarea-BZk6ybp5.js → textarea-BnhNs1_X.js} +1 -2
  59. package/static/app/index.html +3 -10
  60. package/static/app/theme-boot.js +8 -0
  61. package/static/sw.js +1 -1
  62. package/tools/__init__.py +2 -1
  63. package/tools/computer.py +21 -0
  64. package/docs/CARRYOVER_AUDIT_v3.6.0.md +0 -61
  65. package/docs/HANDOVER_v3.6.0.md +0 -46
  66. package/docs/RUNTIME_HOOK_COVERAGE_v3.5.0.md +0 -56
  67. package/docs/RUNTIME_HOOK_COVERAGE_v3.6.0.md +0 -49
  68. package/docs/V2_ARCHITECTURE.md +0 -561
  69. package/docs/V3_2_AUDIT.md +0 -82
  70. package/docs/V3_BACKEND_ARCHITECTURE.md +0 -138
  71. package/docs/V3_FRONTEND.md +0 -140
  72. package/docs/V4_1_FRONTEND_ARCHITECTURE_REVIEW.md +0 -65
  73. package/docs/V4_1_FRONTEND_MIGRATION_REPORT.md +0 -70
  74. package/docs/V4_1_VALIDATION_REPORT.md +0 -47
  75. package/docs/V4_2_BRAIN_CORE_ARCHITECTURE.md +0 -97
  76. package/docs/V4_2_STORAGE_MIGRATION_REPORT.md +0 -91
  77. package/docs/V4_2_VALIDATION_REPORT.md +0 -89
  78. package/docs/V4_3_2_DEADCODE_AUDIT_REPORT.md +0 -174
  79. package/docs/V4_3_2_DOCUMENTATION_CLEANUP_REPORT.md +0 -81
  80. package/docs/V4_3_2_GITHUB_VERCEL_CHECK_REPORT.md +0 -75
  81. package/docs/V4_3_2_GRAPH_UX_REPORT.md +0 -48
  82. package/docs/V4_3_2_INDEPENDENT_AUDIT_PACKAGE.md +0 -209
  83. package/docs/V4_3_2_PRODUCT_POLISH_REPORT.md +0 -57
  84. package/docs/V4_3_2_SELF_AUDIT_REPORT.md +0 -63
  85. package/docs/V4_3_2_VALIDATION_REPORT.md +0 -97
  86. package/docs/V4_3_3_VALIDATION_REPORT.md +0 -46
  87. package/docs/V4_3_PORTABILITY_ARCHITECTURE.md +0 -69
  88. package/docs/V4_3_PRIVACY_AUDIT.md +0 -60
  89. package/docs/V4_3_PRODUCT_HARDENING_REPORT.md +0 -53
  90. package/docs/V4_3_VALIDATION_REPORT.md +0 -58
  91. package/docs/V4_4_0_EXTRACTION_REPORT.md +0 -239
  92. package/docs/V4_5_0_GEMMA_RUNTIME_COMPATIBILITY_REPORT.md +0 -49
  93. package/docs/V4_5_0_GRAPH_UX_REPORT.md +0 -34
  94. package/docs/V4_5_0_MODEL_RUNTIME_UX_REPORT.md +0 -40
  95. package/docs/V4_5_0_ONBOARDING_REPORT.md +0 -31
  96. package/docs/V4_5_0_PRODUCT_EXPERIENCE_RECOVERY_REPORT.md +0 -49
  97. package/docs/V4_5_0_VALIDATION_REPORT.md +0 -60
  98. package/docs/V4_5_1_GRAPH_EXPERIENCE_REPORT.md +0 -33
  99. package/docs/V4_5_1_MODEL_EXPERIENCE_REPORT.md +0 -37
  100. package/docs/V4_5_1_NAVIGATION_REPORT.md +0 -37
  101. package/docs/V4_5_1_ONBOARDING_REPORT.md +0 -29
  102. package/docs/V4_5_1_PRODUCT_REIMAGINING_REPORT.md +0 -61
  103. package/docs/V4_5_1_RC_ARTIFACTS.md +0 -44
  104. package/docs/V4_5_1_UX_REPORT.md +0 -45
  105. package/docs/V4_5_1_VALIDATION_REPORT.md +0 -55
  106. package/docs/V4_5_1_VISUAL_DESIGN_REPORT.md +0 -30
  107. package/docs/V4_6_0_LIVING_BRAIN_EXPERIENCE_REPORT.md +0 -72
  108. package/docs/V4_6_1_RELEASE_REFRESH_REPORT.md +0 -42
  109. package/docs/V4_7_0_ADMIN_SEPARATION_REPORT.md +0 -42
  110. package/docs/V4_7_1_ADMIN_OPERATIONS_REPORT.md +0 -49
  111. package/docs/V4_7_2_INTUITIVE_BRAIN_UX_REPORT.md +0 -62
  112. package/docs/V4_BRAIN_ARCHITECTURE.md +0 -322
  113. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +0 -555
  114. package/docs/V4_IMPLEMENTATION_PLAN.md +0 -470
  115. package/frontend/index.html +0 -24
  116. package/frontend/openapi.json +0 -15425
  117. package/frontend/src/App.tsx +0 -243
  118. package/frontend/src/api/client.ts +0 -580
  119. package/frontend/src/api/openapi.ts +0 -17892
  120. package/frontend/src/components/AdminAccessGate.tsx +0 -70
  121. package/frontend/src/components/FeedbackState.tsx +0 -45
  122. package/frontend/src/components/LanguageSwitcher.tsx +0 -23
  123. package/frontend/src/components/LivingBrain.tsx +0 -220
  124. package/frontend/src/components/ProductFlow.tsx +0 -171
  125. package/frontend/src/components/WorkspaceProfileSwitcher.tsx +0 -176
  126. package/frontend/src/components/onboarding/AnalysisScreen.tsx +0 -135
  127. package/frontend/src/components/onboarding/DownloadConsentPanel.tsx +0 -29
  128. package/frontend/src/components/onboarding/InstallScreen.tsx +0 -263
  129. package/frontend/src/components/onboarding/LanguageChooser.tsx +0 -23
  130. package/frontend/src/components/onboarding/LoginScreen.tsx +0 -131
  131. package/frontend/src/components/onboarding/ProductFlowScreens.tsx +0 -13
  132. package/frontend/src/components/onboarding/RecommendationScreen.tsx +0 -116
  133. package/frontend/src/components/onboarding/recommendationModel.ts +0 -189
  134. package/frontend/src/components/primitives.tsx +0 -392
  135. package/frontend/src/components/ui/badge.tsx +0 -27
  136. package/frontend/src/components/ui/button.tsx +0 -37
  137. package/frontend/src/components/ui/card.tsx +0 -22
  138. package/frontend/src/components/ui/input.tsx +0 -16
  139. package/frontend/src/components/ui/textarea.tsx +0 -16
  140. package/frontend/src/features/admin/AdminConsole.tsx +0 -334
  141. package/frontend/src/features/brain/BrainCarePanel.tsx +0 -254
  142. package/frontend/src/features/brain/BrainComposer.tsx +0 -85
  143. package/frontend/src/features/brain/BrainConversation.tsx +0 -688
  144. package/frontend/src/features/brain/BrainGraphLayer.tsx +0 -365
  145. package/frontend/src/features/brain/BrainHome.tsx +0 -624
  146. package/frontend/src/features/brain/BrainMemoryLayer.tsx +0 -45
  147. package/frontend/src/features/brain/BrainOverviewPanel.tsx +0 -149
  148. package/frontend/src/features/brain/BrainRelationshipLayer.tsx +0 -43
  149. package/frontend/src/features/brain/DepthEmergence.tsx +0 -53
  150. package/frontend/src/features/brain/brainData.ts +0 -246
  151. package/frontend/src/features/brain/graphLayout.ts +0 -37
  152. package/frontend/src/features/brain/types.ts +0 -150
  153. package/frontend/src/features/review/ReviewCard.tsx +0 -100
  154. package/frontend/src/features/review/ReviewInbox.tsx +0 -127
  155. package/frontend/src/features/review/reviewHelpers.ts +0 -69
  156. package/frontend/src/i18n.ts +0 -1303
  157. package/frontend/src/lib/utils.ts +0 -33
  158. package/frontend/src/main.tsx +0 -23
  159. package/frontend/src/pages/Act.tsx +0 -458
  160. package/frontend/src/pages/Ask.tsx +0 -14
  161. package/frontend/src/pages/Brain.tsx +0 -914
  162. package/frontend/src/pages/Capture.tsx +0 -258
  163. package/frontend/src/pages/Library.tsx +0 -486
  164. package/frontend/src/pages/System.tsx +0 -621
  165. package/frontend/src/routes.ts +0 -92
  166. package/frontend/src/store/appStore.ts +0 -94
  167. package/frontend/src/styles.css +0 -6579
  168. package/static/app/assets/Act-DOvf59ru.js +0 -2
  169. package/static/app/assets/Act-DOvf59ru.js.map +0 -1
  170. package/static/app/assets/Brain-C7_0mEiI.js +0 -322
  171. package/static/app/assets/Brain-C7_0mEiI.js.map +0 -1
  172. package/static/app/assets/Capture-B9Tlhzqr.js.map +0 -1
  173. package/static/app/assets/Library-BJPEEm5O.js +0 -2
  174. package/static/app/assets/Library-BJPEEm5O.js.map +0 -1
  175. package/static/app/assets/System-D6t9jo9V.js +0 -2
  176. package/static/app/assets/System-D6t9jo9V.js.map +0 -1
  177. package/static/app/assets/core-CwxXejkd.js.map +0 -1
  178. package/static/app/assets/index-C7g26IF6.css +0 -2
  179. package/static/app/assets/index-DbcEYJQ2.js +0 -17
  180. package/static/app/assets/index-DbcEYJQ2.js.map +0 -1
  181. package/static/app/assets/primitives-CD38lt4n.js +0 -2
  182. package/static/app/assets/primitives-CD38lt4n.js.map +0 -1
  183. package/static/app/assets/textarea-BZk6ybp5.js.map +0 -1
@@ -1,57 +0,0 @@
1
- # Lattice AI v4.3.2 Product Polish Report
2
-
3
- Date: 2026-06-13
4
-
5
- ## Scope
6
-
7
- v4.3.2 removes end-user polish debt from the React/Vite desktop SPA while
8
- preserving the v4.3.1 architecture and backend API contracts.
9
-
10
- ## Implemented
11
-
12
- - Added structured render primitives for nested runtime data, operation
13
- results, entity lists, and value previews.
14
- - Replaced normal product JSON dumps in Brain, Ask, Capture, Act, Library, and
15
- System with readable status panels and result cards.
16
- - Kept technical identifiers visible when they matter, especially for agents,
17
- storage, archive, and device identity records.
18
- - Added System archive import dry-run and confirmed import controls backed by
19
- existing `.latticebrain` archive APIs.
20
- - Improved System status for health, storage mode, backup health, device
21
- identity, Brain Network, hardening, security, admin, account, SSO, snapshots,
22
- activity, and settings.
23
- - Preserved honest unavailable states for optional models, Postgres, Docker,
24
- sqlite-vec, external integrations, and unavailable runtime actions.
25
- - Added app-level Tauri exit cleanup so the FastAPI sidecar is shut down on
26
- normal macOS quit.
27
-
28
- ## Files Touched
29
-
30
- - `frontend/src/components/primitives.tsx`
31
- - `frontend/src/pages/Brain.tsx`
32
- - `frontend/src/pages/Ask.tsx`
33
- - `frontend/src/pages/Capture.tsx`
34
- - `frontend/src/pages/Act.tsx`
35
- - `frontend/src/pages/Library.tsx`
36
- - `frontend/src/pages/System.tsx`
37
- - `src-tauri/src/main.rs`
38
- - `tests/visual/mock_server.cjs`
39
- - `tests/visual/v3.spec.js`
40
-
41
- ## Evidence
42
-
43
- - First startup: `output/audits/v4.3.2-rc/screenshots/01-first-startup.png`
44
- - Brain portability and backup: `output/audits/v4.3.2-rc/screenshots/06-brain-portability-backup.png`
45
- - System archive flows: `output/audits/v4.3.2-rc/screenshots/07-system-archive-flows.png`
46
- - System storage status: `output/audits/v4.3.2-rc/screenshots/08-system-storage-status.png`
47
- - Workflow create/run: `output/audits/v4.3.2-rc/screenshots/09-workflow-create-run.png`
48
- - Agent runtime status: `output/audits/v4.3.2-rc/screenshots/10-agent-runtime-status.png`
49
- - Brain Network and device identity: `output/audits/v4.3.2-rc/screenshots/11-brain-network-device-identity.png`
50
- - Library model status: `output/audits/v4.3.2-rc/screenshots/12-library-model-status.png`
51
- - Desktop sidecar startup: `output/audits/v4.3.2-rc/screenshots/13-desktop-sidecar-startup.png`
52
-
53
- ## Result
54
-
55
- PASS. The visible product surfaces are now readable, API-backed, and explicit
56
- about unavailable optional capabilities. No fake controls or demo-only screens
57
- were added.
@@ -1,63 +0,0 @@
1
- # Lattice AI v4.3.2 Self-Audit Report
2
-
3
- Date: 2026-06-13
4
-
5
- ## Method
6
-
7
- The audit used the built v4.3.2 product, not source-code claims. It started a
8
- local FastAPI backend with an isolated data directory, seeded a real document
9
- through the upload API, opened the React SPA, exercised product flows, captured
10
- screenshots/GIF evidence, launched the rebuilt Tauri app, and verified desktop
11
- sidecar startup/shutdown.
12
-
13
- ## Runtime Inputs
14
-
15
- - API base: `http://127.0.0.1:4932`
16
- - Audit data dir: `/tmp/lattice-v432-audit`
17
- - Desktop data dir: `/tmp/lattice-v432-desktop3`
18
- - Uploaded note: `/tmp/lattice-v432-files/v432-audit-note.md`
19
- - Archive path: `/tmp/lattice-v432-audit/self-audit.latticebrain`
20
-
21
- ## Observed Results
22
-
23
- | Scenario | Result | Evidence |
24
- | --- | --- | --- |
25
- | First startup | PASS | `output/audits/v4.3.2-rc/screenshots/01-first-startup.png` |
26
- | Graph exploration baseline | PASS | `output/audits/v4.3.2-rc/screenshots/02-graph-explorer-before.png` |
27
- | Graph search/collapse/focus | PASS | `output/audits/v4.3.2-rc/screenshots/03-graph-search.png`, `04-graph-collapse-group.png`, `05-graph-focus-neighborhood.png` |
28
- | Ask no-model honesty and graph context | PASS | `output/audits/v4.3.2-rc/screenshots/14-ask-context.png` |
29
- | Capture document ingestion | PASS | `output/audits/v4.3.2-rc/screenshots/15-capture-ingestion.png` |
30
- | Brain backup and graph portability | PASS | `output/audits/v4.3.2-rc/screenshots/06-brain-portability-backup.png` |
31
- | System archive export/inspect/verify/import/restore dry-run | PASS | `output/audits/v4.3.2-rc/screenshots/07-system-archive-flows.png` |
32
- | Storage and Postgres optional status | PASS | `output/audits/v4.3.2-rc/screenshots/08-system-storage-status.png` |
33
- | Workflow create/run surfaces | PASS | `output/audits/v4.3.2-rc/screenshots/09-workflow-create-run.png` |
34
- | Agent runtime availability | PASS | `output/audits/v4.3.2-rc/screenshots/10-agent-runtime-status.png` |
35
- | Brain Network and device identity | PASS | `output/audits/v4.3.2-rc/screenshots/11-brain-network-device-identity.png` |
36
- | Library model unavailable honesty | PASS | `output/audits/v4.3.2-rc/screenshots/12-library-model-status.png` |
37
- | Desktop sidecar startup | PASS | `output/audits/v4.3.2-rc/screenshots/13-desktop-sidecar-startup.png` |
38
- | Desktop sidecar shutdown | PASS | `output/audits/v4.3.2-rc/logs/desktop-shutdown-after-fix.txt` |
39
-
40
- ## Runtime Logs
41
-
42
- - Upload result: `output/audits/v4.3.2-rc/logs/upload-note.json`
43
- - README evidence upload: `output/audits/v4.3.2-rc/logs/readme-upload-note.json`
44
- - Graph after upload: `output/audits/v4.3.2-rc/logs/graph-after-upload.json`
45
- - Archive create: `output/audits/v4.3.2-rc/logs/archive-create.json`
46
- - Archive verify: `output/audits/v4.3.2-rc/logs/archive-verify.json`
47
- - Archive import dry-run: `output/audits/v4.3.2-rc/logs/archive-import-dry-run.json`
48
- - Storage: `output/audits/v4.3.2-rc/logs/storage.json`
49
- - Backup health: `output/audits/v4.3.2-rc/logs/backup-health-after-ui.json`
50
- - Workflow create: `output/audits/v4.3.2-rc/logs/workflow-create.json`
51
- - Browser automation results: `output/audits/v4.3.2-rc/logs/self-audit-browser-results.json`
52
- - Desktop health: `output/audits/v4.3.2-rc/logs/desktop-sidecar-health-after-shutdown-fix.json`
53
-
54
- ## Media
55
-
56
- - Graph walkthrough GIF: `output/audits/v4.3.2-rc/gifs/graph-product-walkthrough.gif`
57
- - Graph walkthrough video: `output/audits/v4.3.2-rc/videos/graph-product-walkthrough.webm`
58
-
59
- ## Result
60
-
61
- PASS. The observed product behavior supports the v4.3.2 RC claims. No placeholder
62
- or fake functionality was accepted as complete. Optional capabilities remain
63
- honestly unavailable unless their runtime dependencies and user consent exist.
@@ -1,97 +0,0 @@
1
- # Lattice AI v4.3.2 Validation Report
2
-
3
- Date: 2026-06-13
4
-
5
- ## Summary
6
-
7
- v4.3.2 validation is green for the implemented product polish, graph UX, desktop
8
- shutdown, exact-version release artifacts, and the release-prep documentation /
9
- Vercel static-build fixes.
10
-
11
- ## Release-Prep Fix Validation
12
-
13
- These checks were rerun after the README badge restore, diagram-first
14
- `ARCHITECTURE.md` rewrite, Vercel static-only configuration fix, and linked-doc
15
- cleanup.
16
-
17
- | Check | Result |
18
- | --- | --- |
19
- | `node -e "JSON.parse(require('fs').readFileSync('vercel.json','utf8'))"` | PASS |
20
- | `npm run vercel:build` | PASS, generated `vercel-static/index.html` |
21
- | `npm run docs:check-links` | PASS, README plus 15 README-linked Markdown files |
22
- | Mermaid structural sanity check for `ARCHITECTURE.md` | PASS, 13 Mermaid blocks; `mmdc` was not installed locally |
23
- | README badge link validation | PASS for PyPI, VS Code Marketplace, Open VSX, CI, license, and badge images; npm package page returned a CLI-only Cloudflare 403, so package identity was validated through `npm view ltcai` and `https://registry.npmjs.org/ltcai` |
24
- | Registry version check | PASS, PyPI/npm/VS Code Marketplace/Open VSX currently report `4.3.1`; README does not claim v4.3.2 external registry publication |
25
- | `node scripts/run_python.mjs -m pytest tests/unit/test_server_app_v14_decomposition.py::test_markdown_current_release_references_match_release tests/unit/test_truth_floor_t1_static.py::test_readme_does_not_overclaim_llm_driven_agents -v` | PASS, 2 passed |
26
- | `npm run lint` | PASS |
27
- | `npm pack --dry-run` | PASS, `ltcai-4.3.2.tgz`, 305 files, 2.9 MB |
28
- | `npx --yes vercel@54.12.2 build` | BLOCKED by local Vercel linkage only: `project_settings_required`; no `.vercel` project settings or credentials are present in this checkout. Static build/config validation above passed. |
29
-
30
- No product runtime code changed in this release-prep fix, and release artifacts
31
- were not rebuilt.
32
-
33
- ## Commands
34
-
35
- | Check | Result |
36
- | --- | --- |
37
- | `npm run check:python` | PASS, compiled 691 modules |
38
- | `node scripts/run_python.mjs -m ruff check .` | PASS |
39
- | `npm run lint` | PASS |
40
- | `npm run typecheck` | PASS |
41
- | `npm run test:unit` | PASS, 602 passed, 2 warnings |
42
- | `LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration` | PASS, 9 passed, 1 skipped |
43
- | `npm run test:visual` | PASS, 12 Playwright tests |
44
- | `npm run desktop:tauri:check` | PASS |
45
- | `npm run release:artifacts` | PASS |
46
- | `npm run release:validate` | PASS |
47
- | `node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.3.2-py3-none-any.whl` | PASS |
48
- | `npm pack --dry-run` | PASS |
49
- | Rebuilt desktop app startup/shutdown verification | PASS |
50
- | `npm run vercel:build` | PASS |
51
- | Markdown link check for README-linked docs | PASS |
52
-
53
- ## Artifact Validation
54
-
55
- Exact v4.3.2 artifacts were found:
56
-
57
- - `dist/ltcai-4.3.2-py3-none-any.whl`
58
- - `dist/ltcai-4.3.2.tar.gz`
59
- - `dist/ltcai-4.3.2.vsix`
60
- - `ltcai-4.3.2.tgz`
61
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.2_aarch64.dmg`
62
-
63
- The release validator warned that `dist/` also contains older historical
64
- artifacts. This is not a v4.3.2 artifact failure, but release uploads must use
65
- only the exact filenames above and never a wildcard over the `dist/` directory.
66
-
67
- ## Desktop Verification
68
-
69
- - The rebuilt Tauri app launched from
70
- `src-tauri/target/release/bundle/macos/Lattice AI.app/Contents/MacOS/lattice-ai-desktop`.
71
- - `/health` responded on `127.0.0.1:8765` with version `4.3.2`, local mode, and
72
- the isolated data dir `/tmp/lattice-v432-desktop3`.
73
- - Normal macOS quit released port 8765.
74
- - Evidence:
75
- - `output/audits/v4.3.2-rc/logs/desktop-sidecar-health-after-shutdown-fix.json`
76
- - `output/audits/v4.3.2-rc/logs/desktop-shutdown-after-fix.txt`
77
- - `output/audits/v4.3.2-rc/screenshots/13-desktop-sidecar-startup.png`
78
-
79
- ## Notes
80
-
81
- - The live Postgres migration test remained skipped because v4.3.2 did not
82
- request fresh Docker consent. Postgres remains optional and was not changed by
83
- this RC.
84
- - Wheel smoke emitted optional MLX warnings inside the isolated venv, then
85
- passed imports and `/health`.
86
- - Rust reported a future-incompatibility warning from transitive crate
87
- `block v0.1.6`; `cargo check` passed.
88
- - GitHub Actions for the v4.3.2 RC commit were green before release-prep doc
89
- cleanup: `CI` and `Visual Smoke` both completed successfully for
90
- `8f3d182ee81bb395722ebab792dfd70f35e19e96`.
91
- - Vercel config is intentionally documentation-only: it builds
92
- `vercel-static/index.html`, pins the Framework Preset to "Other", and does
93
- not attempt to auto-detect or host `server.py` / the desktop runtime.
94
-
95
- ## Result
96
-
97
- PASS. v4.3.2 RC artifacts and runtime behavior are validated.
@@ -1,46 +0,0 @@
1
- # Lattice AI v4.3.3 Validation Report
2
-
3
- Date: 2026-06-13
4
-
5
- v4.3.3 validation is green for the post-cleanup release tree. The release
6
- rebuilds exact-current-main artifacts after the independent dead-code,
7
- architecture, and runtime audit cleanup; v4.3.2 artifacts are intentionally not
8
- reused.
9
-
10
- ## Validation Results
11
-
12
- | Check | Result |
13
- | --- | --- |
14
- | `npm run check:python` | PASS, compiled 689 modules |
15
- | `node scripts/run_python.mjs -m ruff check .` | PASS |
16
- | `npm run lint` | PASS |
17
- | `npm run typecheck` | PASS, frontend TypeScript and VS Code extension build |
18
- | `npm run test:unit` | PASS, 602 tests |
19
- | `LTCAI_TEST_BASE_URL=http://127.0.0.1:4932 npm run test:integration` | PASS, 9 tests and 1 consent-gated Postgres migration test skipped |
20
- | `npm run test:visual` | PASS, 12 Playwright tests |
21
- | `npm run desktop:tauri:check` | PASS |
22
- | `npm run release:artifacts` | PASS |
23
- | `npm run release:validate` | PASS for exact v4.3.3 wheel, sdist, npm tgz, VSIX, and DMG |
24
- | `node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.3.3-py3-none-any.whl` | PASS, `/health` reported 4.3.3 |
25
- | `npm pack --dry-run` | PASS, `ltcai-4.3.3.tgz`, 292 files, 2.9 MB |
26
- | `node scripts/run_python.mjs -m twine check dist/ltcai-4.3.3-py3-none-any.whl dist/ltcai-4.3.3.tar.gz` | PASS |
27
- | `npm run docs:check-links` | PASS, README and 16 README-linked Markdown files |
28
- | `npm run vercel:build` | PASS, static placeholder generated for 4.3.3 |
29
-
30
- ## Artifacts
31
-
32
- | Artifact | SHA-256 |
33
- | --- | --- |
34
- | `dist/ltcai-4.3.3-py3-none-any.whl` | `716d0029a6053edacde13cad978f38e41a9c67b458eba37421ae5594e7b99948` |
35
- | `dist/ltcai-4.3.3.tar.gz` | `77c19e9ad3e0cea757265b707b6414aef53a9d132f0456b7f0c36bcf09ece6b4` |
36
- | `ltcai-4.3.3.tgz` | `fb29c81152fe13854e6c3ba07f5ba8b8b14f25eedbb1920600d05ef768bec044` |
37
- | `dist/ltcai-4.3.3.vsix` | `28f243dbea1d0c49f78eb09176ae5c1f95d0d8530e49a103664dd338e53eac88` |
38
- | `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.3_aarch64.dmg` | `e717a53f83762799a32e2fa1e23c9a6fd5b2b2221bb503d12e7940e57a3455a2` |
39
-
40
- ## Notes
41
-
42
- - `npm run release:validate` warned that historical artifacts remain in
43
- `dist/`; uploads must use only the exact v4.3.3 filenames above.
44
- - The live Postgres migration test remains skipped unless the owner explicitly
45
- sets Docker/Postgres consent for that destructive external dependency path.
46
- - External registry publishing was not attempted.
@@ -1,69 +0,0 @@
1
- # Lattice AI v4.3.0 Portability Architecture
2
-
3
- ## Scope
4
-
5
- v4.3.0 hardens the v4.2 Brain Core/storage architecture without redesigning it.
6
- The primary portable brain format is the encrypted `.latticebrain` archive.
7
- FastAPI remains the only boundary consumed by the frontend and desktop shell.
8
-
9
- ## `.latticebrain` Archive Format
10
-
11
- The archive is a JSON envelope with:
12
-
13
- - `format = latticebrain.encrypted`
14
- - `format_version = 2`
15
- - PBKDF2-HMAC-SHA256 key derivation metadata
16
- - AES-256-GCM cipher metadata
17
- - encrypted ZIP payload
18
- - payload SHA-256
19
- - non-secret manifest summary for inspection
20
-
21
- The encrypted payload contains:
22
-
23
- - `knowledge_graph.sqlite`
24
- - `blobs/` from the Knowledge Graph blob store
25
- - portable JSON state under `data/`
26
- - signed graph export bundles under `workspace_exports/`
27
- - `manifest.json` with entry hashes, section flags, storage metadata,
28
- public device identity metadata, provenance, and version.
29
-
30
- Private key material such as `device_identity.key` is deliberately excluded.
31
-
32
- ## Operations
33
-
34
- - Export: `POST /api/knowledge-graph/archive`
35
- - Inspect: `POST /api/knowledge-graph/archive/inspect`
36
- - Verify: `POST /api/knowledge-graph/archive/verify`
37
- - Import: `POST /api/knowledge-graph/archive/import`
38
- - Restore: `POST /api/knowledge-graph/archive/restore`
39
- - Backup health: `GET /api/knowledge-graph/backup-health`
40
-
41
- Restore/import fail closed unless the request is a dry run or includes
42
- `confirm: true`.
43
-
44
- ## Compatibility
45
-
46
- - v1 `.latticebrain` payloads that contain only DB/blob data remain restorable.
47
- - SQLite remains the default source and target.
48
- - Postgres scale-mode brains export through safe logical/archive semantics; the
49
- migration tooling still requires explicit DSN and does not silently fall back.
50
- - Existing Knowledge Graph JSON exports and ZIP backups remain supported.
51
-
52
- ## Integrity Policy
53
-
54
- Archives fail closed on:
55
-
56
- - bad passphrase
57
- - corrupt envelope
58
- - corrupt ZIP payload
59
- - payload SHA mismatch
60
- - missing brain database
61
- - manifest hash mismatch
62
- - unsupported future archive version
63
- - unsafe ZIP member paths
64
-
65
- ## User Safety
66
-
67
- Destructive restore operations require admin permission and explicit
68
- confirmation. Dry-run restore returns the target paths and payload sections
69
- without mutating user data.
@@ -1,60 +0,0 @@
1
- # Lattice AI v4.3.0 Privacy And Local-First Audit
2
-
3
- ## Default Startup
4
-
5
- Default local startup is loopback-only and local-first:
6
-
7
- - host: `127.0.0.1`
8
- - Telegram disabled
9
- - model autoload disabled in local mode
10
- - network CORS disabled
11
- - storage engine: SQLite
12
- - embedding provider: local hash fallback
13
- - Docker not auto-started
14
- - Postgres not required
15
- - updater checks disabled unless explicitly enabled
16
-
17
- ## Token Presence Policy
18
-
19
- Credentials alone do not enable outbound communication. The product-hardening
20
- status distinguishes `credential_present` from `enabled`.
21
-
22
- Audited integrations:
23
-
24
- - Telegram: requires `LATTICEAI_ENABLE_TELEGRAM=true`
25
- - Brain Network: peer push is explicit user/admin action; no automatic sync
26
- - Update checks: require `LATTICEAI_ENABLE_UPDATES=true`
27
- - Model downloads: require explicit load/autoload/user action
28
- - Docker setup: requires runtime consent
29
- - Postgres: requires explicit storage engine and DSN
30
- - External connectors: credentials are inert until connector enablement and
31
- invocation
32
-
33
- ## Tests
34
-
35
- Unit coverage proves:
36
-
37
- - default config is local-only
38
- - Telegram is disabled by default
39
- - Telegram token presence alone does not enable Telegram
40
- - cloud/API-token presence alone does not enable external connectors
41
- - product hardening status reports opt-in egress honestly
42
-
43
- ## Desktop Guardrails
44
-
45
- Tauri sidecar startup sets local-only environment overrides for the packaged
46
- backend. Desktop status commands expose missing backend/runtime failures as
47
- honest unavailable states.
48
-
49
- ## CLI Guardrails
50
-
51
- The CLI startup notification path now requires `LATTICEAI_ENABLE_TELEGRAM=true`;
52
- Telegram bot token and chat ID presence alone no longer starts a notification
53
- thread.
54
-
55
- ## Remaining Owner-Only Privacy Decisions
56
-
57
- - Package registry publication remains owner-only.
58
- - Production model downloads remain explicit user action or policy opt-in.
59
- - History rewrite for old binary assets remains owner-only because it requires a
60
- force push.
@@ -1,53 +0,0 @@
1
- # Lattice AI v4.3.0 Product Hardening Report
2
-
3
- ## Summary
4
-
5
- v4.3.0 turns the v4.2 Brain Core/storage release into a safer desktop product
6
- without changing the Brain Core, storage, frontend, agent, or workflow
7
- architecture.
8
-
9
- ## Desktop Shell
10
-
11
- - Tauri sidecar startup now records command, PID, origin, running state, and
12
- last error.
13
- - Tauri exposes `backend_status`, `restart_backend`, and `shutdown_backend`
14
- commands.
15
- - Sidecar startup forces loopback host, disables Telegram, disables autoloaded
16
- models, disables network CORS, and disables tunnels.
17
- - Missing Python or backend command failures are stored as actionable desktop
18
- status instead of being hidden.
19
-
20
- ## Backup And Restore
21
-
22
- - `.latticebrain` archive export/inspect/verify/import/restore is API-backed.
23
- - Backup health is exposed through FastAPI and the System settings view.
24
- - Restore dry-run verifies the archive and returns planned targets without
25
- mutation.
26
- - Restore/import requires explicit confirmation for destructive execution.
27
- - SQLite-to-Postgres live migration now creates and verifies a pre-migration
28
- SQLite backup before copying data.
29
-
30
- ## Admin Status
31
-
32
- `GET /admin/product-hardening` reports:
33
-
34
- - local-only startup posture
35
- - storage mode
36
- - backup health
37
- - public device identity metadata
38
- - external integration opt-in state
39
- - admin import/export/restore permissions
40
- - fail-closed behavior for archive and restore errors
41
-
42
- ## Release Packaging
43
-
44
- - Release artifact validation now checks the exact Tauri DMG path.
45
- - Release artifact build script cleans only target-version outputs before
46
- rebuilding.
47
- - Historical artifacts remain visible so wildcard upload mistakes from `dist`
48
- are still detectable.
49
-
50
- ## Registry Policy
51
-
52
- v4.3.0 RC work builds and validates artifacts only. It does not publish to PyPI,
53
- npm Registry, VS Code Marketplace, Open VSX, or any other external registry.
@@ -1,58 +0,0 @@
1
- # Lattice AI v4.3.0 Validation Report
2
-
3
- > Status: passed for v4.3.0 RC artifacts on 2026-06-12. No package registry,
4
- > marketplace, GitHub Release, or tag publish was performed.
5
-
6
- ## Target Artifacts
7
-
8
- - `dist/ltcai-4.3.0-py3-none-any.whl`
9
- - `dist/ltcai-4.3.0.tar.gz`
10
- - `ltcai-4.3.0.tgz`
11
- - `dist/ltcai-4.3.0.vsix`
12
- - `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.0_aarch64.dmg`
13
-
14
- ## Validation Matrix
15
-
16
- | Gate | Command | Result |
17
- | --- | --- | --- |
18
- | Python compile check | `npm run check:python` | PASS — compiled 238 modules |
19
- | Ruff | `node scripts/run_python.mjs -m ruff check .` | PASS |
20
- | Unit tests | `npm run test:unit` | PASS — 598 passed, 2 warnings |
21
- | Integration tests | `LTCAI_TEST_BASE_URL=http://127.0.0.1:8899 npm run test:integration` | PASS — 9 passed, 1 skipped; backend was started on loopback with tunnel, Telegram, autoload, and network CORS disabled |
22
- | Frontend lint | `npm run lint:frontend` | PASS — frontend TS, no-CDN scan, OpenAPI path guard; 318 paths |
23
- | TypeScript typecheck | `npm run typecheck` | PASS — frontend and VS Code extension build |
24
- | Playwright visual/offline | `npm run test:visual` | PASS — 12 passed |
25
- | Tauri check | `npm run desktop:tauri:check` | PASS |
26
- | Tauri build | `npm run release:artifacts` | PASS — built app and DMG through `desktop:tauri:build` |
27
- | Archive export/import/restore | `tests/unit/test_v42_brain_storage.py`, `tests/unit/test_kg_portability.py` | PASS |
28
- | Backup/restore corruption | `tests/unit/test_kg_portability.py` | PASS |
29
- | Signature/version mismatch | `tests/unit/test_v42_brain_storage.py`, `tests/unit/test_t8_brain_network.py` | PASS |
30
- | Default startup no-network | `tests/unit/test_config.py`, `tests/unit/test_v43_product_hardening.py`, `tests/unit/test_v43_cli_privacy.py`, integration startup banner | PASS |
31
- | Release artifact validation | `npm run release:validate` | PASS — exact 4.3.0 files found; warning retained for historical artifacts in `dist/` |
32
- | Wheel smoke | `node scripts/run_python.mjs scripts/wheel_smoke.py --wheel dist/ltcai-4.3.0-py3-none-any.whl` | PASS |
33
- | npm pack dry-run | `npm pack --dry-run` | PASS |
34
-
35
- ## Artifact Hashes
36
-
37
- | Artifact | SHA-256 |
38
- | --- | --- |
39
- | `dist/ltcai-4.3.0-py3-none-any.whl` | `c6fb5457bff312ebf694ccf83e53f82124de2b6d83f7f988a4f672b39475cf27` |
40
- | `dist/ltcai-4.3.0.tar.gz` | `c7830b7db62ea0e6e7de2107f3c0903d17546cf9bfa199596fdb930d372a0aaf` |
41
- | `dist/ltcai-4.3.0.vsix` | `939a2839f2b5551136df14321fbfe3da0460e35f76be3a1fea5306628c640df0` |
42
- | `ltcai-4.3.0.tgz` | `e4c94d6331482dd913525c24198d95fef693667a85df88b73548ec281ac1cb16` |
43
- | `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.0_aarch64.dmg` | `bda5020dd556cd918cc3ef448468f175934e95ab4a7665a37db195faac7fc5fb` |
44
-
45
- ## Notes
46
-
47
- - The v4.2 live Docker/pgvector integration test was skipped because no v4.3
48
- Docker consent was requested for this release-candidate validation pass.
49
- - A direct `npm run test:integration` without a live server fails by design; the
50
- passing run above used the documented `LTCAI_TEST_BASE_URL` against an
51
- isolated loopback server.
52
- - Tauri/Cargo emitted a dependency future-incompatibility warning for `block
53
- v0.1.6`; it did not fail `cargo check` or the release build.
54
-
55
- ## Registry Policy
56
-
57
- No PyPI, npm Registry, VS Code Marketplace, Open VSX, or other external
58
- registry publish is part of this RC.