﻿# YoloFS: staged effects before the user’s final commit

YoloFS combines file-effect review, snapshots and path permissions. Read the actual automated task evaluation without turning staging into universal rollback.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/yolofs-staged-filesystem-effects-progressive-permission/
Language: en

YoloFS separates trying a filesystem mutation from accepting it into the underlying files. The design lets an agent inspect actual effects and restore an earlier staged state, while a user retains the final commit decision. This is a filesystem mechanism for a specific interaction problem, rather than a complete operating-system security boundary.

## Stage effects before final acceptance

The [paper](https://arxiv.org/html/2604.13536v5) starts from an analysis of 290 public reports and proposes introspection, reversible mutations and access gating. Those reports motivate failure categories; they are not a representative estimate of how often all agent sessions fail.

YoloFS provides a kernel filesystem and user interface. Commands see a staged view, with snapshots allowing self-correction before changes are committed. Reading a secret is treated differently from a reversible edit: an access must be gated before the information is revealed, because restoring files cannot make an agent forget it.

## Keep the agent and user decisions distinct

The [repository](https://raw.githubusercontent.com/YoloFS/YoloFS/main/README.md) documents path-based rules, staged review and travel between snapshots. Rules can allow, deny or request a decision for an access. An unanswered prompt is denied according to its configured timeout. The agent can inspect and travel, while committing is left to the user.

This changes the object of review from an opaque shell command to observed filesystem effects. It does not mean every observed change is automatically judged correct. A modification that looks consistent with the task can still need human review, and changes outside the mediated execution path require separate reasoning.

## Read the evaluation as an automated protocol

On 11 deliberately small tasks with hidden destructive effects, the paper reports 8 self-corrections with Claude Code plus YoloFS. The remaining 3 cases stayed staged for user rejection. Keeping harmful edits reversible and detecting them autonomously are different outcomes.

A separate suite contains 112 single-operation filesystem tasks. The study uses an interactive benchmark driver with fixed approval responses, not an experiment measuring spontaneous choices by a representative user population. Reported interaction averages are 0.9 versus 0.4 per task for baseline Claude Code and YoloFS, with respective success rates of 98% and 99%.

These conditions matter. A task-level counter counts required interactions under the chosen driver policy; it does not directly measure human attention, comprehension or satisfaction during a long software project.

## Preserve the scope of reversibility

A practical integration needs to verify that each relevant command enters the mediated filesystem view. The [execution-boundary guide](/journal/fg2-inspect-sandbox-tool-wrapper-host-execution/) explains why a wrapper or external tool can have a different execution location from the isolated workload it launches.

Likewise, a filesystem snapshot is not a general rollback of network requests, remote databases or other external effects. The [snapshot consistency guide](/journal/guide-storage-filesystem-snapshot/) provides related reasoning about a recovery set and its publication boundary. Neither staging nor a preserved journal should be advertised as universal undo.

YoloFS contributes a concrete way to observe and defer file changes while gating irreversible reads. Its results support that mechanism under the published task and driver conditions. A deployment claim should additionally describe mediated paths, access rules, review ownership and the external effects that remain outside the filesystem transaction.
