## CHANGES

- “Reset on Completion” now runs from `runs/` working copies, never originals 🛡️
- Working-copy filenames include timestamps and loop info for easy audits 🧾
- Looping playbooks now recreate fresh copies each iteration for consistency 🔁
- Help modal clarifies reset behavior, audit logs, and manual cleanup guidance 💡
- Interruptions no longer require restore steps—source docs stay pristine 
This commit is contained in:
Pedram Amini
2025-12-26 08:06:04 -06:00
parent 5bae4130ac
commit 2b27208543
2 changed files with 10 additions and 6 deletions

View File

@@ -459,7 +459,7 @@ Auto Run supports running multiple documents in sequence:
2. Click **+ Add Docs** to add more documents to the queue
3. Drag to reorder documents as needed
4. Configure options per document:
- **Reset on Completion** - Uncheck all boxes when document completes (for repeatable tasks)
- **Reset on Completion** - Creates a working copy in `runs/` subfolder instead of modifying the original. The original document is never touched, and working copies (e.g., `TASK-1735192800000-loop-1.md`) serve as audit logs.
- **Duplicate** - Add the same document multiple times
5. Enable **Loop Mode** to cycle back to the first document after completing the last
6. Click **Go** to start the batch run
@@ -490,7 +490,7 @@ Each task executes in a completely fresh AI session with its own unique session
- **Predictable behavior** - Tasks in looping playbooks execute identically each iteration
- **Independent execution** - The agent approaches each task without memory of previous work
This isolation is critical for playbooks with `Reset on Completion` documents that loop indefinitely. Without it, the AI might "remember" completing a task and skip re-execution on subsequent loops.
This isolation is critical for playbooks with `Reset on Completion` documents that loop indefinitely. Each loop creates a fresh working copy from the original document, and the AI approaches it without memory of previous iterations.
### Environment Variables {#environment-variables}

View File

@@ -282,13 +282,17 @@ export function AutoRunnerHelpModal({ theme, onClose }: AutoRunnerHelpModalProps
>
<p>
Enable the reset toggle (<RotateCcw className="w-3 h-3 inline" />) on any document to
restore it to its original form after all tasks complete. A backup is created when the
document starts, and restored before moving to the next document.
keep it available for repeated runs. When enabled, Auto Run creates a <strong style={{ color: theme.colors.textMain }}>working copy</strong> in
the <code>runs/</code> subfolder and processes that copy—<em>the original document is never modified</em>.
</p>
<p>
Working copies are named with timestamps (e.g., <code>TASK-1735192800000-loop-1.md</code>) and
serve as an audit log of each loop's work. You can delete them manually when no longer needed.
</p>
<p>
Reset-enabled documents can be duplicated in the queue, allowing the same document to
run multiple times in a single batch. If Auto Run is interrupted while processing a
reset document, the backup is automatically restored.
run multiple times in a single batch. Since originals are untouched, interruptions
leave your source documents pristine.
</p>
</div>
</section>