ltcai 4.2.0 → 4.3.1

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 (51) hide show
  1. package/README.md +28 -21
  2. package/bin/ltcai.js +6 -2
  3. package/docs/CHANGELOG.md +72 -0
  4. package/docs/V4_3_PORTABILITY_ARCHITECTURE.md +69 -0
  5. package/docs/V4_3_PRIVACY_AUDIT.md +60 -0
  6. package/docs/V4_3_PRODUCT_HARDENING_REPORT.md +53 -0
  7. package/docs/V4_3_VALIDATION_REPORT.md +58 -0
  8. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +19 -25
  9. package/frontend/openapi.json +213 -1
  10. package/frontend/src/App.tsx +15 -1
  11. package/frontend/src/api/client.ts +26 -1
  12. package/frontend/src/api/openapi.ts +268 -0
  13. package/frontend/src/pages/Act.tsx +63 -2
  14. package/frontend/src/pages/Library.tsx +9 -3
  15. package/frontend/src/pages/System.tsx +58 -0
  16. package/lattice_brain/__init__.py +1 -1
  17. package/lattice_brain/archive.py +360 -47
  18. package/lattice_brain/storage/sqlite.py +15 -2
  19. package/latticeai/__init__.py +1 -1
  20. package/latticeai/api/admin.py +11 -0
  21. package/latticeai/api/agents.py +3 -1
  22. package/latticeai/api/models.py +66 -18
  23. package/latticeai/api/portability.py +59 -2
  24. package/latticeai/app_factory.py +9 -0
  25. package/latticeai/brain/projection.py +12 -2
  26. package/latticeai/brain/retrieval.py +10 -0
  27. package/latticeai/brain/store.py +6 -1
  28. package/latticeai/core/config.py +4 -2
  29. package/latticeai/core/marketplace.py +1 -1
  30. package/latticeai/core/multi_agent.py +1 -1
  31. package/latticeai/core/product_hardening.py +218 -0
  32. package/latticeai/core/workspace_os.py +1 -1
  33. package/latticeai/services/agent_runtime.py +52 -12
  34. package/latticeai/services/kg_portability.py +147 -4
  35. package/latticeai/services/model_runtime.py +83 -2
  36. package/ltcai_cli.py +16 -4
  37. package/package.json +5 -4
  38. package/requirements.txt +17 -0
  39. package/scripts/clean_release_artifacts.mjs +27 -0
  40. package/scripts/lint_frontend.mjs +5 -0
  41. package/scripts/validate_release_artifacts.py +10 -0
  42. package/src-tauri/Cargo.lock +1 -1
  43. package/src-tauri/Cargo.toml +1 -1
  44. package/src-tauri/src/main.rs +356 -24
  45. package/src-tauri/tauri.conf.json +20 -1
  46. package/static/app/asset-manifest.json +5 -5
  47. package/static/app/assets/{index-C_HAkbAg.js → index-BhPuj8rT.js} +45 -45
  48. package/static/app/assets/index-BhPuj8rT.js.map +1 -0
  49. package/static/app/assets/{index-CDjiH_se.css → index-yZswHE3d.css} +1 -1
  50. package/static/app/index.html +2 -2
  51. package/static/app/assets/index-C_HAkbAg.js.map +0 -1
package/README.md CHANGED
@@ -203,32 +203,31 @@ npm run dev
203
203
 
204
204
  ## Latest Release
205
205
 
206
- ### v4.2.0Brain Core & Storage Rebuild
207
-
208
- - **Independent Brain Core package** — `lattice_brain` exposes the Knowledge
209
- Graph, durable conversations, memory/context, signed exchange, archives, and
210
- storage tools for FastAPI, CLI, tests, and future tools.
211
- - **Pluggable storage layer** — `StorageEngine`, `SQLiteEngine`, and
212
- `PostgresEngine` give the backend an explicit storage boundary. SQLite stays
213
- the default.
214
- - **Honest vector search** sqlite-vec is detected when available; otherwise
215
- the real local hash-embedding cosine path remains active and reported.
216
- - **Postgres scale mode** pgvector setup and SQLite-to-Postgres migration are
217
- opt-in. Live Docker validation covers migration integrity, idempotence, and
218
- pgvector distance search. Explicit Postgres selection fails loudly when
219
- DSN/dependencies are missing; it never hides failure with a SQLite fallback.
220
- - **Consent-gated Docker setup** — Docker Compose setup is generated locally
221
- and only starts Docker after explicit user consent.
222
- - **Encrypted `.latticebrain` archives** — local encrypted backup/restore over
223
- the brain DB and blobs, with bad passphrases failing closed.
224
-
225
- See [RELEASE_NOTES_v4.2.0.md](RELEASE_NOTES_v4.2.0.md),
206
+ ### v4.3.1 RC End-User Audit Repair
207
+
208
+ - **Desktop startup repair** — Tauri launches a visible app, resolves the
209
+ FastAPI sidecar from installed or bundled runtime paths, reports sidecar
210
+ status, and shuts it down on close.
211
+ - **Clean npm install repair** — npm bootstrap ships the required Python
212
+ requirements file and fails honestly if dependencies cannot be installed.
213
+ - **No default outbound model work** — Model Load refuses implicit downloads or
214
+ runtime installs unless the user gives explicit download/install consent.
215
+ - **Honest Act surfaces** agent simulation is not recorded as real success,
216
+ and workflow create/import/export/run controls call the existing workflow API.
217
+ - **Storage/portability honesty** sqlite-vec fallback, Postgres dependency
218
+ status, configured ports, and `.latticebrain` bundle sections match runtime
219
+ behavior.
220
+ - **Release hardening** — exact-version validation covers wheel, sdist, npm tgz,
221
+ VSIX, and Tauri DMG artifacts.
222
+
223
+ See [RELEASE_NOTES_v4.3.1.md](RELEASE_NOTES_v4.3.1.md),
224
+ [RELEASE_NOTES_v4.3.0.md](RELEASE_NOTES_v4.3.0.md),
226
225
  [docs/kg-schema.md](docs/kg-schema.md),
227
226
  [FEATURE_STATUS.md](FEATURE_STATUS.md).
228
227
 
229
228
  ## How it works — every source converges into the graph
230
229
 
231
- As of v4.2.0, data sources flow through the brain ingestion pipeline into
230
+ As of v4.3.1, data sources flow through the brain ingestion pipeline into
232
231
  the Knowledge Graph — no source bypasses it, none becomes an isolated silo:
233
232
 
234
233
  ```text
@@ -263,6 +262,10 @@ For the deeper design, see [ARCHITECTURE.md](ARCHITECTURE.md) and
263
262
 
264
263
  - [ARCHITECTURE.md](ARCHITECTURE.md) — workspace, graph, pipeline, and model overview
265
264
  - [docs/architecture.md](docs/architecture.md) — full architecture reference
265
+ - [docs/V4_3_PORTABILITY_ARCHITECTURE.md](docs/V4_3_PORTABILITY_ARCHITECTURE.md) — v4.3.0 portable brain archive architecture
266
+ - [docs/V4_3_PRODUCT_HARDENING_REPORT.md](docs/V4_3_PRODUCT_HARDENING_REPORT.md) — v4.3.0 desktop/product hardening report
267
+ - [docs/V4_3_PRIVACY_AUDIT.md](docs/V4_3_PRIVACY_AUDIT.md) — v4.3.0 privacy and local-first audit
268
+ - [docs/V4_3_VALIDATION_REPORT.md](docs/V4_3_VALIDATION_REPORT.md) — v4.3.0 validation report
266
269
  - [docs/V4_2_BRAIN_CORE_ARCHITECTURE.md](docs/V4_2_BRAIN_CORE_ARCHITECTURE.md) — v4.2.0 Brain Core package and storage architecture
267
270
  - [docs/V4_2_STORAGE_MIGRATION_REPORT.md](docs/V4_2_STORAGE_MIGRATION_REPORT.md) — v4.2.0 storage migration and archive report
268
271
  - [docs/V4_2_VALIDATION_REPORT.md](docs/V4_2_VALIDATION_REPORT.md) — v4.2.0 validation report
@@ -287,6 +290,8 @@ For the deeper design, see [ARCHITECTURE.md](ARCHITECTURE.md) and
287
290
  ### Releases
288
291
 
289
292
  - [RELEASE_NOTES.md](RELEASE_NOTES.md) — current release notes
293
+ - [RELEASE_NOTES_v4.3.1.md](RELEASE_NOTES_v4.3.1.md)
294
+ - [RELEASE_NOTES_v4.3.0.md](RELEASE_NOTES_v4.3.0.md)
290
295
  - [RELEASE_NOTES_v4.2.0.md](RELEASE_NOTES_v4.2.0.md)
291
296
  - [RELEASE_NOTES_v4.1.0.md](RELEASE_NOTES_v4.1.0.md)
292
297
  - [RELEASE_NOTES_v4.0.1.md](RELEASE_NOTES_v4.0.1.md)
@@ -301,6 +306,8 @@ For the deeper design, see [ARCHITECTURE.md](ARCHITECTURE.md) and
301
306
 
302
307
  | Version | Theme |
303
308
  | --- | --- |
309
+ | **4.3.1** | End-User Audit Repair RC — desktop sidecar startup, npm clean install, default-off model downloads, honest agent/workflow unavailable states, configured port reporting, storage/portable archive honesty |
310
+ | **4.3.0** | Portability & Product Hardening RC — portable `.latticebrain` archives, confirmed restore/import, pre-migration backup verification, Tauri sidecar hardening, local-only/default-off integration guards, exact-version DMG validation |
304
311
  | **4.2.0** | Brain Core & Storage Rebuild — independent `lattice_brain` package, pluggable storage layer, sqlite-vec/pgvector capability reporting, explicit Postgres migration, consent-gated Docker setup, encrypted `.latticebrain` archives |
305
312
  | **4.1.0** | Frontend & Desktop Rebuild RC — React/Vite/OpenAPI desktop SPA, Tauri 2.0 primary shell, graph-first navigation, and legacy static frontend removal |
306
313
  | **4.0.1** | Digital Brain Platform maintenance — closes post-tag v4 gaps with durable async runs, stable identity/workspace state, full `/app` parity, and legacy UI retirement |
package/bin/ltcai.js CHANGED
@@ -60,9 +60,13 @@ function ensureManagedPython() {
60
60
 
61
61
  if (!canImport(managedPython, "fastapi")) {
62
62
  const requirements = path.join(root, "requirements.txt");
63
+ if (!fs.existsSync(requirements)) {
64
+ console.error(`[LTCAI] Missing ${requirements}. The npm package is incomplete and cannot start the Python server.`);
65
+ process.exit(1);
66
+ }
63
67
  console.log("[LTCAI] Installing Python dependencies. This can take a few minutes on first run.");
64
- if (!runSync(managedPython, ["-m", "pip", "install", "--upgrade", "pip"])) return null;
65
- if (!runSync(managedPython, ["-m", "pip", "install", "-r", requirements])) return null;
68
+ if (!runSync(managedPython, ["-m", "pip", "install", "--upgrade", "pip"])) process.exit(1);
69
+ if (!runSync(managedPython, ["-m", "pip", "install", "-r", requirements])) process.exit(1);
66
70
  }
67
71
 
68
72
  return managedPython;
package/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,77 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.1] - 2026-06-12
4
+
5
+ > End-user audit repair release candidate for v4.3.0 artifacts.
6
+
7
+ ### Fixed
8
+
9
+ - Tauri desktop startup now launches a visible shell, resolves the FastAPI
10
+ sidecar through installed or bundled runtime paths, reports backend status,
11
+ writes sidecar logs, and shuts down the child process on close.
12
+ - npm clean install now ships `requirements.txt` and fails honestly when Python
13
+ dependency bootstrap cannot complete.
14
+ - Model Load refuses implicit runtime installation and model downloads by
15
+ default, returning actionable unavailable states instead of hanging or making
16
+ unauthorized outbound requests.
17
+ - Agent runtime API refuses simulation-mode execution when no LLM-backed model
18
+ is loaded, preventing fake success records.
19
+ - Workflow UI exposes real create, import, export, and run paths backed by the
20
+ existing workflow API.
21
+ - Runtime version labels, configured port reporting, SSO default redirect URI,
22
+ Postgres dependency status, sqlite-vec fallback reporting, and `.latticebrain`
23
+ bundle claims now match observed behavior.
24
+
25
+ ### Artifacts
26
+
27
+ - `dist/ltcai-4.3.1-py3-none-any.whl`
28
+ - `dist/ltcai-4.3.1.tar.gz`
29
+ - `dist/ltcai-4.3.1.vsix`
30
+ - `ltcai-4.3.1.tgz`
31
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.1_aarch64.dmg`
32
+
33
+ ## [4.3.0] - 2026-06-12
34
+
35
+ > Portability & Product Hardening release candidate. v4.3.0 preserves the
36
+ > v4.2 Brain Core/storage architecture and adds user-safe portable archives,
37
+ > backup/restore hardening, desktop lifecycle status, and local-only privacy
38
+ > guards.
39
+
40
+ ### Added
41
+
42
+ - `.latticebrain` archive format v2 with encrypted graph DB, blobs, portable
43
+ JSON state, workspace export bundles when present, storage metadata,
44
+ provenance, public device identity metadata, manifest hashes, inspect,
45
+ verify, import, restore, and restore dry-run.
46
+ - FastAPI routes for archive inspect/verify/import, backup health, and admin
47
+ product-hardening status.
48
+ - Product-hardening status for local-only startup, storage mode, backup health,
49
+ device identity, import/export permissions, external integration opt-in state,
50
+ and fail-closed archive behavior.
51
+ - Tauri sidecar `backend_status`, `restart_backend`, and `shutdown_backend`
52
+ commands.
53
+ - Release cleaner and exact-version DMG validation.
54
+
55
+ ### Changed
56
+
57
+ - Telegram is disabled by default; token presence alone no longer enables any
58
+ external integration.
59
+ - SQLite-to-Postgres live migration creates and verifies a pre-migration backup
60
+ before copying data.
61
+ - System settings exposes `.latticebrain` export/inspect/verify/dry-run
62
+ restore/confirmed restore through real APIs.
63
+ - OpenAPI client regenerated with 318 paths.
64
+ - Synchronized package/runtime versions to `4.3.0`, including Tauri config and
65
+ `lattice_brain.__version__`.
66
+
67
+ ### Expected Artifacts
68
+
69
+ - `dist/ltcai-4.3.0-py3-none-any.whl`
70
+ - `dist/ltcai-4.3.0.tar.gz`
71
+ - `dist/ltcai-4.3.0.vsix`
72
+ - `ltcai-4.3.0.tgz`
73
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.0_aarch64.dmg`
74
+
3
75
  ## [4.2.0] - 2026-06-12
4
76
 
5
77
  > Brain Core & Storage Rebuild release. The backend Digital Brain boundary is
@@ -0,0 +1,69 @@
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.
@@ -0,0 +1,60 @@
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.
@@ -0,0 +1,53 @@
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 `dist/*` upload mistakes are still
48
+ 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.
@@ -0,0 +1,58 @@
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.
@@ -5,27 +5,22 @@
5
5
  > completed analysis. **Update this file before ending any phase and before any
6
6
  > likely session/context/usage limit.**
7
7
  >
8
- > Last updated: 2026-06-12 — v4.2.0 Brain Core/storage release; Remaining Gaps remain empty
8
+ > Last updated: 2026-06-12 — v4.3.1 End-User Audit Repair RC; Remaining Gaps remain empty
9
9
 
10
10
  ---
11
11
 
12
- ## 0. RELEASE STATUS (v4.2.0)
13
-
14
- **v4.2.0 extracts Brain Core into `lattice_brain` and adds the pluggable
15
- storage layer on top of `main` after v4.1.0; implementation gaps remain empty.**
16
- Latest implementation milestone: FastAPI now constructs the Knowledge Graph and
17
- durable conversation runtime through `lattice_brain.BrainCore`. The new
18
- `lattice_brain.storage` package provides `StorageEngine`, `SQLiteEngine`,
19
- `PostgresEngine`, explicit-consent Docker Postgres setup, SQLite-to-Postgres
20
- migration tooling, sqlite-vec capability reporting with honest cosine fallback,
21
- and encrypted `.latticebrain` archive create/restore. Owner-granted Docker
22
- validation covered live `pgvector/pgvector:pg16` migration integrity,
23
- rowid-less FTS5 shadow tables, idempotent reruns, pgvector distance search,
24
- and fail-closed Postgres behavior.
25
- The v4.2.0 release process builds validated artifacts, tags `v4.2.0`, and
26
- creates a GitHub Release only. It does not publish to PyPI, npm Registry,
27
- VS Code Marketplace, Open VSX, or deploy to production targets.
28
- v4.2.0 validation report: `docs/V4_2_VALIDATION_REPORT.md`.
12
+ ## 0. RELEASE STATUS (v4.3.1 RC)
13
+
14
+ **v4.3.1 repairs the v4.3.0 end-user audit blockers without redesigning the
15
+ Digital Brain frontend, Brain Core, storage, or agent/workflow architecture.**
16
+ Latest implementation milestone: desktop sidecar startup/status/shutdown,
17
+ npm clean install bootstrap, default-off model downloads/engine installs,
18
+ agent simulation refusal, workflow create/import/export/run UI, configured
19
+ port reporting, Postgres dependency status, sqlite-vec fallback honesty, and
20
+ `.latticebrain` bundle-section claims now match observed runtime behavior.
21
+ The v4.3.1 RC process builds validated artifacts only. It does not tag, create a
22
+ GitHub Release, publish to PyPI, npm Registry, VS Code Marketplace, Open VSX, or
23
+ deploy to production targets.
29
24
  Remaining implementation gaps: **none**.
30
25
  Owner-only blockers: pptx history rewrite (requires force-push/owner decision)
31
26
  and consent-gated production embedder provisioning (silent default download is
@@ -33,13 +28,12 @@ not permitted).
33
28
 
34
29
  ## Remaining Gaps
35
30
 
36
- None. v4.2.0 closes the backend Brain Core/storage rebuild on top of the
37
- already-empty v4.1.0 gap list: `lattice_brain` is the independent package
38
- boundary, SQLite remains the default engine, Postgres/pgvector is opt-in and
39
- honestly unavailable when dependencies or DSN are missing, Docker setup is
40
- consent-gated, migration planning is non-destructive, and encrypted
41
- `.latticebrain` archives round-trip the SQLite brain DB plus blobs. Owner-only
42
- blockers above are intentionally not implementation gaps.
31
+ None. v4.3.1 preserves the already-empty v4.3.0 gap list and closes the audit
32
+ repair work: desktop sidecar startup is visible/statused, npm clean install is
33
+ packaged, Model Load is local-only by default, agent simulation is refused as a
34
+ product success state, workflows have real create/import/export/run paths, and
35
+ storage/archive status surfaces are honest. Owner-only blockers above are
36
+ intentionally not implementation gaps.
43
37
 
44
38
  ## 1. Program Charter (from the user's v4.0.0 directive)
45
39