Repository navigation
ci: ship the Agent declaration with every release - #7
Conversation
Pass --agent-configuration to the package step so each .orax carries assets/config.json and the release manifest binds it. The owner turned the switch on once the hosts that resolve the declaration were accepted.
wanglongan587
left a comment
There was a problem hiding this comment.
Approve(审过 e8da0edc5c01be99082b975b8f1bbf272fa8282b)
审的是 ci: ship the Agent declaration with every release 这一个提交的完整 diff:
release.yml只把deno task package加上--agent-configuration,与 #370 正式验收栈里实际安装的包是同一组打包参数;AGENTS.md和步骤注释同步说明开关已打开,没有改打包脚本、声明字节或固定摘要测试。- CI
check、argv均通过;argv这条正好守住 #452 要求的"发布令牌不进命令行"。 - 描述里写了与 ADR 的关系:本 PR 不改 ADR 状态,
plugin-owned-model-adapters、personal-agent-configurations仍为approved,转implemented由 circus#467 承接,符合"ADR 状态跟着实现走"。 - 合并时机(desktop
v0.4.0早于声明编译器,需等含 desktop#708 的 desktop release 或压住 marketplace PR)是 owner 的排期决定,不是这个改动本身的缺陷。
范围说明:我在本机核对了 diff、CI 与描述里引用的三个固定 SHA(cloud 7a48f340、desktop f43f52fc、cluster 8f39f421);aarch64 验收栈上的三项实测结论来自 circus#370 的记录,我没有独立重跑。
补充更正:ADR 状态已变(代码结论不变)审到 PR 描述里的这段仍写 "stay 另外一条非阻塞的措辞建议: |
Refs ora-space/circus#370
What
release.ymlnow passes--agent-configurationtodeno task package. From the next tag on, every.oraxcarriesassets/config.json(declaration digest2d1afa5e…53c1), the release manifest gains its[agent_configuration]section, andagent-configuration.jsonis attached to the release and copied into the marketplace registry entry.AGENTS.mdand the step comment are updated to say the flag is on. Nothing else changes: the packaging script, the declaration bytes and the pinned digest test are untouched.Why now
The owner decided to turn on the Claude switch only (OpenCode stays off). The hosts that resolve the declaration (desktop#708, cloud#106) are merged, and acceptance runs on a pinned-main cluster stack.
Before merging
Desktop
v0.4.0(the latest desktop release) predates the agent-declaration compiler: itsplugin-configcompilesassets/config.jsononly as the Settings, MCP or Hook shape. A desktop onv0.4.0would install a package from a release built with this flag, then refuse to activate it.upstream.ymlwhenever a newclaude-agent-acpappears.marketplace.ymlonly opens a PR onora-space/marketplace, and a human merges it. That merge is the last gate.So either merge this after a desktop release that contains desktop#708, or merge it now and hold the marketplace PRs until then.
Verification
deno task test: 45 passed.deno fmt --check AGENTS.mdpasses.deno task package --agent-configurationbuild of main8115695is what the formal acceptance in circus#370 installs. Results will be reported there.ADR
No ADR status change in this PR. Both ADRs this release depends on,
decisions/node/agent-runtime/20261017-plugin-owned-model-adapters.mdanddecisions/cloud/model-access/20261017-personal-agent-configurations.md, are alreadyimplemented: ora-space/specs#198 merged on 2026-10-22 after the formal acceptance in circus#370 passed. No further specs PR is needed for this change.