Docs: clarify that active workspace scope is not a filesystem security boundary for shell tools
Summary
This is a documentation clarity issue, not a security report. The implementation behaves exactly as one part of the docs describes. The problem is that a different, more prominent sentence can reasonably be read as promising filesystem confinement.
The documentation is already correct in one place
docs/guide/web-model-runtime.md (line ~250) says, about the active workspace scope:
This constrains the starting directory, not what an authorized local program can subsequently access.
That is unambiguous and matches the implementation: cccc_shell uses the active scope as the working directory, and a launched program can reach any path the CCCC process user can reach.
The confusing part
Under Current Boundaries (line ~357) in the same document:
ChatGPT Web Model local-power tools (
cccc_repo_edit,cccc_shell,cccc_git) are actor-bound to the single ChatGPT Web Model actor identity and constrained to the active workspace scope.
Read on its own — and it is under a heading called "Current Boundaries", surrounded by genuine security properties like connector secret hashing and readOnlyHint policy — "constrained to the active workspace scope" reads like filesystem confinement.
I read it that way myself, and only corrected the assumption after testing shell behavior directly.
What I tested
With an active scope configured, using a synthetic workspace (no real project data):
cccc_reporejected paths outside the active scope, as expectedcccc_shellreading an absolute path outside the active scope succeeded
Both results are consistent with the line-250 sentence. Again: this matches the documented intent, so I am not filing it as a vulnerability.
Why it still matters
The Web Model runtime is the case where this distinction carries the most weight, because the actor is a remote model whose tool calls are not reviewed line by line before execution. A reader deciding "is this contained enough to point at my machine?" is likely to consult Current Boundaries and stop there.
Suggested clarification
Something equivalent to this, near the Current Boundaries bullet (exact wording obviously up to you):
Active workspace scope selects the working directory and constrains repository-aware tools, but it is not an OS/filesystem sandbox. Local programs launched through shell/exec can access any path available to the CCCC process user. Use container, VM, or OS-level isolation when a stronger boundary is required.
In practice we did move the Web Model runtime into a container for exactly this reason, and it worked well — so the guidance is actionable, it just isn't stated where a reader is most likely to look.
Possibly related
#110 covered a different cccc_shell documentation mismatch (shell operator semantics vs. direct argv exec). Same tool, different sentence — linking only for context.
Thanks for catching this—the documentation was misleading. The workspace determines the starting directory; it does not sandbox shell commands or Git subprocesses, which retain the host process’s OS permissions. Actor binding does not provide filesystem or network isolation.
We’ve corrected the guide and tool descriptions in the pending update. This clarifies the existing behavior without changing permissions.