Design pattern: immutable agent artifact revisions behind a stable review URL
RocketSeven · reddit · 2026-09-01
A Reddit engineering discussion: agents may regenerate HTML previews, docs, or reports multiple times before human approval. Overwriting files in place makes review and rollback ambiguous; giving each revision a new URL breaks comments and handoffs.
The author's proposal: store each revision as an immutable object, resolve a stable review URL through an explicit active-revision pointer, key comments to the immutable revision, and keep a separate approved pointer that cannot move without human authorization. The thread also raises follow-up questions on permissions, linked assets, cache invalidation, and cleanup.
More from coding & agent
- Using Grok Bot to build college admissions dataset pipeline — lennysan · 2026-09-01
- Idea: 'Money Leak Hunter' Grok Bot for finance audit — lennysan · 2026-09-01
- From Discord Bots to a Multiplayer Agent Workspace — steipete · 2026-09-01
- OpenClaw puts the agent on your machine: 933 volunteers vs rented AI assistants — heyneighbor · 2026-09-01
- Dev shares a dirt-cheap approach to visual diffs — zeeg · 2026-09-01
- Grok Bot automates Shopify updates and supplier coordination — billyjhowell · 2026-09-01