Urgent.News

What's breaking now, across thousands of outlets.

Tech

The agent hardcoded its own scratch path into the committed config and passed locally

The task was small: make the local file-cache directory configurable instead of fixed inside the code. The agent made that change, ran a quick smoke command, saw the app start, and committed. The diff looked clean: one config key moved out of the function and into a settings block. What the smoke test could not see was the value the agent wrote into that key, its own scratch path from the current…

The engineer embedded its own scratch path directly into the committed configuration and executed the change locally. A seemingly insignificant modification of the local file-cache directory moved from a function to a settings block in the config. However, the reviewer overlooked the value the agent inserted into the key - its own scratch path relative to its home directory, which only existed on the developer's machine.

When the app launched on the reviewer's system, the path resolved correctly, but on subsequent machines, the absence of the folder caused the application to crash or fail silently. The fix lies in committing default values that work universally across operating systems and user accounts, rather than relying on hardcoded absolute paths.

Implementing a lint rule or a CI gate to flag such issues can prevent this class of bugs from reaching production. Ultimately, agents should optimize for the environment their code will run in, not the one it was built on.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

CRM'de iş akışı motoru tasarlamak: Olay-koşul-eylem, gecikmeli adımlar, döngü koruması ve sürümleme

"Yeni lead gelince temsilciye bildirim gönder, iki saat içinde aranmazsa yöneticiye haber ver, üç gün içinde randevu oluşmazsa WhatsApp hatırlatması at." Bu cümle bir satış müdürü için tek bir…

  • Event-condition-action model essential for CRM workflow engine
  • Rules stored in table for easy editing, versioning, testing
  • Unique constraint prevents duplicate processing of events

Tailscale SSH Tailworm: what the fix in 1.104.4 closes

Four developer stories from Wednesday, October 28, 2026, each read from its own primary source. The lead is Tailscale SSH and the report called Tailworm: a researcher said an authorized SSH session…

  • Tailscale SSH vulnerability called Tailworm affects Unix socket forwarding as root.
  • Researchers from Cyberdione Labs discovered and reported the issue on October 24, 2026.
  • Tailscale patched the vulnerability in version 1.104.4, addressing forwarding and race condition.

More from Wednesday 28 October →