diff --git a/.devcontainer/arduino/devcontainer.json b/.devcontainer/arduino/devcontainer.json index 4ea4fe6..9924438 100644 --- a/.devcontainer/arduino/devcontainer.json +++ b/.devcontainer/arduino/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/cargo/devcontainer.json b/.devcontainer/cargo/devcontainer.json index d013f3d..ff46be6 100644 --- a/.devcontainer/cargo/devcontainer.json +++ b/.devcontainer/cargo/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/cocoapods/devcontainer.json b/.devcontainer/cocoapods/devcontainer.json index 46f3500..e1036c4 100644 --- a/.devcontainer/cocoapods/devcontainer.json +++ b/.devcontainer/cocoapods/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/conan/devcontainer.json b/.devcontainer/conan/devcontainer.json index 1190772..76757c3 100644 --- a/.devcontainer/conan/devcontainer.json +++ b/.devcontainer/conan/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/go/devcontainer.json b/.devcontainer/go/devcontainer.json index c3f0ad8..a22d76d 100644 --- a/.devcontainer/go/devcontainer.json +++ b/.devcontainer/go/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/hex/devcontainer.json b/.devcontainer/hex/devcontainer.json index 56b8d02..7c2026f 100644 --- a/.devcontainer/hex/devcontainer.json +++ b/.devcontainer/hex/devcontainer.json @@ -23,6 +23,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/maven/devcontainer.json b/.devcontainer/maven/devcontainer.json index fb36e0f..f4ad983 100644 --- a/.devcontainer/maven/devcontainer.json +++ b/.devcontainer/maven/devcontainer.json @@ -26,6 +26,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/npm/devcontainer.json b/.devcontainer/npm/devcontainer.json index 27c83ee..f4934c0 100644 --- a/.devcontainer/npm/devcontainer.json +++ b/.devcontainer/npm/devcontainer.json @@ -17,6 +17,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/nuget/devcontainer.json b/.devcontainer/nuget/devcontainer.json index b70bd9f..5858abd 100644 --- a/.devcontainer/nuget/devcontainer.json +++ b/.devcontainer/nuget/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/opam/devcontainer.json b/.devcontainer/opam/devcontainer.json index ccbe3b5..5ae182a 100644 --- a/.devcontainer/opam/devcontainer.json +++ b/.devcontainer/opam/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/packagist/devcontainer.json b/.devcontainer/packagist/devcontainer.json index 275c81c..1096a5b 100644 --- a/.devcontainer/packagist/devcontainer.json +++ b/.devcontainer/packagist/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/pub/devcontainer.json b/.devcontainer/pub/devcontainer.json index c07e87d..9469cbc 100644 --- a/.devcontainer/pub/devcontainer.json +++ b/.devcontainer/pub/devcontainer.json @@ -23,6 +23,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/pypi/devcontainer.json b/.devcontainer/pypi/devcontainer.json index 8fc7e5f..45a2bfc 100644 --- a/.devcontainer/pypi/devcontainer.json +++ b/.devcontainer/pypi/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/rubygems/devcontainer.json b/.devcontainer/rubygems/devcontainer.json index 8bc1289..5c77c01 100644 --- a/.devcontainer/rubygems/devcontainer.json +++ b/.devcontainer/rubygems/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/swift/devcontainer.json b/.devcontainer/swift/devcontainer.json index d12b52b..dd5b3bd 100644 --- a/.devcontainer/swift/devcontainer.json +++ b/.devcontainer/swift/devcontainer.json @@ -23,6 +23,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/vcpkg/devcontainer.json b/.devcontainer/vcpkg/devcontainer.json index 514b7a0..835e4f3 100644 --- a/.devcontainer/vcpkg/devcontainer.json +++ b/.devcontainer/vcpkg/devcontainer.json @@ -22,6 +22,9 @@ "drift.usedrift" ], "settings": { + "security.workspace.trust.enabled": false, + "security.workspace.trust.startupPrompt": "never", + "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/scripts/lib/devcontainer-spec.mjs b/scripts/lib/devcontainer-spec.mjs index 5512f81..d016928 100644 --- a/scripts/lib/devcontainer-spec.mjs +++ b/scripts/lib/devcontainer-spec.mjs @@ -137,9 +137,25 @@ export function buildDevcontainer(demo, allDemos) { vscode: { extensions: ['drift.usedrift'], settings: { - // Codespaces opens the chat sidebar by default, which takes a third - // of the window from the Drift panel and wraps the terminal report - // mid-word. The demo is those two; the chat is a click away. + // A Codespace can come up *untrusted*: the startup terminal asks to + // execute code, VS Code puts "Do you trust the authors of the files + // in this folder?" in front of the demo, and until somebody answers + // it the extension cannot activate at all — no panel, no analysis, + // no terminal. Observed on a fresh npm Codespace on 2026-09-11, where + // everything stayed dead until the modal was answered. + // + // This container is a throwaway holding a fixture from this + // repository, which is the same code the visitor came here to watch + // Drift read, so the question has one sensible answer and asking it + // only costs the demo. + 'security.workspace.trust.enabled': false, + 'security.workspace.trust.startupPrompt': 'never', + 'security.workspace.trust.banner': 'never', + // Codespaces opens the chat sidebar by default, taking a third of the + // window from the Drift panel and wrapping the terminal report + // mid-word. This only takes effect from the *second* window load: the + // secondary sidebar is laid out before devcontainer settings arrive, + // which is a known Codespaces limitation with no first-open fix. 'workbench.secondarySideBar.defaultVisibility': 'hidden', // Analysis-oriented: Drift explains, it does not edit. No agent, API // key or GitHub auth involved.