Commit Graph
2 Commits
Author SHA1 Message Date
adrianbonpin 01352ab3da docs: the alert shows size and age, not the old line count
The code never reads a file it is about to replace just to count its lines: stat
gives the size and the age, and the new content's line count is known without
reading anything. The spec overpromised the old count.
2026-10-07 17:03:29 +08:00
adrianbonpin 2b09cc84e9 docs: spec file system access for Lam
Seven file tools behind a path policy and an approval step, with the platform
findings that shaped it: extensions are unsandboxed Node, confirmAlert exists,
rememberUserChoice does not, and environment.supportPath is the one directory an
extension is invited to write to.

Records the decisions taken with the user (read, write, edit and destructive
tools; one approval per path per answer; home minus a credential denylist; extra
roots in preferences) and the assumptions that follow from them, including the
two that go beyond the questions asked: delete and move asking every time, and
file access being off until switched on.
2026-10-07 16:51:41 +08:00