Files
vectorcraft/docs
dotCooCoo 29ddc57821 Scripts: what a script's commands open or change gives later runs no file access
The commands a script runs could read the files that the documents open
at the run's start link to, and could read and write the files of every
open document. Both lists were taken from the documents as they were, so
a document a script opened, or a link or data set value a script added,
widened what the next run could read, and a document opened from a
linked file could be saved over that file in the next run.

- DocState::by_script records what scripts' commands did to a document
  since the person last opened or saved it: opened it, or changed it or
  gave it another file, keeping the document, its file and the file it
  was read from as they were before. The script host notes it after
  every command, and a save the person makes from the document's current
  content clears it. Revert keeps it, and a recovery copy restores the
  document as one a script opened.
- The gate's document files and the linked files are taken from each
  document as the person left it (DocState::as_person_left). A document
  a script opened gives neither, in that run or a later one.
- This replaces the per-run record of paths read through the linked
  files and ScriptGate::keeping_linked_read_only.
- docs/mcp.md and docs/target-app-parity.md describe the rule.
2026-11-21 02:45:27 -08:00
..
2026-11-20 05:45:14 +07:00
2026-11-19 15:12:20 +07:00
…
2026-11-20 06:07:45 +07:00