You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ Files are managed-only by default. Advanced capabilities must be declared with `
122
122
features:local
123
123
```
124
124
125
-
The MVP implements only `local`. Future feature names such as `native`, `unsafe`, `async`, and `device` are reserved for capabilities that change review risk or require checker/runtime support. Ordinary libraries like JSON, File, Image, HTTP, Map, and Regex are not features.
125
+
The MVP implements only `local`. Future feature names such as `native`, `unsafe`, `async`, `device`, `ffi`, and `reflection` are reserved for capabilities that change review risk or require checker/runtime support. Ordinary libraries like JSON, File, Image, HTTP, Map, and Regex are not features.
Copy file name to clipboardExpand all lines: RSScript_v0.5_Spec.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2544,7 +2544,7 @@ manage operation
2544
2544
effects(retains(...))
2545
2545
with resource
2546
2546
ResourcePool
2547
-
file features such as local/native/unsafe/async/device
2547
+
file features such as local/native/unsafe/async/device/ffi/reflection
2548
2548
native / unsafe
2549
2549
unknown external call
2550
2550
writes to managed state
@@ -2562,6 +2562,8 @@ async elevated risk
2562
2562
native high risk
2563
2563
unsafe high risk
2564
2564
device high risk
2565
+
ffi high risk
2566
+
reflection elevated risk
2565
2567
```
2566
2568
2567
2569
This file-level risk does not require every helper function in the file to be classified as must-review. Region classification still depends on the function's own semantic facts and propagated callee risk.
explanation:"`effects(noalloc)` forbids obvious allocation sites such as value construction and `manage` migration.",
292
293
},
294
+
DiagnosticExplanation{
295
+
code: code::UNKNOWN_FILE_FEATURE,
296
+
title:"unknown file feature",
297
+
explanation:"A `features:` header may only list review-relevant capabilities known to this compiler version. Unknown feature names are rejected so typos do not silently change review risk.",
0 commit comments