ltcai 12.1.0 → 12.2.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 (77) hide show
  1. package/README.md +86 -88
  2. package/docs/CHANGELOG.md +48 -4
  3. package/docs/CI_AND_RELEASE_GATES.md +7 -4
  4. package/docs/COMMUNITY_AND_PLUGINS.md +1 -1
  5. package/docs/DEVELOPMENT.md +11 -11
  6. package/docs/ONBOARDING.md +1 -1
  7. package/docs/OPERATIONS.md +1 -1
  8. package/docs/ROADMAP.md +8 -8
  9. package/docs/TRUST_MODEL.md +2 -2
  10. package/docs/WHY_LATTICE.md +1 -1
  11. package/docs/kg-schema.md +1 -1
  12. package/lattice_brain/__init__.py +1 -1
  13. package/latticeai/__init__.py +1 -1
  14. package/latticeai/core/vector_index/hnsw.py +49 -10
  15. package/latticeai/core/vector_index/sidecar.py +120 -31
  16. package/latticeai/services/architecture_readiness.py +1 -1
  17. package/latticeai/services/product_readiness.py +2 -2
  18. package/package.json +1 -1
  19. package/scripts/check_current_release_docs.mjs +1 -1
  20. package/scripts/release_screen_claims.json +34 -0
  21. package/src-tauri/Cargo.lock +10 -10
  22. package/src-tauri/Cargo.toml +1 -1
  23. package/src-tauri/tauri.conf.json +1 -1
  24. package/static/app/asset-manifest.json +45 -45
  25. package/static/app/assets/{Act-DCRUH46a.js → Act-DC676bqE.js} +2 -2
  26. package/static/app/assets/{AdminConsole-BFBj6OvN.js → AdminConsole-aCxQgD2L.js} +1 -1
  27. package/static/app/assets/{Brain-BXcoxIvb.js → Brain-Dbd0xvsc.js} +2 -2
  28. package/static/app/assets/BrainHome-N00B-MAJ.js +2 -0
  29. package/static/app/assets/{BrainSignals-DrfYSNjR.js → BrainSignals-CNA0d6xS.js} +1 -1
  30. package/static/app/assets/{Capture-BsO_OAeh.js → Capture-BB19fo7P.js} +1 -1
  31. package/static/app/assets/{Chronicle-BUj_UH3D.js → Chronicle-D8p3dqxZ.js} +1 -1
  32. package/static/app/assets/{CommandPalette-B4SWOaR-.js → CommandPalette-uVFYAa-6.js} +1 -1
  33. package/static/app/assets/{DigitalBrainExplorer-S1GSsyIT.js → DigitalBrainExplorer-mH6ZSuvK.js} +1 -1
  34. package/static/app/assets/{Library-CKUR2eVb.js → Library-0q8Sdke7.js} +1 -1
  35. package/static/app/assets/{LivingBrain--2UoV3Ki.js → LivingBrain-wess-qJZ.js} +1 -1
  36. package/static/app/assets/ProductFlow-DeBGF6qz.js +1 -0
  37. package/static/app/assets/{ReviewCard-UzQZ1ULT.js → ReviewCard-DyTrDpy0.js} +1 -1
  38. package/static/app/assets/{RunsListPanel-CDGFQYMo.js → RunsListPanel-CHJv2Qyw.js} +1 -1
  39. package/static/app/assets/System-CyKGHQrW.js +1 -0
  40. package/static/app/assets/{WorkflowGraph-BIcWZTUQ.js → WorkflowGraph-B5nKCCGa.js} +1 -1
  41. package/static/app/assets/{WorkflowsPanel-BeT5fmbk.js → WorkflowsPanel-C7RZNRGo.js} +2 -2
  42. package/static/app/assets/{actHelpers-DhutJObL.js → actHelpers-6MYDH2kW.js} +1 -1
  43. package/static/app/assets/arrow-left-DOnpwsVV.js +1 -0
  44. package/static/app/assets/{bot-D8tZzKMD.js → bot-Dm3fmXAE.js} +1 -1
  45. package/static/app/assets/brain-C2XwdQL1.js +1 -0
  46. package/static/app/assets/{button-Tzf5D7L1.js → button-xXPeemQr.js} +1 -1
  47. package/static/app/assets/circle-check-D44VI2ZE.js +1 -0
  48. package/static/app/assets/{circle-pause-Druue_tZ.js → circle-pause-B_lmNicW.js} +1 -1
  49. package/static/app/assets/{circle-play-BAht4SSW.js → circle-play-DSYCP0RD.js} +1 -1
  50. package/static/app/assets/{cpu-BPbmZRPp.js → cpu-D7x-dtxi.js} +1 -1
  51. package/static/app/assets/{download-BmxPZEwU.js → download-BHuJr-5V.js} +1 -1
  52. package/static/app/assets/{folder-open-DokOmFQJ.js → folder-open-BiO31EwS.js} +1 -1
  53. package/static/app/assets/{hard-drive-Cw6aEA2h.js → hard-drive-CFEaZ-wP.js} +1 -1
  54. package/static/app/assets/{index-CB93CZWW.css → index-C8gwOf0C.css} +1 -1
  55. package/static/app/assets/{index-DhszK7A3.js → index-DCT79wzR.js} +3 -3
  56. package/static/app/assets/{input-BCdHoZXA.js → input-D3YrgxvO.js} +1 -1
  57. package/static/app/assets/{link-2-CCModn4z.js → link-2-3O-By3qc.js} +1 -1
  58. package/static/app/assets/{permissionCopy-BSp1jYG7.js → permissionCopy-CNK2tfkz.js} +1 -1
  59. package/static/app/assets/{primitives-D01WcJn7.js → primitives-B6DzQC3H.js} +1 -1
  60. package/static/app/assets/search-BwMK0hjs.js +1 -0
  61. package/static/app/assets/{share-2-DMMkM8Iu.js → share-2-BljIPAku.js} +1 -1
  62. package/static/app/assets/{shield-alert--mrCWQko.js → shield-alert-WDP2DSTM.js} +1 -1
  63. package/static/app/assets/{sourceMeta-nvd3Cdz3.js → sourceMeta-By2WIjlN.js} +1 -1
  64. package/static/app/assets/{textarea-DfayhQiX.js → textarea-5v8vtDlK.js} +1 -1
  65. package/static/app/assets/{useFocusTrap-C5NsTvsI.js → useFocusTrap-ssiDeh6P.js} +1 -1
  66. package/static/app/assets/{useMutation-D7IMQTeI.js → useMutation-Bi0PXQMC.js} +1 -1
  67. package/static/app/assets/workspace-BsxrRYQI.js +1 -0
  68. package/static/app/index.html +2 -2
  69. package/static/sw.js +1 -1
  70. package/static/app/assets/BrainHome-IhcEPC3v.js +0 -2
  71. package/static/app/assets/ProductFlow-D7rB6Xsu.js +0 -1
  72. package/static/app/assets/System-0OSxZrTp.js +0 -1
  73. package/static/app/assets/arrow-left-BwJfcH8J.js +0 -1
  74. package/static/app/assets/brain-DP2JPXSV.js +0 -1
  75. package/static/app/assets/circle-check-D68nHcgS.js +0 -1
  76. package/static/app/assets/search-C_zAGfvO.js +0 -1
  77. package/static/app/assets/workspace-C7xidB7c.js +0 -1
package/README.md CHANGED
@@ -12,104 +12,97 @@
12
12
  [![CD Status](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/publish.yml/badge.svg)](https://github.com/TaeSooPark-PTS/LatticeAI/actions/workflows/publish.yml)
13
13
  [![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
14
14
 
15
- ![v12.1.0 Living Brain walkthrough](output/release/v12.1.0/gifs/v12.1.0-living-brain-walkthrough.gif)
15
+ ![v12.2.1 Living Brain walkthrough](output/release/v12.2.1/gifs/v12.2.1-living-brain-walkthrough.gif)
16
16
 
17
- Chat, files, folders, notes, and web pages all flow into one durable knowledge
18
- graph on your computer. The default is local. Cloud is optional — an
19
- OAuth-authenticated CLI (`agy` / `grok`) or an API key you configure — and
20
- nothing leaves your machine without explicit consent.
17
+ Lattice AI is a Digital Brain that lives on your computer. Chat, files,
18
+ folders, notes, and web pages all land in one knowledge graph you own.
19
+ The default is local. Cloud is optional, and nothing leaves the machine
20
+ without your consent.
21
21
 
22
22
  대화·파일·폴더·웹페이지가 전부 내 컴퓨터 안의 지식 그래프로 쌓입니다.
23
- 기본은 로컬이고, 클라우드는 선택입니다 (OAuth CLI 지원).
23
+ 기본은 로컬이고, 클라우드는 선택입니다.
24
24
 
25
- ## What You Can Do
26
-
27
- | | |
28
- | --- | --- |
29
- | **See your Brain's story in time** — a growth curve, an activity heatmap, and each day's story, rewindable to any past moment ![Brain Chronicle](output/release/v12.1.0/screenshots/13-chronicle.png) | **Chat with a Brain that remembers** — every conversation grows durable, source-linked memory ![Brain Chat](output/release/v12.1.0/screenshots/04-brain-chat-home.png) |
30
- | **See how knowledge connects** — a real relationship graph, not a file list ![Memory Graph](output/release/v12.1.0/screenshots/05-memory-graph.png) | **Capture anything** — files, whole folders, notes, screenshots, web pages ![Capture](output/release/v12.1.0/screenshots/06-capture.png) |
31
- | **Automate with review** — agent changes become proposals you approve first ![Review Center](output/release/v12.1.0/screenshots/12-review-center.png) | **Pick a model in one click** — recommended local models for your hardware ![Recommended Models](output/release/v12.1.0/screenshots/02-recommended-models.png) |
32
- | **Watch a file become memory** — three named steps, not a pipeline diagram ![Material to memory](output/release/v12.1.0/screenshots/11-knowledge-journey.png) | **Say how much it may do alone** — one dial in plain words; dangerous actions stay blocked either way ![Settings](output/release/v12.1.0/screenshots/08-system.png) |
33
-
34
- ## Why Lattice AI
35
-
36
- - **Own your memory** — knowledge lives in a local SQLite Brain you can back up,
37
- export, inspect, and restore (`.latticebrain` encrypted archive).
38
- - **Model-independent** — switch between local MLX models and cloud models
39
- without rebuilding context from zero.
40
- - **Honest by design** — the Brain tells you when retrieval context is limited,
41
- when captured pages extracted poorly, and when the vector index is catching up.
42
- - **Safe automation** — automations are consent-first drafts; edits to existing
43
- content always pass through a reviewable proposal with a diff.
44
- - **Runs on the model your machine can hold** — the loop measures what a model
45
- can actually produce and adapts: a model too small to emit a tool call is
46
- walked through numbered choices instead, with the same permission gates,
47
- snapshots and sanitizers as every other profile.
48
-
49
- 매번 AI에게 프로젝트 맥락을 다시 설명하고 있다면, 지식이 여러 서비스에 흩어져
50
- 있다면, 그 기억을 특정 회사가 아니라 내가 소유하고 싶다면 — Lattice AI가 그
51
- 브레인입니다.
52
-
53
- ## Quick Start
25
+ ## Install
54
26
 
55
27
  ```bash
56
28
  pip install ltcai # or: npm install -g ltcai
57
29
  LTCAI # then open http://127.0.0.1:4825/app
58
30
  ```
59
31
 
60
- Apple Silicon local models: `pip install "ltcai[local]"`. Desktop app (Tauri)
61
- ships as a dmg on each [GitHub Release](https://github.com/TaeSooPark-PTS/LatticeAI/releases).
32
+ - Apple Silicon local models: `pip install "ltcai[local]"`
33
+ - Mac app: the `.dmg` on each [GitHub Release](https://github.com/TaeSooPark-PTS/LatticeAI/releases)
34
+ - Editor: the [VS Code / Cursor / Open VSX](https://marketplace.visualstudio.com/items?itemName=parktaesoo.ltcai) extension
62
35
 
63
- First-run flow — wake the Brain, pick the owner, load a recommended model:
36
+ ## First five minutes
37
+
38
+ 1. Open the app and sign in as the owner.
39
+ 2. Pick a recommended local model for this computer.
40
+ 3. Drop a folder, a file, or a note into Capture.
41
+ 4. Ask the Brain a question in your own words.
64
42
 
65
43
  | | | |
66
44
  | --- | --- | --- |
67
- | ![Login](output/release/v12.1.0/screenshots/01-login.png) | ![Model install](output/release/v12.1.0/screenshots/03-install-load-progress.png) | ![Model library](output/release/v12.1.0/screenshots/07-model-library.png) |
45
+ | ![Login](output/release/v12.2.1/screenshots/01-login.png) | ![Model install](output/release/v12.2.1/screenshots/03-install-load-progress.png) | ![Model library](output/release/v12.2.1/screenshots/07-model-library.png) |
46
+
47
+ Screenshot index:
48
+ [output/release/v12.2.1/SCREENSHOT_INDEX.md](output/release/v12.2.1/SCREENSHOT_INDEX.md)
68
49
 
69
- Screenshot index and capture notes:
70
- [output/release/v12.1.0/SCREENSHOT_INDEX.md](output/release/v12.1.0/SCREENSHOT_INDEX.md)
50
+ ## What you can do
51
+
52
+ | | |
53
+ | --- | --- |
54
+ | **See your Brain's story in time** — a growth curve, an activity heatmap, and each day's story ![Brain Chronicle](output/release/v12.2.1/screenshots/13-chronicle.png) | **Chat with a Brain that remembers** — every conversation grows durable, source-linked memory ![Brain Chat](output/release/v12.2.1/screenshots/04-brain-chat-home.png) |
55
+ | **See how knowledge connects** — a real relationship graph, not a file list ![Memory Graph](output/release/v12.2.1/screenshots/05-memory-graph.png) | **Capture anything** — files, whole folders, notes, screenshots, web pages ![Capture](output/release/v12.2.1/screenshots/06-capture.png) |
56
+ | **Automate with review** — agent changes become proposals you approve first ![Review Center](output/release/v12.2.1/screenshots/12-review-center.png) | **Pick a model in one click** — recommended local models for your hardware ![Recommended Models](output/release/v12.2.1/screenshots/02-recommended-models.png) |
57
+ | **Watch a file become memory** — three named steps, not a pipeline diagram ![Material to memory](output/release/v12.2.1/screenshots/11-knowledge-journey.png) | **Say how much it may do alone** — one dial in plain words ![Settings](output/release/v12.2.1/screenshots/08-system.png) |
58
+
59
+ ## Why this is yours
60
+
61
+ - **The memory stays.** Knowledge lives in a local SQLite Brain you can back up, export, inspect, and restore (`.latticebrain`).
62
+ - **The model is replaceable.** Switch local MLX and optional cloud without rebuilding context from zero.
63
+ - **It says when it does not know.** Thin retrieval, a poor page extract, or hash-only search is named, not dressed as meaning.
64
+ - **Edits wait for you.** New files can land with little friction. Changing or deleting existing files becomes a proposal with a diff.
65
+ - **Small models can still act.** A 2B-class local model can call tools and skills; a model too small to emit JSON is walked through numbered choices.
66
+
67
+ 매번 AI에게 프로젝트 맥락을 다시 설명하고 있다면, 지식이 여러 서비스에 흩어져
68
+ 있다면, 그 기억을 특정 회사가 아니라 내가 소유하고 싶다면 — Lattice AI가 그
69
+ 브레인입니다.
71
70
 
72
71
  ## Current Release
73
72
 
74
- The current release is **12.1.0 — Fast Path**:
75
-
76
- 12.0.0 opened the house. This release makes remembering the house faster:
77
- folder ingest and vault-watch overlap parse/extract/embed across files,
78
- one `/worker/embed` call carries the document plus its chunks, rebuild
79
- hashes outside the SQLite write lock, and a Brain with 512+ vectors tries
80
- `hnsw+rescore` when a worker sidecar is bound. The door is still **422
81
- operations / 41 families** over a **20-route worker**. Cloud is still
82
- optional and the default is still local.
83
-
84
- - **Ingest is a pipeline, not a queue of one.** Up to four files parse and
85
- embed at once. Unchanged files still skip on fingerprint and never
86
- enter the pool. Writes still go through the single `GraphWriter`.
87
- - **One embed round-trip per note.** The document vector and every chunk
88
- share a `texts` body; extract runs beside it, not in front of it; the
89
- native incremental index files those vectors instead of hashing them
90
- again.
91
- - **Search stays exact until it does not need to.** Env default is still
92
- `brute`. At 512 vectors with a bound sidecar, search asks HNSW first
93
- and falls back to the exact scan with the original `brute` block if
94
- the sidecar cannot answer.
95
-
96
- What this release does not close — small-model *content* quality, the
97
- mock-only `api_key` path, hash embeddings as the no-download fallback,
98
- watch never deleting on its own, the ad-hoc-signed dmg — is listed in
99
- [RELEASE_NOTES_v12.1.0.md](RELEASE_NOTES_v12.1.0.md).
100
-
101
- Expected artifacts for 12.1.0 release must use exact filenames:
102
-
103
- - `dist/ltcai-12.1.0-py3-none-any.whl`
104
- - `dist/ltcai-12.1.0.tar.gz`
105
- - `ltcai-12.1.0.tgz`
106
- - `dist/ltcai-12.1.0.vsix`
107
- - `src-tauri/target/release/bundle/dmg/Lattice AI_12.1.0_aarch64.dmg`
73
+ The current release is **12.2.1 — True Count**:
74
+
75
+ Search, skip, watch, and small-model answers now count what is actually
76
+ there instead of dumping, rehashing, or pretending. The door is still
77
+ **422 operations / 41 families** over a **20-route worker**. Cloud is
78
+ still optional and the default is still local.
79
+
80
+ - **Search does not dump the Brain.** A warm HNSW query is `COUNT(*)`
81
+ then, if needed, the missing vectors only. Writes stay on one
82
+ `GraphWriter`.
83
+ - **A touch is a stamp, not a re-ingest.** Same bytes with a new mtime
84
+ restamp provenance so the next scan skips by stamp.
85
+ - **A vanished watched file leaves the graph.** Disk is never deleted.
86
+ - **A thin summary is filled from the file that was read**, or held for
87
+ review — never marked done with empty words.
88
+ - **MCP tools stay in the compact nine-row list.** `api_key` cloud
89
+ verifies with a live `GET /models` (no billed completion). Hash
90
+ search is named as hash, with a path to a meaning model.
91
+
92
+ Release notes live in [docs/releases/](docs/releases/). This version:
93
+ [docs/releases/RELEASE_NOTES_v12.2.1.md](docs/releases/RELEASE_NOTES_v12.2.1.md).
94
+ Guide: [RELEASE.md](RELEASE.md) · History: [docs/CHANGELOG.md](docs/CHANGELOG.md).
95
+
96
+ Expected artifacts for 12.2.1 must use exact filenames:
97
+
98
+ - `dist/ltcai-12.2.1-py3-none-any.whl`
99
+ - `dist/ltcai-12.2.1.tar.gz`
100
+ - `ltcai-12.2.1.tgz`
101
+ - `dist/ltcai-12.2.1.vsix`
102
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_12.2.1_aarch64.dmg`
108
103
 
109
104
  Do not use wildcard artifact uploads. Package registry publishing remains owner-run.
110
105
 
111
- Release notes: [RELEASE.md](RELEASE.md) · Full history: [docs/CHANGELOG.md](docs/CHANGELOG.md)
112
-
113
106
  ## Architecture At A Glance
114
107
 
115
108
  One Rust server on localhost is the source of truth: `lattice-host` answers
@@ -136,8 +129,9 @@ Validation via `npm run lint`, `npm run test:unit`, `npm run test:visual`.
136
129
  migration tooling is not part of the 12.1.0 worker.
137
130
  - Docker, model downloads, cloud model calls, Brain Network, and update checks
138
131
  require explicit user action. Cloud is optional: `cli_oauth` (`agy` /
139
- `grok`) was live-checked at zero billing; the `api_key` path is
140
- mock-verified only.
132
+ `grok`) was live-checked at zero billing; the `api_key` path probes
133
+ `GET /models` with the key and fail-closes if the provider is
134
+ unreachable — it does not run a billed completion to verify.
141
135
  - **The Telegram bridge was removed in 11.6.0** — it lived in the platform code
142
136
  that became the AI worker. **SSO/OIDC login and callback flows were removed
143
137
  with it**; the configuration surface remains and password login is native.
@@ -157,16 +151,18 @@ Validation via `npm run lint`, `npm run test:unit`, `npm run test:visual`.
157
151
  100%-lines-and-branches gate was removed). The enforced claim is the
158
152
  floor, not whatever a given run measures.
159
153
  - **Small-model *content* quality is gated honestly.** With the `guided`
160
- profile even a 0.5B model writes the requested file and reaches DONE;
161
- a weak summary still fails the critic and the run ends
162
- FAILED/NEEDS_REVIEW rather than claiming success.
154
+ profile even a 0.5B model writes the requested file and reaches DONE.
155
+ A requested summary is filled from the file that was actually read;
156
+ if those words are still missing the run is held for review, not
157
+ marked done.
163
158
  - Vector search env still defaults to `brute` — exact and byte-compatible
164
159
  on a small Brain. At 512+ vectors with a bound worker sidecar it tries
165
160
  `hnsw+rescore` first and falls back to the exact scan if the sidecar
166
161
  cannot answer. `LATTICEAI_VECTOR_INDEX=hnsw` is still the explicit
167
162
  opt-in.
168
- - Watch never deletes on its own: a vanished file is reported, and
169
- cleanup runs only through the confirmed folder-prune flow.
163
+ - Watch prune removes vanished files from the **graph**, never from
164
+ disk. A one-shot folder ingest still reports vanished files and
165
+ waits for the confirmed prune door.
170
166
  - The macOS dmg is ad-hoc signed — effectively unsigned — so first launch
171
167
  needs the usual Gatekeeper step.
172
168
  - Pointer-control tools execute in the worker and are installed with
@@ -174,18 +170,20 @@ Validation via `npm run lint`, `npm run test:unit`, `npm run test:visual`.
174
170
  pending-only, no Self-Model refiner, `delete_node` leaving `PART_OF`,
175
171
  review events silent without an owner, KG-api ingest text-only, two
176
172
  store cycles per review mutation) are listed with their reasons in
177
- [RELEASE_NOTES_v12.1.0.md](RELEASE_NOTES_v12.1.0.md) and prioritized in
178
- [docs/ROADMAP.md](docs/ROADMAP.md).
173
+ [docs/releases/RELEASE_NOTES_v12.2.1.md](docs/releases/RELEASE_NOTES_v12.2.1.md)
174
+ and prioritized in [docs/ROADMAP.md](docs/ROADMAP.md).
179
175
 
180
176
  ## Release History
181
177
 
182
178
  Public history starts at 11.0.0. 11.6.0 rebuilt the product server in Rust and
183
179
  reduced the Python package to an AI worker, so a 10.x or 9.x install is a
184
180
  different program; `SECURITY.md` supports only 11.x, and this table states the
185
- same boundary. Earlier notes stay in the tree as `RELEASE_NOTES_v*.md` files.
181
+ same boundary. Earlier notes live in [docs/releases/](docs/releases/).
186
182
 
187
183
  | Version | Theme |
188
184
  | --- | --- |
185
+ | 12.2.1 | True Count |
186
+ | 12.2.0 | Small Voice |
189
187
  | 12.1.0 | Fast Path |
190
188
  | 12.0.0 | Open House |
191
189
  | 11.9.0 | Working Order |
@@ -202,4 +200,4 @@ same boundary. Earlier notes stay in the tree as `RELEASE_NOTES_v*.md` files.
202
200
  | 11.0.1 | Both Branches |
203
201
  | 11.0.0 | Full Measure |
204
202
 
205
- Per-release details: [RELEASE_NOTES.md](RELEASE_NOTES.md)
203
+ Per-release details: [RELEASE_NOTES.md](RELEASE_NOTES.md) · folder: [docs/releases/](docs/releases/)
package/docs/CHANGELOG.md CHANGED
@@ -4,6 +4,50 @@ The top entry is either the current unreleased main-branch work or the current
4
4
  release line. Older entries are historical and may describe behavior as it
5
5
  existed at that release.
6
6
 
7
+ ## [12.2.1] - 2026-08-29 — True Count
8
+
9
+ ### Added
10
+ - HNSW sidecar COUNT+delta load: a warm query never dumps `vector_embeddings`;
11
+ growth fetches missing ids only and appends.
12
+ - Skip-by-hash restamps size/mtime on the existing provenance row via
13
+ `GraphWriter`.
14
+ - Watch prune: a vanished watched file is removed from the graph
15
+ (`delete_document_tree`, confirm=true). Disk is never deleted.
16
+ - `complete_a_summary`: a thin "I summarized" answer is filled from the
17
+ `read_file` / `mcp.read_file` result already on the transcript.
18
+ - Compact catalog CORE now keeps `mcp.grep`, `mcp.list_dir`, `mcp.read_file`,
19
+ `mcp.knowledge_search` through the nine-row cap.
20
+ - `api_key` cloud `GET /models` probe (no completion). Unreachable keys
21
+ fail-close status.
22
+ - First-run and library copy name hash search as hash, with a path to a
23
+ meaning model.
24
+
25
+ ### Changed
26
+ - Per-version `RELEASE_NOTES_v*.md` files live in `docs/releases/`.
27
+ - README is user-first: install, first five minutes, then the release.
28
+
29
+ ### Fixed
30
+ - Loaded HNSW graphs can append a delta instead of rebuilding from the
31
+ incoming set alone (which wiped live labels).
32
+
33
+ ## [12.2.0] - 2026-08-29 — Small Voice
34
+
35
+ ### Added
36
+ - Function-calling envelope parse: `name`/`arguments`, nested `function`,
37
+ Qwen `<function=…><parameter=…>`, `Action: mcp.grep`.
38
+ - Compact executor lists cap at the guided menu size (9). Skills whose
39
+ `when` line matches the request are consulted without naming `skill.`.
40
+ - A quoted search term fills a missing MCP/native `pattern`/`query`.
41
+ - Home composer chips for folder search, read-and-summarize, memory, and
42
+ skill review. Settings card states the same. MCP/skill timeline rows
43
+ get a plain-language prefix.
44
+
45
+ ### Changed
46
+ - Compact prompt names the function-calling envelope 2B models emit.
47
+
48
+ ### Fixed
49
+ - Labeled salvage refused dotted `mcp.` / `skill.` names as chatter.
50
+
7
51
  ## [12.1.0] - 2026-08-29 — Fast Path
8
52
 
9
53
  ### Added
@@ -192,7 +236,7 @@ existed at that release.
192
236
  - DMG는 ad-hoc 서명(미서명)이다.
193
237
  - 11.8.0이 열어 둔 항목(커버리지 바닥 라인 90, 멀티모달 이미지/비디오
194
238
  HTTP 문 없음, 11.7.0 leftover)은 그대로다. 전문은
195
- [RELEASE_NOTES_v11.9.0.md](../RELEASE_NOTES_v11.9.0.md).
239
+ [RELEASE_NOTES_v11.9.0.md](releases/RELEASE_NOTES_v11.9.0.md).
196
240
 
197
241
  ## [11.8.0] - 2026-08-16 — Travel Light
198
242
 
@@ -274,7 +318,7 @@ existed at that release.
274
318
  - `tests/visual/mock_server`가 고아 mock 라우트 하나를 아직 서빙합니다
275
319
  (현재 증거가 해시로 묶여 있어 다음 캡처 사이클에 정리).
276
320
  - 11.7.0이 열어 둔 항목은 그대로입니다. 전문은
277
- [RELEASE_NOTES_v11.8.0.md](../RELEASE_NOTES_v11.8.0.md).
321
+ [RELEASE_NOTES_v11.8.0.md](releases/RELEASE_NOTES_v11.8.0.md).
278
322
 
279
323
  ## [11.7.0] - 2026-08-15 — Clean Sweep
280
324
 
@@ -318,7 +362,7 @@ existed at that release.
318
362
  `delete_node`는 `PART_OF`를 남김. owner 없는 리뷰 이벤트는 침묵.
319
363
  KG-api ingest는 텍스트 전용. 리뷰 변이 = 스토어 사이클 2회.
320
364
  snooze 422 detail은 영문 리터럴. 전문은
321
- [RELEASE_NOTES_v11.7.0.md](../RELEASE_NOTES_v11.7.0.md).
365
+ [RELEASE_NOTES_v11.7.0.md](releases/RELEASE_NOTES_v11.7.0.md).
322
366
 
323
367
  ## [11.6.0] - 2026-08-15 — One Door
324
368
 
@@ -393,7 +437,7 @@ existed at that release.
393
437
  비어 있음 · 리뷰 스누즈 offset-aware 500 · 제안 이중 거절 500),
394
438
  업로드 추출 UTF-8 전용, 공급 벡터 1차 노드 한정, 네이티브 도구의 사용자
395
439
  훅 미발화, `sanitize_write_content` 미적용, 워커 원점으로 남은 seam 호출
396
- 3건. 전문은 [RELEASE_NOTES_v11.6.0.md](../RELEASE_NOTES_v11.6.0.md).
440
+ 3건. 전문은 [RELEASE_NOTES_v11.6.0.md](releases/RELEASE_NOTES_v11.6.0.md).
397
441
 
398
442
  ## [11.5.2] - 2026-08-12 — Tight Ship
399
443
 
@@ -1,6 +1,6 @@
1
1
  # CI & Release Gates
2
2
 
3
- > Status: reference 2026-08-16
3
+ > Status: reference 2026-08-29
4
4
 
5
5
  Reference for the GitHub Actions workflows that guard `main` and releases, the
6
6
  supply-chain hardening applied to them, and the recommended branch-protection
@@ -13,6 +13,7 @@ configuration. Companion to [SECURITY_AUDIT.md](SECURITY_AUDIT.md) and
13
13
  |----------|------|----------|---------|
14
14
  | CI | `.github/workflows/ci.yml` | push/PR to `main` | Lint, typecheck, unit + coverage + integration tests, product-readiness, build + wheel smoke, Rust workspace |
15
15
  | Release | `.github/workflows/release.yml` | tags `v*` / `[0-9]*` | Build & validate artifacts (no publish; does not re-run CI lint/tests) |
16
+ | CD | `.github/workflows/publish.yml` | GitHub Release `published`, dispatch | Publish npm / PyPI / Marketplace / Open VSX (idempotent; never on a bare tag) |
16
17
  | Visual Smoke | `.github/workflows/visual.yml` | push to `main`, nightly cron, dispatch | Playwright visual smoke (not on PRs) |
17
18
  | Sidecar E2E | `.github/workflows/e2e-sidecar.yml` | nightly cron, dispatch | Live sidecar Playwright first-value loop |
18
19
  | Dependency Audit | `.github/workflows/dependency-audit.yml` | weekly cron, dispatch | pip-audit + npm audit + CycloneDX SBOMs |
@@ -183,9 +184,11 @@ It still runs:
183
184
  - `npm pack`, vsce package
184
185
  - `validate_release_artifacts.py <v> --require-vsix --require-tgz`
185
186
 
186
- Package publication (PyPI / npm / VS Code Marketplace / Open VSX) is a manual
187
- step (`npm run publish:*`) using **exact version filenames**, never a `dist/*`
188
- glob, so pushing a tag can never publish by accident. See
187
+ Package publication (PyPI / npm / VS Code Marketplace / Open VSX) is
188
+ `publish.yml` (CD). It runs when a GitHub Release is **published**, or on
189
+ `workflow_dispatch` if that version already has a pushed `v*` tag. A bare
190
+ tag push never publishes. Local `npm run publish:*` still uses **exact
191
+ version filenames**, never a `dist/*` glob. See
189
192
  [../RELEASE.md](../RELEASE.md) for the full procedure.
190
193
 
191
194
  ## Limitations (honest)
@@ -1,6 +1,6 @@
1
1
  # Community And Plugins
2
2
 
3
- Current release: **12.1.0 — Fast Path**.
3
+ Current release: **12.2.1 — True Count**.
4
4
 
5
5
  LatticeAI defines the path from a strong local-first framework (8.4.0
6
6
  action-aware baseline, 8.5.0 registry+DI hardening, 8.6.0 capture/navigation
@@ -3,7 +3,7 @@
3
3
  > **Status: canonical** — current contributor guidance, kept in sync with the
4
4
  > current release.
5
5
 
6
- Current release: **12.1.0 — Fast Path**.
6
+ Current release: **12.2.1 — True Count**.
7
7
 
8
8
  This document is the contributor onboarding path: how to boot the tree, where
9
9
  a change belongs, which gates will go red, and the house rules that keep the
@@ -80,7 +80,7 @@ worker interpreter with `LTCAI_PYTHON` when both exist.
80
80
  `rust/target/release/lattice-host`, then `rust/target/debug/lattice-host`. If
81
81
  none exist it runs `cargo build -p lattice-host` (debug). A stale
82
82
  `rust/target/release/lattice-host` wins over a current debug binary — pin or
83
- rebuild (`cargo build -p lattice-host --release`) if `-V` is not 12.1.0.
83
+ rebuild (`cargo build -p lattice-host --release`) if `-V` is not 12.2.1.
84
84
 
85
85
  Do not run `npm start` and `npm run dev` on the same port. The worker
86
86
  entrypoint defaults to `LATTICEAI_PORT` or **4825**, the same port as the
@@ -237,7 +237,7 @@ in `rust/`.
237
237
  Markdown) and `scripts/check_doc_status.mjs` (every relative link under the
238
238
  root canonical docs and `docs/**`). A red line is a broken relative path —
239
239
  fix the href or put the file where the href says. Canonical docs (this one
240
- included) must carry `Current release: **12.1.0 — …**` matching
240
+ included) must carry `Current release: **12.2.1 — …**` matching
241
241
  `package.json`; do not bump that marker here ahead of the release lane.
242
242
  `npm run docs:check-current` is the release-set version pin
243
243
  ([`scripts/check_current_release_docs.mjs`](../scripts/check_current_release_docs.mjs)).
@@ -248,7 +248,7 @@ changelog entries that mention old versions stay.
248
248
  ### Release-evidence binding
249
249
 
250
250
  `scripts/check_release_evidence_bound.mjs` (lint member 9) checks that
251
- `output/release/v12.1.0/SCREENSHOT_INDEX.md` still names the live
251
+ `output/release/v12.2.1/SCREENSHOT_INDEX.md` still names the live
252
252
  `static/app/asset-manifest.json` digest and the visual mock-server
253
253
  fingerprint. It exists so a later `npm run build:assets` cannot ship
254
254
  screenshots of an older UI, and so a mock-server edit cannot leave the
@@ -317,19 +317,19 @@ For user-facing, API, runtime, release, or packaging changes, check:
317
317
  appears
318
318
 
319
319
  The release-docs lane owns README / ARCHITECTURE / FEATURE_STATUS version
320
- bumps. Do not move this file's `Current release` marker off 12.1.0 ahead of
320
+ bumps. Do not move this file's `Current release` marker off 12.2.1 ahead of
321
321
  that lane.
322
322
 
323
323
  Release/publish examples must use exact target-version filenames. Do not
324
324
  document wildcard artifact upload commands.
325
325
 
326
- For 12.1.0 release work, exact artifacts are:
326
+ For 12.2.1 release work, exact artifacts are:
327
327
 
328
- - `dist/ltcai-12.1.0-py3-none-any.whl`
329
- - `dist/ltcai-12.1.0.tar.gz`
330
- - `ltcai-12.1.0.tgz`
331
- - `dist/ltcai-12.1.0.vsix`
332
- - `src-tauri/target/release/bundle/dmg/Lattice AI_12.1.0_aarch64.dmg`
328
+ - `dist/ltcai-12.2.1-py3-none-any.whl`
329
+ - `dist/ltcai-12.2.1.tar.gz`
330
+ - `ltcai-12.2.1.tgz`
331
+ - `dist/ltcai-12.2.1.vsix`
332
+ - `src-tauri/target/release/bundle/dmg/Lattice AI_12.2.1_aarch64.dmg`
333
333
 
334
334
  The dmg is ad-hoc signed (effectively unsigned); `npm run release:validate`
335
335
  checks the names and presence, not a Developer ID signature.
@@ -1,6 +1,6 @@
1
1
  # Lattice AI Onboarding
2
2
 
3
- Current release: **12.1.0 — Fast Path**.
3
+ Current release: **12.2.1 — True Count**.
4
4
 
5
5
  The first-run goal is a five-minute path from "I opened the app" to "my Brain
6
6
  has a source, a question, and proof." This page is the product contract behind
@@ -1,4 +1,4 @@
1
- # Lattice AI — Operations Guide (v12.1.0)
1
+ # Lattice AI — Operations Guide (v12.2.1)
2
2
 
3
3
  > **Status: canonical** — kept in sync with the current release. Storage layout
4
4
  > below reflects the SQLite live Brain store and workspace scoping, not the
package/docs/ROADMAP.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > **Status: reference** — point-in-time inventory, redated at v12.0.0. Not a
4
4
  > canonical current-release document; version gates do not bind it.
5
5
 
6
- As of **2026-08-29**, against the 12.1.0 — Fast Path tree. The rows below
6
+ As of **2026-08-29**, against the 12.2.1 — True Count tree. The rows below
7
7
  were gathered against 11.9.0 and re-checked when 12.0.0 shipped; what that
8
8
  release closed is marked closed rather than deleted, so the ledger still
9
9
  shows what was owed.
@@ -17,8 +17,8 @@ the contributor path is [DEVELOPMENT.md](DEVELOPMENT.md). This page is the
17
17
  honest leftover list, gathered from
18
18
  [FEATURE_STATUS.md](../FEATURE_STATUS.md) Known Limitations and the §정직한
19
19
  고지 sections of
20
- [RELEASE_NOTES_v11.9.0.md](../RELEASE_NOTES_v11.9.0.md) and
21
- [RELEASE_NOTES_v12.0.0.md](../RELEASE_NOTES_v12.0.0.md).
20
+ [releases/RELEASE_NOTES_v11.9.0.md](releases/RELEASE_NOTES_v11.9.0.md) and
21
+ [releases/RELEASE_NOTES_v12.0.0.md](releases/RELEASE_NOTES_v12.0.0.md).
22
22
 
23
23
  Four items those ledgers named **closed in 12.0.0**. They are kept below so
24
24
  they are not re-opened as work. Everything else is still open.
@@ -43,18 +43,18 @@ rather than being deleted: the small-model harness (P1) and the HNSW index
43
43
 
44
44
  | 무엇 | 왜 남았나 | 난이도 | 우선순위 | 제안 경로 |
45
45
  | --- | --- | --- | --- | --- |
46
- | **Small-model agent-run content quality** | **Half closed in 12.0.0.** The mechanical half is done: the `guided` profile stops asking for JSON, the dial is chosen by a measured probe, a run that produces nothing demotes itself downward mid-run, and a 0.5B model reached `DONE` in 3.9s with a real file. The half still open is the *writing* — a weak summary fails the critic and the run ends `FAILED` / `NEEDS_REVIEW`. The cross-model matrix is improving from 11 of 18. | L | **P1** — still the voice the product ships on 8GB, and still the reason a first run can end in a review state. | Keep measuring with the loop's own parser, not a second harness. New answers go under new fixture keys (`agent_loop` `*_extended`); do not rewrite frozen rows. The remaining lever is content, not format: better plan→content prompting and a critic that says *what* was thin, per-model hacks still forbidden. |
47
- | **Real-embedding default rollout** | **Narrowed in 12.0.0, not closed.** Auto-detection now adopts a real downloaded embedding model when one is present, the hash model is labelled `fallback` rather than presented as semantic, and vector identity is filtered by `(model, dim)` so two spaces cannot mix. What is still true: on a machine that has downloaded nothing, the default remains `lattice-local-hash-v1` (blake2 bag-of-features), and "semantic" recall is then a hash of tokens. | M | **P1** — recall is the product. Hash as a labelled fallback is fine; hash as the silent default is not. | Make the first-run flow offer the embedding model the way it offers a chat model, and keep the switch honest: drain the backlog through `lattice-jobs` so a change of embedder is a reindex, and report `stale_embedder` until the queue is empty. |
46
+ | **Small-model agent-run content quality** | **Narrowed in 12.2.1.** Mechanical half closed in 12.0.0 (`guided`, measured probe). 12.2.1 fills a thin summary from the `read_file` / `mcp.read_file` result already on the transcript; missing evidence is `NEEDS_REVIEW`, not a false DONE. Remaining: a 2B that never read the file, and writing that is fluent but wrong. | L | **P1** — still the voice on 8GB. | Keep measuring with the loop's own parser. Do not add a per-model branch. |
47
+ | **Real-embedding default rollout** | **Narrowed again in 12.2.1.** First-run and the library name hash search as hash and point at a meaning model. Auto-detection still adopts a real downloaded embedder when one is present. The no-download default is still `lattice-local-hash-v1`. | M | **P1** — recall is the product. | Offer an embedding model in first-run the way a chat model is offered. Drain through `lattice-jobs` on switch. No second embedder in `lattice-core`. |
48
48
  | **Worker-side batch embed** | **Closed in 12.1.0 on the ingest-time door**: one `/worker/embed` body is the document vector followed by every chunk, extract runs beside it, and `write_vectors_with` files those vectors. The drain planner stays the backlog path. Folder/watch overlap up to four files. What remains for a real-embed default is auto-detection on first run, not a second embedder. | M | **P1 → closed for the ingest door; the real-embed default row above is still open.** | Keep. Do not open a second embedder inside `lattice-core`. |
49
49
 
50
50
  ## P2 — real, but the product still works without them
51
51
 
52
52
  | 무엇 | 왜 남았나 | 난이도 | 우선순위 | 제안 경로 |
53
53
  | --- | --- | --- | --- | --- |
54
- | **HNSW whole-rebuild** | **Closed in 12.0.0; the default is deliberately unchanged.** The sidecar appends incrementally instead of being invalidated by every write, and the index is now used in real search: `hnsw+rescore` fetches `k * 8` candidate ids (cap 200) from `POST /worker/vector/query` and rescores exactly those rows natively, so recall is approximate and ordering is exact. Failures fall back to the exact scan carrying their reason. | L | **P2 → resolved for scale; the default stays `brute`.** | Nothing to build. The remaining decision is when to flip the default, and that needs recall@10 re-measured against the exact scan on a Brain that has been ingesting continuously — not a synthetic corpus. |
54
+ | **HNSW whole-rebuild / full-table dump** | **Closed in 12.2.1.** 12.0.0 appended instead of invalidating. 12.2.1 warm queries are `COUNT(*)` then missing ids only; a loaded sidecar appends a delta instead of rebuilding from the incoming set. Env default stays `brute`. | L | **P2 → closed for the dump; the default stays `brute`.** | Flip the default only after recall@10 vs exact scan on a live Brain. |
55
55
  | **Unsigned DMG** | `Lattice AI_12.0.0_aarch64.dmg` is ad-hoc signed (= unsigned). First launch needs the Gatekeeper bypass. `npm run release:validate` checks names and presence, not a Developer ID. | M | **P2** — first-run tax on desktop, not a Brain bug. Needs an Apple identity. | Developer ID Application + notarization in the release path. Exact artifact name stays `dist/…` / `src-tauri/target/release/bundle/dmg/Lattice AI_X.Y.Z_aarch64.dmg`. Credentials stay off the tree. |
56
- | **`api_key` cloud path is mock-only** | Contract-tested against a mock server. Never live-called — no billing budget. Live E2E is `cli_oauth` (`agy` / `grok`) at zero API billing. | S | **P2** — the supported cloud path already works. This is the paid-key twin. | One live contract test against a real OpenAI-compatible endpoint once a budget exists. Do not call the mock path "verified" in FEATURE_STATUS. Keep `local_only` winning on the request. |
57
- | **Vault-watch full-resync** | **Largely closed in 12.0.0**: the ingest fingerprint (size + mtime + content sha256) is on the watch path, so an unchanged note is not re-read, re-chunked or re-embedded. The pass itself still runs once through the bridge, because link edges need node ids only a completed ingest has. Cap is still 2,000 notes/run (`truncated: true`), still off by default. | M | **P2** — the wasteful part is gone; the shape of the pass is unchanged. | Attach links from the ids that already landed so the bridge does not need a whole pass at all. Keep the 2,000 cap and the `truncated` flag. Inline `#tags` stay out of scope. Watch still never deletes — cleanup is the confirmed prune door. |
56
+ | **`api_key` cloud path is mock-only** | **Narrowed in 12.2.1.** Status now live-probes `GET /models` with the key (no completion) and fail-closes when the provider is unreachable. Chat completions are still not billed in CI. Live E2E remains `cli_oauth`. | S | **P2** — the key is proven to work; a billed completion is still a budget. | One live contract completion once a budget exists. Keep `local_only` winning on the request. |
57
+ | **Vault-watch full-resync** | **Closed the remaining two holes in 12.2.1**: skip-by-hash restamps so a `touch` is not re-hashed forever, and vanished watched files are pruned from the graph (`delete_document_tree`). Disk is never deleted. Cap is still 2,000 notes/run. | M | **P2 → closed for skip and prune.** | Attach links from ids that already landed so the bridge does not need a whole pass. Keep the cap. |
58
58
  | **Self-Model has no screen** | Writes were restored in 11.7.0. `GET/POST/DELETE /api/memory/self-model*` and Review Center proposals work. `/app` has no profile view — "Brain이 나에 대해 뭐라고 생각하나" is an API call. | M | **P2** — the data path is real; the reader cannot see it. | A panel under `frontend/src/features/brain/` + `frontend/src/i18n/brain/`, reading the existing API. No new writer. Vitest 100% `all: true`. |
59
59
 
60
60
  ## P3 — honesty leftovers that should not grow
@@ -1,6 +1,6 @@
1
1
  # Lattice AI Trust Model
2
2
 
3
- Current release: **12.1.0 — Fast Path**.
3
+ Current release: **12.2.1 — True Count**.
4
4
 
5
5
  Lattice AI is local-first, explicit about external communication, and honest
6
6
  when a capability is unavailable.
@@ -87,7 +87,7 @@ does not mean secrets should appear in clear text.
87
87
  - Cloud model prompts follow the selected provider's policy once the user
88
88
  explicitly chooses that provider (or the `auto`/`always` escalation
89
89
  policy does, behind `cloud_allowed`). The `api_key` path is
90
- mock-verified only in this release; live OAuth used `cli_oauth` at
90
+ probed with `GET /models` (no billed completion); live OAuth used `cli_oauth` at
91
91
  zero billing. Extracted cloud knowledge is proposal-first.
92
92
  - A local admin can inspect local files and process memory outside Lattice AI.
93
93
  - Marketplace and model registries are third-party services when explicitly
@@ -1,6 +1,6 @@
1
1
  # Why Lattice AI Exists
2
2
 
3
- Current release: **12.1.0 — Fast Path**.
3
+ Current release: **12.2.1 — True Count**.
4
4
 
5
5
  **Lattice AI is a local-first Digital Brain that keeps your knowledge durable
6
6
  across any AI model.**
package/docs/kg-schema.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Knowledge Graph Schema
2
2
 
3
- Current release: **12.1.0 — Fast Path**.
3
+ Current release: **12.2.1 — True Count**.
4
4
 
5
5
  명세 출처: `lattice_ai_full_spec.pptx` 슬라이드 20·21·22
6
6
  구현: `lattice_brain/graph/schema.py`
@@ -31,7 +31,7 @@ from .multimodal import (
31
31
  transcribe_audio,
32
32
  )
33
33
 
34
- __version__ = "12.1.0"
34
+ __version__ = "12.2.1"
35
35
 
36
36
  __all__ = [
37
37
  "AudioFacts",
@@ -1,3 +1,3 @@
1
1
  """Lattice AI - modular server package."""
2
2
 
3
- __version__ = "12.1.0"
3
+ __version__ = "12.2.1"