Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your agent crashed after the write. Should you retry?

The hardest moment in an automation often sits between two acknowledgements: the target accepted the change, but the executor has not recorded completion. Restarting the agent restores process availability; it does not resolve uncertainty about the previous effect. In this lab, I terminate the process in that exact interval and inspect what survives. The next decision depends on persistent…

An automation process often experiences a critical juncture when the target accepts a change, but the executor fails to record the completion. Restarting the agent restores the process but does not clarify the outcome of the previous attempt. In this lab, the experiment terminates the process at the exact moment of failure, allowing for analysis of the surviving data.

The specific implementation used in this lab is lab-security-remediation, version v0.4.0, with local tests conducted on October 27, 2026. The outcome of the test showed that 22 out of 22 tests passed. In the receipt exercise, the procedure involved version 2, one receipt, and no further changes after recovery and resubmission. The scope of the experiment was limited to a local SQLite database, a synthetic target, and a simulated review.

No sensitive information or AWS calls were required. The experiment did not demonstrate exactly-once execution across remote APIs, power-loss resilience, or production-ready authorization. The question that the log cannot answer is whether a tool that fixes a configuration can guarantee that the target has applied the change before the process terminates its execution.

To prepare for another person to replicate this experiment, the instructions provided detail the required setup, including Node.js 22.13 or later, the tagged source from the lab-security-remediation repository, and specific commands to clone the repository, check the tag, run tests, and execute the processes. The recovery process involves inspecting the operation status, target version, and receipt existence after the crash.

The experiment demonstrates that simply observing the operation as "pending" does not provide enough evidence to decide whether to retry. The recovered record changes the classification to "reconciled" and records the decision without altering the target. Resubmitting the original proposal results in the same outcome of "reconciled" with no further retries.

The test focuses on observable effects before and after recovery, as well as after resubmission, to ensure that the version and receipt count remain consistent. It is essential to remember that a receipt is historical evidence, not a permanent health certificate, and that the target's subsequent changes could alter the current state.

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

You own the code: what that sentence has to mean in writing

Why the sentence alone is not enough If an agency's site says you own the code, that line sits on a sales page, and a sales page is not your agreement. What counts is what the signed paper says.

  • Ownership of code begins with the author, not the paying agency.
  • Work made for hire requires a written agreement from both parties.
  • Ensure repository and domain are under your business's control.

Echoes of the Terminal: a haunted shell that runs on your own machine

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine What I Built Echoes of the Terminal is a shell that answers back. You type git push --force .

  • "Echoes of the Terminal" is a shell that responds to commands on your machine.
  • It warns about dangerous commands like "git push --force" while remarking on harmless ones.
  • The software offers a command-line interface called "haunt" to take control of the real shell.

More from Tuesday 27 October →