Skip to content

Coding agents tend to run pitchfork stop --all when it meant to run pitchfork stop --local #1122

Closed

Description

@dtinth

I develop multiple projects on a same machine, and managing daemons with Pitchfork.

When it needs to tear down the project's environment, it ran pitchfork stop --all which brought down the daemons of all projects in addition to the project being developed.

Possible solution: If pitchfork detects itself being used by AI agents, make --all require an extra confirmation (like -f) if that would bring down daemons outside the project. e.g.

This will stop the following daemons outside this project:
* agent-env-docker/dockerd
* agent-env-files/dufs
* agent-env-smb/smbd
* agent-env-terminal/ttyd
* agent-env-desktop-selkies/pulseaudio
* agent-env-desktop-selkies/selkies
* agent-env-desktop-selkies/session
* agent-env-desktop-selkies/xvfb

To confirm, run again with `-f`.
To only stop local daemons in `pitchfork.toml`, use `--local` instead of `--all`.

Activity

  1. github-actions commented on Nov 16, 2026

    @github-actions
    Contributor

    Fixed in v2.35.0 by #1123.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions