Skip to content

feat: 接入 Skill 管理、裁决与生命周期控制面 - #8

Open
CyanYuMu wants to merge 10 commits into
hugegraph:befrom
CyanYuMu:codex/skill-p5-minimal-be
Open

CyanYuMu wants to merge 10 commits into
hugegraph:befrom
CyanYuMu:codex/skill-p5-minimal-be

Conversation

@CyanYuMu

@CyanYuMu CyanYuMu commented Nov 9, 2026 •

Copy link
Copy Markdown

Description

为 Issue #6 的 Skill 端到端原型增加 Go 控制面接线,沿用现有会话、项目权限与同源 API:将候选查询、隔离任务、固定三组实验、裁决、发布/准入及生命周期操作代理到 Python Skill 管理服务。浏览器不持有私有服务 Token,也不能通过客户端字段选择项目外证据或绕过发布门槛。

Related Issue: Refs #6。配套数据面与完整设计/结果见 #7;本 PR 目标为 be,配套 fe 分支界面见 #9。请联合部署,保持三部分契约一致。

  • 新增 Skill 领域模型、配置、上游适配器及 Dashboard 路由;覆盖认证、权限、超时、错误映射和严格输入。
  • 增加治理与生命周期接口:准备不可变包、提交裁决、扫描变化、固定影响包恢复、挑战处置、暂停/撤回和版本替代。
  • OpenAPI 独立描述 schema 1–7;当前 skill_p5 使用 schema 7,不把冻结历史协议作为新格式解析。
  • 更新 docs/module/skill-lifecycle.md、路由和配置说明;私有凭据不进入仓库。

How Has This Been Tested?

  • go test ./... 全部通过;包括适配器、权限/边界、治理、生命周期及应用接线测试。
  • 实际 Go → Python → Neo4j/Memory/Claude 联调:正式 Release 发布,工具不可用阻断、恢复后仍需新证据,restore 后正常加载及反馈写回成功。
  • Chrome 实际展示 6/6 分支、发布、范围外拒绝、范围内准入及恢复/正常作业记录。

这是受控 Dream UPDATE 修复原型,未证明收益或通用修复能力;真实结果与历史 unknown 均在 #7 的 docs/skill-prototype-p5-results.md 保留。Go 代理不承担规则语义批准;实际批准身份明确为用户授权的助手受托执行。

Checklist

  • 新增接口、错误处理和项目隔离测试
  • 更新 API 与运行配置文档
  • 中文提交,自查并完成实际联调
  • 上游 CI 与维护者评审

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e2bbc769-3726-4727-8052-15d6d615a9fe

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CyanYuMu added a commit to CyanYuMu/MemOS that referenced this pull request Nov 11, 2026
三个分支已于同日快进推送到 PR hugegraph#7、hugegraph#8、hugegraph#9 的分支,更新交付入口、可用性
结果和契约复现结果中“未推送”的过时说明;交付入口的实验结论补上已发布
c7 的边界任务对照结果。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant