#1743: confine file.checkOutput's path as a read

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bflatastic
2026-10-30 15:28:49 +07:00
co-authored by Claude Opus 5.5
parent eed23ffa48
commit 9c8f4f639d
+2
View File
@@ -88,6 +88,8 @@ const READS: &[(&str, &[&str])] = &[
("mediaBrowser.removeFavorite", &["path"]),
("face.model.install", &["path"]),
("roto.model.install", &["path"]),
// Looks up what the file at `path` is (writable roots are readable too).
("file.checkOutput", &["path"]),
// Reads the template at `path`; what it writes is in `MIXED_WRITES`.
("templates.create", &["path"]),
];