Commit a257433
fix(skills): drop the per-skill
All six skills declared `permissions: ['crm:…']`. SkillSchema has no such
field, so Zod strips the key at parse time: it granted and restricted
nothing while reading as a security control — the ADR-0049 prohibited
shape, flagged in objectstack#3820 §4. Access to AI capability is gated at
the agent level (`agent.access`/`agent.permissions`, enforced at the chat
route) and by each tool's own authz; the spec now documents this on
SkillSchema itself (objectstack#3871).
typecheck, `objectstack validate`, and the test suite (67) all pass.
Claude-Session: https://claude.ai/code/session_01BHjroNkLkajskKbJaidko4
Co-authored-by: Claude <noreply@anthropic.com>permissions keys — the field does not exist in SkillSchema (objectstack#3820) (#511)1 parent 8b28fa2 commit a257433
6 files changed
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | 55 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
0 commit comments