Greetings! I would like to kindly request enabling the git-watchdog snap to auto-connect the system-observe interface.
Details
name: git-watchdog
description: |
git-watchdog monitors selected processes, such as Claude Code. While any are
running, it makes your Git remotes read-only: fetch URLs are replaced with
HTTPS URLs that carry a read-only token, and pushing is disabled. When they
exit, it restores the original remote configuration.
snapcraft: https://github.com/dobicinaitis/git-watchdog/blob/main/snap/snapcraft.yaml
upstream: https://github.com/dobicinaitis/git-watchdog
upstream-relation: I'm the upstream author and maintainer.
plugs:
system-observe:
request-type: auto-connection
reasoning: >
Detecting running processes is the core function of the snap. Both apps
(git-watchdog and the autostarted git-watchdog.daemon) run `pgrep -x` and
`ps` to check whether processes with the configured names (by default
claude and claude-desktop) are running, and to report their names and
PIDs in `git watchdog` status. Those processes belong to other snaps or
are unconfined, so without system-observe the snap only sees its own
processes and never switches remotes to read-only mode. Without
auto-connection, every user who installs the snap would have to run
`sudo snap connect git-watchdog:system-observe` before it does anything
useful. Until they do, the snap appears to work but never activates.