Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[java] Using the SDK seems to reset the folder trust

Open
#2,289 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
cli

Research direction

Start with the Java SDK tutorial code and reproduce the sequence in the issue: trust a folder in Copilot CLI, run the SDK, then launch the CLI again. Compare the folder-trust behavior before and after SDK use; done means the CLI retains the existing trust and does not prompt again.

Written by the indexing model from the issue text.

Description

One thing I noticed after making a quick test with the sdk was that whenever I started it and use copilot cli afterwards I getting again asked what folders to trust.

  1. start copilot cli and allow a folder for future sessions
  2. start copilot cli again --> it starts without asking again
  3. execute something with the sdk (e.g. the tutorial code)
  4. start copilot cli again --> it asks again if one would like to trust the folder

I'm using the latest 1.0.9-preview.3

Dominant language
Java
Stars
10.5k
Forks
1.5k
Avg merge
1d 9h
Merged PRs (30d)
131

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/copilot-sdk

All issues in github/copilot-sdk

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.