Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Working-Set Overflow: When a Local Agent Should Yield to a Free Server

Description and use

When a local agent stalls on large working sets, classify and exclude secrets, probe network connectivity, and then offload the non‑secret portion to a free remote server to improve performance while keeping secrets local.

Problem

A local coding agent stalls on large working sets, causing disk thrash and thermal throttling, while a free remote server can handle the bulk of the job but must avoid leaking secrets.

Outcome

By staging only non‑secret files, probing connectivity, and classifying the secret surface, the engineer can safely offload bulky, non‑secret work to a free remote server while keeping secrets local, improving performance on resource‑constrained laptops.

Workflow

  • 1. Pin the candidate tree by creating a staging directory that excludes dotenv files, private keys, and other secrets using rsync with --exclude patterns.
  • 2. Classify the staged tree for secret surface by scanning for patterns such as .env, .pem, id_rsa, credentials.json, secret, and .kube/config.
  • 3. Probe network connectivity with a short TCP probe to a trusted base URL; require consecutive successes before allowing a remote run.
  • 4. If the secret surface is clear and the network probe succeeds, yield the non‑secret working set to the free remote server; otherwise, continue locally.
  • 5. Monitor local latency metrics (page‑cache misses, thermal throttle) to validate that the remote run provides a performance benefit.

Evidence

The script later times a stand‑in command that walks the working set the agent would touch.

Source

Overflow never authorizes shipping dotenv files, private keys, session cookies, or customer extracts to any remote host.

Source

  • Record date: 2026-09-21T00:00:40.851Z