Repository navigation
Commit 7c2b636
committed
docs(spec,types,rest,runtime): state who sets userMessage now that a platform refusal does
Six comments said platform and driver code never set a thrown
userMessage. The packaged-permission-set lock's refusals now do, with
static guidance and no host state. Each comment now states the invariant
that holds: only a producer authoring end-user text with no host state
sets it (an application hook, or a platform refusal carrying static
guidance); platform and driver diagnostics never do.
Comment-only: each file's comment-free TypeScript print is byte-identical
before and after, and the ApiErrorSchema.userMessage describe() text is
unchanged.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011K3zqE8Pv1Evw5hc8tZCnN1 parent b8da8b3 commit 7c2b636
6 files changed
Lines changed: 33 additions & 18 deletions
File tree
- packages
- rest/src
- runtime/src
- sandbox
- spec/src/api
- types/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12148 | 12148 | | |
12149 | 12149 | | |
12150 | 12150 | | |
12151 | | - | |
12152 | | - | |
12153 | | - | |
| 12151 | + | |
| 12152 | + | |
| 12153 | + | |
| 12154 | + | |
| 12155 | + | |
12154 | 12156 | | |
12155 | 12157 | | |
12156 | 12158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2828 | 2828 | | |
2829 | 2829 | | |
2830 | 2830 | | |
2831 | | - | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
2832 | 2835 | | |
2833 | 2836 | | |
2834 | 2837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | | - | |
1279 | | - | |
1280 | | - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
1281 | 1284 | | |
1282 | 1285 | | |
1283 | 1286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
86 | 89 | | |
87 | 90 | | |
88 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
680 | 682 | | |
681 | 683 | | |
682 | 684 | | |
| |||
0 commit comments