Skip to content

Refactor Nucleus into agent-native protocol boundary#22

Merged
nucleuskit merged 4 commits into
mainfrom
codex/agent-native-protocol
Jul 6, 2026
Merged

Refactor Nucleus into agent-native protocol boundary#22
nucleuskit merged 4 commits into
mainfrom
codex/agent-native-protocol

Conversation

@nucleuskit

Copy link
Copy Markdown
Owner

Summary

  • remove root-level cap/core/runtime submodules and keep contract as the protocol boundary
  • update docs and repair fixtures so runtime/provider/ORM choices stay project-owned
  • advance contract to 6b98911 with manifest v2, symbol graph, provider-free capability anchors, and project-owned HTTP registrar generation

Verification

  • rtk env GOCACHE=/private/tmp/nucleus-contract-gocache go test ./... (contract)
  • rtk env GOCACHE=/private/tmp/nucleus-gocache go test ./...
  • schema JSON parse check
  • rtk proxy npx --yes gitnexus detect-changes -r /Users/hqy/Data/project/go/nucleus --scope staged: low risk

xusihong added 4 commits July 3, 2026 19:07
- 移除能力节点中的模块、提供者等复杂字段,仅保留基本能力信息
- 删除 capabilityProvider、manifestCapabilityProvider、CapabilityModule、matchingImports 等函数
- 从 constants.go 中移除 providerConfigKey、capabilitySQL、capabilityMongo 等常量定义
- 从 description.go 中移除 CapabilityNode 的 Provider 和 Module 字段
- 添加 SymbolGraph、SymbolNode、SymbolEdge 和 SourceSpan 结构体用于 AI 分析
- 在 Description 中添加 SymbolGraph 和 Diagnostics 字段
- 修改 editSurfaces 函数以支持推断清单场景
- 更新 describeDiagnostics 函数以处理缺失清单情况
- 添加 inferredManifest 和非空切片辅助函数
- 在 lint 中简化 capabilityGraph 检查逻辑,仅验证 http 能力
- 更新测试文件以匹配新的清单格式版本 "2.0"
- 将 cap 子模块 URL 从 github.com 更改为 anniext.cn
- 将 contract 子模块 URL 从 github.com 更改为 anniext.cn
- 将 core 子模块 URL 从 github.com 更改为 anniext.cn
- 将 grpc 子模块 URL 从 github.com 更改为 anniext.cn
- 将 http 子模块 URL 从 github.com 更改为 anniext.cn
- 将 worker 子模块 URL 从 github.com 更改为 anniext.cn
- 将合约子模块的URL从 anniext.cn 更改为 github.com
- 保持路径和分支配置不变
@nucleuskit nucleuskit enabled auto-merge (squash) July 6, 2026 08:37
@nucleuskit nucleuskit requested review from Anniext and spelens-gud July 6, 2026 09:06
@nucleuskit nucleuskit merged commit 4e141d3 into main Jul 6, 2026
4 checks passed
@nucleuskit nucleuskit deleted the codex/agent-native-protocol branch July 6, 2026 09:06
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