| 123456789101112131415161718192021 |
- name: git-autosave
- title: Git Autosave
- repo: https://github.com/xiaoyaner0201/hermes-git-autosave
- sha: 57e902eb71c1945e117fe3132018d22a000db75e
- description: "Lightweight local alternative to directory checkpoints for Git projects. Before a mutating tool call it saves the affected repository's working state to a private local shadow ref (refs/hermes-autosave/<branch>, with reflog) through a private index, or copies the single existing file outside Git; `hermes autosave find` and `restore` recover a pre-edit version. Disclosure — runs each backup in a short-lived child process killed at the hook deadline, which runs local git subprocesses in repositories the agent touches (hooks, clean filters, fsmonitor and lazy fetch disabled); writes shadow refs/reflogs and short-lived private index files into those repositories' .git and unencrypted file copies into its plugin-data directory; never changes HEAD, branches, the real index or the working tree and never pushes; skips credential stores (.env, auth.json, .ssh, .aws, .docker, .kube, gh/gcloud/azure configs) and dependency directories; `hermes autosave sweep` reads the session database read-only and is scheduled by the user; no network, no background or long-lived processes; it observes only and never blocks or approves a tool call."
- maintainer: xiaoyaner0201
- tier: community
- category: tools
- requires_hermes: ">=0.22.0"
- docs_url: https://github.com/xiaoyaner0201/hermes-git-autosave#readme
- version: "0.3.3"
- readme: true
- platforms: [linux, macos]
- known_issues:
- - "One V4A patch that moves a symlink and then updates the moved path can miss the edited file on case-insensitive or Unicode-normalizing filesystems; commit first or send the Move and the Update as separate calls."
- capabilities:
- provides_tools: []
- provides_hooks:
- - pre_tool_call
- provides_middleware: []
- requires_env: []
|