← Cloud EnvironmentCONTENT HISTORY

Update to Cloud Environment

Snapshot Nov 7, 2026 · 06:11 UTC · version 0.2.0

WHAT CHANGED

Package or technical metadata updated

Package or technical metadata updated

Observed in package metadata. These changes alone do not establish a new customer-facing feature.

Save Cloud Environment and check future changes in Following.

Up to 3 plugins free · no card required.

All fields and original values.

These are saved file metadata. Open a changed file to read its text edits.

Package file

Before

Sep 30, 2026 · 23:11 UTC

c23513e361a6f9dbe1c28e5c41de635f355469b4ec1740ae1cd2de1d38a91bd3

After

Nov 7, 2026 · 06:11 UTC

43c1edfd46ed50089691d1c28f21956d9c75dddde78bfa8f7c0993cce9bf737b

Package file

Before

Sep 30, 2026 · 23:11 UTC

3985

After

Nov 7, 2026 · 06:11 UTC

7482

Package file

Before

Sep 30, 2026 · 23:11 UTC

ed06da8a5917325f2aea394884e1deb9dd085a74d6ecc4f289d2e90b2f6366d9

After

Nov 7, 2026 · 06:11 UTC

ec96d051bb55af47524272b4444c84009e8cc0f111571eeeb2b5ebf4eb38b21b

Package file

Before

Sep 30, 2026 · 23:11 UTC

6363

After

Nov 7, 2026 · 06:11 UTC

6846

Compare saved observations

Download comparison JSON

Changed files

Choose a file to see its text changes. Binary or large files show metadata only.

SKILL.md →

references/docker.md →

references/networking.md →

references/packages.md →

references/vpn.md →

references/vpn.md

− removed · + added

--- before
+++ after
@@ -1,22 +1,34 @@
 # Tailscale VPN access
 
-Use this reference when the selected executor's supported policy snapshot reports
-`vpn_configured: true`, or when explicitly diagnosing VPN access. Read
-[Cloud environment networking](networking.md) for the policy snapshot and HTTP
-policy. The snapshot's VPN setting and CONNECT address do not prove readiness or
-an enabled listener; `environment_status` does not report VPN health or TCP grants.
+Use this reference when the local policy reports `vpn_configured: true` or when
+explicitly diagnosing VPN or private-network access, even if the flag is missing
+or false. Read [Cloud environment networking](networking.md) for HTTP policy and
+proxy setup. `environment_status` reports configured VPN capabilities and observed
+enrollment failures. A null `capabilities[].vpn.failure` means no current failure
+is reported; it does not establish VPN readiness. Check connectivity with a request
+to the required service as described below.
 
 ## Choose the connection path
 
 Tailscale runs in the sidecar. The executor has no VPN interface or general
 Internet route. Direct connections, route changes, or unsetting proxy variables
-cannot enable VPN access. Sidecar controls, VPN credentials, and logs are unavailable.
-Do not install or reconfigure Tailscale in the executor to repair access.
+cannot enable VPN access. Sidecar controls and VPN credentials are unavailable
+from the executor. When offered, `environment_diagnostics` provides retained
+capture metadata and, with explicit repair consent, selected redacted logs.
+Follow the runtime skill's diagnostic flow; do not install or reconfigure
+Tailscale in the executor to repair access.
 
 | Use | Endpoint | Policy and authentication |
 | --- | --- | --- |
-| HTTP/HTTPS | Inherited `HTTP_PROXY`/`HTTPS_PROXY`, normally `http://proxy:8080` | HTTP destination and credential-injection rules apply, including for permitted private IPs. Keep this path for injected credentials. |
-| Raw TCP | HTTP CONNECT at `proxy:8088` | VPN plus a TCP grant. Opaque bytes, no TLS interception or credential injection. The application supplies authentication; proxy credential placeholders will not work. |
+| HTTP/HTTPS | Inherited `HTTP_PROXY`/`HTTPS_PROXY` in the default agent sandbox | With automatic Tailscale access, tailnet destinations need no public-internet grant. Keep this path for injected credentials. |
+| Raw TCP | HTTP CONNECT at `proxy:8088` from the outer executor | VPN access; older environments also require a TCP grant. Opaque bytes, no TLS interception or credential injection. The application supplies authentication; proxy credential placeholders will not work. |
+
+When `/etc/codex/network-policy.json` reports `automatic_tailscale_access: true`,
+the sidecar authorizes Tailscale destinations without manual domain or CIDR grants.
+Public internet means non-Tailscale transport, including when a tailnet advertises
+a publicly numbered subnet. Public HTTP policy still governs direct connections;
+raw TCP remains Tailscale-only. Protected platform destinations remain blocked.
+If the field is absent or false, use the legacy grant rules below.
 
 ## Access and recovery
 
@@ -40,32 +52,48 @@
    an account or rollout problem from "proxy unreachable" alone.
 5. If access still fails, distinguish DNS resolution, policy rejection, sidecar
    readiness, and service/protocol errors using the guidance below. Report the
-   destination, port, execution path, and sanitized error. Request operator
-   diagnostics when the failing layer is outside the executor.
-
-For raw TCP, use the authorized forwarding workflow below. The listener has its
-own grants; it is not a workaround for a denied HTTP destination.
+   destination, port, execution path, and sanitized error. Inspect retained
+   diagnostic metadata even when the failing layer is outside the executor;
+   after repair consent, select a relevant capture to read. If evidence is
+   unavailable or insufficient, escalate the environment and capture IDs and
+   the unresolved question without copying credentials.
+
+For raw TCP, use the authorized forwarding workflow below. A protected-destination
+denial must not be worked around by switching listeners.
+
+Saved VPN configuration is separate from running enrollment. **Save draft** does
+not reconnect or re-enroll the current VPN. A newly added VPN needs **Publish**;
+a changed key needs fresh VPN enrollment before the running environment uses it.
+Follow the existing configuration review and approval flow, then validate access
+to the intended service. Do not infer applied enrollment from a displayed saved
+configuration or from an older diagnostic capture.
 
 ## DNS and service identity
 
-Sidecar DNS resolves CONNECT names. MagicDNS/split tailnet DNS is not configured
-(`accept_dns=false`). Use a resolvable authorized hostname or granted literal IPv4.
-Executor DNS failure alone does not disprove hostname CONNECT.
+Fresh VPN proxy enrollment accepts the tailnet's DNS settings, including split
+DNS and MagicDNS, for HTTP/HTTPS and CONNECT hostname resolution. Proxies enrolled
+before this support was deployed need recreation and fresh enrollment; a new chat
+or updated skill alone does not update a running proxy's DNS configuration.
+
+Use the service's hostname. Legacy environments also require a matching HTTP or
+TCP grant. Executor DNS failure
+alone does not disprove hostname CONNECT; preserve the hostname for sidecar
+resolution (for example, `resolve=0` with socat).
 
 If a Tailnet hostname fails while its known, authorized IP works, diagnose DNS
 separately. Use the IP only where the protocol and destination policy permit it;
-for raw TCP, a literal IPv4 needs a matching CIDR grant. Preserve the service's
+in legacy environments, a raw TCP literal IPv4 needs a matching CIDR grant. Preserve the service's
 TLS hostname/SNI and certificate verification when changing the transport
 address, as in the forwarding examples below. Do not disable verification to
 make an IP-based HTTPS request succeed.
 
-## TCP grants
+## Legacy TCP grants
 
 TCP grants apply only to 8088; HTTP rules do not authorize that listener.
 A literal IPv4 address needs a matching CIDR. A hostname needs an exact
 domain or `*.` wildcard match; wildcards exclude the apex. Domain grants need no
 additional CIDR grant. Current grants cover all TCP ports. Resolved IPv4 addresses
-must be within 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, or 100.64.0.0/10; platform-protected
+must select Tailscale transport; platform-protected
 destinations remain blocked. Changed TCP grants require a replacement environment
 using the new configuration version.
 
@@ -105,6 +133,12 @@
 
 ## Forward an authorized endpoint
 
+For an agent-issued TCP forward, request `sandbox_permissions: "require_escalated"`
+for the command that connects to `proxy:8088`. Run the forward and its client
+in the same outer network namespace, for example in the same approved command.
+A separate default sandbox command has its own loopback and cannot use the
+outer listener. If escalation is unavailable or denied, report that limitation.
+
 ```sh
 "$SOCAT" -d -d TCP4-LISTEN:15432,bind=127.0.0.1,reuseaddr,fork \
   PROXY:proxy:db.example.internal:5432,proxyport=8088,resolve=0
Full technical diff · 9 changed fields

changed /files/SKILL.md/sha256

BEFORE
"c23513e361a6f9dbe1c28e5c41de635f355469b4ec1740ae1cd2de1d38a91bd3"
AFTER
"43c1edfd46ed50089691d1c28f21956d9c75dddde78bfa8f7c0993cce9bf737b"

changed /files/SKILL.md/size

BEFORE
3985
AFTER
7482

changed /files/references~1docker.md/sha256

BEFORE
"ed06da8a5917325f2aea394884e1deb9dd085a74d6ecc4f289d2e90b2f6366d9"
AFTER
"ec96d051bb55af47524272b4444c84009e8cc0f111571eeeb2b5ebf4eb38b21b"

changed /files/references~1docker.md/size

BEFORE
6363
AFTER
6846

changed /files/references~1networking.md/sha256

BEFORE
"0e897330ac66015b44f0dc16f57d48279c7782a4e79ac6309f6c3b96ce833a8f"
AFTER
"349d5b56dfff6f3973852941af2b59b2576d9461d851d167fa78da7f5a7dfd49"

changed /files/references~1networking.md/size

BEFORE
1688
AFTER
6117

added /files/references~1packages.md

BEFORE
Field was absent
AFTER
{
  "sha256": "7079ae62edd61083e1f448b845c7d6120e26e98882e918844403695f53ece6c9",
  "size": 1751
}

changed /files/references~1vpn.md/sha256

BEFORE
"e0be7532df91927959616f24304b9c3448f982dce04a3b511badfc7837e66613"
AFTER
"29e446165d393c5179bb3619f652b9b1e2e2e93723146cd51f0a2b7ad56d6bef"

changed /files/references~1vpn.md/size

BEFORE
8927
AFTER
11165
Full snapshot data
{
  "files": {
    "SKILL.md": {
      "sha256": "43c1edfd46ed50089691d1c28f21956d9c75dddde78bfa8f7c0993cce9bf737b",
      "size": 7482
    },
    "references/docker.md": {
      "sha256": "ec96d051bb55af47524272b4444c84009e8cc0f111571eeeb2b5ebf4eb38b21b",
      "size": 6846
    },
    "references/networking.md": {
      "sha256": "349d5b56dfff6f3973852941af2b59b2576d9461d851d167fa78da7f5a7dfd49",
      "size": 6117
    },
    "references/packages.md": {
      "sha256": "7079ae62edd61083e1f448b845c7d6120e26e98882e918844403695f53ece6c9",
      "size": 1751
    },
    "references/vpn.md": {
      "sha256": "29e446165d393c5179bb3619f652b9b1e2e2e93723146cd51f0a2b7ad56d6bef",
      "size": 11165
    },
    "scripts/ensure-socat.sh": {
      "sha256": "5d978e9230c4363dc84e2169e0385efaff2f1b5259da8fb15ed57924fdcd13f0",
      "size": 2962
    }
  }
}

SHA-256 of public snapshot: 57c582decb5bf8d5666540d73a9c383b344bab1f1966b457c96de7fdc068985e