# Runbook: order egress through a fixed-IP proxy What this gets you: INDstocks (and later any other venue with an IP whitelist) accepts order placement from a registered address; the desk, the database, the ledger and every read stay at home. Only the TCP connection that carries a placement or cancellation leaves through the proxy (ADR-0024). The provisionable unit is `deploy/egress/`. This page is the operating procedure around it: registration, verification, failure and rotation. Read section 5 before filling either INDstocks slot — two facts there are effectively irreversible for a week at a time. ## 0. What you need - A VPS with a **reserved/elastic IPv4** (not an ephemeral address). 1 vCPU / 512 MB is plenty. - Root or `sudo` on the VPS, admin on the home machine, and one SSH key for the `ops` user. - The INDstocks dashboard login (there is no API for the static-IP page). - About 30 minutes, plus the wait for the provider and for the broker page to apply. - For the standby exception in section 5 — and only for it: a **second** VPS of the same shape, built and verified before you need it, never after the first one fails. Everywhere below: | Placeholder | Meaning | |---|---| | `` | the reserved IPv4 of the live proxy host, e.g. `203.0.113.10` | | `` | the reserved IPv4 of the standby host, if you have decided to pay for one | | `` | a DNS name for the live host, e.g. `egress.example.com` | | `` | WireGuard UDP port, `51820` unless it is taken | | `` | the operator's public address with `/32`, for SSH | | `10.66.0.1` / `10.66.0.2` | tunnel addresses: VPS / desk | | `127.0.0.1:3128` | the `wg` sidecar's loopback forwarder; what `TAPEBOOK_ORDER_EGRESS_URL` names by default | If the home address is dynamic, restricting SSH to `` will eventually lock you out unless you follow it. It is one command: `make allow-my-ip PROVIDER=` in `deploy/infra/` reads the address you have now and moves the provider firewall's TCP/22 rule, printing the change (`docs/runbooks/egress-provisioning.md` §11). The proxy itself does not care — its firewall allows WireGuard UDP from anywhere, WireGuard ignores unauthenticated packets, and SSH over the tunnel (`ssh -o HostName=10.66.0.1 tapebook-egress`) does not depend on the home address at all. SSH is never opened to `0.0.0.0/0`; if the tunnel and the rule are both against you, the provider console is the break-glass (`egress-provisioning.md` §12). ## 1. Provision the host 1. Create the instance: **Ubuntu 24.04 LTS**, attach the reserved IPv4, and leave IPv6 **unattached** (or disable it; section 3 pins the proxy to IPv4 anyway). 2. Point `` at `` with DNS-only (no CDN/proxy). A name makes a later rotation a DNS change instead of an edit of every client. 3. Fill the five placeholders in `deploy/egress/cloud-init.yaml` (or use the Terraform roots, which render them) and pass it as the provider's user-data. It creates `ops` with your key (and no password login), disables root SSH, turns on ufw with SSH from ``, `/udp`, and SSH plus 3128 **on `wg0` only**, disables IPv6, enables unattended upgrades, **installs squid and WireGuard**, and runs `install.sh` as root at first boot. The five values are the SSH key, the SSH CIDR, the WireGuard port, the desk's **public** key and the egress IPv4 (`auto` where the address of record is the host's own public IPv4). 4. If the provider does not support cloud-init, create the `ops` user, install the SSH key and apply the same hardening by hand; the rest of this page's manual path applies. 5. Generate the desk's **client** keypair **on the desk**. The server keypair is generated on the host, so the desk only needs `client.pub` before apply: ```bash deploy/egress/gen-keys.sh --client-only --out ~/egress-keys --endpoint ``` For a Terraform-created host, pass the public half as `wg_client_public_key_path` in `terraform.tfvars`; only the public key enters user_data and state. For a host built before this payload, use the same `--client-only` keypair and copy the unit and `client.pub` to the host. Do not use `gen-keys.sh --out`: its server keypair is not the one `install.sh` generates on the host, so its client config would carry the wrong peer public key. 6. **Terraform-created host:** there is no installer to run. Cloud-init writes the unit to `/opt/tapebook-egress/unit/` and runs `install.sh` as root on first boot. Success prints `TAPEBOOK EGRESS READY`, the address to register and the server **public** key; the same key is at `/var/lib/tapebook-egress/server.pub`. Failure prints `TAPEBOOK EGRESS PROVISIONING FAILED` and the reason is in `/var/log/teapbook-egress-bootstrap.log`; do not register that host. **Manual host:** run the installer **as root from the provider console**, not as `ops`. The payload grants `ops` exactly six commands as root — `systemctl restart wg-quick@wg0`, `systemctl restart tapebook-egress-proxy`, `wg`, `squid -k parse`, `squid -k reconfigure` and `tapebook-egress-health` — and no general sudo, so `sudo ./install.sh` over that key is refused by design. ```bash /tmp/egress/install.sh --egress-ipv4 \ --client-public-key-file /tmp/egress/client.pub \ --apply-firewall --ssh-cidr ``` `install.sh` is idempotent. It installs squid and wireguard-tools, generates the server key once and reuses it, renders `/etc/wireguard/wg0.conf` (mode 0600) and `/etc/squid/tapebook-egress.conf`, validates the squid config, enables `wg-quick@wg0`, the proxy unit and the one-minute link watchdog, and prints **the one address to register** and the server **public** key. Replace `` in the desk's `wg0-client.conf` with that key before bringing the tunnel up. 7. The proxy must end up listening on `10.66.0.1:3128`, not `0.0.0.0:3128`. `install.sh` exits non-zero if it is not; the first-boot bootstrap does the same and fails cloud-init. ## 2. The desk's end of the tunnel `gen-keys.sh` prints the server and client configs and the exact `AllowedIPs` for each side: ```text server side: 10.66.0.2/32 (only the desk) client side: 10.66.0.0/24 (only the private tunnel — NEVER 0.0.0.0/0) ``` Generate the keypair **on the desk**. The private key never leaves it, never enters the repository and is never baked into an image: ```bash deploy/egress/gen-keys.sh --client-only --out ~/egress-keys --endpoint # ~/egress-keys/wg0-client.conf is mode 0600 and holds the private key ``` For a Terraform-created host, the file carries `PublicKey = `. Replace that line with the public key printed after `TAPEBOOK EGRESS READY` on the boot console (also `/var/lib/tapebook-egress/server.pub`). The key is public; the desk's private key is already in the file and is never sent to the host or to Terraform. ### 2.1 The default: the `wg` sidecar The desk does not install WireGuard on the host. `docker-compose.yml` runs a `wg` sidecar, and `serve`/`runner` use `network_mode: "service:wg"`, so they share its namespace and an order leaves through the tunnel without any host configuration (ADR-0041 §4). The sidecar: - holds `NET_ADMIN` and nothing else — **not** `privileged`; - mounts `WG_CONF_PATH` read-only from a path outside this repository; - publishes `serve`'s HTTP port on `127.0.0.1`, because a container in another's namespace cannot publish one itself; - has `restart: unless-stopped` and a healthcheck that fails when `wg0` is down or the handshake is older than `WG_STALE_SECONDS` (default 180 s; keepalive is 25 s). Put the config where the sidecar can read it and point `WG_CONF_PATH` at it (`.env`, mode `0600`): ```bash # .env — the path must be ABSOLUTE and outside the repository WG_CONF_PATH=/home//egress-keys/wg0-client.conf ``` ```bash chmod 600 ~/egress-keys/wg0-client.conf docker compose up -d --build docker compose ps # wg is healthy only with a fresh handshake docker compose exec wg wg show # latest handshake, non-zero transfer ``` The sidecar refuses to start, with a message naming the path, if the file is missing or readable by group/other: ```text wg: refusing to start: ... is mode 644; it must be 0600 (owner read/write only). The file holds a private key. Fix it with: chmod 600 ... ``` `build` is needed once: the sidecar image is `deploy/egress/desk/Dockerfile`. `AllowedIPs = 10.66.0.0/24` is deliberate: only the private tunnel subnet (which contains the proxy at `10.66.0.1`) enters the tunnel. A full tunnel (`0.0.0.0/0`) routes reads, DNS and the UI through the VPS too, so a proxy or tunnel outage blinds the desk instead of only stopping placement. That is the mistake this runbook exists to prevent. (`10.66.0.1/32` is an equally correct, slightly tighter choice if the tunnel subnet collides with a home network.) ### 2.2 The read-only path: no sidecar The page, imports, reconciliation and backups must work without the tunnel. Use the override: ```bash docker compose -f docker-compose.yml \ -f deploy/egress/desk/docker-compose.no-egress.yml \ up -d postgres migrate serve ``` It excludes `wg`, gives `serve` its own `127.0.0.1:${TAPEBOOK_HTTP_PORT}` publication, and — this is the point — **leaves `TAPEBOOK_ORDER_EGRESS_URL` set**. The process boots; a placement then fails with `order egress refused ... will not fall back to a direct connection`. Never "fix" that by emptying the variable: empty means direct from the home address. See [deploy/egress/desk/README.md](../../deploy/egress/desk/README.md) for the full table. ### 2.3 The alternative: WireGuard on the host If the desk cannot run containers (or you are using the HA profile's remote-proxy arrangement), install the same client config on the host and set `TAPEBOOK_ORDER_EGRESS_URL` to the tunnel proxy address instead of loopback: ```bash sudo install -m 600 ~/egress-keys/wg0-client.conf \ /opt/homebrew/etc/wireguard/tapebook-egress.conf # Linux: /etc/wireguard/ sudo wg-quick up tapebook-egress sudo wg show # latest handshake, non-zero transfer ``` This is the shape the rest of this runbook's host commands assume. It requires root on the desk and does not port to a container platform; the sidecar is the default for those reasons. ## 3. What the proxy is allowed to do The unit runs squid, because the rule is method-level and tinyproxy cannot express it (see above). The service runs as the package's dedicated `proxy` user (`User=proxy` in the unit), never as root, and squid's own `cache_effective_user proxy` agrees with it. The policy in `/etc/squid/tapebook-egress.conf`, verbatim: ```conf http_port 10.66.0.1:3128 acl wg_peer src 10.66.0.2/32 acl SSL_ports port 443 acl CONNECT method CONNECT http_access allow wg_peer CONNECT SSL_ports http_access deny all tcp_outgoing_address all ``` - `http_port 10.66.0.1:3128` — reachable only over WireGuard. `ss -ltnp | grep 3128` must show `10.66.0.1:3128`, never `0.0.0.0:3128`. - `allow wg_peer CONNECT SSL_ports`, then `deny all` — one source, one method, one destination port. Plain HTTP is 403; CONNECT to any other port is 403; the cache manager is denied. - `tcp_outgoing_address ` — every outbound connect leaves from the registered IPv4 even if the host has another address or resolves an AAAA. **Logging decision:** the proxy does not log request contents or headers, and its access log omits destination hostnames. Its access format is `time client method status result duration` — no URL (`%ru`), no headers, no body. `cache.log` carries lifecycle and error events at Squid's default debug level; it is not a per-request record. An access log that omits the hostname can still answer "did the desk reach the proxy, and did it allow the request"; a log with `%ru` records every broker host the desk contacts. Bodies are never cached (`cache deny all`). **Fail-closed units.** The proxy's `ExecStartPre` runs `require-wg0`, which refuses to start if `wg0` is absent, is not a WireGuard interface, or does not carry `10.66.0.1`; the proxy has `Restart=always`. `wg-quick@wg0` is `Type=oneshot`, for which systemd refuses `Restart=`; a one-minute `tapebook-egress-watchdog.timer` re-raises the link instead. If the link is down, order traffic fails at the desk (section 10) rather than leaving directly. Diagnose on the host with: ```bash sudo tapebook-egress-health ``` It prints the handshake, the listener, the unit state, ufw, the outbound route, the IPv6 state and the last proxy decisions (no hostnames). ## 4. Prove the egress address From the desk, with the tunnel up. **With the sidecar (the default) run it inside the shared namespace and use loopback**, because `10.66.0.1` is not routable from the host: ```bash netns=$(docker compose ps -q wg) docker run --rm --network "container:$netns" --entrypoint python tapebook:local -c \ "import urllib.request; p=urllib.request.ProxyHandler({'https':'http://127.0.0.1:3128'}); print(urllib.request.build_opener(p).open('https://ifconfig.me').read().decode())" ``` It must print `` — exactly the value you are about to register. Compare with a read, which does not use the proxy: ```bash docker run --rm --network "container:$netns" --entrypoint python tapebook:local -c \ "import urllib.request; print(urllib.request.urlopen('https://ifconfig.me').read().decode())" # the home address, expected to differ ``` With WireGuard on the host instead (§2.3), the original form applies: ```bash curl --proxy http://10.66.0.1:3128 https://ifconfig.me; echo curl -sS https://ifconfig.me; echo # the home address, expected to differ ``` Prove the proxy is not public — from a machine **not** on the WireGuard network: ```bash curl -m 5 -sS http://:3128; echo "exit=$?" # must fail to connect ``` A **503** from the proxy while the tunnel is healthy means squid could not bind its outbound source to ``: check `ip -4 addr` still carries the address and that `tcp_outgoing_address` names it. The desk-side script runs all of this plus the policy checks: ```bash TAPEBOOK_EXPECTED_EGRESS_IPV4= deploy/egress/health/egress-check.sh ``` ## 5. Register with INDstocks — and why the second slot stays empty 1. Log in at . 2. Open **Static IP Settings**. There are two slots, **Primary** and **Secondary**; both are accepted for order placement. 3. Put `` in **Primary** and save. 4. **Leave Secondary empty.** That is the default, not a shortcut: a slot cannot be cleared once set, only replaced, and at most once per calendar week — and the vendor's wording does not say whether that budget is per slot or per account, so plan as if it is one change a week in total. An empty slot costs nothing; a wrong address in it costs a week. Fill it only under the exception below. 5. Never put an address in a slot before you have seen it answer from the desk. A wrong address in a slot costs a week. Facts that constrain everything afterwards (vendor docs, fetched 2026-11-30): - A static IP can change **at most once per calendar week** (NSE/INVG/67858, Annexure A.6). The vendor's wording does not say whether that budget is per slot or per account, so plan as if it is **one slot change a week in total**. - A slot **cannot be cleared**; it can only be replaced by another valid address. - The docs do not state how quickly a change applies. Wait a few minutes, then run section 8 before relying on it. - Both slots accept IPv4 or IPv6 in any combination. Register **IPv4 only**; the unit pins the proxy to one IPv4. **The exception: a second, verified host.** A single registered address plus a weekly change limit means a dead VPS is a dead order path until the next calendar week. The answer is not to fill Secondary speculatively; it is to fill it only when a **second, warm VPS built to this same unit and verified with section 4** already exists — then the desk can be repointed by DNS and the tunnel endpoint alone, with no dashboard change. That turns a host failure from "wait for next week" into "repoint and verify". Consequences to accept when you take the exception: - Two small VPSs are now provisioned, patched and paid for. 512 MB is enough for each. - Filling Secondary spends one weekly change. Do it while Primary is working, never in the same week as a Primary change. - Once both slots hold addresses, every rotation replaces one slot per week. Plan the sequence in section 11 instead of improvising during a session. - Registering a name is not a thing: the broker stores addresses, not hostnames. ## 6. Point the desk at it With the sidecar, the base compose file already defaults the value. `.env` may state it explicitly (mode `0600`, never committed): ```bash # inside the shared namespace the forwarder is local TAPEBOOK_ORDER_EGRESS_URL=http://127.0.0.1:3128 ``` Only the host-WireGuard alternative (§2.3) points at the tunnel address: ```bash TAPEBOOK_ORDER_EGRESS_URL=http://10.66.0.1:3128 ``` Restart the process that places orders, then: ```bash uv run tape version ``` Expected line: ```text order egress: proxy http://127.0.0.1:3128 — placement and cancellation route through it; reads stay direct ``` If it says `MISCONFIGURED`, placement will refuse; fix the value, do not remove it. An *unreachable* proxy is not `MISCONFIGURED`: the value is valid, the first placement is refused, and the page keeps working. Prove reads still work direct — with the proxy stopped, if you want the strong version: ```bash sudo systemctl stop tapebook-egress-proxy # on the VPS curl -s -o /dev/null -w '%{http_code}\n' \ -H "Authorization: $INDSTOCKS_ACCESS_TOKEN" \ https://api.indstocks.com/funds ``` Expect `200`. This never prints the token. Start the proxy again afterwards. ## 7. One egress, many venues `TAPEBOOK_ORDER_EGRESS_URL` is the default for every venue. A venue can be pointed at a different proxy (or a different host) without moving the others: ```bash # .env — only Binance's mutating calls use this proxy TAPEBOOK_EGRESS_URL__BINANCE=http://127.0.0.1:3128 ``` (With WireGuard on the host instead of the sidecar, the same override names `http://10.66.0.1:3128`.) Resolution rules: - A venue override wins for that venue; the default still applies everywhere else. - Venue names are normalised to one env-var suffix (`IND-US` and `ind_us` both mean `TAPEBOOK_EGRESS_URL__IND_US`; two spellings of the same venue is a start-up error). - An override set to an **empty** value is refused rather than read as "direct". Direct is the absence of the setting; an empty value is ambiguous, and guessing is how an order leaves from the unregistered address. - The fail-closed rule is unchanged: a proxied egress with no proxied client is a construction error, per venue. Adapters add one line — this is the whole call site: ```python egress = egress_for("binance") # TAPEBOOK_EGRESS_URL__BINANCE, else the default ``` The Binance adapter is owned by another lane and is **not** wired to this yet; the function and the rule exist so that wiring is one line and not a second egress design. ## 8. Prove the whitelist path without placing an order (optional) The commands below assume WireGuard on the host (the proxy is `10.66.0.1:3128`). With the sidecar, run them inside its namespace and substitute `127.0.0.1:3128` for `10.66.0.1:3128`; the direct call is still the ordinary host `curl` with no `--proxy`. Cancel is one of the three IP-whitelisted calls and cannot create an order. Use a deliberately non-existent `order_id`: ```bash # direct from home — should be refused for the address curl -sS -w '\nHTTP %{http_code}\n' \ -H "Authorization: $INDSTOCKS_ACCESS_TOKEN" -H 'Content-Type: application/json' \ -d '{"order_id":"DOES-NOT-EXIST","segment":"EQUITY"}' \ https://api.indstocks.com/order/cancel # through the proxy — should get the ordinary validation/not-found error instead curl -sS -w '\nHTTP %{http_code}\n' --proxy http://10.66.0.1:3128 \ -H "Authorization: $INDSTOCKS_ACCESS_TOKEN" -H 'Content-Type: application/json' \ -d '{"order_id":"DOES-NOT-EXIST","segment":"EQUITY"}' \ https://api.indstocks.com/order/cancel ``` Read the outcomes: - Direct call refused for its IP, proxied call not refused ⇒ the rule is a source-IP check and this setup is correct. - **Both** calls return the same "invalid order id" error ⇒ this probe proved nothing (validation ran before the IP check). Do not conclude either way; the first real placement is then the experiment. - Proxied call refused for its IP ⇒ the proxy is not presenting `` (re-check section 3's `tcp_outgoing_address` and section 4), or the change has not applied yet. Do **not** send a real placement merely to test wiring. When the first real placement happens (GAP-057), make it a 1-share limit order far below the market so success is harmless and cancellable. ## 9. Binance's IP whitelist Binance's whitelist lives on the API key, not on a per-account settings page: create or edit the key with **Restrict access to trusted IPs only** and list the egress address. - Register the **same ``**, IPv4, no CIDR range unless the key form explicitly accepts one. The trusted-IP field is a list, so both the live and standby hosts can be listed at once — there is no two-slot, weekly-change constraint comparable to INDstocks. Verify the list's cap in the key form rather than trusting a number here. - Use a **withdrawal-disabled** key for the trading lane. The whitelist is about where requests may come from; disabling withdrawals limits what a leaked key can do. - Two addresses in the list is the same standby exception as section 5 — take it only when a second, verified host exists; repointing the desk then needs no Binance change. - Binance may apply an IP-list change immediately; the vendor's page is the authority, not this paragraph. Verify with a read (`GET /api/v3/account`) through the proxy before assuming. - Binance is a separate key and account from INDstocks. Changing the INDstocks slots does not touch it. The exact Binance trust-list mechanics (how many addresses, whether IPv6 or CIDR are accepted, how quickly a change applies) have not been exercised from this repository; that is recorded as a gap rather than asserted. ## 10. Failure modes ### The proxy or tunnel is down The order client raises: ```text order egress refused: POST /order could not be sent through proxy http://127.0.0.1:3128 (...). No order was sent and the order path will not fall back to a direct connection. ``` What happens: no order is sent; the cycle records a retryable rejection for each intent; reads, reconciliation, the API and the UI keep working. Expect the Indian sleeves not to trade. What to do: ```bash # desk — sidecar (the default) docker compose ps wg # unhealthy: interface down, stale handshake or route gone docker compose exec wg wg show # Recreate the sidecar AND its namespace sharers. `restart wg` alone orphans serve/runner in the # old sandbox. docker compose up -d --force-recreate wg serve runner docker compose logs --tail 50 wg # desk — host WireGuard alternative (§2.3) sudo wg show sudo wg-quick up tapebook-egress deploy/egress/health/egress-check.sh # VPS sudo tapebook-egress-health systemctl status tapebook-egress-proxy --no-pager journalctl -u tapebook-egress-proxy -n 50 --no-pager systemctl restart tapebook-egress-proxy ``` If the outage will outlast the trading session, halt deliberately: ```bash uv run tape halt --all --reason "order egress down" --by ops ``` **Never** do any of these to "get trading going": unset `TAPEBOOK_ORDER_EGRESS_URL`, point it at the home address, set a per-venue override to empty, or call the broker directly with curl. Each sends a placement from an address the broker has not registered — the failure this setting exists to make impossible. ### The address changes An unregistered source address produces an IP refusal at the broker, not a working order. If the provider moves the address, the only fix is a slot change, and that window is once per calendar week. This is why: - the address must be reserved/elastic, not dynamic; - if you took the standby exception, the second host holds the other slot, so a failure is a repoint rather than a wait for the next calendar week; - `TAPEBOOK_EXPECTED_EGRESS_IPV4` is set on the desk check, so a changed address fails the check before an order fails at the broker. This is the *registered* address. A change in the operator's **home** address is a different event: it breaks SSH, never the order path, and it is one command — `make allow-my-ip`; see `egress-provisioning.md` §11. ### You cannot SSH to the host at all The order path does not need SSH, so this is not an outage — it is an outage waiting for you to need to fix something. In order: the tunnel (`ssh -o HostName=10.66.0.1 tapebook-egress`, WireGuard up), then `make allow-my-ip PROVIDER=` from the address you have, then the provider console if the host's own `ufw` also pins the old address. `egress-provisioning.md` §12 is the full sequence, including what to do if the provider account is locked. Do not destroy the host to regain access: its address stays in the broker's slot and cannot be cleared. ### A change was saved but not applied The docs do not publish an apply delay. Assume minutes, verify with section 8, and do not "try again" by changing the slot a second time — the weekly limit counts attempts. ## 11. Rotating an address or a host Once per calendar week, and assume that budget covers the account rather than one slot. Plan the sequence; do not improvise it during a session. The default steady state after section 5 is **Primary = the live host, Secondary empty**. If you took the standby exception, Secondary holds the second host. Either way a rotation replaces one slot and switches the desk, keeping the other address working. 1. Build the replacement host with `deploy/egress/` and confirm its address from the desk (`curl --proxy ...` to the new tunnel endpoint). 2. Put the new address in the **free slot** — Secondary while Primary holds the live one. With a standby already registered there, this replaces the standby; the live Primary keeps working, so there is no downtime yet. 3. Repoint `` DNS and the desk's WireGuard `Endpoint` — the file named by `WG_CONF_PATH`, whether the sidecar or the host owns the interface — restart it (`docker compose restart wg` for the sidecar, `wg-quick down/up` on a host), and re-run section 4. It must print the new address. 4. Run `uv run tape version`, one read, then one small real placement when the market is open. 5. Keep the old host alive for a full week. If the new path fails, repoint DNS and the desk back; the old address is still in Primary, so no dashboard change is needed. 6. The following week — never the same week — replace Primary with the next address if you want to retire the old host. Its address remains in the slot forever (a slot cannot be cleared); it is inert but still whitelisted, so only register addresses you control and destroy hosts you are done with. Never change both slots in the same week: if the new address is wrong, you have no working path left and no way to fix it before the next calendar week. ## 12. Ongoing checks - `uv run tape version` before a session: it names the order egress. A surprise here is cheaper than a refusal at 09:15. - `deploy/egress/health/egress-check.sh` from the desk after any host, DNS or firewall change. - After a home-address change, or a new network: `make allow-my-ip PROVIDER=` (idempotent; it prints `unchanged` when there is nothing to do). Leaving it until you need to SSH is how a break-glass turns into a rescue-mode session. - A dashboard reminder for the next rotation window if you changed an address. - Patch both hosts (`unattended-upgrades`), and keep `/etc/wireguard/*.key`, the desk's client private key and the VPS's SSH key off the desk and out of git. - The proxy carries no broker token and no database credential. If you find yourself adding one, the design has drifted from ADR-0024. ## 13. What is still manual Creating the VPS, attaching a reserved address and registering it are human actions by construction; so is deciding to spend a weekly slot. Provider automation lives in `deploy/infra/`, and a Terraform-created host runs `install.sh` itself at first boot; running it by hand is only for a host built before that payload (GAP-107). There is no monitoring of the proxy from the desk, no automatic rotation, and the unit has never run on a real VPS. Those are GAP-108, GAP-109 and GAP-115 in `docs/gaps/GAP-LEDGER.md`.