git-autosave.yaml 1.8 KB

123456789101112131415161718192021
  1. name: git-autosave
  2. title: Git Autosave
  3. repo: https://github.com/xiaoyaner0201/hermes-git-autosave
  4. sha: 57e902eb71c1945e117fe3132018d22a000db75e
  5. 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."
  6. maintainer: xiaoyaner0201
  7. tier: community
  8. category: tools
  9. requires_hermes: ">=0.22.0"
  10. docs_url: https://github.com/xiaoyaner0201/hermes-git-autosave#readme
  11. version: "0.3.3"
  12. readme: true
  13. platforms: [linux, macos]
  14. known_issues:
  15. - "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."
  16. capabilities:
  17. provides_tools: []
  18. provides_hooks:
  19. - pre_tool_call
  20. provides_middleware: []
  21. requires_env: []