Skip to content

[BUG] the .github/ directory as a signal for auto-detecting AI agent isn't ideal #805

@lirantal

Description

@lirantal

Describe the bug
So I realize that you are using .github/ directory existence to decide that the AI agent is GitHub Copilot but that's a very weak signal given that .github has so many things in it like workflows, configs for CI, repo templates, etc.

Can we please change and stop that logic happening by default?

To Reproduce
Steps to reproduce the behavior:

  1. Launch Cursor IDE
  2. Repo has .github/ directory with workflows inside it
  3. Run apm install
  4. Watch skills get added in .github/skills (mistakenly because I am using Cursor, not GitHub Copilot as my AI agent)

Expected behavior
A clear and concise description of what you expected to happen.

Environment (please complete the following information):

  • OS: [e.g. macOS, Linux, Windows]
  • Python Version: [e.g. 3.12.0]
  • APM Version: [e.g. 0.1.0]
  • VSCode Version (if relevant): [e.g. 1.80.0]

Logs
If applicable, add any error logs or screenshots.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedDirection approved, safe to start workbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions