From 9aa1a447e4b86639a34e76d1db7cc45033f41f17 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 6 Aug 2026 14:57:55 +0000 Subject: [PATCH] =?UTF-8?q?docs(skills):=20objectstack-ui=20=E7=9A=84=20Ap?= =?UTF-8?q?p=20=E4=BE=8B=E5=AD=90=E4=B8=8D=E5=86=8D=E6=95=99=20defaultAgen?= =?UTF-8?q?t:=20'sales=5Fcopilot'=20(#5985)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `skills/` 下的 SKILL.md 随 `npx skills add` 原样发给第三方,是 AI 写元数据时 第一个读的语料。App 例子里的 `defaultAgent: 'sales_copilot'` 带 `os:check` 标记,parse / build / 类型检查全过(字符串就是字符串),运行期却绑不上任何 东西 —— ADR-0063 §2 撤回了租户与应用包级自定义 agent,可解析集合收窄到两个 平台 agent(`ask` / `build`),表外的名字静默回落平台默认。 例子里的 `crm_enterprise` 是数据类 app(leads / opportunities / dashboards / reports / approvals),按 ADR-0063 它本就该省掉这个 key —— `ask` 是隐式默认。 故改为注释掉该行,并照同块 `hidden:` 的既有写法把可解析集合与「表外名字绑不 上」这一条写进注释,替换掉原来那句诱导性的「optional AI copilot binding」。 `sales_copilot` 这个字面量不再出现在 skills/ 任何位置,避免被逐字抄进业务包。 Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01BDmDsu2575gDxeMCxXhDE3 --- skills/objectstack-ui/SKILL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/skills/objectstack-ui/SKILL.md b/skills/objectstack-ui/SKILL.md index 4c8a3c4892..1818835645 100644 --- a/skills/objectstack-ui/SKILL.md +++ b/skills/objectstack-ui/SKILL.md @@ -475,7 +475,11 @@ export const CrmApp = App.create({ name: 'crm_enterprise', label: 'Enterprise CRM', icon: 'briefcase', - defaultAgent: 'sales_copilot', // optional AI copilot binding + // defaultAgent: 'build', // ADR-0063 §2 — the resolvable set is exactly two + // platform agents: `ask` (data surface) / `build` + // (authoring, e.g. Studio). Any other name parses + // but binds nothing at chat time. A data app like + // this one omits the key — `ask` is the default. // hidden: true, // ADR-0045 — drop from the App Switcher but keep // routable & permission-checked; the shell surfaces // hidden apps (e.g. `account`) via the avatar menu.