Docs: list every paste that carries a file's trust

The architecture note named formulas and validation only; it now lists the
Paste Special kinds and linked pastes that write formulas, and the kinds that
carry nothing.
This commit is contained in:
prxnvt
2026-10-23 21:36:09 -04:00
parent 3ca1252571
commit 7ee9d77483
+5 -2
View File
@@ -66,8 +66,11 @@ Actions made of many commands (macros, a debugger that runs one step per call) u
Commands run by other commands are not recorded, and the buffer is independent of the journal
(Automate › Record Actions still records through the journal).
- **Document trust.** `DocState::trust` is `Local` for workbooks made in the session and
`FromFile` for workbooks opened from a file, and for workbooks that received formulas or
validation pasted from one. Active content in a `FromFile` workbook asks before it runs. This
`FromFile` for workbooks opened from a file, and for workbooks that received a paste from one
that writes formulas or validation: Paste, Paste Special › All, All Except Borders, Formulas,
Formulas and Number Formats or Validation, and any linked paste other than column widths or
notes. Values, formats, column widths and notes carry nothing active. Active content in a
`FromFile` workbook asks before it runs. This
is provenance, which no decision changes; `DocState::scripts_trusted` is the separate
per-session consent for stored `automate.*` scripts (`automate.trustScripts`).
- **Workbook data in hidden names** (`cmd/stash.rs`). An item is split over hidden