fix(skills): update-agent 示例字段名修正 + get 返回示例对齐真实输出 (#53)

## 摘要 / Summary

### 中文

market#52 的修正:update-agent
附录示例使用了错误的字段名(`communicationStyle`/`must`),照示例调用会被 ManageAgent 的 Ajv
校验(additionalProperties: false)直接拒绝;`personality` 示例应为字符串数组。同时把 `get`
的返回示例对齐真实输出格式(`## persona.md` / `## principles.md` 段落含分层 markdown 原文,对应
desirecore#1230),并在附录固定列出结构化字段名清单。update-agent 3.1.1,manifest 1.2.11。

### English

Correction to market#52: the update-agent appendix examples used wrong
field names (`communicationStyle`/`must`) that ManageAgent's Ajv
validation (additionalProperties: false) would reject outright;
`personality` must be a string array. The `get` response example is
aligned with the actual output format (`## persona.md` / `##
principles.md` sections, per desirecore#1230), and the appendix now
lists the fixed structured field names. update-agent 3.1.1, manifest
1.2.11.
This commit is contained in:
2026-07-18 23:35:50 +08:00
committed by GitHub
parent 1c00b8e6c8
commit b2ef6a1f19
4 changed files with 40 additions and 22 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## [3.1.1] - 2026-07-18
- 修正示例字段名:`communicationStyle``communication_style``must``must_do``personality` 示例改为字符串数组
- `get` 返回示例对齐真实输出格式(`## persona.md` / `## principles.md` 段落含分层 markdown 原文,客户端 ≥ 10.0.90
- 附录补充结构化字段名固定清单persona L1.role/personality/communication_styleprinciples L1.must_do/must_not/priority
## [3.1.0] - 2026-07-18
- 结构化字段name/description/llm/persona/principles改经进程内内置工具 **ManageAgent**`update` 动作更新(白名单 + schema 校验 + 合并语义),移除对 `agent.json` / `persona.md` / `principles.md` 的直接 Write 指引