Skip to content

Replace simulated rollback claims with verified workspace checkpoints - #2

Merged
sarvesh2003dev merged 2 commits into
mainfrom
improve-workspace-checkpoints
Oct 3, 2026
Merged

sarvesh2003dev merged 2 commits into
mainfrom
improve-workspace-checkpoints

Conversation

@sarvesh2003dev

@sarvesh2003dev sarvesh2003dev commented Oct 3, 2026 •

Copy link
Copy Markdown
Owner

The previous watcher captured changes after they happened, rollback could silently fail or follow symlinks outside the workspace, and the VM comparison used a generated latency. This change introduces explicit pre-command checkpoints with verified restoration and measured filesystem benchmarks.

  • Rebuild storage around full SHA-256 objects, atomic manifests, cross-process locking, metadata, retention, and a staged restore with a recovery journal.
  • Reject unsupported links, special files, and overlapping paths; verify missing/corrupt content before workspace replacement.
  • Add an installable CLI preserving command exit codes, a subprocess recovery demo, and 41 regression/adversarial tests including process-death recovery.
  • Replace simulated VM numbers with verified directory-copy measurements. Publish raw results, including the observed performance disadvantage and storage benefit.
  • Credit Sarvesh Tamse in package metadata, documentation, MIT license, and the new commit.

Validation: The 41-test suite passes locally: 40 pass and one Windows-only case skips on Ubuntu/WSL2 with Python 3.14.4; 38 pass and three POSIX-only cases skip on Windows with Python 3.13.2. The demo succeeds, both benchmark backends verify every restored fixture, and the wheel builds. All four GitHub CI jobs also pass on Linux/Windows with Python 3.10/3.13: https://github.com/sarvesh2003dev/Git-for-Agent-Workspaces/actions/runs/37125809286

Scope: owned, quiescent workspaces only; no arbitrary concurrent writers, open-handle continuity, VM/RAM/external-side-effect recovery, or universal latency guarantee. Version 1 stores require a separate fresh store. See docs/DESIGN.md and docs/VALIDATION.md.

@sarvesh2003dev
sarvesh2003dev marked this pull request as ready for review October 3, 2026 13:30
@sarvesh2003dev
sarvesh2003dev merged commit e96d763 into main Oct 3, 2026
8 checks passed
sarvesh2003dev added a commit that referenced this pull request Oct 3, 2026
Add tested command recovery, integrity checks, honest benchmarks, and project metadata for Sarvesh Tamse.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant