From b9aa2066a9e29a4c2891e0231e147b1827d696e7 Mon Sep 17 00:00:00 2001 From: Simon Couch Date: Thu, 27 Aug 2026 14:51:00 -0700 Subject: [PATCH] clarify R session boundary --- pkg-r/R/run-r.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg-r/R/run-r.R b/pkg-r/R/run-r.R index 0caede07..778f69c9 100644 --- a/pkg-r/R/run-r.R +++ b/pkg-r/R/run-r.R @@ -31,7 +31,9 @@ tool_run_r <- function(private) { "Run R code in your sandboxed R session to analyze results or render plots.", "R code and textual output are visible only to you; rendered plots are", "also shown to the user.", - "The user cannot run code in this session themselves.", + "The user cannot access or interact with this session. Never direct them", + "to run code or inspect its variables or files; perform follow-up analysis", + "yourself and report the result in your response.", "Your session persists across calls: variables you assign and packages", "you load remain available.", cli::format_inline(