Request to auto-connect system-observe on git-watchdog (round 2)

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.

This request has been added to the queue for review by the @reviewers team.

Hello @dobicinaitis,

Apologies for the delay on this request! Based on the functionality of this snap this feels like necessary and expected access. As such this is a +1 from me for granting auto-connect for the system-observe interface to snap git-watchdog. What do other reviewers think?

Hello @dobicinaitis :slight_smile:

This is a +1 from my side also for auto-connecting the system-observe interface to the git-watchdog snap.

Thank you for your votes, @elisehdy and @yomonokio! May I ask how much more time needs to pass so that others can cast their votes before auto-connect can be granted?

Happy to say the voting waiting period has passed.

+2 votes for, 0 votes against, granting auto-connect of interface system-observe to snap git-watchdog. This is now live.

1 Like