ltcai 4.2.0 → 4.3.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 (38) hide show
  1. package/README.md +26 -21
  2. package/docs/CHANGELOG.md +42 -0
  3. package/docs/V4_3_PORTABILITY_ARCHITECTURE.md +69 -0
  4. package/docs/V4_3_PRIVACY_AUDIT.md +60 -0
  5. package/docs/V4_3_PRODUCT_HARDENING_REPORT.md +53 -0
  6. package/docs/V4_3_VALIDATION_REPORT.md +58 -0
  7. package/docs/V4_DIGITAL_BRAIN_RECOVERY.md +25 -25
  8. package/frontend/openapi.json +203 -1
  9. package/frontend/src/api/client.ts +7 -0
  10. package/frontend/src/api/openapi.ts +258 -0
  11. package/frontend/src/pages/System.tsx +58 -0
  12. package/lattice_brain/__init__.py +1 -1
  13. package/lattice_brain/archive.py +360 -47
  14. package/latticeai/__init__.py +1 -1
  15. package/latticeai/api/admin.py +11 -0
  16. package/latticeai/api/portability.py +59 -2
  17. package/latticeai/app_factory.py +9 -0
  18. package/latticeai/core/config.py +1 -1
  19. package/latticeai/core/marketplace.py +1 -1
  20. package/latticeai/core/multi_agent.py +1 -1
  21. package/latticeai/core/product_hardening.py +217 -0
  22. package/latticeai/core/workspace_os.py +1 -1
  23. package/latticeai/services/kg_portability.py +147 -4
  24. package/ltcai_cli.py +2 -1
  25. package/package.json +3 -3
  26. package/scripts/clean_release_artifacts.mjs +27 -0
  27. package/scripts/lint_frontend.mjs +5 -0
  28. package/scripts/validate_release_artifacts.py +10 -0
  29. package/src-tauri/Cargo.lock +1 -1
  30. package/src-tauri/Cargo.toml +1 -1
  31. package/src-tauri/src/main.rs +113 -13
  32. package/src-tauri/tauri.conf.json +1 -1
  33. package/static/app/asset-manifest.json +5 -5
  34. package/static/app/assets/{index-C_HAkbAg.js → index-RiJTJliG.js} +3 -3
  35. package/static/app/assets/index-RiJTJliG.js.map +1 -0
  36. package/static/app/assets/{index-CDjiH_se.css → index-yZswHE3d.css} +1 -1
  37. package/static/app/index.html +2 -2
  38. 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.0 — Brain 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.0 RC Portability & Product Hardening
207
+
208
+ - **Portable `.latticebrain` archives** — encrypted archives now include the
209
+ brain DB, blobs, workspace state, settings, signed bundles, storage metadata,
210
+ provenance, and public device identity metadata.
211
+ - **Safe backup/restore flows** — archive inspect, verify, import, restore, and
212
+ restore dry-run are real API-backed operations; destructive restore requires
213
+ explicit admin confirmation.
214
+ - **Migration safety** — live SQLite-to-Postgres migration creates and verifies
215
+ a pre-migration backup before copying data.
216
+ - **Desktop hardening** — Tauri sidecar startup, status, restart, shutdown, and
217
+ loopback-only/default-off guards are hardened.
218
+ - **Privacy audit surface** token presence alone no longer enables Telegram or
219
+ external connectors; admin status reports storage, backup health, device
220
+ identity, permissions, and opt-in integration state.
221
+ - **Release hardening** exact-version validation covers wheel, sdist, npm tgz,
222
+ VSIX, and Tauri DMG artifacts.
223
+
224
+ See [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.0, 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,7 @@ 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.0.md](RELEASE_NOTES_v4.3.0.md)
290
294
  - [RELEASE_NOTES_v4.2.0.md](RELEASE_NOTES_v4.2.0.md)
291
295
  - [RELEASE_NOTES_v4.1.0.md](RELEASE_NOTES_v4.1.0.md)
292
296
  - [RELEASE_NOTES_v4.0.1.md](RELEASE_NOTES_v4.0.1.md)
@@ -301,6 +305,7 @@ For the deeper design, see [ARCHITECTURE.md](ARCHITECTURE.md) and
301
305
 
302
306
  | Version | Theme |
303
307
  | --- | --- |
308
+ | **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
309
  | **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
310
  | **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
311
  | **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/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.3.0] - 2026-06-12
4
+
5
+ > Portability & Product Hardening release candidate. v4.3.0 preserves the
6
+ > v4.2 Brain Core/storage architecture and adds user-safe portable archives,
7
+ > backup/restore hardening, desktop lifecycle status, and local-only privacy
8
+ > guards.
9
+
10
+ ### Added
11
+
12
+ - `.latticebrain` archive format v2 with encrypted graph DB, blobs, portable
13
+ JSON state, signed bundles, storage metadata, provenance, public device
14
+ identity metadata, manifest hashes, inspect, verify, import, restore, and
15
+ restore dry-run.
16
+ - FastAPI routes for archive inspect/verify/import, backup health, and admin
17
+ product-hardening status.
18
+ - Product-hardening status for local-only startup, storage mode, backup health,
19
+ device identity, import/export permissions, external integration opt-in state,
20
+ and fail-closed archive behavior.
21
+ - Tauri sidecar `backend_status`, `restart_backend`, and `shutdown_backend`
22
+ commands.
23
+ - Release cleaner and exact-version DMG validation.
24
+
25
+ ### Changed
26
+
27
+ - Telegram is disabled by default; token presence alone no longer enables any
28
+ external integration.
29
+ - SQLite-to-Postgres live migration creates and verifies a pre-migration backup
30
+ before copying data.
31
+ - System settings exposes `.latticebrain` export/inspect/verify/dry-run
32
+ restore/confirmed restore through real APIs.
33
+ - OpenAPI client regenerated with 318 paths.
34
+ - Synchronized package/runtime versions to `4.3.0`, including Tauri config and
35
+ `lattice_brain.__version__`.
36
+
37
+ ### Expected Artifacts
38
+
39
+ - `dist/ltcai-4.3.0-py3-none-any.whl`
40
+ - `dist/ltcai-4.3.0.tar.gz`
41
+ - `dist/ltcai-4.3.0.vsix`
42
+ - `ltcai-4.3.0.tgz`
43
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_4.3.0_aarch64.dmg`
44
+
3
45
  ## [4.2.0] - 2026-06-12
4
46
 
5
47
  > 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,28 @@
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.0 Portability/Product Hardening 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.0 RC)
13
+
14
+ **v4.3.0 hardens the v4.2 Brain Core/storage architecture into a portable,
15
+ user-safe desktop release candidate; implementation gaps remain empty.**
16
+ Latest implementation milestone: `.latticebrain` archive format v2 is the
17
+ primary portable brain format and carries encrypted graph DB, blobs, portable
18
+ JSON state, signed bundles, storage metadata, provenance, public device identity
19
+ metadata, manifest hashes, inspect, verify, import, restore, and dry-run restore.
20
+ Restore/import requires explicit confirmation unless dry-run. Live
21
+ SQLite-to-Postgres migration now creates and verifies a pre-migration backup
22
+ before copying data. Tauri exposes backend status/restart/shutdown and starts
23
+ the sidecar with loopback/default-off guards. Admin product hardening status
24
+ reports local-only startup posture, storage, backup health, device identity,
25
+ permissions, and opt-in external integration state.
26
+ The v4.3.0 RC process builds validated artifacts only. It does not tag, create a
27
+ GitHub Release, publish to PyPI, npm Registry, VS Code Marketplace, Open VSX, or
28
+ deploy to production targets.
29
+ v4.3.0 validation report: `docs/V4_3_VALIDATION_REPORT.md`.
29
30
  Remaining implementation gaps: **none**.
30
31
  Owner-only blockers: pptx history rewrite (requires force-push/owner decision)
31
32
  and consent-gated production embedder provisioning (silent default download is
@@ -33,13 +34,12 @@ not permitted).
33
34
 
34
35
  ## Remaining Gaps
35
36
 
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.
37
+ None. v4.3.0 preserves the already-empty v4.2.0 gap list and closes the
38
+ portability/product-hardening work: `.latticebrain` archives are verified,
39
+ inspectable, dry-runnable, and confirmation-gated; default startup is local-only
40
+ and token-inert; backup health and product hardening are admin-visible; release
41
+ artifact validation includes the exact Tauri DMG. Owner-only blockers above are
42
+ intentionally not implementation gaps.
43
43
 
44
44
  ## 1. Program Charter (from the user's v4.0.0 directive)
45
45