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.

Original post →

More from coding & agent

coding & agent channel →