Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PRD: [Cody Ignore] Enterprise users cannot use ignored repos as context for Smell Command #3611

Closed
2 tasks
aramaraju opened this issue Mar 29, 2024 · 1 comment

Comments

@aramaraju
Copy link

aramaraju commented Mar 29, 2024

Description:

When an enterprise admin has configured Cody to allow/ignore repos, Cody Smell command must not be available to the user

As a user on an enterprise instance that has Cody allow/ignore repos configured...
P0: I cannot run the Cody Smell command on any excluded code
P1: I am able to understand that I cannot use the command because the code has been excluded by my administrator
P2: I see guidance in the UX for how to request that my admin include an excluded repo

Objectives:

Cody does not send any code from excluded repos to the LLM when a user is using Cody's Smell command feature.

Acceptance Criteria:

  • When the user selects content in an excluded file and attempts to perform a Smell command operation using the right-click menu, they should not be able to complete the operation
    CleanShot 2024-03-28 at 17 40 35@2x
  • When the user selects content in an excluded file and attempts to perform a Smell command operation using the palette menu, they should not be able to complete the operation
    CleanShot 2024-03-28 at 17 41 27@2x
  • When the user selects content in an excluded file and attempts to perform a Smell command operation using a keyboard shortcut, they should not be able to complete the operation
  • An appropriate notification is provided saying that these operations cannot be completed because the repo is excluded

Design Tasks:

Design Tasks

Engineering Tasks:

Engineering Tasks

Related Docs:

Cody Ignore and Cody Allow GA PRD
RFC 910: Cody Ignore GA Implementation
Related JBs ticket

Copy link

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.

@github-actions github-actions bot added the Stale label Jun 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants