memorix 1.4.0 → 1.4.2
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 +31 -0
- package/CLAUDE.md +9 -9
- package/README.md +7 -2
- package/README.zh-CN.md +6 -2
- package/dist/cli/index.js +1216 -485
- package/dist/index.js +984 -337
- package/dist/maintenance-runner.js +564 -180
- package/dist/media-video-runner.js +564 -180
- package/dist/memcode/index.js +53 -21
- package/dist/memcode-runtime/CHANGELOG.md +31 -0
- package/dist/sdk.js +983 -336
- package/dist/vector-backfill-runner.js +564 -180
- package/docs/1.4.2-EVIDENCE-GOVERNED-MEMORY-SPEC.md +434 -0
- package/docs/API_REFERENCE.md +1 -1
- package/docs/KNOWN_ISSUES_AND_ROADMAP.md +52 -128
- package/package.json +5 -2
- package/plugins/claude/memorix/.claude-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/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/commands/codegraph.ts +83 -2
- package/src/codegraph/auto-context.ts +20 -0
- package/src/codegraph/current-facts.ts +1 -0
- package/src/codegraph/external-provider.ts +1 -0
- package/src/codegraph/store.ts +216 -5
- package/src/codegraph/types.ts +42 -0
- package/src/knowledge/context-assembly.ts +25 -0
- package/src/knowledge/governor.ts +156 -0
- package/src/knowledge/outcome-store.ts +102 -0
- package/src/knowledge/outcome-types.ts +49 -0
- package/src/knowledge/workflows.ts +32 -1
- package/src/knowledge/workset.ts +203 -13
- package/src/store/sqlite-db.ts +42 -0
- package/docs/dev-log/progress.txt +0 -388
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [1.4.2] - 2026-08-06
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
- **Evidence-governed memory** -- A deterministic governor now decides whether
|
|
9
|
+
project knowledge should be included, compacted, deferred, or excluded based
|
|
10
|
+
on source backing, freshness, conflicts, quality, scope, and token budget.
|
|
11
|
+
- **Outcome-aware memory** -- Workflow verification results are recorded as
|
|
12
|
+
append-only outcome signals so failed evidence is less likely to be reused
|
|
13
|
+
as trusted project knowledge.
|
|
14
|
+
- **CodeGraph evolution views** -- Lite CodeGraph now keeps hash-only snapshot
|
|
15
|
+
manifests, reports exact file-level diffs, and exposes bounded one-hop impact
|
|
16
|
+
slices through the CLI. Continuation worksets include code evolution and
|
|
17
|
+
stale-memory binding counts.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
- **Star History automation** -- The chart workflow now updates a dedicated
|
|
21
|
+
branch and opens or refreshes a pull request instead of trying to push
|
|
22
|
+
directly to protected `main`, which caused every scheduled refresh to fail.
|
|
23
|
+
|
|
24
|
+
## [1.4.1] - 2026-08-03
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
- **MiniMax M3 video input** -- The bundled `@memorix/ai` provider layer now advertises and routes MiniMax M3 video content through MiniMax's Anthropic-compatible API. Base64 video is covered by focused request-shape tests, and image-only models still receive a clear text fallback instead of an invalid video block. Contributed by [@octo-patch](https://github.com/octo-patch) in #153.
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
- **Maintained product roadmap** -- Replaced the stale version-by-version roadmap with current product boundaries, operating constraints, and public directions. Release facts now live in this changelog and active maintainer work lives in `ACTIVE_WORK.md`. Contributed by [@FBISiri](https://github.com/FBISiri) in #140.
|
|
31
|
+
|
|
32
|
+
### Fixed
|
|
33
|
+
- **Deterministic provider tests** -- `@memorix/ai` unit tests no longer discover local API keys or Pi OAuth credentials and unexpectedly call paid, changing provider endpoints. Routine tests are offline by default; deliberate live validation requires `MEMORIX_AI_LIVE_TESTS=1` plus the required credentials.
|
|
34
|
+
- **Stable model metadata assertion** -- Removed a test-only assumption that OpenRouter will permanently list `moonshotai/kimi-k2.6:free`; the bundled catalog snapshot no longer contains that route, while coverage remains for the supported Kimi K2.6 compatibility metadata.
|
|
35
|
+
|
|
5
36
|
## [1.4.0] - 2026-08-02
|
|
6
37
|
|
|
7
38
|
### Changed
|
package/CLAUDE.md
CHANGED
|
@@ -77,12 +77,12 @@ Use `memorix_resolve` when a task is done or a bug is fixed. This keeps future s
|
|
|
77
77
|
| `memorix_rules_sync` | Inspect or sync rules across agents |
|
|
78
78
|
| `memorix_workspace_sync` | Inspect or migrate workspace integrations |
|
|
79
79
|
|
|
80
|
-
##
|
|
81
|
-
|
|
82
|
-
- **Repository-wide current state**: `
|
|
83
|
-
- Read that
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
## Active Work
|
|
81
|
+
|
|
82
|
+
- **Repository-wide current state**: `ACTIVE_WORK.md`
|
|
83
|
+
- Read that file after the Memory Autopilot step for long-running release or
|
|
84
|
+
development work.
|
|
85
|
+
- It is the only living work-status document. Update it after material
|
|
86
|
+
cross-session work; do not create parallel progress or dev-log files.
|
|
87
|
+
- It must stay public-safe: no local absolute paths, account identifiers,
|
|
88
|
+
credentials, raw chat transcripts, or local tool state.
|
package/README.md
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<p align="center">
|
|
21
|
-
<a href="https://registry.modelcontextprotocol.io
|
|
21
|
+
<a href="https://registry.modelcontextprotocol.io/?q=io.github.AVIDS2%2Fmemorix">Listed in the official MCP Registry</a>
|
|
22
22
|
<br>
|
|
23
|
-
<img src="https://mcptoplist.com/badge/io.github.AVIDS2%2Fmemorix.svg" alt="MCP Toplist
|
|
23
|
+
<a href="https://mcptoplist.com/server/io.github.AVIDS2%2Fmemorix"><img src="https://mcptoplist.com/badge/io.github.AVIDS2%2Fmemorix.svg" alt="View Memorix on MCP Toplist"></a>
|
|
24
24
|
</p>
|
|
25
25
|
|
|
26
26
|
<p align="center">
|
|
@@ -35,11 +35,16 @@
|
|
|
35
35
|
<a href="#quick-start">Quick Start</a> |
|
|
36
36
|
<a href="#memory-model">Memory Model</a> |
|
|
37
37
|
<a href="#memcode-bundled-terminal-agent">memcode</a> |
|
|
38
|
+
<a href="ACTIVE_WORK.md">Active Work</a> |
|
|
38
39
|
<a href="#docs">Docs</a>
|
|
39
40
|
</p>
|
|
40
41
|
|
|
41
42
|
---
|
|
42
43
|
|
|
44
|
+
> Maintainer status and the current public work boundary live in
|
|
45
|
+
> [ACTIVE_WORK.md](ACTIVE_WORK.md). It is the repository's single living work
|
|
46
|
+
> tracker.
|
|
47
|
+
|
|
43
48
|
<h2 id="what-memorix-is"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/tags/light/section-overview.svg"><img src="assets/tags/section-overview.svg" alt="Memorix" height="32" /></picture></h2>
|
|
44
49
|
|
|
45
50
|
Memorix gives the AI coding agents you already use a shared, searchable project memory that survives new chats, IDE switches, terminal sessions, and handoffs. The memory lives under the Git project, not inside one chat window or one tool.
|
package/README.zh-CN.md
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
</p>
|
|
19
19
|
|
|
20
20
|
<p align="center">
|
|
21
|
-
<a href="https://registry.modelcontextprotocol.io
|
|
21
|
+
<a href="https://registry.modelcontextprotocol.io/?q=io.github.AVIDS2%2Fmemorix">已收录至官方 MCP Registry</a>
|
|
22
22
|
<br>
|
|
23
|
-
<img src="https://mcptoplist.com/badge/io.github.AVIDS2%2Fmemorix.svg" alt="MCP Toplist
|
|
23
|
+
<a href="https://mcptoplist.com/server/io.github.AVIDS2%2Fmemorix"><img src="https://mcptoplist.com/badge/io.github.AVIDS2%2Fmemorix.svg" alt="在 MCP Toplist 查看 Memorix"></a>
|
|
24
24
|
</p>
|
|
25
25
|
|
|
26
26
|
<p align="center">
|
|
@@ -35,11 +35,15 @@
|
|
|
35
35
|
<a href="#快速开始">快速开始</a> |
|
|
36
36
|
<a href="#记忆模型">记忆模型</a> |
|
|
37
37
|
<a href="#memcode内置终端-agent">memcode</a> |
|
|
38
|
+
<a href="ACTIVE_WORK.md">当前工作</a> |
|
|
38
39
|
<a href="#文档">文档</a>
|
|
39
40
|
</p>
|
|
40
41
|
|
|
41
42
|
---
|
|
42
43
|
|
|
44
|
+
> 维护者当前工作状态和公开边界统一记录在
|
|
45
|
+
> [ACTIVE_WORK.md](ACTIVE_WORK.md),这是仓库唯一的活动工作文档。
|
|
46
|
+
|
|
43
47
|
<h2 id="memorix-是什么"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/tags/light/section-overview.svg"><img src="assets/tags/section-overview.svg" alt="Memorix" height="32" /></picture></h2>
|
|
44
48
|
|
|
45
49
|
Memorix 给你已经在用的 AI 编程 Agent 加上一套共享、可检索的项目记忆,让它跨越新对话、切换 IDE、重开终端 session 和交接都不丢失。记忆归属于 Git 项目,不会只困在某个聊天窗口或工具里。
|