memorix 1.10.3 → 1.10.5
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.
- package/CHANGELOG.md +88 -1
- package/dist/cli/index.js +2300 -1343
- package/dist/index.js +1947 -1139
- package/dist/{maintenance-jobs-DVRF-46r.d.ts → maintenance-jobs-DweoCoTT.d.ts} +25 -15
- package/dist/maintenance-runner.d.ts +1 -1
- package/dist/maintenance-runner.js +915 -221
- package/dist/media-audio-runner.js +906 -213
- package/dist/media-video-runner.js +914 -221
- package/dist/memcode-runtime/CHANGELOG.md +88 -1
- package/dist/sdk.js +10153 -9360
- package/dist/vector-backfill-runner.d.ts +1 -1
- package/dist/vector-backfill-runner.js +914 -221
- package/docs/AGENT_OPERATOR_PLAYBOOK.md +7 -0
- package/docs/ARCHITECTURE.md +238 -0
- package/docs/CONFIGURATION.md +17 -0
- package/docs/DESIGN_DECISIONS.md +37 -0
- package/docs/DEVELOPMENT.md +8 -1
- package/docs/MODULES.md +7 -1
- package/docs/PERFORMANCE.md +21 -0
- package/docs/README.md +3 -1
- package/docs/ROADMAP-1.9.12-2.0.md +18 -2
- package/package.json +1 -1
- package/plugins/antigravity/memorix/plugin.json +1 -1
- package/plugins/claude/memorix/.claude-plugin/plugin.json +1 -1
- package/plugins/codebuddy/memorix/.codebuddy-plugin/plugin.json +1 -1
- package/plugins/codex/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/copilot/memorix/plugin.json +1 -1
- package/plugins/gemini/memorix/gemini-extension.json +1 -1
- package/plugins/hermes/memorix/plugin.yaml +1 -1
- package/plugins/omp/memorix/package.json +1 -1
- package/plugins/openclaw/memorix/.codex-plugin/plugin.json +1 -1
- package/plugins/pi/memorix/package.json +1 -1
- package/server.json +2 -2
- package/src/cli/command-guide.ts +3 -1
- package/src/cli/commands/http-session-stream-watch.ts +138 -0
- package/src/cli/commands/memory.ts +3 -1
- package/src/cli/commands/project-detection-cache.ts +61 -0
- package/src/cli/commands/serve-http.ts +63 -13
- package/src/cli/index.ts +1 -1
- package/src/cli/tui/chat-service.ts +6 -9
- package/src/cli/tui/data.ts +2 -2
- package/src/codegraph/auto-context.ts +9 -2
- package/src/codegraph/derived-view.ts +63 -0
- package/src/compact/engine.ts +10 -33
- package/src/config/resolved-config.ts +11 -0
- package/src/config/retrieval-strategy.ts +22 -0
- package/src/config/toml-loader.ts +5 -0
- package/src/config/yaml-loader.ts +7 -0
- package/src/core/derived-view-registry.ts +33 -0
- package/src/core/derived-view.ts +15 -0
- package/src/core/maintenance-result.ts +33 -0
- package/src/core/retrieval-contracts.ts +57 -0
- package/src/core/retrieval-facade.ts +18 -0
- package/src/core/retrieval-policy.ts +44 -0
- package/src/core/runtime-context.ts +42 -0
- package/src/embedding/api-provider.ts +32 -10
- package/src/embedding/ollama-embed.ts +118 -0
- package/src/knowledge/workset.ts +0 -2
- package/src/memory/consolidation.ts +3 -2
- package/src/memory/feedback-model.ts +1 -4
- package/src/memory/observations.ts +192 -92
- package/src/runtime/control-plane-maintenance.ts +1 -0
- package/src/runtime/isolated-maintenance.ts +1 -0
- package/src/runtime/maintenance-jobs.ts +123 -32
- package/src/runtime/project-maintenance.ts +69 -1
- package/src/sdk.ts +3 -2
- package/src/search/fts-view.ts +53 -0
- package/src/search/orama-view.ts +40 -0
- package/src/search/retrieval-facade.ts +38 -0
- package/src/search/semantic-index.ts +51 -6
- package/src/search/semantic-view.ts +34 -0
- package/src/server.ts +19 -7
- package/src/store/obs-store.ts +15 -0
- package/src/store/orama-store.ts +158 -68
- package/src/store/sqlite-db.ts +22 -0
- package/src/store/sqlite-store.ts +27 -0
|
@@ -4,7 +4,94 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## Unreleased
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
### Fixed
|
|
8
|
+
- Lifecycle changes that resolve or qualify an observation now enqueue their
|
|
9
|
+
evidence/CodeGraph projection in the same canonical transaction. Successful
|
|
10
|
+
projection acknowledges the durable job, while failures remain pending for
|
|
11
|
+
maintenance retry.
|
|
12
|
+
- Derived-view retrieval receipts now use a kernel-owned registry with stable
|
|
13
|
+
names, replacement, snapshot creation, and isolated reader failures. New
|
|
14
|
+
FTS, Orama, Lance, or CodeGraph adapters can share the same health boundary.
|
|
15
|
+
- Embedding API requests now retry transport-level failures such as stale
|
|
16
|
+
keep-alive sockets, while preserving timeout, cancellation, and `retry = false`
|
|
17
|
+
behavior (#397).
|
|
18
|
+
- Large API embedding-cache restores yield through the timer phase in small
|
|
19
|
+
batches and start after provider initialization, keeping formation deadlines
|
|
20
|
+
and HTTP control-plane work responsive (#398).
|
|
21
|
+
- Fixed consolidation false positives for Korean and punctuation-only records;
|
|
22
|
+
queued automatic cleanup jobs now honor `auto_cleanup = false` at execution
|
|
23
|
+
time (#385).
|
|
24
|
+
- Observation writes now persist an idempotent CodeGraph/evidence projection
|
|
25
|
+
job in the same SQLite transaction; successful foreground projections
|
|
26
|
+
acknowledge it, while failures remain recoverable by maintenance.
|
|
27
|
+
- Added common `DerivedView` adapters for SQLite FTS5 and Orama with explicit
|
|
28
|
+
status, rebuild/refresh, compact, and close lifecycle methods.
|
|
29
|
+
- Added a CodeGraph `DerivedView` adapter for Lite refresh, status, SQLite
|
|
30
|
+
compaction, and lifecycle shutdown.
|
|
31
|
+
- Release workflow now runs automatically for published GitHub Releases and
|
|
32
|
+
requires npm visibility before MCP Registry publication.
|
|
33
|
+
- `memorix@1.10.3` is now publicly available on npm from the existing release
|
|
34
|
+
tag; its registry shasum is `46410b77e0808be58d445bdf2abafdac4f7ba718`.
|
|
35
|
+
- Workset assembly now accepts only request-scoped derived-view receipts,
|
|
36
|
+
preventing a concurrent search from leaking FTS/Orama state into context.
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
- Search execution now returns a request-scoped receipt to compact search,
|
|
40
|
+
index probes, and TUI chat, so concurrent requests cannot exchange diagnostics.
|
|
41
|
+
- Observation inserts and topic-key updates commit canonical SQLite rows with
|
|
42
|
+
vector, qualification, and claim-derivation jobs in one transaction.
|
|
43
|
+
- A deduplicated maintenance job records writes received while it is running
|
|
44
|
+
and schedules a follow-up pass, including after worker failure or lease loss.
|
|
45
|
+
- Maintenance progress now has one kernel result contract; negative, fractional,
|
|
46
|
+
non-finite, and inconsistent counts cannot be persisted as successful work.
|
|
47
|
+
- SDK, TUI, compact search, and MCP retrieval now share the RetrievalFacade;
|
|
48
|
+
feedback state is read from the active canonical store and reported separately
|
|
49
|
+
from embedding fallback.
|
|
50
|
+
- Topic-key updates publish their Orama projection only after the canonical
|
|
51
|
+
transaction commits; failed updates or linked-record callbacks leave the prior
|
|
52
|
+
searchable record intact.
|
|
53
|
+
|
|
54
|
+
### Verification
|
|
55
|
+
- The 20-case context task matrix and the 40,000-record local store gate pass
|
|
56
|
+
on Windows/Node 22 with embeddings disabled. This is offline fixture evidence,
|
|
57
|
+
not a claim about remote embedding quality.
|
|
58
|
+
|
|
59
|
+
## [1.10.5] - 2026-11-26
|
|
60
|
+
|
|
61
|
+
### Fixed
|
|
62
|
+
|
|
63
|
+
- Preserve project scope in Lance merge keys and cache/backfill checks, and
|
|
64
|
+
validate semantic hits against canonical SQLite. Upserts preserve other
|
|
65
|
+
projects' vectors; scoped deletion only removes the requested project (#410).
|
|
66
|
+
- Release silently disconnected legacy HTTP sessions after a configurable
|
|
67
|
+
two-minute grace, while preserving reconnections, POST-only clients, and
|
|
68
|
+
queued/running requests (#408).
|
|
69
|
+
- Cache positive and negative stateless HTTP project detection results for
|
|
70
|
+
five minutes with a 256-path limit (#409).
|
|
71
|
+
- Show topic-key and structured memory store flags in CLI help, including
|
|
72
|
+
the limitations of the `remember` shortcut (#406).
|
|
73
|
+
- Make binding lease fixtures relative to the current clock (#407).
|
|
74
|
+
- Include the Ollama native embedding adapter (#396/#402), derived-view
|
|
75
|
+
receipt registry (#403), and lifecycle projection outbox (#405) merged
|
|
76
|
+
after 1.10.4. These are incremental reliability changes toward 1.11.
|
|
77
|
+
|
|
78
|
+
## [1.10.4] - 2026-11-18
|
|
79
|
+
|
|
80
|
+
### Fixed
|
|
81
|
+
|
|
82
|
+
- Embedding API requests retry transport-level failures such as stale
|
|
83
|
+
keep-alive sockets while preserving request deadlines, cancellation, and the
|
|
84
|
+
explicit retry opt-out (#397).
|
|
85
|
+
- Large API embedding-cache restores yield through the timer phase in bounded
|
|
86
|
+
batches and start after provider initialization, preventing cache recovery
|
|
87
|
+
from delaying formation deadlines (#398).
|
|
88
|
+
|
|
89
|
+
### Changed
|
|
90
|
+
|
|
91
|
+
- CJK-heavy queries can use Lance neighbor order by default, with configuration
|
|
92
|
+
overrides and a hybrid fallback when the vector index is unavailable (#395).
|
|
93
|
+
- npm 1.10.4 release metadata is synchronized across agent plugins and MCP
|
|
94
|
+
Registry metadata.
|
|
8
95
|
|
|
9
96
|
## [1.10.3] - 2026-11-05
|
|
10
97
|
|