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

Safe Unattended Agent Automation with Five Laws

说明与用途

作者描述了一个使用夜间运行代理的安全自动化系统。关键原则包括:运行器管理锁,代理在隔离的分支中工作而不触及主分支,并且即使没有工作也要生成强制报告。这可以防止混乱并确保透明度。

问题

Unattended agents with write access pose a high risk of causing system instability or data corruption if they run without strict governance, leading to 'waking up to a mess'.

结果

The implementation of five strict laws allows for safe, unattended automation. The system successfully processes nightly queues without interfering with daytime work, ensuring that every morning produces a clear report of activities, skips, and required human interventions.

工作流

  • Schedule a nightly job to read a queue of pending work.
  • For each target, the runner takes a claim (lock) on the target.
  • The runner spawns a headless child agent in its own worktree.
  • The runner refreshes the heartbeat on a timer while the child runs.
  • The child performs work, commits to its own tree, or exits.
  • The runner releases the claim always (on exit, crash, or kill).
  • The runner pushes work to an isolated per-night branch (if enabled) and restores the previous branch.
  • The runner generates an unconditional report detailing what happened, what was skipped, and what needs human attention.
  • The developer reviews the report in the morning.

证据

Five nightly reports in, the streak is young but every morning has had one waiting, and that is the property I refuse to lose.

来源

Automation you have to check up on is just unfinished automation.

来源

  • 记录日期: 2026-09-06T06:22:13.303Z