Skip to content

feat: add polaris-memory plugin (permanent memory MCP, free tier 1000… - #138

Open
MARK-QH-vip wants to merge 1 commit into
zai-org:mainfrom
MARK-QH-vip:add-polaris-memory-plugin
Open

MARK-QH-vip wants to merge 1 commit into
zai-org:mainfrom
MARK-QH-vip:add-polaris-memory-plugin

Conversation

@MARK-QH-vip

Copy link
Copy Markdown

Plugin type (required) / 插件类型(必填)

  • Standard plugin / 普通插件(非 UI) — does not provide MCP Apps interactive pages / 不提供 MCP Apps 交互页面

Affected plugin name(s) / 涉及的插件名称:polaris-memory

What / 改动内容

Add the polaris-memory external plugin — a permanent-memory MCP server for AI coding assistants.

  • Two-stage semantic recall (value-space ranking + hybrid anti-echo-chamber read)
  • Null-calibrated novelty gating (polaris_auto_remember), GDPR-style targeted forgetting
  • Self-healing storage (corrupt payload quarantined, rebuilt from preserved texts)
  • Free tier: 1000 searches/month (polaris_recall only), over-quota error -32001
  • 8 tools over stdio MCP; offline by default (hash vectorizer), optional BGE-small-zh / OpenAI-compatible remote embeddings

Verified: python scripts/validate.py → OK (53 plugins); server test suite 28/28 (tools, stdio/HTTP protocol, quota engine); hardening suite 16/16 (1k-slot scale, hard-kill crash safety, 8-process concurrency, log privacy).

Self-check / 自查清单

  • Plugin name is unique kebab-case; new external plugin directory is external_plugins/<name>; existing fixes retain ownership / 插件名唯一且 kebab-case,外部新增插件位于 external_plugins/<name>,已有插件修复保留原归属
  • Usage category is set independently of publisher ownership / 用途分类 category 已填写,与维护归属分开
  • Plugin type and affected names are declared above / 已在上方声明插件类型与涉及的插件名称
  • version bumped in BOTH plugin.json and marketplace.json (0.1.0) / 两处版本号一致
  • README.md (EN) and README_CN.md (中文) both updated and equivalent / 中英文 README 均已更新且语义一致
  • description_i18n has both en and zh-CN / 包含 en 与 zh-CN
  • No secrets, machine-specific paths, or private dependencies / 不含密钥、机器专属路径或私有依赖
  • Model/API/network dependencies documented / 模型、API、网络依赖已写明
  • python scripts/validate.py passes locally / 本地校验通过

@panda920

Copy link
Copy Markdown
Collaborator

✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants