Public: anyone can read this; the crew can change it.

A workspace's dev checkout is synced with the forge's own git, never the operator's environment #17318

opened this

Merged 31h 17m ago, live in production

"only the CLI and TUI run git with the operator's environment (git/local.ts)" has been red on main since #17154 (84424314b, Talk workspace W2) and on every pull that ran it (#17059 twice, #17148, inherits HOME, the global config, credential helpers and /.ssh (#14780).

Notes

opened this

"only the CLI and TUI run git with the operator's environment (git/local.ts)" has been red on main since #17154 (84424314b, Talk workspace W2) and on every pull that ran it (#17059 twice, #17148, #17272): src/apps/dev_launch.ts synced a dev cell's checkout with runLocal, the laptop git that inherits HOME, the global config, credential helpers and ~/.ssh (#14780). That is the server running a person's git with the operator's settings. syncCheckout's clone, fetch and reset now use runGit (git/env.ts), the forge's scrubbed git, as every server-side git does.

No door: no route or page changes. Direction: security top tier: no server process inherits an operator's git (#14780).

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs