VS Code extension
Context · workspace trust · approvals · commands · mutations · redaction · recovery
Visible trust boundaries
WebCodingAgent separates the eligible AI connection supplying model responses from the VS Code extension that can access and change your repository. No component receives more power than its job requires.
Three components, hard boundaries
The wcagent service coordinates tasks. Desktop VS Code owns repository access and execution. For eligible web-account integrations, the browser connector transports prompts and responses without exporting provider cookies or credentials.
Context · workspace trust · approvals · commands · mutations · redaction · recovery
Plans · workflows · risk policy · task state · audit events · coordination
Eligible provider exchange · provider session stays in profile · no repository access
Local execution
The extension independently validates every tool request before anything reaches the repository. Ask-for-approval mode pauses each command and mutation in the conversation; full access remains bounded to the active task and local policy.
Lexical and real paths must remain inside the repository, including protection against symlink escapes.
Existing-file edits require the SHA-256 returned by an earlier read and apply atomically.
Commands and mutations can stop for explicit approval without losing the rest of the task.
Credential-shaped values are redacted before supported tool output reaches the cloud.
Long-running commands stay observable and can be cancelled from the same task UI.
Execution-environment limits are enforced again in VS Code, not trusted from a cloud label.
Browser authentication
For an eligible web-account integration, the connector uses a provider account already authenticated in your browser. Normal wcagent protocols return model text and bounded runtime metadata—not passwords, cookies, authentication headers, or full browser-session payloads.
The browser connector requests work over its paired channel; the wcagent service does not open an inbound path to your machine.
The connector can manage validated worker tabs for the selected AI provider but cannot read or mutate workspace files.
You choose the eligible connection that supplies the task’s model responses, and connector activity remains visible and reversible.
Signed-out, provider-limited, or uncertain sessions pause with a typed error instead of switching accounts or reporting success.
Provider controls
wcagent does not increase, reset, conceal, or bypass usage limits. It does not defeat authentication, CAPTCHAs, safety systems, geographic restrictions, or other technical access controls.
Use only a provider, account type, and connection method whose applicable terms permit its use with wcagent.
wcagent does not sell or resell access to an AI model. You supply and maintain your AI account separately.
If a provider refuses or limits a request, wcagent reports that result and cannot make the provider accept it.
Provider availability, charges, usage limits, account settings, policies, and terms remain in force.
Evidence and governance
Policy decisions, approvals, local tool results, model routes, and completion evidence remain attached to the task. Hash-linked audit records make later review possible without pretending that an audit log replaces secure execution.