Commit c2f1002
* feat(spec)!: remove SkillSchema.permissions — it never gated anything (#3686)
Owner decision on the enforce-or-prune call: prune.
skill.permissions was declared, surfaced in the Studio form under an "Access —
Required permissions to use this skill" section, and echoed by the objectui
preview — but no runtime read it. The cloud SkillRegistry selects skills by
active/triggerConditions/tools only. A security-shaped field that enforces
nothing invites an author (or an AI) to believe a skill is gated when it is
not — same disposition as agent `visibility` (#1901) and PolicySchema (#2387).
Removed: the schema property; the form's whole Access section (it existed only
for this field); its generated i18n keys (surgically, not via a full extract
rerun, which would drag in unrelated drift); the liveness-ledger entry + count
table row; and the `permissions` line from the objectstack-ai skill doc — both
its prop table (replaced by a migration note) and its os:check TS block, which
compiles against the spec and would otherwise fail check:skill-examples.
Added a regression test pinning that an authored `permissions` key is stripped
(SkillSchema is non-strict, so it degrades silently rather than breaking boot).
Verified: 6688 spec tests; check:liveness / check:docs / check:api-surface /
check:skill-docs / check:skill-examples all green.
Refs #3686, #1878.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore: ratchet down the role-word baseline for the pruned skill.permissions line
Removing the `permissions` row from the objectstack-ai skill doc dropped its
role-word count 6 -> 5; the ratchet requires the baseline to follow. Only that
one entry changed (verified: no other file was whitewashed by --update).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* chore(i18n): regenerate es-ES/ja-JP/zh-CN bundles after the skill Access section removal
I removed the en keys by hand but left the other three locales stale; the
translation-bundle drift gate caught it. Regeneration touched ONLY the skill
access/permissions keys in the three locales (24 deletions, verified line by
line — no unrelated blocks were rewritten).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent b949059 commit c2f1002
13 files changed
Lines changed: 55 additions & 58 deletions
File tree
- .changeset
- content/docs/references/ai
- packages
- platform-objects/src/apps/translations
- spec
- liveness
- src/ai
- scripts
- skills/objectstack-ai
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | 1720 | | |
1725 | 1721 | | |
1726 | 1722 | | |
| |||
1755 | 1751 | | |
1756 | 1752 | | |
1757 | 1753 | | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | 1754 | | |
1763 | 1755 | | |
1764 | 1756 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | 1720 | | |
1725 | 1721 | | |
1726 | 1722 | | |
| |||
1755 | 1751 | | |
1756 | 1752 | | |
1757 | 1753 | | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | 1754 | | |
1763 | 1755 | | |
1764 | 1756 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | 1720 | | |
1725 | 1721 | | |
1726 | 1722 | | |
| |||
1755 | 1751 | | |
1756 | 1752 | | |
1757 | 1753 | | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | 1754 | | |
1763 | 1755 | | |
1764 | 1756 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1717 | 1717 | | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | 1720 | | |
1725 | 1721 | | |
1726 | 1722 | | |
| |||
1755 | 1751 | | |
1756 | 1752 | | |
1757 | 1753 | | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | 1754 | | |
1763 | 1755 | | |
1764 | 1756 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 43 | | |
53 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
77 | 89 | | |
78 | 90 | | |
79 | 91 | | |
| |||
0 commit comments