test(cli): prove check never spawns a Foreign kernel

A document with an executable foreign.call is statically checked without a
marker side effect, then run to show the same provider does execute. This
guards the 'check/inspect cannot execute untrusted code' contract.
This commit is contained in:
cflmy committed 2026-11-20 13:59:12 +08:00
1 parent 18d9f39562
commit 2cf9ecedd5
4 files changed
+72 -2

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ currently `0.1.0`; no release tag has been cut. Dates use ISO 8601.
`PATH`, and `interpreter_version` is verified before execution.
- Release documentation (`COMPATIBILITY.md`, `docs/releasing.md`) and the
Linux security-gate evidence report (`docs/security-gate.md`).
- `check_never_spawns_a_foreign_kernel`: proves static `check` does not spawn a
declared Foreign provider, while `run` on the same document does.
### Changed